question of reading pixel
when reading pixel of image,using this sentence: (unsigned int)img_pyr2.at<uchar>(y, x) I don't know that why use the data type,uchar. when i changed uchar to int,it will be error;
i just learn opencv,pleace help me to understand. Thank you.