ImageGear for Java
getDICOMDisplaySettings Method
Gets the DICOM specific display contrast settings.

com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface.

DICOM specification defines several contrast transformations, such as Modality LUT, VOI LUT, etc. When ImageGear loads a DICOM image, it initializes DICOMDisplaySettings field of com.accusoft.imagegear.core.ImGearRasterPage class with settings found in the file. During display, ImageGear checks for presence of DICOMDisplaySettings, and if it is present, uses it in display processing pipeline. This allows you to load and display DICOM images with proper contrast, without the need for extra application code. An com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface object can be attached to an com.accusoft.imagegear.core.ImGearRasterPage class object or to an ImGearPageDisplay class object. If ImGearPageDisplay.getDICOMDisplaySettings is not null, ImageGear uses it for display. Otherwise, ImageGear checks com.accusoft.imagegear.core.ImGearRasterPage for presence of .DICOMDisplaySettings, and if it is not null, uses it for display. In other words, DICOMDisplaySettings attached to Display has higher priority than DICOMDisplaySettings attached to ImGearRasterPage. DICOMDisplaySettings can be also used if the image was not loaded from a DICOM file. It can be useful for non-medical images as well. This value affects grayscale images with bit depths from 2 to 16. Type of this value is an interface, which has a small set of members that are necessary for displaying the page with specific DICOM display settings. If the application needs to retrieve or modify DICOM Display Settings, it shall cast com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface to the actual class com.accusoft.imagegear.formats.dicom.ImGearDICOMDisplaySettings class. The default value is null.

com.accusoft.imagegear.core.IImGearDICOMDisplaySettingscom.accusoft.imagegear.formats.dicom.ImGearDICOMDisplaySettings

Syntax
IImGearDICOMDisplaySettings getDICOMDisplaySettings()
See Also

Reference

IImGearPageDisplay Interface
IImGearPageDisplay Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback