Ask Your Question

Revision history [back]

In C++ at method is used for pixel access. im.at<uchar>(i,j) gives pixel value at row i and column j. Pixel type is unsigned char.

I don't know java but i think you can find an answer in this sample : you can use get method

im.get(i,j)[0]