[][src]Function pigmnts::pigments_pixels

pub fn pigments_pixels(
    pixels: &Pixels,
    k: u8,
    weight: WeightFn,
    max_iter: Option<u16>
) -> Vec<(LAB, f32)>

K-means++ clustering to create the palette