特征检测和描述 2D 特征框架


class   cv::AgastFeatureDetector
  Wrapping class for feature detection using the AGAST method. : 更多...
 
class   cv::AKAZE
  Class implementing the AKAZE keypoint detector and descriptor extractor, described in [5] . 更多...
 
class   cv::BRISK
  Class implementing the BRISK keypoint detector and descriptor extractor, described in [129] . 更多...
 
class   cv::FastFeatureDetector
  Wrapping class for feature detection using the FAST method. : 更多...
 
class   cv::GFTTDetector
  Wrapping class for feature detection using the goodFeaturesToTrack function. : 更多...
 
class   cv::KAZE
  Class implementing the KAZE keypoint detector and descriptor extractor, described in [6] . 更多...
 
class   cv::MSER
  Maximally stable extremal region extractor. 更多...
 
class   cv::ORB
  Class implementing the ORB ( oriented BRIEF ) keypoint detector and descriptor extractor. 更多...
 
class   cv::SimpleBlobDetector
  Class for extracting blobs from an image. : 更多...
 

函数

void  cv::AGAST ( InputArray image, std::vector< KeyPoint > &keypoints, int threshold , bool nonmaxSuppression=true)
 
void  cv::AGAST ( InputArray image, std::vector< KeyPoint > &keypoints, int threshold , bool nonmaxSuppression, AgastFeatureDetector::DetectorType type)
  Detects corners using the AGAST algorithm. 更多...
 
void  cv::FAST ( InputArray image, std::vector< KeyPoint > &keypoints, int threshold , bool nonmaxSuppression=true)
 
void  cv::FAST ( InputArray image, std::vector< KeyPoint > &keypoints, int threshold , bool nonmaxSuppression, FastFeatureDetector::DetectorType type)
  Detects corners using the FAST algorithm. 更多...
 

详细描述

函数文档编制

◆  AGAST() [1/2]

void cv::AGAST ( InputArray   image ,
std::vector< KeyPoint > &  keypoints ,
int  threshold ,
bool  nonmaxSuppression = true  
)

#include < opencv2/features2d.hpp >

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆  AGAST() [2/2]

void cv::AGAST ( InputArray   image ,
std::vector< KeyPoint > &  keypoints ,
int  threshold ,
bool  nonmaxSuppression ,
AgastFeatureDetector::DetectorType   type  
)

#include < opencv2/features2d.hpp >

Detects corners using the AGAST algorithm.

参数
image grayscale image where keypoints (corners) are detected.
keypoints keypoints detected on the image.
threshold threshold on difference between intensity of the central pixel and pixels of a circle around this pixel.
nonmaxSuppression if true, non-maximum suppression is applied to detected corners (keypoints).
type one of the four neighborhoods as defined in the paper: AgastFeatureDetector::AGAST_5_8 , AgastFeatureDetector::AGAST_7_12d , AgastFeatureDetector::AGAST_7_12s , AgastFeatureDetector::OAST_9_16

For non-Intel platforms, there is a tree optimised variant of AGAST with same numerical results. The 32-bit binary tree tables were generated automatically from original code using perl script. The perl script and examples of tree generation are placed in features2d/doc folder. Detects corners using the AGAST algorithm by [148] .

◆  FAST() [1/2]

void cv::FAST ( InputArray   image ,
std::vector< KeyPoint > &  keypoints ,
int  threshold ,
bool  nonmaxSuppression = true  
)

#include < opencv2/features2d.hpp >

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆  FAST() [2/2]

void cv::FAST ( InputArray   image ,
std::vector< KeyPoint > &  keypoints ,
int  threshold ,
bool  nonmaxSuppression ,
FastFeatureDetector::DetectorType   type  
)

#include < opencv2/features2d.hpp >

Detects corners using the FAST algorithm.

参数
image grayscale image where keypoints (corners) are detected.
keypoints keypoints detected on the image.
threshold threshold on difference between intensity of the central pixel and pixels of a circle around this pixel.
nonmaxSuppression if true, non-maximum suppression is applied to detected corners (keypoints).
type one of the three neighborhoods as defined in the paper: FastFeatureDetector::TYPE_9_16 , FastFeatureDetector::TYPE_7_12 , FastFeatureDetector::TYPE_5_8

Detects corners using the FAST algorithm by [192] .

注意
In Python API, types are given as cv.FAST_FEATURE_DETECTOR_TYPE_5_8, cv.FAST_FEATURE_DETECTOR_TYPE_7_12 and cv.FAST_FEATURE_DETECTOR_TYPE_9_16. For corner detection, use cv.FAST.detect() method.