Click or drag to resize
Accord.NET (logo)

BayerFilterPerformDemosaicing Property

Specifies if demosaicing must be done or not.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public bool PerformDemosaicing { get; set; }
Request Example View Source

Property Value

Type: Boolean
Remarks

The property specifies if color demosaicing must be done or not. If the property is set to , then pixels of the result color image are colored according to the Bayer pattern used, i.e. every pixel of the source grayscale image is copied to corresponding color plane of the result image. If the property is set to , then pixels of the result image are set to color, which is obtained by averaging color components from the 3x3 window - pixel itself plus 8 surrounding neighbors.

Default value is set to .

See Also