DICOM PS3.3 2017a - Information Object Definitions

C.7.9.2.2 Linear Segment Type
Prev | C.7.9.2 Segmented Palette Color Lookup Table Data | Next

##### C.7.9.2.2 Linear Segment Type

The linear segment represents a series of palette components whose values may be represented by a straight line.

X = palette address, Y = Value contained in the palette.

(Xo, Yo) = end of the previous segment

(Xo+ Segment Length, Y1) = end of this linear segment

Where: Y1 is contained in the data portion of this segment.

During expansion, the application should "connect" the previous segment's endpoint, (Xo, Yo), with this segment's endpoint, (Xo+ Segment Length, Y1) using a straight line, by computing the values for each point between the endpoints.

### Note

Because the linear segment uses the end point from the previous segment, a linear segment can not be the first segment.

The linear segment's format shall be as in Table C.7-26.

Table C.7-26. Linear Segment Type

Segment Opcode = 1
Segment Length
Y1

Prev | Up | Next
C.7.9.2 Segmented Palette Color Lookup Table Data | Home | C.7.9.2.3 Indirect Segment Type

DICOM PS3.3 2017a - Information Object Definitions