org.dcm4che2.iod.value
Class PhotometricInterpretation
java.lang.Object
org.dcm4che2.iod.value.PhotometricInterpretation
public class PhotometricInterpretation
- extends java.lang.Object
The value of Photometric Interpretation (0028,0004) specifies the intended
interpretation of the image pixel data.
See PS 3.5 for restrictions imposed by compressed Transfer Syntaxes.
The following values are defined. Other values are permitted but the meaning
is not defined by this Standard.
- Author:
- Antonio Magni
|
Field Summary |
static java.lang.String |
MONOCHROME1
Pixel data represent a single monochrome image plane. |
static java.lang.String |
MONOCHROME2
Pixel data represent a single monochrome image plane. |
static java.lang.String |
PALETTE_COLOR
Pixel data describe a color image with a single sample per pixel (single
image plane). |
static java.lang.String |
YBR_FULL
Pixel data represent a color image described by one luminance (Y) and two
chrominance planes (CB and CR). |
static java.lang.String |
YBR_FULL_422
The same as YBR_FULL except that the CB and CR values are sampled
horizontally at half the Y rate and as a result there are half as many CB
and CR values as Y values. |
static java.lang.String |
YBR_ICT
Pixel data represent a color image described by one luminance (Y) and two
chrominance planes (CB and CR). |
static java.lang.String |
YBR_PARTIAL_420
The same as YBR_PARTIAL_422 except that the CB and CR values are sampled
horizontally and vertically at half the Y rate and as a result there are
four times less CB and CR values than Y values, versus twice less for
YBR_PARTIAL_422. |
static java.lang.String |
YBR_PARTIAL_422
The same as YBR_FULL_422 except that:
black corresponds to Y = 16;
Y is restricted to 220 levels (i.e. |
static java.lang.String |
YBR_RCT
Pixel data represent a color image described by one luminance (Y) and two
chrominance planes (CB and CR). |
|
Method Summary |
static boolean |
isValid(java.lang.String ss)
The following values are defined. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MONOCHROME1
public static java.lang.String MONOCHROME1
- Pixel data represent a single monochrome image plane. The minimum sample
value is intended to be displayed as white after any VOI gray scale
transformations have been performed. See PS 3.4. This value may be used
only when Samples per Pixel (0028,0002) has a value of 1.
MONOCHROME2
public static java.lang.String MONOCHROME2
- Pixel data represent a single monochrome image plane. The minimum sample
value is intended to be displayed as black after any VOI gray scale
transformations have been performed. See PS 3.4. This value may be used
only when Samples per Pixel (0028,0002) has a value of 1.
PALETTE_COLOR
public static java.lang.String PALETTE_COLOR
- Pixel data describe a color image with a single sample per pixel (single
image plane). The pixel value is used as an index into each of the Red,
Blue, and Green Palette Color Lookup Tables (0028,1101-1103&1201-1203).
This value may be used only when Samples per Pixel (0028,0002) has a
value of 1. When the Photometric Interpretation is Palette Color; Red,
Blue, and Green Palette Color Lookup Tables shall be present. RGB = Pixel
data represent a color image described by red, green, and blue image
planes. The minimum sample value for each color plane represents minimum
intensity of the color. This value may be used only when Samples per
Pixel (0028,0002) has a value of 3.
YBR_FULL
public static java.lang.String YBR_FULL
- Pixel data represent a color image described by one luminance (Y) and two
chrominance planes (CB and CR). This photometric interpretation may be
used only when Samples per Pixel (0028,0002) has a value of 3. Black is
represented by Y equal to zero. The absence of color is represented by
both CB and CR values equal to half full scale.
YBR_FULL_422
public static java.lang.String YBR_FULL_422
- The same as YBR_FULL except that the CB and CR values are sampled
horizontally at half the Y rate and as a result there are half as many CB
and CR values as Y values.
YBR_PARTIAL_422
public static java.lang.String YBR_PARTIAL_422
- The same as YBR_FULL_422 except that:
- black corresponds to Y = 16;
- Y is restricted to 220 levels (i.e. the maximum value is 235);
- CB and CR each has a minimum value of 16;
- CB and CR are restricted to 225 levels (i.e. the maximum value is
240);
- lack of color is represented by CB and CR equal to 128.
YBR_PARTIAL_420
public static java.lang.String YBR_PARTIAL_420
- The same as YBR_PARTIAL_422 except that the CB and CR values are sampled
horizontally and vertically at half the Y rate and as a result there are
four times less CB and CR values than Y values, versus twice less for
YBR_PARTIAL_422.
YBR_ICT
public static java.lang.String YBR_ICT
- Pixel data represent a color image described by one luminance (Y) and two
chrominance planes (CB and CR). This photometric interpretation may be
used only when Samples per Pixel (0028,0002) has a value of 3. Black is
represented by Y equal to zero. The absence of color is represented by
both CB and CR values equal to zero.
YBR_RCT
public static java.lang.String YBR_RCT
- Pixel data represent a color image described by one luminance (Y) and two
chrominance planes (CB and CR). This photometric interpretation may be
used only when Samples per Pixel (0028,0002) has a value of 3. Black is
represented by Y equal to zero. The absence of color is represented by
both CB and CR values equal to zero.
PhotometricInterpretation
public PhotometricInterpretation()
isValid
public static boolean isValid(java.lang.String ss)
- The following values are defined. Other values are permitted but the
meaning is not defined by this Standard.
- Parameters:
ss -
- Returns:
- True unless ss is null.
Copyright © 2011 dcm4che. All Rights Reserved.