自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

原创 opencv 绘制目标矩形

//混合高斯模型#include #include #include #includeusing namespace cv; int main(){ VideoCapture video("video1.avi"); Mat frame,mask,thresholdImage, output; video>>frame; int frameNum=1; Backg

2017-07-24 15:27:35 1072

翻译 jetson tx1 ros 安装

参考:https://github.com/davheld/GOTURN$ git clone https://github.com/jetsonhacks/installROSTX1.git$ cd installROSTX1$ ./installROSTX1$ ./setupWorkspace.sh 如果无法链接到主机,通过ifconfig获得ROS主机ip地址,修改

2017-01-04 09:14:56 993

翻译 二维特征点(Features2D)和单映射(Homography)寻找已知物体

#include #include #include "opencv2/core/core.hpp"#include "opencv2/features2d/features2d.hpp"#include "opencv2/highgui/highgui.hpp"#include "opencv2/calib3d/calib3d.hpp"#include #includeusi

2016-12-02 11:58:40 962 2

转载 FLANN进行特征点匹配

#include #include #include "opencv2/core/core.hpp"#include "opencv2/features2d/features2d.hpp"#include "opencv2/highgui/highgui.hpp"#include #include using namespace cv;void readme();/**

2016-12-02 11:01:03 2686 1

翻译 surf特征检测描述和匹配

#include #include #include "opencv2/core/core.hpp"#include "opencv2/features2d/features2d.hpp"#include "opencv2/highgui/highgui.hpp"#include #includeusing namespace cv;using namespace std;v

2016-12-02 09:57:55 355

翻译 一起学opencv (十) sobel and laplacian

#if !defined LAPLACEZC#define LAPLACEZC#include #include class LaplacianZC {private: // original image cv::Mat img; // 32-bit float image containing the Laplacian cv::Mat laplace; // Ap

2016-11-18 18:33:24 738

翻译 一起学opencv (九) 滤波

#include #include #include #include int main(){ // Read input image cv::Mat image= cv::imread("bfg.jpg",0); if (!image.data) return 0; // Display the image cv::namedWindow("Original

2016-11-18 16:44:01 327

翻译 一起学opencv (八) 分水岭和选取segment

mian/*------------------------------------------------------------------------------------------*\This file contains material supporting chapter 5 of the cookbook:Computer Vision Programming using

2016-11-15 21:36:32 1038

翻译 一起学opencv(七) 边缘和角点检测

头文件#if !defined MORPHOF#define MORPHOF#include #include class MorphoFeatures {private: // threshold to produce binary image int threshold; // structuring elements used in corner detection

2016-11-14 21:09:25 742

翻译 一起学opencv (六) 形态学-腐蚀和膨胀

代码如下#include #include #include int main(){ // Read input image cv::Mat image = cv::imread("binary.bmp",0); if (!image.data) return 0; // Display the image cv::namedWindow("Image"); cv

2016-11-04 14:45:11 547

翻译 一起学opencv (五) 图片的数据计较,类的应用

简单的比较彩色图数据RGB值分别于设定的三个色度值比较,大则输出白色,小则输出黑色值。colordetector.h#if !defined COLORDETECT#define COLORDETECT#include class ColorDetector {private: // minimum acceptable distance int minDi

2016-10-28 16:20:35 333 1

翻译 一起学opencv2 (四) 图片的整合

直接上代码#include #include #include #includevoid sharpen2D(const cv::Mat &image, cv::Mat &result) { // Construct kernel (all entries initialized to 0) cv::Mat kernel(3, 3, CV_32F, cv::Scalar(0));

2016-10-28 12:00:58 268

原创 一起学opencv2 (三) 扫描图像 COLOR REDUCE

说明:彩色图像像素形式为3通道像素,每个通道数据格式为8-bitunsigned char ,因此数据总量为256x256x256 ,这些彩色数据对于计算机来讲处理将占用大量内存和CPU为此,希望通过降低彩色数的方式,降低至256/Nx256/Nx256/N。数据形式是从图片左上角开始,在opencv中默认BGR。有的计算机芯片处理数据为4的倍数,因此如果超出的部分将不会记录。假定图片

2016-10-26 14:25:27 2174 1

原创 一起学opencv2(二) 诠释像素+添加salt-and-pepper 噪声

图像:图像是以数值矩阵的形式存储,因此我们可以通过cv::mat 数据结构对其进行处理;每个矩阵元素代表一个像素;对于灰度图,像素为 unsigned 8-bit 类型,0代表白 ,255代表黑;对于彩色图由三个色彩频道{Red, Green, Blue} 组成,每个像素元素由这三个值构成;像素类型:CV_8U ,CV_8UC3 ,CV_16SC3,CV_32F 。添加sa

2016-10-26 10:19:52 1951

翻译 一起学opencv2(一)

opencv

2016-10-26 09:36:27 291

原创 opencv2中vs2013配置保存和调用

针对每次新建一个opencv项目都需要重新配置的麻烦,采取项目配置保存的方法。视图-其他窗口-属性管理器以Debug为例:右击Debug,新建项目属性表,新建了   debugx86.props  配置项,点开可查看并配置好将这个文件保存起来,新建一个项目填入程序#include #include #include "open

2016-10-25 17:50:31 752

转载 opencv2.4.10 安装与vs2013配置

CatalogOpenCV2.4.10 + Win10 VS2013的安装配置OpenCV2.4.10 + Win10 VS2015的安装配置工具OpenCV 下载地址:http://opencv.org/downloads.htmlVisual Studio 2013环境变量配置安装OpenCV并解压缩;E:/opencv配置环境变量:

2016-10-24 20:18:38 2665

翻译 opencv-2.4.13 vs2013安装配置

下载:OpenCV 下载地址:http://opencv.org/downloads.html解压假定为目录:E:/opencv环境变量配置:   右击我的电脑,属性-高级系统设置-高级-环境变量 分别设置如下系统变量PATH:e.g. E:\opencv\build\x86\vc12\bin用户变量:添加opencv变量:e.g. E:\opencv\buil

2016-10-24 19:51:25 989

转载 ROS:定制自己的消息类型msg

http://blog.csdn.net/olillian/article/details/50738072http://www.liuxiao.org/2015/11/ros-%E7%AC%94%E8%AE%B01-%E4%B8%80%E4%B8%AA%E6%9C%80%E7%AE%80%E5%8D%95%E7%9A%84%E4%BE%8B%E5%AD%90%EF%BC%9Ahello-ro

2016-10-21 09:52:20 434

转载 c++中的变量做数组长度

在c++中时不支持变量作为数组长度参数的,如 int n=10;byte bs[n];   这样写会提示编译错误”表达式必须含有常量值“。虽然用变量声明数组大小会报编译错误,但是可以通过指针来动态申请空间实现动数组长度的变量赋值,写法如下:1 int length = 10;2 int * varArray;3 varArray = new int[length];

2016-10-20 19:30:56 2171

空空如也

空空如也

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

TA关注的人

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