DICOM PS3.3 2024e - Information Object Definitions
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.

(X0, Y0) = end of the previous segment

(X0 + 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, (X0, Y0), with this segment's endpoint, (X0 + 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


DICOM PS3.3 2024e - Information Object Definitions