RedEyeRemoval Constructor (Rectangle)

Initializes a new instance of the RedEyeRemoval class using the specified face rectangle.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public RedEyeRemoval(
	Rectangle faceRegion
)

Parameters

faceRegion

Type: System.Drawing.Rectangle

A Rectangle structure containing the face region. You can change it later using the FaceRegion property.

Remarks

When the red eye removal algorithm works, it analyzes facial features. It helps to reduce probability of malfunction. To make the red eye removal process as precise as possible, you should have the user to select the person's face as accurate as possible.

Users should select the face even if they use Manual mode. The eye they select should be inside this rectangle.

When you use this constructor, the default value of the Mode property is Semiautomatic.

See Also

Reference