ApplyVOILUT2 Method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short ApplyVOILUT2 (LPDISPATCH pRaster, VARIANT Data, long lFirstStoredPixelValueMapped, VOILUTConstants Flags);

Overview

Refer to Examining and Altering Bitmaps.

Remarks

Sets up the paint or paint and image processing methods window leveling options for a specific bitmap through a lookup-table (LUT). In DICOM world, this is referred to as "applying a non-linear VOI LUT".

This method will remap the LUT used to display and process a bitmap by applying a user-defined lookup table, in the DICOM world this is referred to as applying a "non-linear VOI LUT". The DICOM standard states:

" A VOI LUT defines the transformation of the modality pixel values into pixel values that are meaningful for print, display, etc. This transformation is applied after any Modality LUT". Please see "VOI LUT Module Attributes" in the DICOM standard for more details.

This method doesn’t change the image data; it only updates the entries inside the bitmap display LUT.

It’s recommended to always set the VOI_LUT_UPDATE_MIN_MAX flag.

For DICOM files you will need to set the VOI_LUT_REVERSE_ORDER flag if the photometric interpretation of the image is "MONOCHROME1", where the minimum grayscale value is intended to be displayed as white after any VOI gray scale transformations have been performed.

This function supports signed data images.

See Also

Elements:

ApplyLinearVOILUT method, RemapIntensity method, ApplyModalityLUT method, ApplyLinearModalityLUT method

Topics:

Raster Image Functions: Modifying Intensity Values

 

Changing Brightness and Contrast