ImageGear for Java
setDICOMDisplaySettings Method
com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface.
Sets the DICOM specific display contrast settings.

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.DICOMDisplaySettings is not null, ImageGear uses it for display. Otherwise, ImageGear checks 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 IImGearDICOMDisplaySettings interface to the actual class ImGearDICOMDisplaySettings class. The default value is null.

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

Syntax
public void setDICOMDisplaySettings( 
   IImGearDICOMDisplaySettings value
)

Parameters

value
com.accusoft.imagegear.core.IImGearDICOMDisplaySettings interface.
See Also

Reference

ImGearPageDisplay Class
ImGearPageDisplay Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback