public enum PhotoInterp extends java.lang.Enum<PhotoInterp> implements CodedEnum
Enum Constant and Description |
---|
BLACK_IS_ZERO |
CFA_ARRAY |
CIE_LAB |
CMYK |
RGB |
RGB_PALETTE |
TRANSPARENCY_MASK |
WHITE_IS_ZERO |
Y_CB_CR |
Modifier and Type | Field and Description |
---|---|
static float |
LUMA_BLUE |
static float |
LUMA_GREEN |
static float |
LUMA_RED
Default luminance values for YCbCr data.
|
Modifier and Type | Method and Description |
---|---|
static PhotoInterp |
get(int code)
Retrieves a photometric interpretation by reverse lookup of its "code".
|
int |
getCode()
Retrieves the integer "code" for this enumeration.
|
java.lang.String |
getMetadataType()
Retrieves the metadata type of the photometric interpretation.
|
java.lang.String |
getName()
Retrieves the given name of the photometric interpretation.
|
static PhotoInterp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhotoInterp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhotoInterp WHITE_IS_ZERO
public static final PhotoInterp BLACK_IS_ZERO
public static final PhotoInterp RGB
public static final PhotoInterp RGB_PALETTE
public static final PhotoInterp TRANSPARENCY_MASK
public static final PhotoInterp CMYK
public static final PhotoInterp Y_CB_CR
public static final PhotoInterp CIE_LAB
public static final PhotoInterp CFA_ARRAY
public static final float LUMA_RED
public static final float LUMA_GREEN
public static final float LUMA_BLUE
public static PhotoInterp[] values()
for (PhotoInterp c : PhotoInterp.values()) System.out.println(c);
public static PhotoInterp 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 PhotoInterp get(int code)
code
- The code to look up.PhotoInterp
instance for the
code
or null
if it does not exist.public int getCode()
CodedEnum
public java.lang.String getName()
public java.lang.String getMetadataType()
Copyright © 2014 Open Microscopy Environment