[][src]Function ndarray_image::open_gray_image

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

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