AdjustTint method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short AdjustTint(ILEADRaster * pRaster, long lAngleA, long lAngleB)

Overview

Refer to Correcting Colors.

Remarks

(Raster Pro and above only) Adjusts the bitmap tint by changing the colors in an image by using two separate color wheel rotations.

This method changes the colors in an image by using two separate color wheel rotations. For the lAngleA parameter, a positive rotation takes blue toward green and red, as shown in the following figure:

image\nAngleA.gif

Negative rotation has the opposite effect. For the lAngleB parameter, a positive rotation takes red toward green. Negative rotation has the opposite effect.

Use the Hue method to rotate the color wheel in either direction using one angle change that changes each color in the image. A 180-degree rotation in either direction changes each color to its complement. Positive rotation takes red toward green, green toward blue, and blue toward red. Negative rotation has the opposite effect.

This method only supports colored images.

This method supports 48 and 64 bit color images. Support for 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.

See Also

Elements:

Hue method, Intensity method, GammaCorrect method, Contrast method, HistoContrast method, StretchIntensity method, RemapIntensity method, Invert method, Saturation method, HistoEqualize method, Fill method, Pixel property, GetHistogram method, ChannelMix method, LightControl method, SmoothEdges method, LocalHistoEqualize method, AddWeightedBitmaps method, ColorMerge method, ColorSeparate method, Multiply method, AutoColorLevel method, ColorLevel method, SelectiveColor method, HueSaturationIntensity method, ColorReplace method, ColorThreshold method, MathFunction method, AdaptiveContrast method, ApplyMathLogic method, ColorIntensityBalance method, ContrastBrightIntensity method, FunctionalLight method, MultiScaleEnhancement method, SelectData method, ShiftData method, SampleTarget method

Topics:

Raster Images: Modifying Intensity Values.