Commit 21b46306 authored by Hamdi Sahloul's avatar Hamdi Sahloul

Renamed unnamed enum to FastFeatureDetector.DetectorType

parent 7ba7abb1
...@@ -960,7 +960,7 @@ FastFeatureDetector::TYPE_5_8 ...@@ -960,7 +960,7 @@ FastFeatureDetector::TYPE_5_8
Detects corners using the FAST algorithm by @cite Rosten06 . Detects corners using the FAST algorithm by @cite Rosten06 .
*/ */
CV_EXPORTS void FASTForPointSet( InputArray image, CV_IN_OUT std::vector<KeyPoint>& keypoints, CV_EXPORTS void FASTForPointSet( InputArray image, CV_IN_OUT std::vector<KeyPoint>& keypoints,
int threshold, bool nonmaxSuppression=true, int type=FastFeatureDetector::TYPE_9_16); int threshold, bool nonmaxSuppression=true, FastFeatureDetector::DetectorType type=FastFeatureDetector::TYPE_9_16);
//! @} //! @}
......
...@@ -456,7 +456,7 @@ namespace { ...@@ -456,7 +456,7 @@ namespace {
namespace cv { namespace cv {
namespace xfeatures2d { namespace xfeatures2d {
void FASTForPointSet(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression, int type) void FASTForPointSet(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression, FastFeatureDetector::DetectorType type)
{ {
if (keypoints.empty()) { if (keypoints.empty()) {
FAST(_img, keypoints, threshold, nonmax_suppression, type); FAST(_img, keypoints, threshold, nonmax_suppression, type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment