Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv reshape like matlab

Hi. Let assume that there is a vector.

cv::Mat v(9,1,CV_64F);

I would like to change this to 3x3 matrix (any order is okay). But, v.reshape() does not help anything!

I think documentation should note about reshaping (not the channel reshaping)