GetLinearVOILUT method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int GetLinearVOILUT(double &dCenter, double &dWidth, unsigned uFlags);

Delphi Syntax

Function GetLinearVOILUT (var dCenter: L_DOUBLE; var dWidth: L_DOUBLE; uFlags: L_UINT): L_INT;

Overview

Refer to Changing Brightness and Contrast.

Remarks

Gets the window center and the window width, if the LUT stored inside the loaded bitmap is linear. If the LUT stored inside the Bitmap is not linear, the method will fail.

You have to pay attention to your signed images LUT. The upper half should contain negative values and lower half contains positive values.

This method supports 12 and 16-bit grayscale images. Support for 12 and 16-bit grayscale images is available only in the Document/Medical toolkits.

This method supports signed data images.

See Also

Elements:

WindowLevel method, GetUserLookupTable method, RemapIntensity method, ApplyLinearVOILUT method.

Topics:

Raster Images: Modifying Intensity Values