Mat element access
I read this article, but I can't find how to access Mat element like this
img[y][x]=100;
is it possible? And another question is how can I don't omit type of Mat, but check types on compilation time.
instead of
img.at<uchar>(i,j)
something like this
img[i][j]