Remapping array for gray color.

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

Syntax

C#
public byte[] GrayMap { get; set; }

Remarks

The remapping array should contain 256 remapping values. The remapping occurs by changing pixel's value g to GrayMap[g].

The gray map is for grayscale images only.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionA map should be array with 256 value.

See Also