Click or drag to resize
Accord.NET (logo)

IColorQuantizer Interface

Interface which is implemented by different color quantization algorithms.

Namespace:  Accord.Imaging.ColorReduction
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
public interface IColorQuantizer
Request Example View Source

The IColorQuantizer type exposes the following members.

Public methodAddColor
Process color by a color quantization algorithm.
Public methodClear
Clear internals of the algorithm, like accumulated color table, etc.
Public methodGetPalette
Get palette of the specified size.

The interface defines set of methods, which are to be implemented by different color quantization algorithms - algorithms which are aimed to provide reduced color table/palette for a color image.

See documentation to particular implementation of the interface for additional information about the algorithm.

See Also