|
MedianCutQuantizerGetPalette Method
|
Get paletter of the specified size.
Namespace:
Accord.Imaging.ColorReduction
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public Color[] GetPalette(
int colorCount
)
Public Function GetPalette (
colorCount As Integer
) As Color()
Request Example
View SourceParameters
- colorCount
- Type: SystemInt32
Palette size to get.
Return Value
Type:
ColorReturns reduced palette of the specified size, which covers colors processed so far.
Implements
IColorQuantizerGetPalette(Int32)Remarks The method must be called after continuously calling AddColor(Color) method and
returns reduced color palette for colors accumulated/processed so far.
See Also