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 Bitmap MaskImage { get; set; } |
Remarks
The property specifies 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 UnmanagedMaskImage 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. |