This class represents a red eye mask calculated during red eye effect removal.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public NotInheritable Class RedEyeMask
public sealed class RedEyeMask
When the RedEyeRemoval transform is working, it builds a mask which contains information about red eyes found in the image. You can get this mask through the Mask property. Of course, you can do it only after the algorithm completes.
This mask is a common grayscale bitmap where white areas correspond to red eyes and black ones - all the rest. You can get this bitmap using the BinaryMask property.
White areas of the mask are called red eye blobs. The add-on finds them and calculates its center and bounding box. You can get blobs of the mask using the Blobs property which returns an array of RedEyeBlob objects.