OpenCV  3.1.0
Open Source Computer Vision
Classes | Enumerations | Functions
Feature Detection and Description

Classes

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

Enumerations

enum  {
  cv::ORB::kBytes = 32,
  cv::ORB::HARRIS_SCORE =0,
  cv::ORB::FAST_SCORE =1
}
 
enum  {
  cv::FastFeatureDetector::TYPE_5_8 = 0,
  cv::FastFeatureDetector::TYPE_7_12 = 1,
  cv::FastFeatureDetector::TYPE_9_16 = 2,
  cv::FastFeatureDetector::THRESHOLD = 10000,
  cv::FastFeatureDetector::NONMAX_SUPPRESSION =10001,
  cv::FastFeatureDetector::FAST_N =10002
}
 
enum  {
  cv::AgastFeatureDetector::AGAST_5_8 = 0,
  cv::AgastFeatureDetector::AGAST_7_12d = 1,
  cv::AgastFeatureDetector::AGAST_7_12s = 2,
  cv::AgastFeatureDetector::OAST_9_16 = 3,
  cv::AgastFeatureDetector::THRESHOLD = 10000,
  cv::AgastFeatureDetector::NONMAX_SUPPRESSION = 10001
}
 
enum  {
  cv::KAZE::DIFF_PM_G1 = 0,
  cv::KAZE::DIFF_PM_G2 = 1,
  cv::KAZE::DIFF_WEICKERT = 2,
  cv::KAZE::DIFF_CHARBONNIER = 3
}
 
enum  {
  cv::AKAZE::DESCRIPTOR_KAZE_UPRIGHT = 2,
  cv::AKAZE::DESCRIPTOR_KAZE = 3,
  cv::AKAZE::DESCRIPTOR_MLDB_UPRIGHT = 4,
  cv::AKAZE::DESCRIPTOR_MLDB = 5
}
 

Functions

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, int type)
 Detects corners using the AGAST algorithm. More...
 
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, int type)
 Detects corners using the FAST algorithm. More...
 

Detailed Description

Enumeration Type Documentation

anonymous enum
Enumerator
kBytes 
HARRIS_SCORE 
FAST_SCORE 
anonymous enum
Enumerator
TYPE_5_8 
TYPE_7_12 
TYPE_9_16 
THRESHOLD 
NONMAX_SUPPRESSION 
FAST_N 
anonymous enum
Enumerator
AGAST_5_8 
AGAST_7_12d 
AGAST_7_12s 
OAST_9_16 
THRESHOLD 
NONMAX_SUPPRESSION 
anonymous enum
Enumerator
DIFF_PM_G1 
DIFF_PM_G2 
DIFF_WEICKERT 
DIFF_CHARBONNIER 
anonymous enum
Enumerator
DESCRIPTOR_KAZE_UPRIGHT 

Upright descriptors, not invariant to rotation.

DESCRIPTOR_KAZE 
DESCRIPTOR_MLDB_UPRIGHT 

Upright descriptors, not invariant to rotation.

DESCRIPTOR_MLDB 

Function Documentation

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

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

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

Detects corners using the AGAST algorithm.

Parameters
imagegrayscale image where keypoints (corners) are detected.
keypointskeypoints detected on the image.
thresholdthreshold on difference between intensity of the central pixel and pixels of a circle around this pixel.
nonmaxSuppressionif true, non-maximum suppression is applied to detected corners (keypoints).
typeone 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 [92] .

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

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

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

Detects corners using the FAST algorithm.

Parameters
imagegrayscale image where keypoints (corners) are detected.
keypointskeypoints detected on the image.
thresholdthreshold on difference between intensity of the central pixel and pixels of a circle around this pixel.
nonmaxSuppressionif true, non-maximum suppression is applied to detected corners (keypoints).
typeone 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 [120] .

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