Accusoft.ImagXpressSdk Namespace > Processor Class : AutoRemoveRedeye Method |
A RedeyeShade enumeration value to modify the shade of the red eye.
'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 )
A RedeyeShade enumeration value to modify the shade of the red eye.
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.