一、Mat类型:矩阵类型,Matrix。在openCV中,Mat是一个多维的密集数据数组。可以用来处理向量和矩阵、图像、直方图等等常见的多维数据。Mat有3个重要的方法:1、Mat mat = imread(const String* filename); 读取图像2、imshow(const st...
分类:
其他好文 时间:
2014-11-21 21:51:26
阅读次数:
269
近期项目中在学习全景相机相关知识
当然首先要开始将基本的MFC学会才能封装SDK
首先建立MFC对话框工程
具体的详细知识就不说了,网上有很多的教程。
添加如下控件
中间显示部分是picture control控件
采用定时器更新picture 显示框
首先包含opencv相关的头文件,在CUpanoCameraDlg.h中添加以下变量
pri...
分类:
编程语言 时间:
2014-11-21 20:36:18
阅读次数:
291
直方图均衡化 —— 其潜在的数学原理是一个分布(输入的亮度直方图)被映射到另一个分布 其目的是拉伸原始图像直方图,增强其对比度 To accomplish the equalization effect, the remapping should be the cumulative distribu...
分类:
其他好文 时间:
2014-11-21 18:36:44
阅读次数:
282
重定向,也就是把图像中的像素从一个地方对应到另一个地方 To accomplish the mapping process, it might be necessary to do some interpolation for non-integer pixel locations, since t...
分类:
移动开发 时间:
2014-11-21 18:24:17
阅读次数:
155
仿射变换 Affine Transformation 1,It is any transformation that can be expressed in the form of a matrix multiplication (linear transformation) followed by...
分类:
其他好文 时间:
2014-11-21 18:03:05
阅读次数:
184
/*
This program will generate
"diffuse or groundglass " effect.
*/
#include "PS_Algorithm.h"
#include
using namespace std;
using namespace cv;
int main(void)
{
string Img_name("4.jpg");...
分类:
其他好文 时间:
2014-11-21 16:14:51
阅读次数:
539
安装
https://help.ubuntu.com/community/OpenCV
bian...
分类:
其他好文 时间:
2014-11-21 12:39:16
阅读次数:
261
新版的OpenCV在所有的函数和类前都加上了cv或Cv,这样很好的避免了区域污染(namespace pollution),而且不用在前面加‘cv::’,非常的使用。像之前的imshow()函数被现在的cvShowImage()所替代,现如今在OpenCV中显示一张图片可用如下代码: IplI...
分类:
其他好文 时间:
2014-11-21 01:29:04
阅读次数:
344
http://blog.sina.com.cn/s/blog_9c3fc0730100yzwt.html 很全http://www.xuebuyuan.com/593449.htmlcvrepeat()以平铺的方式进行数组复制;http://blog.csdn.net/anqier1009/arti...
分类:
其他好文 时间:
2014-11-20 21:35:24
阅读次数:
187
支持向量机SVM是从线性可分情况下的最优分类面提出的。所谓最优分类,就是要求分类线不但能够将两类无错误的分开,而且两类之间的分类间隔最大,前者是保证经验风险最小(为0),而通过后面的讨论我们看到,使分类间隔最大实际上就是使得推广性中的置信范围最小。推广到高维空间,最优分类线就成为最优分类面。 支持向...
分类:
其他好文 时间:
2014-11-20 20:17:37
阅读次数:
234