摘要: 作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <iostream>#include <cv.h>#include <highgui.h>void TrackBarFunc(int val); struct _TrackBarData{ char *Name; //trackbar的名字 int Pos; //tra... 阅读全文
posted @ 2012-11-25 15:37 gnuhpc 阅读(1808) 评论(0) 推荐(0) 编辑
摘要: 作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"#include <stdio.h>CvPoint prev_pt={-1,-1} ;CvPoint pt_beg={-1,-1},pt_end = {-1,-1};CvPoint pt1={-1,-1},pt2={-1,-1}... 阅读全文
posted @ 2012-11-25 15:36 gnuhpc 阅读(7440) 评论(0) 推荐(0) 编辑
摘要: 作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <cv.h>#include <highgui.h>#include <iostream>using namespace std;int main( int argc, char **argv){ IplImage *imgA = cvLoadImage( "lena.j... 阅读全文
posted @ 2012-11-25 15:34 gnuhpc 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 2.Ransac是一种非常简单的算法 用于在一群样本中去掉噪声样本,得到有效的样本采用随机抽样验证的方法,以下节选自wikipedia,选有用的贴了过来RANSACRANSAC is an abbreviation for "RANdom SAmple Consensus". It is an algorithm to estimate parameters of a mathematical... 阅读全文
posted @ 2012-11-25 15:31 gnuhpc 阅读(5029) 评论(0) 推荐(0) 编辑
摘要: 作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <stdio.h>#include "cv.h"#include "highgui.h"#include <stdio.h>void f( IplImage* src, IplImage* dst ){ CvMemStorage* storage = cvCr... 阅读全文
posted @ 2012-11-25 15:25 gnuhpc 阅读(2946) 评论(0) 推荐(0) 编辑
摘要: 作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h" #include "highgui.h" #include <stdio.h> int main(int argc,char **argv) { IplImage *src=/blog.armyourlife.info/0,*dst=0,*dst2=0; ... 阅读全文
posted @ 2012-11-25 15:23 gnuhpc 阅读(2285) 评论(0) 推荐(0) 编辑