Click or drag to resize
Accord.NET (logo)

BayerFilterBayerPattern Property

Specifies Bayer pattern used for decoding color image.

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

Property Value

Type: Int32
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:

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

See Also