Manipulating pixels with OpenCV
摘要:Scalar intensity = img.at<uchar>(y, x);intensity.val[0]contains a value from 0 to 255. Note the ordering ofxandy. Since in OpenCV images arerepresented by the same structure as matrices, we use the same convention for both cases - the 0-based row index(or y-coordinate) goes first and the 0-bas
阅读全文
posted @ 2012-07-03 14:06
浙公网安备 33010602011771号