This may be simple, but definetly I couldn't find an efficient answer, sorry ...
Lets say that I have a matrix A, and I want to copy its first column several times into the matrix B; ie;
A = [1 2 3; 2 3 4; 5 6 7]
and I want to extract
A(:,1);
and copy this vector into another matrix, B. thus leading us to
B = [1 2 3; 1 2 3; 1 2 3];
after the next loop, then, B will be:
B = [2 3 4; 2 3 4; 2 3 4];
and so on until I get sequentially all the A's columns in matrix B
Is there a practical solution for this in opencv? i've tried with copyTo(), Range, and row, col, but I get nothing. I'll really appreciate your help.
regards;
jenn.