OpenCV
fancy_MSF
这个作者很懒,什么都没留下…
展开
-
OpenCV最小外接矩形
cvMinAreaRect2(contour,storage)最小外接矩形 #include "stdafx.h" #include "cv.h" #include "highgui.h" #include "cxcore.h" #include "math.h" int main(int argc, char* argv[]) { IplIm原创 2014-09-03 20:18:44 · 3930 阅读 · 0 评论 -
1、OpenCV轮廓检测和填充
openCV函数 1、cvFindContours二值图像中检索轮廓 cvFindContours( void* img, CvMemStorage* storage, CvSeq** firstContour,int cntHeaderSize, int mode, int method, CvPoint offset ); 函数cvFindContours从二值图像中检原创 2013-09-25 17:55:38 · 8096 阅读 · 0 评论 -
OpenCV最小外接正矩形
最小外接正矩形cvBoundingRect(contour,1) #include "stdafx.h" #include "cv.h" #include "highgui.h" #include "cxcore.h" #include "math.h" #include int main(int argc, char* argv[]) { IplImage *src原创 2014-09-03 20:26:16 · 2303 阅读 · 1 评论