自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

惊鸿一博

Learn and Live

  • 博客(18)
  • 收藏
  • 关注

原创 OpenCV_Find Basis F-Matrix and computeCorrespondEpilines(获取一对图像的基础矩阵及对应极线)

cv::findFundamentalMat | cv::computeCorrespondEpilines | cv::SurfFeatureDetector surf

2017-03-26 22:10:17 5871

原创 OpenCV_Camera Calibration and Rectification under QT creator( 相机标定及矫正 | QT creator环境 )

流程://1.找多副棋盘格图像角点,存入2D图像点及3D坐标点//2.进行相机标定 获取标定参数:相机矩阵 畸变矩阵 旋转向量和平移向量//3.映射相应矩阵 获取x y映射函数 (像高hi/物高h0=焦距f/物距d0)//4.应用映射函数,输出未畸变图像main 函数:#include <QCoreApplication>#include <op...

2017-03-26 10:38:50 1916

原创 OpenCV_ImageMatching with SURF and SIFT(使用SURF和 SIFT进行图像匹配 对比)

ImageMatching with SURF :// ImageMatchwithSURF.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <opencv2/core/core.hpp>#include <opencv2/highgui/highgui.hpp>#include <openc...

2017-03-25 00:38:08 776

原创 OpenCV_Corner Detect with FastFeatureDetector(基于FAST的角点检测) 及 SUSAN算子

目录一. 概念Fast角点检测内部实现:优缺点:二. 代码三. 运行结果四. 拓展对比_SUSAN算子 简介:内部实现:计算步骤:优缺点:一. 概念Fast角点检测内部实现:cv:FastFeatureDectctor Harris算法的一个简化: 利用少数像素比较数量,来确定是否接受一个特征点。 通过检测候...

2017-03-23 22:49:43 1095

原创 OpenCV_Corner Detect with Harris and goodFeaturesToTrack( 基于Harris及适合跟踪的优质特征的角点检测)

目录一. 概念Harris角点检测内部实现:优缺点二. 代码main函数HarrisDetector.hHarrisDetector.cpp三. 效果图一. 概念Harris角点检测内部实现: cv::cornerHarris(…) 观察一个假定的特征点,周围小窗口内的,方向强度的 加权平均变化E。 首先获取一个点平均强度变化最...

2017-03-23 22:28:11 440

原创 OpenCV_Draw the Shape Descriptor(绘制图像的形状描述符)

cv::findContours | cv::boundingRect | cv::minEnclosingCircle | cv::approxPolyDP | cv::convexHull | cv::moments

2017-03-23 00:25:17 888

转载 Debug_is_block_type_valid(header->_block_use)

Debug Assertion Failed OpenCv is_block_type_valid(header->_block_use)Ask Question up vote2down votefavoriteI am new to Programming using Visual Studio and openC

2017-03-22 23:23:40 5058

原创 OpenCV_Find Contours (提取图像轮廓)

cv::findContourscv::drawContours

2017-03-22 23:15:52 2939

原创 C++_CopyConstructor(副本构造器 防止指针重复释放)

MyClass &operator=(const MyClass &rhs);//重载赋值操作符 返回类型依然是MyClass

2017-03-21 00:39:30 840 1

原创 C++_Operator Overloading(运算符重载 | 计算有理数的加减乘除)

operator +friend std::ostream &operator<<(std::ostream &os, Rational f);

2017-03-20 23:17:25 1242

原创 OpenCV_(Fit Line with points)用直线拟合一组点

// 5. 用直线拟合一组点------------------------------------------------------ cv::Mat image = cv::imread("../../aTestImage/road2.jpg", 0);//Building cv::Mat contours; //阈值1:确定应该包含所有认为是属于明显图像轮廓的边缘...

2017-03-16 18:28:55 1972 3

原创 OpnCV_(HoughCircles to find circles)霍夫变换检测圆形

cv::GaussianBlurcv::HoughCircles

2017-03-16 17:37:21 360

原创 OpenCV_霍夫变换_直线检测_HougLines

cv::HoughLines(contours, lines, 1, PI / 180, 150);

2017-03-16 15:41:56 1306

原创 OpenCV_(Laplacian Transform to find the edges)图像拉普拉斯变换查找边缘 图像识别

cv::Laplacian(image, laplace, CV_32F, aperture);laplace.convertTo(laplaceImage, CV_8U, scale, 128);

2017-03-15 15:43:51 645

原创 OpenCV_(Based on Sobel Filter to Detect edges) 基于Sobel算子的方向滤波器检查边缘

cv::Sobel(imag, sobelX, CV_8U, 1, 0 , 3 , 0.4 , 128);//计算Sobel范式cv::Sobel(imag, sobelY, CV_8U, 0, 1 , 3 , 0.4 , 128);sobel =abs(sobelX) +abs (sobelY);//计算L1范式

2017-03-14 18:57:13 398

原创 0penCV_(Watershed Segmenter)使用 分水岭算法 对图像进行分割

//使用 分水岭算法 对图像进行分割cv::Mat image = cv::imread("../../aTestImage/cow.jpg", 1);cv::Mat image1 = cv::imread("../../aTestImage/cow.jpg", 0);cv::Mat binary;cv::threshold(image1, binary, 60, 255, cv...

2017-03-14 17:05:06 1069

原创 OpenCV_(Using GrabCut extract the foreground object) 使用 GrabCut 算法提取前景物体

//4.使用GrabCut算法提取前景物体--------------------------------- cv::Mat imagecow = cv::imread("../../aTestImage/cow.jpg", 1); //cv::IMREAD_GRAYSCALE | 0 cv::Rect rectangle(10,100,380,180); cv::Mat result;

2017-03-14 17:02:34 402

原创 OpenCV_(Corner Detect with Morphology) 基于形态学滤波的角点检测

cv::dilate(image,result,cross);//十字膨胀cv::erode(result,result,diamond);//菱形腐蚀cv::dilate(image, result2, x);//X形膨胀cv::erode(result2, result2, square);//正方形腐蚀

2017-03-13 17:43:43 382

空空如也

空空如也

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

TA关注的人

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