Documentation ¶ Index ¶ type Histogram func (Histogram) Quantize(p *camalian.Palette, count uint) *camalian.Palette type KMeans func (KMeans) Quantize(p *camalian.Palette, count uint) *camalian.Palette type MedianCut func (MedianCut) Quantize(p *camalian.Palette, count uint) *camalian.Palette Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Histogram ¶ type Histogram struct{} func (Histogram) Quantize ¶ func (Histogram) Quantize(p *camalian.Palette, count uint) *camalian.Palette type KMeans ¶ type KMeans struct{} func (KMeans) Quantize ¶ func (KMeans) Quantize(p *camalian.Palette, count uint) *camalian.Palette type MedianCut ¶ type MedianCut struct{} func (MedianCut) Quantize ¶ func (MedianCut) Quantize(p *camalian.Palette, count uint) *camalian.Palette Source Files ¶ View all Source files histogram.go k_means.go median_cut.go Click to show internal directories. Click to hide internal directories.