Commit Graph

4 Commits

Author SHA1 Message Date
Yang Guanyuhan
cbdb91c237 features: use logger in DISK LightGlue test 2026-09-06 12:10:03 +08:00
Yang Guanyuhan
af8c72f022 features: flatten LightGlueMatcher::Type to namespace-scoped LightGlueType
Move the model-variant enum out of the class so it follows the same
namespace-scoped style as dnn::EngineType. Also relax the DISK LightGlue
test tolerance.
2026-09-06 12:10:03 +08:00
Yang Guanyuhan
30f950e2e4 features(test): relax DISK LightGlue regression with ±2 tolerance window
ONNX Runtime version differences in floating-point can shift match
indices. Replace exact-match assertions with ±2 tolerance on both
match count and per-match index comparison.
2026-09-06 12:10:03 +08:00
Yang Guanyuhan
d3249f7455 features: unify LightGlueMatcher with Type enum for ALIKED/DISK variants
Keep the single LightGlueMatcher public API from PR #28986. Add a Type
enum (ALIKED/DISK) to create() so users can select the model variant.
Internally, LightGlueMatcherImpl base class with two CV_FINAL subclasses
handles the variant-specific matching via pure virtual dispatch.
2026-09-06 12:10:03 +08:00