TIOParams.DICOM_RangeAdjusted
TIOParams.DICOM_RangeAdjusted
Declaration
property DICOM_RangeAdjusted: Boolean;
Description
Returns True if the pixel values of the DICOM image have been shifted during the loading process.
The range will be shifted in the following cases:
◼Grayscale/Monochrome images: When PhotometricInterpretation = IEDICOM_PHOTOMETINTERPRET_MONOCHROME_ZEROISWHITE
◼8bit color images: Always
◼16bit color images: if (PixelRepresentation <> 0) or (RescaleSlope <> 1)
Note
With DICOM a pixel can have a range that is outside of unsigned values (0...65535) e..g negative numbers, or using less than 16 bits (14, 13, etc). In ImageEn (in case of 16 bit pixel) only pixels in the 0..65535 range are supported.
When loading ImageEn will adjust the pixel values to fit into the full unsigned 16 bit range, and then make this range visible by setting BlackValue and WhiteValue (when
DICOM_Range is iedrSetBlackWhite).