|
|
|
@ -516,7 +516,9 @@ public: |
|
|
|
|
//! @addtogroup features2d_main
|
|
|
|
|
//! @{
|
|
|
|
|
|
|
|
|
|
/** @brief Wrapping class for feature detection using the FAST method. :
|
|
|
|
|
/** @brief Wrapping class for feature detection using the FAST method.
|
|
|
|
|
|
|
|
|
|
Check @ref tutorial_py_fast "the corresponding tutorial" for more details. |
|
|
|
|
*/ |
|
|
|
|
class CV_EXPORTS_W FastFeatureDetector : public Feature2D |
|
|
|
|
{ |
|
|
|
@ -546,30 +548,23 @@ public: |
|
|
|
|
CV_WRAP virtual String getDefaultName() const CV_OVERRIDE; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** @overload */ |
|
|
|
|
CV_EXPORTS void FAST( InputArray image, CV_OUT std::vector<KeyPoint>& keypoints, |
|
|
|
|
int threshold, bool nonmaxSuppression=true ); |
|
|
|
|
|
|
|
|
|
/** @brief Detects corners using the FAST algorithm
|
|
|
|
|
|
|
|
|
|
@param image grayscale image where keypoints (corners) are detected. |
|
|
|
|
@param keypoints keypoints detected on the image. |
|
|
|
|
@param threshold threshold on difference between intensity of the central pixel and pixels of a |
|
|
|
|
circle around this pixel. |
|
|
|
|
@param nonmaxSuppression if true, non-maximum suppression is applied to detected corners |
|
|
|
|
(keypoints). |
|
|
|
|
@param nonmaxSuppression if true, non-maximum suppression is applied to detected keypoints (corners). |
|
|
|
|
@param 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 @cite Rosten06 . |
|
|
|
|
|
|
|
|
|
@note 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. |
|
|
|
|
Check @ref tutorial_py_fast "the corresponding tutorial" for more details. |
|
|
|
|
*/ |
|
|
|
|
CV_EXPORTS void FAST( InputArray image, CV_OUT std::vector<KeyPoint>& keypoints, |
|
|
|
|
int threshold, bool nonmaxSuppression, FastFeatureDetector::DetectorType type ); |
|
|
|
|
int threshold, bool nonmaxSuppression=true, FastFeatureDetector::DetectorType type=FastFeatureDetector::TYPE_9_16 ); |
|
|
|
|
|
|
|
|
|
//! @} features2d_main
|
|
|
|
|
|
|
|
|
@ -606,18 +601,13 @@ public: |
|
|
|
|
CV_WRAP virtual String getDefaultName() const CV_OVERRIDE; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** @overload */ |
|
|
|
|
CV_EXPORTS void AGAST( InputArray image, CV_OUT std::vector<KeyPoint>& keypoints, |
|
|
|
|
int threshold, bool nonmaxSuppression=true ); |
|
|
|
|
|
|
|
|
|
/** @brief Detects corners using the AGAST algorithm
|
|
|
|
|
|
|
|
|
|
@param image grayscale image where keypoints (corners) are detected. |
|
|
|
|
@param keypoints keypoints detected on the image. |
|
|
|
|
@param threshold threshold on difference between intensity of the central pixel and pixels of a |
|
|
|
|
circle around this pixel. |
|
|
|
|
@param nonmaxSuppression if true, non-maximum suppression is applied to detected corners |
|
|
|
|
(keypoints). |
|
|
|
|
@param nonmaxSuppression if true, non-maximum suppression is applied to detected keypoints (corners). |
|
|
|
|
@param 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 |
|
|
|
@ -629,7 +619,7 @@ Detects corners using the AGAST algorithm by @cite mair2010_agast . |
|
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
CV_EXPORTS void AGAST( InputArray image, CV_OUT std::vector<KeyPoint>& keypoints, |
|
|
|
|
int threshold, bool nonmaxSuppression, AgastFeatureDetector::DetectorType type ); |
|
|
|
|
int threshold, bool nonmaxSuppression=true, AgastFeatureDetector::DetectorType type=AgastFeatureDetector::OAST_9_16 ); |
|
|
|
|
|
|
|
|
|
/** @brief Wrapping class for feature detection using the goodFeaturesToTrack function. :
|
|
|
|
|
*/ |
|
|
|
|