Struct image::math::nq::NeuQuant [] [src]

pub struct NeuQuant { /* fields omitted */ }

Neural network color quantizer

Methods

impl NeuQuant
[src]

[src]

Creates a new neuronal network and trains it with the supplied data

[src]

Initializes the neuronal network and trains it with the supplied data

[src]

Maps the pixel in-place to the best-matching color in the color map

[src]

Finds the best-matching index in the color map for pixel

Trait Implementations

impl ColorMap for NeuQuant
[src]

The color type on which the map operates on

[src]

Returns the index of the closed match of color in the color map. Read more

[src]

Maps color to the closest color in the color map.