DICOM PS3.3 2020a - Information Object Definitions |
Page 1305 |
standing of the meaning of Window Center and Width to select "values of interest" that are to be displayed across the full range of the output device, without explicitly having to map each choice to P-Values.
2.For example, if the VOI LUT is specified as a Window Center of 0 and a Window Width of 100, and the Presentation LUT Sequence is present with a LUT Descriptor first value of 256 and second value of 0, then the range from -50 to +49isimplicitlylinearlyscaledfrom0to255beforeselectingvaluesfromtheLUTDatainthePresentationLUTSequence. This example demonstrates that it is not necessary to send a different Presentation LUT for different Window Center and Width values.
3.For example, if the VOI LUT is specified as VOI LUT Sequence with a LUT Descriptor with a 3rd Value of 16, then the range from 0 to 216-1 is selected to be mapped to the full range of the display or print device (the full range of P-Values) if the Presentation LUT Shape is specified as IDENTITY or INVERSE. This example demonstrates that a VOI LUT may be specified with the desired precision, without having to explicitly send a Presentation LUT to rescale that precision to whatever range of P-Values is preferred by the display application.
4.For example, if the VOI LUT is specified as VOI LUT Sequence with a LUT Descriptor with a 3rd Value of 16, and the Presentation LUT Sequence is present with a LUT Descriptor first value of 4096 and second value of 0, then the range from 0 to 216-1 is implicitly linearly scaled to the range 0 to 4095 before selecting values from the LUT Data in the PresentationLUTSequence.Thisexampledemonstratesthecasewhere,tosavespace,thePresentationLUTisencoded in a compact form that a display application may choose to interpolate more precisely, yet the VOI LUT output may be encoded with 16 bit precision.
C.11.6.1.1 LUT Descriptor
The three values of LUT Descriptor (0028,3002) describe the format of the LUT Data in the corresponding LUT Data (0028,3006) Attribute.
The first value is the number of entries in the lookup table. When the number of table entries is equal to 216 then this value shall be 0.
The second value is the first implicitly scaled input value mapped, and shall always be 0. The Value Representation of the second value is always US. This implicitly scaled input value is mapped to the first entry in the LUT. There are no implicitly scaled input values less than the first value mapped. An implicitly scaled input value one greater than the first value mapped is mapped to the second entry in the LUT Data. Subsequent implicitly scaled input values are mapped to the subsequent entries in the LUT Data up to an im- plicitly scaled input value equal to number of entries + first value mapped - 1 that is mapped to the last entry in the LUT Data. There are no implicitly scaled input values greater than number of entries + first value mapped.
The third value specifies the number of bits for each entry in the LUT Data. The third value of LUT Descriptor (0028,3002) shall be between 8 and 16 inclusive. The LUT Data shall be stored in a format equivalent to 8 bits allocated when the number of bits for each entry is 8, and 16 bits allocated when the number of bits for each entry is 16, where the high bit is equal to bits stored - 1, and where bits stored is the third value.
Note
1.Since LUT Descriptor (0028,3002) is multi-valued, in an Explicit VR Transfer Syntax, only one value representation (US or SS) may be specified. Since all three values are always by definition interpreted as unsigned, the explicit VR actually used will always be US.
2.Some implementations have encoded 8 bit entries with 16 bits allocated, padding the high bits; this can be detected by comparing the number of entries specified in the LUT Descriptor with the actual value length of the LUT Data entry. The value length in bytes should equal the number of entries if bits allocated is 8, and be twice as long if bits allocated is 16.
The LUT Data contains the LUT entry values, which are P-Values.
The output range is from 0 to 2n-1 where n is the third value of LUT Descriptor. This range is always unsigned.
This range specifies the output range of the P-Values.