CV::MAT assignment operator "="
I am confused by the following pseudocode:
cv::Mat a(row,col,datatype);
/*
codes fill data in 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?