码迷,mamicode.com
首页 >  
搜索关键字:highgui    ( 260个结果
OpenCV——颜色运算(二)
#ifndef PS_ALGORITHM_H_INCLUDED #define PS_ALGORITHM_H_INCLUDED #include #include #include "cv.h" #include "highgui.h" #include "cxmat.hpp" #include "cxcore.hpp" using namespace std; using namespa...
分类:其他好文   时间:2014-11-29 10:31:16    阅读次数:157
【OpenCV学习一】体验OpenCV
#include "highgui.h" int main(int argc,char** argv) { IplImage* img=cvLoadImage(argv[1]); cvNamedWindow("Test1",CV_WINDOW_AUTOSIZE); cvShowImage("Test1",img); cvWaitKey(0); c...
分类:其他好文   时间:2014-11-26 11:36:17    阅读次数:190
【OpenCV学习之二】读写视频
除了读入图片之外,读写视频也足够简单易学,下面来看看如何读写视频吧。 播放硬盘中的视频: #include "highgui.h" int main(int argc,char** argv) { cvNamedWindow("Test2",CV_WINDOW_AUTOSIZE); CvCapture* capture=cvCreateFileCapture(argv[...
分类:其他好文   时间:2014-11-26 11:34:06    阅读次数:153
图像处理之 opencv 学习---矩阵的操作
OpenCV的一些操作,如生成随机矩阵,高斯矩阵,矩阵相乘之类的/*功能:说明矩阵的一些操作方法*/#include "cv.h"//该头文件包含了#include "cxcore.h"#include "highgui.h"#include void PrintMat(CvMat *A); // ...
分类:其他好文   时间:2014-11-19 00:28:53    阅读次数:255
OPENCV(7) —— HighGUI
包括函数createTrackbar、getTrackbarPos、setTrackbarPos、imshow、namedWindow、destroyWindow、destroyAllWindows、MoveWindow、ResizeWindow、SetMouseCallback、waitKey。这...
分类:其他好文   时间:2014-11-04 22:31:21    阅读次数:534
OpenCV——PS滤镜, 碎片特效
// define head function #ifndef PS_ALGORITHM_H_INCLUDED #define PS_ALGORITHM_H_INCLUDED #include #include #include "cv.h" #include "highgui.h" #include "cxmat.hpp" #include "cxcore.hpp" using name...
分类:其他好文   时间:2014-11-01 13:32:17    阅读次数:251
OpenCV人脸检測
对人脸进行检測#include "opencv2/core/core.hpp" #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/im...
分类:其他好文   时间:2014-10-28 23:31:32    阅读次数:219
最简单的ADABOOST人脸检测例程。COPY运行,前提是你配置好OpenCV环境
#include "cv.h" #include "highgui.h" #include "stdio.h" void main() { IplImage* img = NULL; IplImage* cutImg = NULL; CvMemStorage* storage = cvCreateMemStorage(0); //CvHaarClassifierCascade* casc...
分类:其他好文   时间:2014-10-28 20:04:07    阅读次数:150
cvInRangeS函数演示
camshift算法中,用到了cvInRangeS函数,作为初学者,对这个函数很不理解,所以就写了个程序演示效果,加强理解。代码:#include "cv.h"#include "highgui.h"#includeint hmax=0,hmin=0,vmin=0,vmax=0,smin=0...
分类:其他好文   时间:2014-09-22 18:50:12    阅读次数:262
opencv学习--透视变化
透视变换和仿射变换具有很大的相同特性,前面提到了放射变化,这里再次把它拿出和透视变换进行比较 1 #include"cv.h" 2 #include"highgui.h" 3 using namespace cv; 4 void WarpPerspective(IplImage *img); 5 v...
分类:其他好文   时间:2014-09-21 13:50:20    阅读次数:261
260条   上一页 1 ... 18 19 20 21 22 ... 26 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!