ApplyMathLogic method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short ApplyMathLogic (ILEADRaster *pRaster, short iFactor, long lFlags);

Overview

Refer to Correcting Colors

Remarks

(Raster Pro and above toolkits.) Performs specific mathematical or logical operations on the colors of a bitmap.

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

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

This method supports signed images.

See Also

Elements:

Combine method, Intensity method, GammaCorrect method, Contrast method, HistoContrast method, StretchIntensity method, RemapIntensity method, Hue method, Saturation method, HistoEqualize method, Fill method, GetHistogram method, WindowLevel method

Topics:

Raster Images: Modifying Intensity Values