RedEyeRemoval Constructor (Rectangle, Point, Single)

Initializes a new instance of the RedEyeRemoval class using the specified face rectangle, eye point and algorithm sensitivity.

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

Syntax

C#
public RedEyeRemoval(
	Rectangle faceRegion,
	Point startPoint,
	float sensitivity
)

Parameters

faceRegion

Type: System.Drawing.Rectangle

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

Type: System.Drawing.Point

A Point containing the red eye location. You can change it later using the EyePoint property.
sensitivity

Type: System.Single

A float number in range [0, 1] which specifies a sensitivity of the red eye removal algorithm. The smaller value you specify, more pixels are affected. You can change it later using the Sensitivity 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 Manual.

See Also

Reference