为了尽可能保证OpenCV的特性,使用OpenCV源码编译安装在linux上。先从安装其依赖项开始,以ubuntu 14.04.X为例讲解在Linux上源码编译安装OpenCV,其他linux版本可以类比安装。...
分类:
系统相关 时间:
2014-11-19 18:38:47
阅读次数:
335
调试opencv程序时,发现使用cvShowImage函数无法显示图片,显示窗口完全灰化。解决办法就是在后面加上waitkey函数。1 IplImage *gray = cvLoadImage(imgFile.c_str(), CV_LOAD_IMAGE_GRAYSCALE);2 cvSho...
分类:
其他好文 时间:
2014-11-19 18:02:58
阅读次数:
373
使用查找表LUT #include #include #include using namespace std;using namespace cv;int main(int argc, char **argv){ double t = (double)getTickCount(); const c...
分类:
其他好文 时间:
2014-11-19 17:37:21
阅读次数:
164
OpenCV的一些操作,如生成随机矩阵,高斯矩阵,矩阵相乘之类的/*功能:说明矩阵的一些操作方法*/#include "cv.h"//该头文件包含了#include "cxcore.h"#include "highgui.h"#include void PrintMat(CvMat *A); // ...
分类:
其他好文 时间:
2014-11-19 00:28:53
阅读次数:
255
Hough 圆变换 和 Hough 直线变换原理相同,只是参数空间不同 : In the line detection case, a line was defined by two parameters . In the circle case, we need three parameters ...
分类:
其他好文 时间:
2014-11-19 00:14:29
阅读次数:
198
http://blog.csdn.net/lindazhou2005/article/details/1534234文中有提到鲁棒性http://blog.csdn.net/chary8088/article/details/24935559
分类:
编程语言 时间:
2014-11-19 00:13:15
阅读次数:
276
图像边缘 —— 像素灰度值变换剧烈的点 You can easily notice that in an edge, the pixel intensity changes in a notorious way. A good way to expresschanges is by using de...
分类:
其他好文 时间:
2014-11-19 00:08:24
阅读次数:
308
最好的边缘检测子 Canny algorithm aims to satisfy three main criteria: Low error rate: Meaning a good detection of only existent edges. Good localization: The ...
分类:
其他好文 时间:
2014-11-19 00:02:06
阅读次数:
256
霍夫直线变换 —— 用于检测图像中的直线 利用图像空间和Hough参数空间的点——直线对偶性,把图像空间中的检测问题转换到参数空间,通过在参数空间进行简单的累加统计,然后在Hough参数空间中寻找累加器峰值的方法检测直线 Standard and Probabilistic Hough Line T...
分类:
其他好文 时间:
2014-11-18 23:57:43
阅读次数:
580
根据OpenCV中Mat类型的结构和内存中存储方式,此处给出三种对图像进行遍历的方法。首先给出基础的读取图片代码,在中间替换三种遍历方法即可,本文中,程序将遍历图像并将所有像素点置为255,所有运行结果中命令行里的数字为程序执行时间。#include "stdafx.h"#include #in.....
分类:
其他好文 时间:
2014-11-18 23:57:05
阅读次数:
284