11 2012 档案
摘要:作者: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...
阅读全文
摘要:作者: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}...
阅读全文
摘要:作者: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...
阅读全文
摘要:2.Ransac是一种非常简单的算法 用于在一群样本中去掉噪声样本,得到有效的样本采用随机抽样验证的方法,以下节选自wikipedia,选有用的贴了过来RANSACRANSAC is an abbreviation for "RANdom SAmple Consensus". It is an algorithm to estimate parameters of a mathematical...
阅读全文
摘要:作者: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...
阅读全文
摘要:作者: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; ...
阅读全文