Accusoft ImagXpress 13
AutoRemoveRedeye Method
An enumEyeShade value which determines the type of eye shade to use.
An enumEyeGlare value which determines the type of eye shade to use.

When true, previously detected redeye rectangles are used to correct red eyes.

When false, the algorithm detects rectangles with red eyes and corrects them. Existing rectangles are ignored when correcting red eyes.

Description
Automatically reduces the red reflection of the flash seen in the eyes of people in color flash photo images.
Syntax
Visual Basic
Public Sub AutoRemoveRedeye( _
   ByVal IPRedeyeShade As enumEyeShade, _
   ByVal IPRedeyeGlare As enumEyeGlare, _
   ByVal bUseEditRectangles As Boolean _
) 
Parameters
IPRedeyeShade
ValueDescription
EyeShadeDarkDark eye shading.
EyeShadeLightLight eye shading.
EyeShadeNormalNormal shade.
An enumEyeShade value which determines the type of eye shade to use.
IPRedeyeGlare
ValueDescription
EyeGlareFullStrong image glare.
EyeGlareNoneNo glare.
EyeGlareSlightSlight image glare.
An enumEyeGlare value which determines the type of eye shade to use.
bUseEditRectangles

When true, previously detected redeye rectangles are used to correct red eyes.

When false, the algorithm detects rectangles with red eyes and corrects them. Existing rectangles are ignored when correcting red eyes.

Remarks

The algorithm searches for rectangles containing red eyes, and corrects the red eyes.

This method accurately corrects red eyes without modifying non-eyes in most cases without any intervention. However, as with any algorithm, there is a potential for false positives (modifications of areas that are not eyes), or red eyes that are not corrected in some images.

To provide the application with maximum control over this behavior, this method stores in the Redeye properties all areas that have been corrected as a collection of rectangles with corresponding correction information. The rectangles identify areas in which red-eyes were detected and corrected, and a value indicating the confidence that the area corrected was a red eye. This enables the application to set an acceptable level of false positives, and optimize red-eye correction.

Note: Available in Professional edition.

See Also

ImagXpress Object  | ImagXpress Members  | RedeyeRectangleConfidence Property  | RedeyeRectangleHeight Property  | RedeyeRectangleIndex Property  | RedeyeRectangleWidth Property  | RedeyeRectangleX Property  | RedeyeRectangleY Property  | RedeyeTotalCount Property  | Redeye Removal  | Color Image Processing  | Image Processing

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback