public enum ImageBinarization extends java.lang.Enum<ImageBinarization>
Enum Constant and Description |
---|
Grayscale
Grayscale.
|
HLS
HLS.
|
MedianSmoothing
Median smoothing.
|
None
Default value used.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ImageBinarization |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageBinarization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageBinarization Grayscale
Grayscale.
public static final ImageBinarization HLS
HLS.
public static final ImageBinarization MedianSmoothing
Median smoothing.
public static final ImageBinarization None
Default value used.
public int getValue()
public static ImageBinarization valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ImageBinarization[] values()
for (ImageBinarization c : ImageBinarization.values()) System.out.println(c);