OpenCV Feature Match总结

原文

http://blog.csdn.net/xiaowei_cqu/article/details/8652096

http://www.tuicool.com/articles/Ajquyi

1.OpenCV提供FeatureDetector实现特征检测及匹配

Ptr<FeatureDetector> FeatureDetector::create(const string& detectorType);

OpenCV 2.4.13提供了10种特征检测方法:

  • "FAST" – FastFeatureDetector
  • "STAR" – StarFeatureDetector
  • "SIFT" – SIFT (nonfree module)
  • "SURF" – SURF (nonfree module)
  • "ORB" – ORB
  • "MSER" – MSER
  • "GFTT" – GoodFeaturesToTrackDetector
  • "HARRIS" – GoodFeaturesToTrackDetector with Harris detector enabled
  • "Dense" – DenseFeatureDetector
  • "SimpleBlob" – SimpleBlobDetector

图片中的特征大体可分为三种:点特征、线特征、块特征。

FAST算法是Rosten提出的一种快速提取的点特征,Harris与GFTT也是点特征,更具体来说是角点特征(    参考这里    )。

SimpleBlob是简单块特征,可以通过设置    SimpleBlobDetector的参数决定提取图像块的主要性质,提供5种:

颜色     By color、面积    By area、圆形度     By circularity、最大inertia (不知道怎么翻译)与最小inertia的比例     By ratio of the minimum inertia to maximum inertia、以及凸性     By convexity.

最常用的当属SIFT,尺度不变特征匹配算法(      参考这里      );以及后来发展起来的SURF,都可以看做较为复杂的块特征。这两个算法在OpenCV nonfree的模块里面,需要在附件引用项中添加opencv_nonfree243.lib,同时在代码中加入:

initModule_nonfree();
时间: 2024-08-09 02:09:24

OpenCV Feature Match总结的相关文章

Computer Vision: OpenCV, Feature Tracking, and Beyond--From &lt;&lt;Make Things See&gt;&gt; by Greg

In the 1960s, the legendary Stanford artificial intelligence pioneer, John McCarthy, famously gave a graduate student the job of “solving” computer vision as a summer project. It has occupied an entire community of academic researchers for the past 4

OpenCV Feature Detection and Description -- Understand Feature 理解特征

原文链接 https://docs.opencv.org/4.1.2/df/d54/tutorial_py_features_meaning.html 阅读英文文档开始理解opencv图像识别.有翻译不对的地方,大家指正-谢谢 Goal In this chapter, we will just try to understand what are features, why are they important, why corners are important etc. 目标: 在这个章节

[OpenCV] Feature Matching

得到了杂乱无章的特征点后,要筛选出好的特征点,也就是good matches. BruteForceMatcher FlannBasedMatcher 两者的区别:http://yangshen998.iteye.com/blog/1311575 flann的含义:http://www.opencv.org.cn/opencvdoc/2.3.2/html/doc/tutorials/features2d/feature_flann_matcher/feature_flann_matcher.ht

opencv sift match

#include "opencvlib.h" using namespace cv; int main() { Mat img_1 = cv::imread("1.png"); Mat img_2 = cv::imread("2.png"); imshow("img1", img_1); imshow("img2", img_2); if (!img_1.data || !img_2.data) { std

OpenCV Feature Detection and Description -- Harris Corner Detection Harris角点检测

原文链接 https://docs.opencv.org/4.1.2/dc/d0d/tutorial_py_features_harris.html 阅读文档学习opencv 如有问题,大家指出-- Goal In this chapter, We will understand the concepts behind Harris Corner Detection. We will see the functions: cv.cornerHarris(), cv.cornerSubPix()

OpenCV Feature Detection and Description -- Shi-Tomasi Corner Detector

原文链接:https://docs.opencv.org/4.1.2/d4/d8c/tutorial_py_shi_tomasi.html 如有错误欢迎指出-谢谢 Goal In this chapter, We will learn about the another corner detector: Shi-Tomasi Corner Detector We will see the function: cv.goodFeaturesToTrack() 目标: 在此章节, 我们会学习其他的角

特征提取(Detect)、特征描述(Descriptor)、特征匹配(Match)的通俗解释

特征匹配(Feature Match)是计算机视觉中很多应用的基础,所以花一些时间去深入理解这个概念是不为过的.本文希望通过一种通俗易懂的方式来阐述特征匹配这个过程,以及在过程中遇到的一些问题. 概念理解: 假设这样的一个场景,小明和小小明都在看一个图片,但是他们想知道他们看的是否是同一幅图片,于是他们就通过电话描述这个图片,来判断是否是同一个图片.比如说有下面两个图片                对话1: 小白:我的图片里面有五个很明显的特征,分别在图像的上下左右中五个位置. 小黑:我的图片

PrimeSense 三维重建开发小谈 (2) - 基于灰度特征的关系对配准算法

1 综述 与多点云处理有关的任务,点云的配准(Registration)是一个绕不开的问题.如何采用适当的算法,对特定的点云数据进行相对更优的配准,是点云配准过程中的关键任务. 配准结果通常被表达为一个代表缩放,旋转,平移的刚体变换的矩阵,该矩阵代表了两个点云的位置关系,即将其中一个点云(源点云,Source)施以这个刚体变换可以使它与另一个点云(目标点云,Target)配准. 图 1   目标点云(Target) 图 2   源点云(Source) 图 3   配准结果(该结果即通过本文所述的

在vs中跑动ransac

期间遇到很多问题. 记一个最主要的是: LINK2019 无法识别的外部符号,然后某一个函数的函数名 然后是 @@函数名 (@) 大概长成这样.或者还就根本就是 无法识别的外部符号. 解决方案: 我这里最主要的两个解决方案是: 2.你自己写的函数声明的头文件也写了函数定义的cpp文件,却依然出现LNK2019错误.可能原因:忘记将这两个文件加入工程了.一般出现于用Visual Studio和记事本(或UltraEdit)混合开发过程,你用记事本include了相应的头文件,却忘了在Visual