ApplyMathLogic method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ApplyMathLogic(int nFactor, unsigned uFlags);

Delphi Syntax

Function ApplyMathLogic (nFactor: L_INT; uFlags: L_UINT): L_INT;

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.

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, Pixel property, GetHistogram method, WindowLevel method.

Topics:

Raster Images: Modifying Intensity Values

 

Using Color Values in LEADTOOLS