de.unihalle.informatik.MiToBo.apps.nuclei2D
Enum NucleusSeparator2D.ResultImageMode

java.lang.Object
  extended by java.lang.Enum<NucleusSeparator2D.ResultImageMode>
      extended by de.unihalle.informatik.MiToBo.apps.nuclei2D.NucleusSeparator2D.ResultImageMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NucleusSeparator2D.ResultImageMode>
Enclosing class:
NucleusSeparator2D

public static enum NucleusSeparator2D.ResultImageMode
extends java.lang.Enum<NucleusSeparator2D.ResultImageMode>

Display mode of the result image.

Author:
moeller

Enum Constant Summary
BINARY
          Binary mask as output.
LABELS
          Gray-scale label image as output.
 
Method Summary
static NucleusSeparator2D.ResultImageMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NucleusSeparator2D.ResultImageMode[] 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

BINARY

public static final NucleusSeparator2D.ResultImageMode BINARY
Binary mask as output.


LABELS

public static final NucleusSeparator2D.ResultImageMode LABELS
Gray-scale label image as output.

Method Detail

valueOf

public static NucleusSeparator2D.ResultImageMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static NucleusSeparator2D.ResultImageMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NucleusSeparator2D.ResultImageMode c : NucleusSeparator2D.ResultImageMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared