gray_image_from_slice

Function gray_image_from_slice 

Source
pub fn gray_image_from_slice(
    width: u32,
    height: u32,
    pixels: &[u8],
) -> Result<GrayImage, DetectError>
Expand description

Build an image::GrayImage from a raw grayscale buffer.