
opencv
文章平均质量分 54
j3smile
专注于分布式计算、数据挖掘。坚韧平和,不浮躁。
展开
-
oepncv CvWaitKey
int cvWaitKey( int delay=0 )参数:delay—延时的毫秒数。 delay delay>0时,延迟"delay"ms,返回值为被按键的值,如果超过指定时间则返回-1。在显示视频时这个函数是有用的,用于设置在显示完一帧原创 2011-08-20 16:30:18 · 614 阅读 · 0 评论 -
opencv 错误
将点转化为轮廓cvSeq 失败OpenCV Error: Bad argument (Unsupported sequence type) in cvContourArea/** CvMemStorage* memStorage = cvCreateMemStorage(); //CvSeq* blobContour = cvCreateSeq( CV_S原创 2011-12-28 10:43:02 · 1117 阅读 · 0 评论 -
cvCreateStructuringElementEx
cvCreateStructuringElementEx一个可以调节参数的形态学例题,用到的自定义核函数为IplConvKernel * cvCreateStructuringElementEx( int cols, int rows, int anchor_x, int anchor_y, int shape, int *value=NULL ); IplC原创 2012-01-07 10:50:29 · 15226 阅读 · 1 评论 -
2个图片的叠加
//test add two tegether if(frameNum%9==0) { if(add==NULL) { add1 = cvCreateImage(cvSize(pImg->width,pImg->height), pImg->depth, pImg->nCha原创 2012-01-10 09:40:15 · 768 阅读 · 0 评论 -
opencv细节
cvNamedWindow("cameraDetector",0);按原来大小cvNamedWindow("cameraDetector",1);固定大小 CvRect r = ((CvContour*)m_cnt)->rect;是取的轮廓的最边缘x、yCvArr*仅被用来作函数的参数,用来指明函数接受的数组类型不止一个,如CvMat*,CvSe原创 2011-12-21 10:05:36 · 605 阅读 · 0 评论