随笔分类 -  OpenCV

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 Never more 阅读(384) 评论(0) 推荐(0)

导航