ImageGear .NET v24.12 - Updated
Displaying Medical Images
User Guide > How to Work with... > Common Operations > Viewing > Image Display Using ImGearPage > Displaying Medical Images

ImageGear provides special display features for medical images, such as Value Of Interest (Window Leveling), Modality transform, and presentation state display support. These features are accumulated in the ImGearDICOMDisplaySettings Class. An instance of ImGearDICOMDisplaySettings Class can be attached to ImGearRasterPage Class as a member:

ImGearRasterPage.DICOMDisplaySettings Property

When ImageGear loads a DICOM image, it initializes the DICOMDisplaySettings Property with settings found in the image. Display code applies these settings during image display. This allows you to load and display DICOM images properly without the need for any DICOM specific application code.

The DICOMDisplaySettings Property member only affects the grayscale images. It is ignored if attached to color images.

Application can attach the DICOMDisplaySettings Property to an image, even if it was not loaded from a DICOM file.

The ImGearDICOMDisplaySettings Class stores display settings in their original form. For example, if linear VOI transform is used, ImageGear stores Window Center and Window Width values, rather than a LUT calculated from these values. In particular, if an automatic VOI transform is used during image loading, the application can obtain Window Width and Window Center values that have been automatically selected.

A special member of this class, DisplaySummaryLUT Property, is a look-up table that concatenates all transforms from the ImGearDICOMDisplaySettings Class. The application has to call UpdateDisplaySummaryLUT Method to update the LUT after any transformations have been changed.

If the application changes any display settings, such as VOI,  Modality, etc., and then saves the image, ImageGear writes the changed settings to the file.