Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.