|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SegmentationInitializer.InputMode>
de.unihalle.informatik.MiToBo.segmentation.basics.SegmentationInitializer.InputMode
public static enum SegmentationInitializer.InputMode
Available data sources.
Enum Constant Summary | |
---|---|
MODE_BINARY_IMAGE
Two labels are initialized. i.e. a foreground and a background class. |
|
MODE_LABEL_IMAGE
A label image is used for initialization. |
|
MODE_REGION_SET
Given a region set a label image is generated which is then used for initialization (see MODE_LABEL_IMAGE). |
|
MODE_SHAPE
A binary mask is generated according to the shape specification. |
|
MODE_THRESHOLD
An input image is expected which is thresholded with the given value. |
Method Summary | |
---|---|
static SegmentationInitializer.InputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SegmentationInitializer.InputMode[] |
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 SegmentationInitializer.InputMode MODE_LABEL_IMAGE
For each label a class is initialized, pixels with a label of zero are assigned to the background class.
public static final SegmentationInitializer.InputMode MODE_BINARY_IMAGE
Pixels with intensity values larger than zero are assigned to the foreground class, the others to the background.
public static final SegmentationInitializer.InputMode MODE_REGION_SET
public static final SegmentationInitializer.InputMode MODE_THRESHOLD
From the resulting binary image subsequently two classes are initialized (see MODE_BINARY_IMAGE).
public static final SegmentationInitializer.InputMode MODE_SHAPE
The interior of the shape is defined to be foreground, the exterior to be background.
Method Detail |
---|
public static SegmentationInitializer.InputMode[] values()
for (SegmentationInitializer.InputMode c : SegmentationInitializer.InputMode.values()) System.out.println(c);
public static SegmentationInitializer.InputMode 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 |