pub fn rgb_to_gray_u8(src: RgbView<'_>, out: &mut [u8]) -> Result<(), CvError>
Convert packed RGB8 to Gray8. out length ≥ width*height.
out