---
title: "RedEyeMask Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeMask.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# RedEyeMask Class
 
This class represents a red eye mask calculated during red eye effect removal.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public NotInheritable Class RedEyeMask
```
 
```csharp
public sealed class RedEyeMask
```
 
## Remarks
  
When the [RedEyeRemoval](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeRemoval.htm.md) 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](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_RedEyeRemoval_Mask.htm.md) 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](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_RedEyeMask_BinaryMask.htm.md) 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](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_RedEyeMask_Blobs.htm.md) property which returns an array of [RedEyeBlob](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeBlob.htm.md) objects.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - Aurigma.GraphicsMill.Transforms.RedEyeMask
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
 
## Object Model

[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_290.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeMask.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_291.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_RedEyeBlob.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel2.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_292.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel1.png)![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_293.png)
  
## See Also

### Reference

- [RedEyeMask Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Transforms_RedEyeMask.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
