DICOM PS3.3 2020a - Information Object Definitions |
Page 609 |
If Data Path Assignment is PRIMARY_SINGLE or SECONDARY_SINGLE, the input to the Palette Color Lookup Table is the number of most significant bits specified by Bits Mapped to Color Lookup Table (0028,1403) from the data frame stored pixel values. For Data Path Assignment SECONDARY_HIGH or SECONDARY_LOW, the number of most significant bits specified by Bits Mapped to Color Lookup Table (0028,1403) from each data frame's stored pixel values are concatenated to create the Palette Color Lookup Table input values, with the SECONDARY_HIGH frame's bits comprising the most significant part of the input value and the SECOND- ARY_LOW frame's bits comprising the least significant part of the input value.
If the resulting Palette Color Lookup Table input value is greater than the number of Palette Color Lookup Table entries as specified by the Palette Color Lookup Table Descriptor first value, then the output from the Palette Color Lookup Table shall be the last value in the Palette Color Lookup Table. However, it is recommended that the values of Bits Mapped To Color Lookup Table (0028,1403) and number of Palette Color Lookup Table entries be selected such that all input values are mapped to distinct entries in the Palette Color Lookup Table.
C.7.6.23.4 Blending LUT Transfer Function
The value of Blending LUT 1 Transfer Function (0028,1405) and Blending LUT 2 Transfer Function (0028,140D) specify the algorithm used to determine the output values of the Blending LUT 1 and Blending LUT 2, respectively.
Enumerated Values:
CONSTANTA constant floating point value from 0.0 to 1.0, inclusive
ALPHA_1 Pass-through the Alpha 1 input value from the Alpha Palette Color Lookup Table of the Primary data path ALPHA_2 Pass-through the Alpha 2 input value from the Alpha Palette Color Lookup Table of the Secondary data path TABLE The output of a Table defining a function of the Alphas from both data paths
ONE_MINUSThe Blending LUT 2 value is (1 - Blending LUT 1 output); used for Blending LUT 2 Transfer Function (0028,140D) only
If the value is TABLE:
•The Alpha 1 input value from the Alpha Palette Color Lookup Table of the Primary data path and the Alpha 2 input value from the Alpha Palette Color Lookup Table of the Secondary data are concatenated to form an index into a Lookup Table, with the Alpha 1 value providing the most significant bits of the index and the Alpha 2 value providing the least significant bits of the index.
•If the index is too large for the number of entries in the Lookup Table, the last value of the Lookup Table is used for any index value greater than the number of Lookup Table entries. If the index is too small for the number of entries in the Lookup Table, than not all entries in the Lookup Table are accessed. The total number of bits in the index value shall be equal to or less than 16.
C.7.6.23.5 Blending LUT Descriptor
The three values of the Blending Lookup Table Descriptor (0028,1407) describe the format of the data in Blending Lookup Table Data (0028,1408).
The first value is the number of entries in the lookup table. When the number of table entries is equal to 65,536 (216), then this value shall be 0. The number of entries shall be equal to the number of possible values in the input.
Note
For example, for 8 bit input to the Blending LUT the tables must have 256 entries, while for 16 bit input to the Blending LUT the tables must have 65,536 entries.
The second value is the first input value mapped, and shall always be 0 for an Blending LUT. This input value is mapped to the first entry in the LUT. Subsequent input values are mapped to the subsequent entries in the LUT Data up to an input value equal to number of entries + first value mapped - 1 that is mapped to the last entry in the LUT Data. There are no input values greater than number of entries - 1.
The third value specifies the number of bits for each entry in the LUT Data. This value shall be between 8 and 16, inclusive. The LUT Data shall be stored in a format equivalent to 16 bits allocated where the high bit is equal to bits stored - 1, where bits stored is the third value.
C.7.6.23.6 Lossy Compression and Palette Color Lookup Tables (Informative)
Image objects containing non-monotonic Palette Color LUTs that are lossy compressed may potentially experience a change in the index values that results in the displayed image having a significantly different appearance than the original image.