I am comfused by the following pseudocode:
cv::mat a(row,col,datatype); /* fill a */ cv::mat b(row,col,datatype);//allocate memory for b, b has same size with a
for(int i=0; i< a.rows; i++) {
b.row(i) = a.row(i);//for each line
}
does b shares the same date with a?