Click or drag to resize
Accord.NET (logo)

ColorRemappingGrayMap Property

Remapping array for gray color.

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

Property Value

Type: Byte
Exceptions
ExceptionCondition
ArgumentExceptionA map should be array with 256 value.
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.

See Also