Features matcher that adapts LightGlueMatcher (DescriptorMatcher) to the stitching pipeline's FeaturesMatcher interface.
More...
#include <opencv2/stitching/detail/matchers.hpp>
|
| void | match (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info) CV_OVERRIDE |
| | This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work.
|
| | FeaturesMatcher (bool is_thread_safe=false) |
| virtual void | match (const std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, const cv::UMat &mask=cv::UMat()) |
| | This method implements logic to match features between arbitrary number of features. By default this checks every pair of inputs in the input, but the behaviour can be changed by subclasses.
|
Features matcher that adapts LightGlueMatcher (DescriptorMatcher) to the stitching pipeline's FeaturesMatcher interface.
This matcher uses DNN-based LightGlue for feature matching, requiring ALIKED-style keypoints with spatial context for positional encoding.
- See also
- cv::detail::FeaturesMatcher cv::LightGlueMatcher
◆ LightGlueFeaturesMatcher()
| cv::detail::LightGlueFeaturesMatcher::LightGlueFeaturesMatcher |
( |
Ptr< LightGlueMatcher > | lgMatcher, |
|
|
int | num_matches_thresh1 = 6, |
|
|
int | num_matches_thresh2 = 6, |
|
|
double | matches_confidence_thresh = 3.0 ) |
| Python: |
|---|
| cv.detail.LightGlueFeaturesMatcher( | lgMatcher[, num_matches_thresh1[, num_matches_thresh2[, matches_confidence_thresh]]] | ) -> | <detail_LightGlueFeaturesMatcher object> |
Constructs a LightGlue features matcher.
- Parameters
-
| lgMatcher | LightGlueMatcher instance for DNN-based matching |
| num_matches_thresh1 | Minimum number of matches required for the 2D projective transform estimation used in the inliers classification step |
| num_matches_thresh2 | Minimum number of matches required for the 2D projective transform re-estimation on inliers |
| matches_confidence_thresh | Matching confidence threshold to take the match into account. |
◆ match()
This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work.
- Parameters
-
| features1 | first image features |
| features2 | second image features |
| matches_info | found matches |
Implements cv::detail::FeaturesMatcher.
◆ setScoreThreshold()
| void cv::detail::LightGlueFeaturesMatcher::setScoreThreshold |
( |
float | thresh | ) |
|
| Python: |
|---|
| cv.detail.LightGlueFeaturesMatcher.setScoreThreshold( | thresh | ) -> | None |
Sets the LightGlue confidence threshold for filtering matches.
◆ lg_score_thresh_
| float cv::detail::LightGlueFeaturesMatcher::lg_score_thresh_ |
|
protected |
◆ lgMatcher_
◆ matches_confidence_thresh_
| double cv::detail::LightGlueFeaturesMatcher::matches_confidence_thresh_ |
|
protected |
◆ num_matches_thresh1_
| int cv::detail::LightGlueFeaturesMatcher::num_matches_thresh1_ |
|
protected |
◆ num_matches_thresh2_
| int cv::detail::LightGlueFeaturesMatcher::num_matches_thresh2_ |
|
protected |
The documentation for this class was generated from the following file: