pub fn rgb_from_matrix(mat: &DMatrix<(u8, u8, u8)>) -> RgbImage
Convert an (u8,u8,8) matrix into an RgbImage.
(u8,u8,8)
RgbImage
Performs a transposition to accomodate for the column major matrix into the row major image.