Accusoft.ImagXpress13.Net
AutoRemoveRedeye Method




A RedeyeShade enumeration value to modify the shade of the red eye.

A RedeyeGlare enumeration value to modify the glare of the red eye.
A boolean value set to true to use redeye rectangles. Otherwise, use false.
Automatically reduces the red reflection of the flash seen in the eyes of people in color flash photo images.
Syntax
'Declaration
 
Public Sub AutoRemoveRedeye( _
   ByVal eyeShade As RedeyeShade, _
   ByVal eyeGlare As RedeyeGlare, _
   ByVal bUseRedeyeRectangles As Boolean _
) 
'Usage
 
Dim instance As Processor
Dim eyeShade As RedeyeShade
Dim eyeGlare As RedeyeGlare
Dim bUseRedeyeRectangles As Boolean
 
instance.AutoRemoveRedeye(eyeShade, eyeGlare, bUseRedeyeRectangles)
public void AutoRemoveRedeye( 
   RedeyeShade eyeShade,
   RedeyeGlare eyeGlare,
   bool bUseRedeyeRectangles
)
public: void AutoRemoveRedeye( 
   RedeyeShade eyeShade,
   RedeyeGlare eyeGlare,
   bool bUseRedeyeRectangles
) 
public:
void AutoRemoveRedeye( 
   RedeyeShade eyeShade,
   RedeyeGlare eyeGlare,
   bool bUseRedeyeRectangles
) 

Parameters

eyeShade

A RedeyeShade enumeration value to modify the shade of the red eye.

eyeGlare
A RedeyeGlare enumeration value to modify the glare of the red eye.
bUseRedeyeRectangles
A boolean value set to true to use redeye rectangles. Otherwise, use false.
Remarks

The algorithm searches for rectangles containing red eyes and corrects them.

This method accurately corrects the red eyes without modifying non-eyes in most cases without any intervention. However, as with any algorithm, there is a potential for false postivies (modification 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 Redeyes property 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

Reference

Processor Class
Processor Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback