GetLinearVOILUT method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short GetLinearVOILUT (ILEADRaster *pRaster, long lFlags);

Remarks

Gets the window center and the window width, if the LUT stored inside pRaster is linear. If the LUT stored inside pRaster 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 should contain positive values.

This method supports signed data images.

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.

If this method succeeds, the UserWindowWidth property is updated with the value of the window width and the UserWindowCenter property is updated with the value of the window center.

See Also

Elements:

WindowLevel method, WindowLevelFillLUT method, GetUserLookupTable method, RemapIntensity method, ApplyLinearVOILUT method, UserWindowWidth property, UserWindowCenter property

Topics:

Raster Images: Palettes