码迷,mamicode.com
首页 >  
搜索关键字:highgui    ( 260个结果
【opencv】统计图像二值化后白色像素点个数
应用:图像特征提取 #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/core/core.hpp" #include #include #include "cv.h" #include "highgui.h" #include #includ...
分类:其他好文   时间:2015-04-28 18:28:49    阅读次数:1328
openvc中读取图像访问图像中像元的的方法
一、读取图像1、利用Mat数据结构读取和显示图片#include"cv.h"#include "highgui.h"#includeusing namespace std;using namespace cv;int _tmain(int argc, _TCHAR* argv[]){ Mat i.....
分类:其他好文   时间:2015-04-26 15:06:59    阅读次数:207
opencv视频流的读取和处理
Opencv提供一个简单易用的框架以提取视频文件和USB摄像头中的图像帧,如果只是想读取某个视频,你只需要创建一个VideoCapture实例,然后在循环中提取每一帧。下面是一个简单的代码 #include #include #include<opencv2\highgui\highgui.hpp...
分类:其他好文   时间:2015-04-12 14:55:18    阅读次数:585
opencv画直线圆椭圆矩形
今天看到以前写的简单的小程序,突然想整理一下,希望对大家有用 #include #include #pragma comment(lib, "cv.lib")   #pragma comment(lib, "cxcore.lib")   #pragma comment(lib, "highgui.lib")  int main() { CvMat* srcMat1; ...
分类:其他好文   时间:2015-04-12 09:15:07    阅读次数:167
opencv直方图均衡化
#include #include "highgui.h"#include "cv.h"#include "cxcore.h"#include "math.h"using namespace std;using namespace cv;//绘制1维直方图Mat draw1DHistogram(Ma...
分类:其他好文   时间:2015-03-30 22:48:37    阅读次数:270
openCV程序实现--显示图像
#include "highgui.h"int main(int argc ,char** argv){ IplImage* img = cvLoadImage(argv[1]); //将图片存储在内存之中,argv[1]为图片名字。 cvNameWindow("2-1", CV_...
分类:其他好文   时间:2015-03-11 12:39:38    阅读次数:165
OpenCV中OpenMP的使用
vs2010中调用openMP,并添加头文件#include   代码来源: 作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/   #include "stdafx.h" #include "cv.h" #include "highgui.h" #include #include #include #prag...
分类:其他好文   时间:2015-03-02 19:12:32    阅读次数:242
OpenCV 连接 Android IP摄像头
OpenCV 连接 Android IP摄像头 c++ ip camera raspberry pi warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:545) 解决方案
分类:移动开发   时间:2015-03-01 11:49:12    阅读次数:1044
OPenCV_摄像头视频捕获并画矩形框
#include?"stdafx.h" #include?"opencv2/imgproc/imgproc.hpp" #include?<opencv2/highgui/highgui.hpp> #include?<opencv2/core/core.hpp> #include?<stdio.h> #include?<iostream> using?namespace?cv;...
分类:其他好文   时间:2015-02-28 13:07:43    阅读次数:223
OpenCV 实现哈哈镜效果
代码,有参考别人的代码 // haha_mirror.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include "cv.h" #include "highgui.h" #include "math.h" #include "opencv2/core/core.hpp" #pragma comment(lib,"openc...
分类:其他好文   时间:2015-02-22 01:40:59    阅读次数:355
260条   上一页 1 ... 14 15 16 17 18 ... 26 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!