added appearance-based tests, set min gftt quality to quality level

This commit is contained in:
matlabbe
2026-06-02 21:53:36 -07:00
parent cf9d10c34f
commit 3b3a8e92ae
11 changed files with 605 additions and 49 deletions
+7 -1
View File
@@ -148,7 +148,8 @@ public:
kFeatureGfttDaisy=13, //new 0.20.6
kFeatureSurfDaisy=14, //new 0.20.6
kFeaturePyDetector=15, //new 0.20.8
kFeatureSuperPointRpautrat=16}; // new 0.23.3
kFeatureSuperPointRpautrat=16, // new 0.23.3
kFeatureEnd}; // Sentinel: always keep last. Used to iterate through types.
/** @return Human-readable name for @p type (e.g. `"ORB"`, `"GFTT+BRIEF"`). */
static std::string typeName(Type type)
@@ -184,6 +185,8 @@ public:
return "GFTT+Daisy";
case kFeatureSurfDaisy:
return "SURF+Daisy";
case kFeaturePyDetector:
return "PyDetector";
case kFeatureSuperPointRpautrat:
return "SUPERPOINT-RPAUTRAT";
default:
@@ -196,6 +199,9 @@ public:
/** @brief Creates a detector of the given @p type. Caller owns the pointer. */
static Feature2D * create(Feature2D::Type type, const ParametersMap & parameters = ParametersMap());
/** @brief Returns true if @p type is available (RTAB-Map is built with it). */
static bool isAvailable(Feature2D::Type type);
/** @brief Keeps keypoints whose depth at (u,v) is in (@p minDepth, @p maxDepth). */
static void filterKeypointsByDepth(
std::vector<cv::KeyPoint> & keypoints,