摘要: http://blog.csdn.net/misskissc/article/details/25736385 阅读全文
posted @ 2016-10-21 17:17 Henry2017 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Hai 使用 cvMinAreaRect2画外接矩形是基本步骤是这样的: CvBox2D rect=cvMinAreaRect2(contourSeq,storage4maxcontour); CvPoint2D32f rect_pts0[4]; cvBoxPoints(rect, rect_pts 阅读全文
posted @ 2016-09-06 17:14 Henry2017 阅读(8257) 评论(0) 推荐(0) 编辑
摘要: Hai 阅读全文
posted @ 2016-09-05 15:22 Henry2017 阅读(1864) 评论(0) 推荐(0) 编辑
摘要: You only get one life. It’s actually your duty to live it as fully as possible. 阅读全文
posted @ 2016-08-24 14:48 Henry2017 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1 #include "set" 2 #include "vector" 3 #include <algorithm> 4 using namespace std; 5 6 int main(void) 7 { 8 int iarr1[]={1,2,3,3,4,5,6,7,9}; 9 int iar 阅读全文
posted @ 2016-08-22 17:21 Henry2017 阅读(1007) 评论(0) 推荐(0) 编辑
摘要: via http://blog.csdn.net/ls306196689/article/details/35787955 方式三用时最短 方式一 for (size_t i =0; i < vec.size(); i ++) { int d = vec[i]; } 方式二 size_t len = 阅读全文
posted @ 2016-08-22 17:19 Henry2017 阅读(731) 评论(0) 推荐(0) 编辑
摘要: 1 #include <opencv2/highgui/highgui.hpp> 2 #include <opencv2/core/core.hpp> 3 #include <vector> 4 #include <iostream> 5 #include <opencv2/imgproc/imgp 阅读全文
posted @ 2016-08-19 20:02 Henry2017 阅读(414) 评论(0) 推荐(0) 编辑
摘要: /* * 代码功能:手动选定初始边缘,使用cvSnakeImage算法迭代寻优 * 修改:jink2005 2009-11-18 * 论坛:http://www.aiseminar.cn/bbs */ #include "cv.h" #include "highgui.h" #include <io 阅读全文
posted @ 2016-08-19 19:59 Henry2017 阅读(882) 评论(0) 推荐(0) 编辑
摘要: 基于OpenCv 2.4.6 1 #include "highgui.h" 2 3 //#include "features2d/features2d.hpp"// 4 #include <opencv2/nonfree/features2d.hpp> 5 #include<opencv2/lega 阅读全文
posted @ 2016-08-19 10:41 Henry2017 阅读(821) 评论(0) 推荐(0) 编辑
摘要: http://www.jizhuomi.com/software/193.html 阅读全文
posted @ 2016-08-18 10:09 Henry2017 阅读(209) 评论(0) 推荐(0) 编辑