This documentation is for the old version. Go to the latest Graphics Mill docs

RedEyeRemoval Constructor (RectangleF, PointF, Single)

Creates and initializes new instance of the RedEyeRemoval class. Use this constructor to pass all values for the Manual mode.

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

Syntax

Visual Basic
Public Sub New ( _
	faceRegion As RectangleF, _
	startPoint As PointF, _
	sensitivity As Single _
)
C#
public RedEyeRemoval(
	RectangleF faceRegion,
	PointF startPoint,
	float sensitivity
)

Parameters

faceRegion

Type: System.Drawing.RectangleF

A RectangleF which specifies the face region. You can change it later using the FaceRegion property.
startPoint

Type: System.Drawing.PointF

A PointF which specify the point inside the red eye. Coordinates should be specified relatively left-top corner of the faceRegion. You can change it later using the EyePoint property.
sensitivity

Type: System.Single

A float value in range [0,1] which specifies a sensivity of the red eye effect 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 works, it analyzes the facial features. It helps to reduce probability of malfunction. To make the red eye effect 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