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

RedEyeRemoval Constructor (Rectangle)

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 Rectangle _
)
C#
public RedEyeRemoval(
	Rectangle faceRegion
)

Parameters

faceRegion

Type: System.Drawing.Rectangle

A Rectangle 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 rectangl.

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

See Also

Reference