1 | initial version |
welcome to row/col world ;)
cout << (int) gray.at<uchar>(399, 639);
you have to use y,x not x,y ..
2 | No.2 Revision |
welcome to row/col world ;)
cout << (int) gray.at<uchar>(399, 639);
you have to use y,x not x,y ..
also, please have a look at basic tutorials