Click or drag to resize
Accord.NET (logo)

SimplePosterizationPosterizationInterval Property

Posterization interval, which specifies size of posterization areas.

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

Property Value

Type: Byte
Remarks

The property specifies size of adjacent posterization areas for each color plane. The value has direct effect on the amount of colors in the result image. For example, if grayscale image is posterized with posterization interval equal to 64, then result image will contain maximum of 4 tones. If color image is posterized with same posterization interval, then it will contain maximum of 43=64 colors.

Default value is set to 64.

See Also