码迷,mamicode.com
首页 >  
搜索关键字:highgui    ( 260个结果
灰色直方图图像匹配
#include "opencv2/highgui/highgui.hpp" #include "opencv/cv.hpp" #include "string.h"//画直方图用 int HistogramBins = 256;float HistogramRange1[2] = { 0, ...
分类:其他好文   时间:2015-11-27 19:31:49    阅读次数:121
【04】Opencv读视频和摄像头
一个简单读取视频文件代码: #include"highgui.h" intmain() { cvNamedWindow("flv"); //结构体Cv的C是大写的函数cv的c是小写的 CvCapture*capture=cvCreateFileCapture("D:\\BaiduYunDownload\\2015-03-13远程关机\\远程关机.flv"); IplImage*frame; while(1) { fram..
分类:其他好文   时间:2015-11-20 00:25:16    阅读次数:228
卡尔曼滤波+opencv 实现跟踪人脸 小demo
#include "opencv2/objdetect/objdetect.hpp"#include "opencv2/highgui/highgui.hpp"#include "opencv2/imgproc/imgproc.hpp"#include "opencv2/video/tracking...
分类:其他好文   时间:2015-11-18 22:39:32    阅读次数:272
opencv人脸识别
#include "opencv2/core/core.hpp" #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.h...
分类:其他好文   时间:2015-11-14 23:21:06    阅读次数:293
学习opencv 第六章 习题十三
用傅里叶变换加速卷积,直接上代码,Mat版是Copy他人的。CvMat版 1 #include "stdafx.h" 2 #include "cv.h" 3 #include "highgui.h" 4 #include 5 6 using namespace cv; 7 using names.....
分类:其他好文   时间:2015-11-01 01:41:00    阅读次数:318
[学习OpenCV攻略][009][从摄像机读入数据]
cvCreateCameraCapture(设备ID)创建一个摄像机视频,返回值是CvCapture*类型。设备ID表示设备的编号,如果有多个摄像机设备,-1表示随机选择一个设备。#include "cv.h"#include "highgui.h"int main(int argc, char *...
分类:其他好文   时间:2015-10-29 16:10:29    阅读次数:214
[学习OpenCV攻略][007][缩小图片]
cvPryDown(输入图片,输出图片)根据输出图片的大小,把输入图片进行压缩cvPryUp(输入图片,输出图片)根据输出图片的大小,把输入图片进行放大#include "cv.h"#include "highgui.h"IplImage *doPyrUp(IplImage *in){ //asse...
分类:其他好文   时间:2015-10-28 22:56:19    阅读次数:284
《学习Opencv》第五章 习题6
这是第五章 习题5、6的结合版,其中实现了摄像头抓拍功能,能够成功运行。#include "stdafx.h"#include "cv.h"#include "highgui.h"void* getImage(){ CvCapture* capture=cvCreateCameraCapture(0...
分类:其他好文   时间:2015-10-23 22:46:02    阅读次数:250
opencv学习HighGUI图形用户界面初步【1】
HighGUI是图形用户界面模块。包括:1、输入与输出;2、视频捕捉;3、图形和视频的解码编码;4、图形交界面与接口。由于opencv.hpp包含了core、objdetect、ingproc、photo、video、featurse2d、calib3d、ml、highgui、contrib等模块。...
分类:其他好文   时间:2015-10-16 13:09:59    阅读次数:213
opencv学习 2.Mat类图像遍历
图像的遍历原图1.简单存取像素值代码如下:#include "stdafx.h"#include "cv.h"#include "cxcore.h"#include "highgui.h"using namespace std;using namespace cv;int _tmain(int ar...
分类:其他好文   时间:2015-09-29 09:53:33    阅读次数:182
260条   上一页 1 ... 11 12 13 14 15 ... 26 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!