Specifies if demosaicing must be done or not.

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

Syntax

C#
public bool PerformDemosaicing { get; set; }

Remarks

The property specifies if color demosaicing must be done or not. If the property is set to falseFalsefalsefalse (False in Visual Basic), 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 trueTruetruetrue (True in Visual Basic), 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 trueTruetruetrue (True in Visual Basic).

See Also