Hello everyone,
I have to come up again with a question.
My Problem: I subtract 2 Mat (each CV_16UC1 normalized to CV8_UC1) with the following code:
normalize(src1,dst1,0,255,NORM_MINMAX,CV_8UC1);
normalize(src2,dst2,0,255,NORM_MINMAX,CV_8UC1);
subtract(dst1,dst2,finaldestination);
now i want to access the values with:
finaldestination.at<uchar>(x,y)...
but every datatype I try brings a letter, a funny box but not the value...(the picture output with imshow is correct...) (I tried uchar, unsigned character, unsigned short, ushort...nothing works)
Any suggestions for me? Thx in advance!