Page 530 |
DICOM PS3.3 2020a - Information Object Definitions |
Enumerated Values:
0The sample values for the first pixel are followed by the sample values for the second pixel, etc. For RGB images, this means the order of the pixel values encoded shall be R1, G1, B1, R2, G2, B2, …, etc.
1Each color plane shall be encoded contiguously. For RGB images, this means the order of the pixel values encoded is R1, R2, R3, …, G1, G2, G3, …, B1, B2, B3, etc.
Note
PlanarConfiguration(0028,0006)isnotmeaningfulwhenacompressionTransferSyntaxisusedthatinvolvesreorganization of sample components in the compressed bit stream. In such cases, since the Attribute is required to be present, then an appropriate value to use may be specified in the description of the Transfer Syntax in PS3.5, though in all likelihood the value of the Attribute will be ignored by the receiving implementation.
C.7.6.3.1.4 Pixel Data
Pixel Data (7FE0,0010) for this image. The order of pixels encoded for each image plane is left to right, top to bottom, i.e., the upper left pixel (labeled 1,1) is encoded first followed by the remainder of row 1, followed by the first pixel of row 2 (labeled 2,1) then the remainder of row 2 and so on.
For multi-plane images see Planar Configuration (0028,0006) in this Section.
C.7.6.3.1.5 Palette Color Lookup Table Descriptor
The three values of Palette Color Lookup Table Descriptor (0028,1101-1104) describe the format of the Lookup Table Data in the corresponding Data Element (0028,1201-1204) or (0028,1221-1223). In this section, the term "input value" is either the Palette Color Lookup Table input value described in the Enhanced Palette Color Lookup Table Sequence (0028,140B) or if that Attribute is absent, the stored pixel value.
The first Palette Color Lookup Table Descriptor value is the number of entries in the lookup table. When the number of table entries is equal to 216 then this value shall be 0. The first value shall be identical for each of the Red, Green, Blue and Alpha Palette Color Lookup Table Descriptors.
The second Palette Color Lookup Table Descriptor value is the first input value mapped. This input value is mapped to the first entry in the Lookup Table Data. All input values less than the first value mapped are also mapped to the first entry in the Lookup Table Data if the Photometric Interpretation is PALETTE COLOR.
Note
InthecaseoftheSupplementalPaletteColorLUT,thestoredpixelvalueslessthantheseconddescriptorvaluearegrayscale values.
An input value one greater than the first value mapped is mapped to the second entry in the Lookup Table Data. Subsequent input values are mapped to the subsequent entries in the Lookup Table Data up to an input value equal to number of entries + first value mapped - 1, which is mapped to the last entry in the Lookup Table Data. Input values greater than or equal to number of entries + first value mapped are also mapped to the last entry in the Lookup Table Data. The second value shall be identical for each of the Red, Green, Blue and Alpha Palette Color Lookup Table Descriptors.
The third Palette Color Lookup Table Descriptor value specifies the number of bits for each entry in the Lookup Table Data. It shall take the value of 8 or 16. The LUT Data shall be stored in a format equivalent to 8 bits allocated when the number of bits for each entry is 8, and 16 bits allocated when the number of bits for each entry is 16, where in both cases the high bit is equal to bits allocated- 1. The third value shall be identical for each of the Red, Green and Blue Palette Color Lookup Table Descriptors.
Note
Some implementations have encoded 8 bit entries with 16 bits allocated, padding the high bits; this can be detected by comparing the number of entries specified in the LUT Descriptor with the actual value length of the LUT Data entry. The value length in bytes should equal the number of entries if bits allocated is 8, and be twice as long if bits allocated is 16.
When the Red, Green, or Blue Palette Color Lookup Table Descriptor (0028,1101-1103) are used as part of the Palette Color Lookup Table Module or the Supplemental Palette Color Lookup Table Module in an Image or Presentation State IOD, the third value shall be equal to 16. When the Alpha Palette Color Lookup Table Descriptor (0028,1104) is used, the third value shall be equal to 8.