Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arma::Mat<unsigned char> matrix;
- data::ImageInfo info;
- data::Load("test_image.png", matrix, info, false);
- cout<<matrix<<endl;
- for (size_t i = 0; i < matrix.n_elem; ++i)
- {
- cout<<matrix[i]<<",";
- }
Add Comment
Please, Sign In to add comment