- java.lang.Object
-
- java.lang.Enum<AutoThresholder.Method>
-
- ij.process.AutoThresholder.Method
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AutoThresholder.Method>
- Enclosing class:
- AutoThresholder
public static enum AutoThresholder.Method extends java.lang.Enum<AutoThresholder.Method>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Default
Huang
IJ_IsoData
Intermodes
IsoData
Li
MaxEntropy
Mean
MinError
Minimum
Moments
Otsu
Percentile
RenyiEntropy
Shanbhag
Triangle
Yen
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutoThresholder.Method
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AutoThresholder.Method[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Default
public static final AutoThresholder.Method Default
-
Huang
public static final AutoThresholder.Method Huang
-
Intermodes
public static final AutoThresholder.Method Intermodes
-
IsoData
public static final AutoThresholder.Method IsoData
-
IJ_IsoData
public static final AutoThresholder.Method IJ_IsoData
-
Li
public static final AutoThresholder.Method Li
-
MaxEntropy
public static final AutoThresholder.Method MaxEntropy
-
Mean
public static final AutoThresholder.Method Mean
-
MinError
public static final AutoThresholder.Method MinError
-
Minimum
public static final AutoThresholder.Method Minimum
-
Moments
public static final AutoThresholder.Method Moments
-
Otsu
public static final AutoThresholder.Method Otsu
-
Percentile
public static final AutoThresholder.Method Percentile
-
RenyiEntropy
public static final AutoThresholder.Method RenyiEntropy
-
Shanbhag
public static final AutoThresholder.Method Shanbhag
-
Triangle
public static final AutoThresholder.Method Triangle
-
Yen
public static final AutoThresholder.Method Yen
-
-
Method Detail
-
values
public static AutoThresholder.Method[] 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 (AutoThresholder.Method c : AutoThresholder.Method.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoThresholder.Method 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 namejava.lang.NullPointerException
- if the argument is null
-
-