DICOM PS3.3 2020a - Information Object Definitions |
Page 1299 |
if (x <= -0.5) then y = 0
else if (x > -0.5) then y = 255
else /* not reached */
4.A Window Center of 2n-1 and a Window Width of 2n selects the range of input values from 0 to 2n-1. This represents a mathematical identity VOI LUT transformation over the possible input values (whether used or not) in the case where no Modality LUT is specified and the stored pixel data are n bit unsigned integers.
In the case where x1 is the lowest input value actually used in the Pixel Data and x2 is the highest, a Window Center of (x1+x2+1)/2 and a Window Width of (x2-x1+1) selects the range of input values from x1 to x2, which represents the full range of input values present as opposed to possible. This is distinct from the mathematical identity VOI LUT transformation, which instead selects the full range of input values possible as opposed to those actually used. The mathematical identity and full input range transformations are the same when x1 = 0 and x2 is 2n-1 and the input values are n bit unsigned integers. See also Note 7.
5.A Window Width of 1 is typically used to represent a "threshold" operation in which those integer input values less than the Window Center are represented as the minimum displayed value and those greater than or equal to the Window Center are represented as the maximum displayed value. A Window Width of 2 will have the same result for integral input values.
6.The application of Window Center (0028,1050) and Window Width (0028,1051) may select a signed input range. There is no implication that this signed input range is clipped to zero.
7.The selected input range may exceed the actual range of the input values, thus effectively "compressing" the contrast range of the displayed data into a narrower band of the available contrast range, and "flattening" the appearance. There are no limits to the maximum value of the window width, or to the minimum or maximum value of window level, both of which may exceed the actual or possible range of input values.
8.Input values "below" the window are displayed as the minimum output value and input values "above" the window are displayed as the maximum output value. This is the common usage of the window operation in medical imaging. There is no provision for an alternative approach in which all values "outside" the window are displayed as the minimum output value.
9.TheoutputoftheWindowCenter/WidthorVOILUTtransformationiseitherimplicitlyscaledtothefullrangeofthedisplay device if there is no succeeding transformation defined, or implicitly scaled to the full input range of the succeeding transformation step (such as the Presentation LUT), if present. See Section C.11.6.1.
10.FractionalvaluesofWindowCenterandWindowWidtharepermitted(sincetheVRoftheseAttributesisDecimalString), and though they are not often encountered, applications should be prepared to accept them.
C.11.2.1.2.2 General Requirements for Window Center and Window Width
The Window Center (0028,1050), Window Width (0028,1051) and VOI LUT Function (0028,1056) Attributes shall be used only for Images with Photometric Interpretation (0028,0004) values of MONOCHROME1 and MONOCHROME2. They have no meaning for other Images.
If multiple values are present, both Attributes shall have the same number of values and shall be considered as pairs. Multiple values indicate that multiple alternative views may be presented.
IfanyVOILUTTableisincludedbyanImage,aWindowWidthandWindowCenterortheVOILUTTable,butnotboth,maybeapplied to the Image for display. Inclusion of both indicates that multiple alternative views may be presented.
If multiple Items are present in VOI LUT Sequence (0028,3010), only one may be applied to the Image for display. Multiple Items in- dicate that multiple alternative views may be presented.
If the VOI LUT Module is defined in an IOD and if neither a VOI LUT Sequence nor a Window Width and Window Center are present, then the VOI LUT stage of the grayscale pipeline is defined to be an identity transformation.