C.7.6.23.3 Bits Mapped to Color Lookup Table
Prev | C.7.6.23 Enhanced Palette Color Lookup Table Module | Next

##### C.7.6.23.3 Bits Mapped to Color Lookup Table

The number of entries of each Palette Color Lookup Table is specified in the Palette Color Lookup Table Descriptors of the lookup table components. As described in Section C.7.6.3.1.5, a maximum of 65,536 (216) data entries is permitted, which would require input values of 16 bits to access all Palette Color Lookup Table entries. For tables with less than the maximum number of Palette Color Lookup Table entries, correspondingly smaller input values are required.

In the Enhanced Blending and Display Pipeline, the Palette Color Lookup Table input values are obtained from one or two data frames, depending on the values of the Data Path Assignment (0028,1402) attributes; for Data Path Assignment (0028,1402) = PRIMARY_SINGLE or SECONDARY_SINGLE, the input values are obtained from stored pixel values of a single data frame (after processing through the Modality LUT and/or VOI LUT), while for Data Path Assignment (0028,1402)= SECONDARY_HIGH and SECONDARY_LOW, the input values are constructed from stored pixel values of two data frames (after processing through Modality LUTs and/or VOI LUTs) as described below.

The number of bits in each data frame stored pixel value is specified by the value of Bits Stored (0028,0101). It is possible that the number of bits in the PRIMARY_SINGLE or SECONDARY_SINGLE data frame or the sum of the numbers of bits in the SECONDARY_HIGH and SECONDARY_LOW data frames is greater than the number of bits needed to address all Palette Color Lookup Table entries. The values of Bits Mapped to Color Lookup Table (0028,1403) specify the number of bits from the corresponding data frame stored pixel values that contribute to the Palette Color Lookup Table input values, as follows:

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 SECONDARY_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.

Prev | Up | Next
C.7.6.23.2 Data Path Assignment | Home | C.7.6.23.4 Blending LUT Transfer Function