1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 04:25:42 +08:00

Renamed unnamed enum to FastFeatureDetector.DetectorType

This commit is contained in:
Hamdi Sahloul
2018-09-20 06:45:42 +09:00
parent 7ba7abb19e
commit 21b4630698
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
//! @} //! @}

View File

@@ -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);