RemoveRedeye method (Main Control)

Visual Basic example
Visual C++ 5.0 example

Syntax short RemoveRedeye(OLE_COLOR rcNewColor, short iThreshold, short iLightness);

Overview:  Refer to Applying Artistic Effects.

Remarks

Removes the "red eye" effect in color images by converting the red color in the eye to the new specified color.

This method has no effect on grayscale images, since there is no "red eye" problem in grayscale images.

To use this method the user should select a small region around the eye. Otherwise, the method will change all the red color in the image. This method also allows the user to replace the red color with a new color for the eyes that is nearest to the original color.

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.

See Also

Topics:  Correcting Colors
Raster Images: Modifying Intensity Values

Raster Images: Modifying Individual Pixels