RoyalGao

要像一棵树栽在溪水旁,按时侯结果子,叶子也不枯干(诗篇)。
Mail: gaoquanning@163.com

导航

随笔分类 -  opencv和图像处理

基于镜头成像视觉图像处理
opencv基础教程绪论
摘要:opencv基础教程绪论(版本:opencv2.X以上)(1)Opencv的模块 core: 数据结构和线性代数支持(Mat多维数组和调用其他模块的函数) imgproc: 图像处理模块,包括线性和非线性的图像的滤波,几何图像变换(调整大小,仿射和透视翘曲,通用的基于表的重映射),色彩空间转换,直方图,等等。 video:视频分析模块,包括背景减法,运动估计,和目标跟踪算法。 calib3b:基本的多视图几何算法,单和立体摄像机标定,反对姿态估计,立体匹配算法,三维重建和元素。 features2d:显着特征探测器,描述符和描述符匹配 objdetect:检测的对象和实例的预定义... 阅读全文

posted @ 2013-05-15 16:18 RoyalGao 阅读(421) 评论(0) 推荐(0)

opencv基础教程1_在VS2010下安装opencv2.4.4
摘要:在VS2010下安装opencv2.4.4VS2010Express下载地址:http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express在VS2010中配置OpenCV2.4.4,请参看地址:http://www.opencv.org.cn/index.php/VC_2010_Express%E4%B8%8B%E5%AE%89%E8%A3%85OpenCV2.4.3(1)下载OpenCV: 从下载地址http://www.opencv.org.cn/index.php/Download下载OpenCVforWindow. 阅读全文

posted @ 2013-05-15 15:37 RoyalGao 阅读(600) 评论(0) 推荐(0)

OpenCV学习笔记8_ShowROI_显示感兴趣区域
摘要:ShowROI_显示感兴趣区域ShowROI.c 用复制替换图层,替换出自己感兴趣的ROI#include "stdafx.h"#include "cv.h"#include "highgui.h"#include "cxcore.h"int main(){ IplImage* img; img = cvLoadImage("E:\\TempDataForDebug\\tomato1.jpg"); IplImage* sub_image = cvLoadImage("E:\\TempD 阅读全文

posted @ 2013-05-10 15:02 RoyalGao 阅读(416) 评论(0) 推荐(0)

OpenCV学习笔记7_ImageToBGR_彩色图像三通道转化成BGR3幅单通道图像
摘要:ImageToBGR_彩色图像三通道转化成BGR3幅单通道图像ImageToBGR.c 采用指针偏移#include "stdafx.h"#include "cv.h"#include "highgui.h"#include "cxcore.h"int main(){ IplImage* img; img = cvLoadImage("E:\\TempDataForDebug\\tomato.jpg"); IplImage* b_img; IplImage* g_img; IplImage* r 阅读全文

posted @ 2013-05-10 13:42 RoyalGao 阅读(1469) 评论(0) 推荐(0)

OpenCV学习笔记6_GetInCvMat_访问CvMat数据块
摘要:访问CvMat数据块矩阵的维度与通道GetInCvMat.c 注:缺点:这个访问的效率是比较低,两个for()循环的原因,但是它很好的说明了维度和通道的含义#include "stdafx.h"#include "cv.h"#include "highgui.h"#include "cxcore.h"int main(){ float data[18] = { 1 ,2 ,3 ,4 ,5 ,6 , 7 ,8 ,9 ,10,11,12, 13,14,15,16,17,18, }; CvMat mat; cvInitM 阅读全文

posted @ 2013-05-08 21:32 RoyalGao 阅读(353) 评论(0) 推荐(0)

OpenCV学习笔记4_ImageToAvi_写视频
摘要:ImageToAvi_写视频,将一个系类的图片给组合成一个AVI视频ImageToAvi.c/* * Copyright (c++) 2013,合肥学院智能视觉与检测实验室 * All rights reserved. * * 文件名称:ImageToAvi.c * 作 者:高全宁 * 完成日期:2013年5月7日 * *还有点问题,就显示第一张, 思考原因:图片不是一个系列,或者图片太少?? */ #include "stdafx.h"#include "cv.h"#include "highgui.h"#include " 阅读全文

posted @ 2013-05-08 18:53 RoyalGao 阅读(245) 评论(0) 推荐(0)

OpenCV学习笔记3_ShowAvi_Trackbar_加载视频,并添加拖动条
摘要:ShowAvi_Trackbar_加载视频,并添加拖动条ShowAvi_Trackbar.c/* * Copyright (c++) 2013,合肥学院智能视觉与检测实验室 * All rights reserved. * * 文件名称:ShowAvi_Trackbar.c* 摘 要:加载视频,并添加拖动条* * 当前版本:1.0 * 作 者:高全宁 * 完成日期:2013年5月7日**亲测有效 */ #include "stdafx.h"#include "cv.h"#include "highgui.h"#include &quo 阅读全文

posted @ 2013-05-08 15:28 RoyalGao 阅读(305) 评论(0) 推荐(0)

OpenCV学习笔记2_ShowAvi_获取Avi视频图像、摄像头图像
摘要:获取Avi视频图像、摄像头图像ShowAvi.c/* * Copyright (c++) 2013,合肥学院智能视觉与检测实验室 * All rights reserved. * * 文件名称:ShowAvi.c* 摘 要:加载Avi视频图像、摄像头图像* * 当前版本:1.0 * 作 者:高全宁 * 完成日期:2013年5月6日 **亲测有效*/#include "stdafx.h" #include "highgui.h"#include "cv.h"#include "cxcore.h"int main() 阅读全文

posted @ 2013-05-08 12:57 RoyalGao 阅读(200) 评论(0) 推荐(0)

OpenCV学习笔记1_ShowImage_显示一幅图像
摘要:显示一幅图像ShowImage.c/* * Copyright (c) 2013,合肥学院智能视觉实验室 * All rights reserved. * * 文件名称:ShowImage.c* 摘 要:加载一幅图像* * 当前版本:1.0 * 作 者:高全宁 * 完成日期:2013年5月2日 **亲测有效*/ #include "stdafx.h"#include "cv.h" #include "highgui.h" #include "cxcore.h" int main(int argc, char* ar 阅读全文

posted @ 2013-05-08 12:49 RoyalGao 阅读(900) 评论(0) 推荐(0)