1 | initial version |
I have tried the above solution. But it didn't work out for me. So i came up with an alternative. The solution is mentioned over down. Hope you find it useful :). Happy Coding!!!
Mat B(4,2,CV_8UC1,Scalar::all(1) ); cout<<b<<endl<<b.row(0).col(0);< p="">
O/p :
[ 1, 1; 1, 1; 1, 1; 1, 1] [ 1]
2 | No.2 Revision |
I have tried the above solution. But it didn't work out for me. So i came up with an alternative. The solution is mentioned over down. Hope you find it useful :). Happy Coding!!!
Mat B(4,2,CV_8UC1,Scalar::all(1) );