Skip to content

Commit 8fbb0ec

Browse files
committed
Merge pull request #1387 from terfendail:fast_extension
2 parents 47771c1 + 7e46ea1 commit 8fbb0ec

File tree

2 files changed

+502
-0
lines changed

2 files changed

+502
-0
lines changed

modules/xfeatures2d/include/opencv2/xfeatures2d.hpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,26 @@ class CV_EXPORTS AffineFeature2D : public Feature2D
925925
bool useProvidedKeypoints=false ) = 0;
926926
};
927927

928+
929+
/** @brief Estimates cornerness for prespecified KeyPoints using the FAST algorithm
930+
931+
@param image grayscale image where keypoints (corners) are detected.
932+
@param keypoints keypoints which should be tested to fit the FAST criteria. Keypoints not beeing
933+
detected as corners are removed.
934+
@param threshold threshold on difference between intensity of the central pixel and pixels of a
935+
circle around this pixel.
936+
@param nonmaxSuppression if true, non-maximum suppression is applied to detected corners
937+
(keypoints).
938+
@param type one of the three neighborhoods as defined in the paper:
939+
FastFeatureDetector::TYPE_9_16, FastFeatureDetector::TYPE_7_12,
940+
FastFeatureDetector::TYPE_5_8
941+
942+
Detects corners using the FAST algorithm by @cite Rosten06 .
943+
*/
944+
CV_EXPORTS void FASTForPointSet( InputArray image, CV_IN_OUT std::vector<KeyPoint>& keypoints,
945+
int threshold, bool nonmaxSuppression=true, int type=FastFeatureDetector::TYPE_9_16);
946+
947+
928948
//! @}
929949

930950
}

0 commit comments

Comments
 (0)