First time here? Check out the FAQ!
answered 2013-04-26 13:56:33 -0600
it's:
mat.at<type>(row,col);
not :
mat.at<type>(x,y);
i think you need to reverse mat.at(i,j) to mat.at(j,i)