how can i "reshape" a matrix 4d to matrix 2d and vice versa?
i have a matrix vector<vector<mat>> with [256][20][10][10] dimensions and i want to convert this in a Mat matrix with [2000][256] dimensions. Thanks for all.