自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小海的专栏

梦幻之海

  • 博客(13)
  • 资源 (7)
  • 收藏
  • 关注

原创 输入输出XML和YAML文件

#include "opencv2/core/core.hpp"#include "opencv2/highgui/highgui.hpp"#include "iostream"#include "string"using namespace std;using namespace cv;class MyData{public: MyData(): A(0), X(0),

2015-05-28 18:03:15 501

原创 ostream& operator << (ostream& os, Point& pt)

为什么这么写ostream& operator 而不写成ostream operator ostream&这个返回值类型用定义成别名的形式吗??在网上找到了答案如下:如果写成这样ostream operator 则:Point a, b;cout错误,只能写为:coutcout原因在于cout相当于:(cout第一个(

2015-05-28 13:52:22 10844 2

原创 离散傅立叶变换-----学习记录(7)

#include "opencv2/highgui/highgui.hpp"#include "opencv2/core/core.hpp"#include "opencv2/imgproc/imgproc.hpp"#include "iostream"using namespace cv;int main(int argc, char* argv[]){ const char

2015-05-27 10:56:31 737

原创 随机数发生器&绘制文字-----学习记录(6)

#include "opencv2/highgui/highgui.hpp"#include "opencv2/core/core.hpp"using namespace cv;#define window_high 500#define window_width 800#define NUMBER 10#define DELAY 500#define x_1 1#define x

2015-05-22 21:12:01 651

原创 基本绘图-----学习记录(5)

#include "opencv2/highgui/highgui.hpp"#include "opencv2/core/core.hpp"#include "iostream"#define w 400using namespace std;using namespace cv;void MyEllipse( Mat, double ); //创建椭圆void MyFilledC

2015-05-21 21:45:07 467

原创 改变图像的对比度和亮度-----学习记录(4)

#include "stdafx.h"#include "opencv2/highgui/highgui.hpp"#include "opencv2/core/core.hpp"#include "iostream"using namespace cv;using namespace std;int main(int argc, char* argv[]){ int alpha

2015-05-20 20:55:31 526

原创 两幅图像求和:求混合(blending)-----学习记录(3)

#include "stdafx.h"#include #include using namespace cv;using namespace std;int main(int argc, char* argv[]){ double alpha = 0.5; double beta; double input; Mat src1, src2, dst; cout<<"S

2015-05-14 21:54:20 689

原创 filter2D滤波处理函数-----学习记录(2)

#include "stdafx.h"#include "opencv2/core/core.hpp"#include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp"using namespace cv;int main(int argc, char* argv[]){ Mat I, K,k

2015-05-13 22:02:52 959

转载 _C_#ifdef

这几个宏是为了进行条件编译。一般情况下,源程序中所有的行都参加编译。但是有时希望对其中一部分内容只在满足一定条件才进行编译,也就是对一部分内容指定编译的条件,这就是“条件编译”。有时,希望当满足某条件时对一组语句进行编译,而当条件不满足时则编译另一组语句。     条件编译命令最常见的形式为:     #ifdef 标识符     程序段1     #else     程序段2

2015-05-08 18:26:56 365

转载 计算机视觉基础1——视差与深度信息

资料来源:Robert Collins,CSE486, Penn State第8讲Stereo Vision深度信息感知是人类产生立体视觉的前提。生理过程一定是相当复杂,此处,我们只从物理角度,并采用数学的方法来讨论。Inferring depth from images taken at the same time by two or more cameras.

2015-05-05 20:22:09 3066

原创 读取、修改、保存图像-----学习记录(1)

#include "stdafx.h"#include #include using namespace cv;int main( int argc, char** argv ){ if(argc != 2) //命令参数个数 { printf("useage: %s \n ", argv[0]); //命令参数没有输入,就显示需要文件名字 return -1;

2015-05-02 20:19:17 786

原创 opencv图像读取,视频读取

#include "stdafx.h"#include "cv.h"#include "highgui.h"#include "cxcore.h"int main(int argc, char* argv[]){ IplImage * src1 = cvLoadImage("E:\\个人资料\\小新头像.jpg",0); IplImage * src2 = cvLoadImage(

2015-05-02 18:51:36 743

转载 Visual Studio+VAssistX自动添加注释,函数头注释,文件头注释

1. 增加函数头注释右击函数名,然后依次点击“Refacto”–>“Document Method”,这个时候函数头注释就会蹦出来,不过这个注释的格式是默认的,想修改注释格式,可以通过以下方法。点击 “VAssistX”–>“Visual VAssistX Options”然后选择Suggestions,再点击“Edit VA Snippets”。在打开的窗口中选择Refactor

2015-05-02 13:06:15 1326

虚拟视点绘制软件VSRS3.5

用于虚拟视点绘制的参考软件

2016-04-06

官方PSNR和SSIM---matlab实现

简单好用的matlab实现批量计算彩色RGB图像的PSNR和SSIM,设置了3种转换方法,(1)matlab自带转换YUV格式,(2)自己编写YUV转换公式(3)matlab自带转换灰度格式

2015-12-01

2004-2015软件设计师历年真题和答案

包含了从2004年到2015年上半年的软件设计师的历年真题和答案

2015-11-20

PSNR和SSIM-matlab实现

用matlab写的计算图片的PSNR和SSIM值,简单好用,直接运行没有错误

2015-08-28

图片转视频

图片转换成avi格式的视频,bmp2avi,jpg2avi

2015-08-25

深度估计软件

DERS version 5.1: source code of depth estimation software

2015-04-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除