2013年12月10日

opencv遍历图片元素

摘要: #include "cv.h"#include "highgui.h"int main(){ unsigned char *buffer=NULL ; IplImage *tmpImg = cvLoadImage("night.png"); int width = tmpImg->width; int height = tmpImg->height; int widthStep = tmpImg->widthStep; int nChannels = tmpImg->nChannels; printf(&quo 阅读全文

posted @ 2013-12-10 10:37 jesse_deng 阅读(336) 评论(0) 推荐(0) 编辑

导航