Skip to main content

gray_to_rgb

Function gray_to_rgb 

pub fn gray_to_rgb<T>(
    input: ImageView<'_, T, 1>,
) -> Result<Image<T, 3>, VisionError>
where T: PixelComponent,
Expand description

Replicates a gray channel into RGB.