de.unihalle.informatik.MiToBo.apps.nuclei2D
Enum NucleusDetector2D.NuclDetectMode

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

public static enum NucleusDetector2D.NuclDetectMode
extends java.lang.Enum<NucleusDetector2D.NuclDetectMode>

Available modes for nuclei segmentation in 2D images.

Author:
moeller

Enum Constant Summary
CONTRAST_ANALYSIS
          Detection based on prior local contrast enhancement.
NIBLACK
          Nucleus detection by Niblack thresholding.
OTSU_ERODEDILATE
          Nucleus detection by Otsu thresholding and erosion/dilation.
OTSU_OPENCLOSE
          Nucleus detection by Otsu thresholding and opening/closing.
 
Method Summary
static NucleusDetector2D.NuclDetectMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NucleusDetector2D.NuclDetectMode[] 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

CONTRAST_ANALYSIS

public static final NucleusDetector2D.NuclDetectMode CONTRAST_ANALYSIS
Detection based on prior local contrast enhancement.


NIBLACK

public static final NucleusDetector2D.NuclDetectMode NIBLACK
Nucleus detection by Niblack thresholding.


OTSU_ERODEDILATE

public static final NucleusDetector2D.NuclDetectMode OTSU_ERODEDILATE
Nucleus detection by Otsu thresholding and erosion/dilation.


OTSU_OPENCLOSE

public static final NucleusDetector2D.NuclDetectMode OTSU_OPENCLOSE
Nucleus detection by Otsu thresholding and opening/closing.

Method Detail

valueOf

public static NucleusDetector2D.NuclDetectMode 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 NucleusDetector2D.NuclDetectMode[] 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 (NucleusDetector2D.NuclDetectMode c : NucleusDetector2D.NuclDetectMode.values())
    System.out.println(c);

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