public enum PhotometricInterpretation extends Enum<PhotometricInterpretation>
Enum Constant and Description |
---|
MONOCHROME1 |
MONOCHROME2 |
PALETTE_COLOR |
RGB |
YBR_FULL |
YBR_FULL_422 |
YBR_ICT |
YBR_PARTIAL_420 |
YBR_PARTIAL_422 |
YBR_RCT |
Modifier and Type | Method and Description |
---|---|
abstract ColorModel |
createColorModel(int bits,
int dataType,
Attributes ds) |
SampleModel |
createSampleModel(int dataType,
int w,
int h,
int samples,
boolean banded) |
PhotometricInterpretation |
decompress() |
int |
frameLength(int w,
int h,
int samples,
int bitsAllocated) |
static PhotometricInterpretation |
fromString(String s) |
boolean |
isInvers() |
boolean |
isMonochrome() |
boolean |
isSubSambled() |
static PhotometricInterpretation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhotometricInterpretation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhotometricInterpretation MONOCHROME1
public static final PhotometricInterpretation MONOCHROME2
public static final PhotometricInterpretation PALETTE_COLOR
public static final PhotometricInterpretation RGB
public static final PhotometricInterpretation YBR_FULL
public static final PhotometricInterpretation YBR_FULL_422
public static final PhotometricInterpretation YBR_PARTIAL_422
public static final PhotometricInterpretation YBR_PARTIAL_420
public static final PhotometricInterpretation YBR_ICT
public static final PhotometricInterpretation YBR_RCT
public static PhotometricInterpretation[] values()
for (PhotometricInterpretation c : PhotometricInterpretation.values()) System.out.println(c);
public static PhotometricInterpretation 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 PhotometricInterpretation fromString(String s)
public int frameLength(int w, int h, int samples, int bitsAllocated)
public boolean isMonochrome()
public PhotometricInterpretation decompress()
public boolean isInvers()
public boolean isSubSambled()
public abstract ColorModel createColorModel(int bits, int dataType, Attributes ds)
public SampleModel createSampleModel(int dataType, int w, int h, int samples, boolean banded)
Copyright © 2017 dcm4che.org. All rights reserved.