Unmanaged mask image to apply.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
public UnmanagedImage UnmanagedMaskImage { get; set; } |
Remarks
The property specifies unmanaged mask image to use. The image must be grayscale (8 bpp format) and have the same size as the source image to process.
When the property is set, both MaskImage and Mask properties are set to nullNothingnullptra null reference (Nothing in Visual Basic).
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The mask image must be 8 bpp grayscale image. |