public enum ANImageColorSpace extends Enum<ANImageColorSpace> implements com.neurotec.lang.NEnum
| Enum Constant and Description |
|---|
GRAY
Indicates Grayscale (monochrome) color.
|
RGB
Indicates undetermined color space for an RGB image.
|
SRGB
Indicates sRGB (IEC 61966-2-1) color.
|
SYCC
Indicates YCbCr (JPEG 2000 compressed) color.
|
UNKNOWN
Indicates unknown color.
|
UNSPECIFIED
Color space unspecified.
|
YCC
Indicates YCbCr (legacy) color.
|
| Modifier and Type | Method and Description |
|---|---|
static ANImageColorSpace |
get(int value)
Gets ANImageColorSpace specified by value.
|
int |
getValue()
Gets the value of the current object.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static ANImageColorSpace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ANImageColorSpace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ANImageColorSpace UNSPECIFIED
public static final ANImageColorSpace GRAY
public static final ANImageColorSpace RGB
public static final ANImageColorSpace SRGB
public static final ANImageColorSpace YCC
public static final ANImageColorSpace SYCC
public static final ANImageColorSpace UNKNOWN
public static ANImageColorSpace[] values()
for (ANImageColorSpace c : ANImageColorSpace.values()) System.out.println(c);
public static ANImageColorSpace 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 nullpublic static com.neurotec.lang.NType nativeTypeOf()
public static ANImageColorSpace get(int value)
value - Integer value.public int getValue()
getValue in interface com.neurotec.lang.NEnumCopyright © 2016 Neurotechnology. All rights reserved.