Function imgproc_rs::colorspace::srgb_to_xyz[][src]

pub fn srgb_to_xyz(input: &Image<u8>) -> Image<f64>

Converts an image from sRGB to CIE XYZ

  • Input: sRGB image with channels in range [0, 255]
  • Output: CIE XYZ image with channels in range [0, 1]