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

RedEyeRemoval Constructor (RectangleF)

Creates and initializes new instance of the RedEyeRemoval class. You can pass the face rectangle into this constructor. It is convenient for the Semiautomatic mode.

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

Syntax

Visual Basic
Public Sub New ( _
	faceRegion As RectangleF _
)
C#
public RedEyeRemoval(
	RectangleF faceRegion
)

Parameters

faceRegion

Type: System.Drawing.RectangleF

A RectangleF which specifies the face region. You can change it later using the FaceRegion 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 Semiautomatic.

See Also

Reference