Function imgproc_rs::colorspace::srgb_to_lab[][src]

pub fn srgb_to_lab(input: &Image<u8>, ref_white: &White) -> Image<f64>

Converts an image from sRGB to CIELAB

  • Input: sRGB image with channels in range [0, 255]
  • Output: CIELAB image with L* channel range [0, 100] and a*, b* channels range [-128, 127]