mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
Renamed unnamed enum to FastFeatureDetector.DetectorType
This commit is contained in:
@@ -960,7 +960,7 @@ FastFeatureDetector::TYPE_5_8
|
||||
Detects corners using the FAST algorithm by @cite Rosten06 .
|
||||
*/
|
||||
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 {
|
||||
namespace cv {
|
||||
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()) {
|
||||
FAST(_img, keypoints, threshold, nonmax_suppression, type);
|
||||
|
Reference in New Issue
Block a user