|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ComponentPostprocess.ProcessMode>
de.unihalle.informatik.MiToBo.morphology.ComponentPostprocess.ProcessMode
public static enum ComponentPostprocess.ProcessMode
Processing mode identifiers.
Enum Constant Summary | |
---|---|
ERASE_LARGE_COMPS
Delete components above a size threshold from the image. |
|
ERASE_ROUND_COMPS
Delete components with a rounded shape instead of an sustained shape. |
|
ERASE_SMALL_COMPS
Delete components below a size threshold from the image. |
|
EREASE_NON_COMPACT_COMPS
Delete non-compact regions. |
|
LINK_ADJ_COMPS
Link adjacent components with a line if distance below threshold. |
|
LINK_ADJ_PIXELS
Link adjacent pixels if distance below threshold. |
|
VORONOI_EXPAND
Perform Voronoi expansion for pixels close to components. |
Method Summary | |
---|---|
static ComponentPostprocess.ProcessMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ComponentPostprocess.ProcessMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ComponentPostprocess.ProcessMode ERASE_SMALL_COMPS
Set threshold with method setMinimalComponentSize
.
public static final ComponentPostprocess.ProcessMode ERASE_LARGE_COMPS
Set threshold with method setMaximalComponentSize
.
public static final ComponentPostprocess.ProcessMode LINK_ADJ_COMPS
Set distance with method setMaximalComponentDistance
.
public static final ComponentPostprocess.ProcessMode LINK_ADJ_PIXELS
Set distance with method setMaximalComponentDistance
.
public static final ComponentPostprocess.ProcessMode VORONOI_EXPAND
Set dilation mask size with
method setMaximalVoronoiExpansionDistance
.
public static final ComponentPostprocess.ProcessMode ERASE_ROUND_COMPS
Set threshold with method setRoundnessThreshold
.
public static final ComponentPostprocess.ProcessMode EREASE_NON_COMPACT_COMPS
MTBRegion2D.getCircularity()
.
Method Detail |
---|
public static ComponentPostprocess.ProcessMode[] values()
for (ComponentPostprocess.ProcessMode c : ComponentPostprocess.ProcessMode.values()) System.out.println(c);
public static ComponentPostprocess.ProcessMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |