open_gray_image

Function open_gray_image 

Source
pub fn open_gray_image(path: impl AsRef<Path>) -> ImageResult<Array2<u8>>
Expand description

Opens a gray image using the image crate and loads it into a 2d array. This performs a copy.