public static enum ImageContrastReducer.TargetContrast extends Enum<ImageContrastReducer.TargetContrast>
Enum Constant and Description |
---|
BIT_2
2-bit mode, result image contains a maximum of 4 different gray values.
|
BIT_4
4-bit mode, result image contains a maximum of 16 different gray values.
|
BIT_6
6-bit mode, result image contains a maximum of 64 different gray values.
|
BIT_8
8-bit mode, result image contains a maximum of 256 different gray values.
|
Modifier and Type | Method and Description |
---|---|
static ImageContrastReducer.TargetContrast |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageContrastReducer.TargetContrast[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageContrastReducer.TargetContrast BIT_8
public static final ImageContrastReducer.TargetContrast BIT_6
public static final ImageContrastReducer.TargetContrast BIT_4
public static final ImageContrastReducer.TargetContrast BIT_2
public static ImageContrastReducer.TargetContrast[] values()
for (ImageContrastReducer.TargetContrast c : ImageContrastReducer.TargetContrast.values()) System.out.println(c);
public static ImageContrastReducer.TargetContrast valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.