Specifies Bayer pattern used for decoding color image.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public int[,] BayerPattern { get; set; }

Remarks

The property specifies 2x2 array of RGB color indexes, which set the Bayer patter used for decoding color image.

By default the property is set to:

CopyC#
new int[2, 2] { { RGB.G, RGB.R }, { RGB.B, RGB.G } }
, which corresponds to
Copy 
G R
B G
pattern.

See Also