Function rgb_from_matrix

Source
pub fn rgb_from_matrix(mat: &DMatrix<(u8, u8, u8)>) -> RgbImage
Expand description

Convert an (u8,u8,8) matrix into an RgbImage.

Performs a transposition to accomodate for the column major matrix into the row major image.