public enum PhotoInterp extends 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 | 
|---|---|
private int | 
code
Code for the IFD type in the actual TIFF file. 
 | 
private static Map<Integer,PhotoInterp> | 
lookup  | 
static float | 
LUMA_BLUE  | 
static float | 
LUMA_GREEN  | 
static float | 
LUMA_RED
Default luminance values for YCbCr data. 
 | 
private String | 
metadataType
Metadata type of the photometric interpretation. 
 | 
private String | 
name
Given name of the photometric interpretation. 
 | 
| 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. 
 | 
String | 
getMetadataType()
Retrieves the metadata type of the photometric interpretation. 
 | 
String | 
getName()
Retrieves the given name of the photometric interpretation. 
 | 
static PhotoInterp | 
valueOf(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
private int code
private String name
private String metadataType
private static final Map<Integer,PhotoInterp> lookup
public static PhotoInterp[] values()
for (PhotoInterp c : PhotoInterp.values()) System.out.println(c);
public static PhotoInterp 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 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()
CodedEnumpublic String getName()
public String getMetadataType()
Copyright © 2015 Open Microscopy Environment