![]() |
OrderedColorDitheringThresholdMatrix Property |
Namespace: Accord.Imaging.ColorReduction
The property keeps a threshold matrix, which is applied to values of a source image to dither. By adding these values to the source image the algorithm produces the effect when pixels of the same color in source image may have different color in the result image (which depends on pixel's position). This threshold map is also known as an index matrix or Bayer matrix.
By default the property is inialized with the below matrix:
2 18 6 22 26 10 30 14 8 24 4 20 32 16 28 12