How can i reshape a Mat to a vector<Mat>?

asked 2017-07-20 03:25:41 -0600

Alvaro gravatar image

In Matlab that is possible with reshape function. Moreover i would like to reshaping a matrix to a vector<vector<mat>>

edit retag flag offensive close merge delete

Comments

I don't think such function exist but you can extract roi using rect or range and push roi in vector of Mat

LBerger gravatar imageLBerger ( 2017-07-20 03:46:56 -0600 )edit