Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

welcome to row/col world ;)

cout << (int) gray.at<uchar>(399, 639);

you have to use y,x not x,y ..

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