TIEGlobalSettings.ColorReductionQuality
Declaration
property ColorReductionQuality: integer;
Description
When
ColorReductionAlgorithm is 0 (Kohonen algorithm), this field specifies the quality. 0=minimum quality, 100=maximum quality.
-1 means "automatically calculated"
Kohonen Algorithm
The algorithm performs quantization of 24-bit color images to lower depth, such as 8-bit color. The algorithm operates using a one-dimensional self-organizing Kohonen Neural Network, typically with 256 neurons, which self-organizes through learning to match the distribution of colors in an input image. Taking the position in RGB-space of each neuron gives a high-quality color map in which adjacent colors are similar. This map is then used to quantize the image.
By adjusting the
ColorReductionQuality, the network can either produce extremely high-quality images slowly, or produce good images in reasonable times. At highest quality, the entire image is used in the learning phase, while at lower qualities, a pseudo-random subset of pixels is used in the learning phase.
Default: -1