public static enum GrayscaleToGrayscaleMapping.OperationMode extends Enum<GrayscaleToGrayscaleMapping.OperationMode>
Enum Constant and Description |
---|
DIRECTORY
Process all images in the given directory.
|
SINGLE_IMAGE
Process a single image provided directly.
|
Modifier and Type | Method and Description |
---|---|
static GrayscaleToGrayscaleMapping.OperationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrayscaleToGrayscaleMapping.OperationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrayscaleToGrayscaleMapping.OperationMode SINGLE_IMAGE
public static final GrayscaleToGrayscaleMapping.OperationMode DIRECTORY
public static GrayscaleToGrayscaleMapping.OperationMode[] values()
for (GrayscaleToGrayscaleMapping.OperationMode c : GrayscaleToGrayscaleMapping.OperationMode.values()) System.out.println(c);
public static GrayscaleToGrayscaleMapping.OperationMode 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.