DICOM PS3.3 2021e - Information Object Definitions |
---|

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.

(X_{0}, Y_{0}) = end of the previous segment

(X_{0} + Segment Length, Y_{1}) = end of this linear segment

Where: Y_{1} is contained in the data portion of this segment.

During expansion, the application should "connect" the previous segment's endpoint, (X_{0}, Y_{0}), with this segment's endpoint, (X_{0} + Segment Length, Y_{1}) using a straight line, by computing the values for each point between the endpoints.

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.

DICOM PS3.3 2021e - Information Object Definitions |
---|