C.7.9.2 Segmented Palette Color Lookup Table Data
Prev | C.7.9 Palette Color Lookup Table Module | Next

#### C.7.9.2 Segmented Palette Color Lookup Table Data

The Segmented Palette Color Lookup Table Data (0028,1221-1223) is stored as a series of segments, see Table C.7-23. When the segments are expanded into the actual lookup table data, it shall have the number of table entries specified by the first value of the Palette Color Lookup Table Descriptors (0028,1101-1103), Number of Table Entries.

These lookup tables shall be used only when segmented lookup table data use is desirable and there is a single sample per pixel (single image plane) in the image.

Table C.7-23. Compressed Palette Color Lookup Table Data

Segment 0
Segment 1
…
Segment n

There are currently three types of segments: discrete, linear, and indirect. The segments type is identified by the opcodes in Table C.7-24.

Table C.7-24. Segment Types

Opcode | Segment type
--- | ---
0 | Discrete
1 | Linear
2 | Indirect
3 & above | reserved

##### C.7.9.2.1 Discrete Segment Type

The discrete segment is used to represent a series of palette components that are not monotonic with respect to their predecessors or successors. The Segment Length indicates the number of lookup table entries.

The format of the Discrete Segment Type shall be as in Table C.7-25.

Table C.7-25. Discrete Segment Type

Segment Opcode = 0
Segment Length
Segment Length number of lookup table entries

Prev | Up | Next
C.7.9 Palette Color Lookup Table Module | Home | C.7.9.2.2 Linear Segment Type