Click or drag to resize
Accord.NET (logo)

MaskedFilterMask Property

Mask to apply.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
public byte[,] Mask { get; set; }
Request Example View Source

Property Value

Type: Byte

The property specifies mask array to use. Size of the array must be the same size as the size of the source image to process - its 0th dimension must be equal to image's height and its 1st dimension must be equal to width. For example, for 640x480 image, the mask array must be defined as:

byte[,] mask = new byte[480, 640];

See Also