i would like to convert a Mat whose dimensions are [2000][256] and i want to convert this to a vector<vector<mat>> with dimensions [256][20][10][10]
1 | initial version |
i would like to convert a Mat whose dimensions are [2000][256] and i want to convert this to a vector<vector<mat>> with dimensions [256][20][10][10]
2 | No.2 Revision |
i would like to convert a Mat whose dimensions are [2000][256] and i want to convert this to a vector<vector<mat>> with dimensions [256][20][10][10][256][20][10][10]. In matlab it is posible to do reshape(Mat2d, 10, 10, 20, 256), i would like to do the same