Features Finding and Images Matching#

Detailed Description#

Classes#

Name

Description

class cv::detail::AffineBestOf2NearestMatcher

Features matcher similar to cv::detail::BestOf2NearestMatcher which finds two best matches for each feature and leaves the best one only if the ratio between descriptor distances is greater than the threshold match_conf. View details

class cv::detail::BestOf2NearestMatcher

Features matcher which finds two best matches for each feature and leaves the best one only if the ratio between descriptor distances is greater than the threshold match_conf. View details

class cv::detail::BestOf2NearestRangeMatcher

View details

class cv::detail::FeaturesMatcher

Feature matchers base class. View details

struct cv::detail::ImageFeatures

Structure containing image keypoints and descriptors. View details

class cv::detail::LightGlueFeaturesMatcher

Features matcher that adapts LightGlueMatcher (DescriptorMatcher) to the stitching pipeline’s FeaturesMatcher interface. View details

struct cv::detail::MatchesInfo

Structure containing information about matches between two images. View details

Function Documentation#

computeImageFeatures()#

void cv::detail::computeImageFeatures(
const Ptr< Feature2D > & featuresFinder,
InputArray image,
ImageFeatures & features,
InputArray mask = noArray() )

#include <opencv2/stitching/detail/matchers.hpp>

Python:

cv.detail.computeImageFeatures(featuresFinder, images[, masks]) -> features
cv.detail.computeImageFeatures2(featuresFinder, image[, mask]) -> features

Parameters

  • featuresFinder

  • image

  • features

  • mask

computeImageFeatures()#

void cv::detail::computeImageFeatures(
const Ptr< Feature2D > & featuresFinder,
InputArrayOfArrays images,
std::vector< ImageFeatures > & features,
InputArrayOfArrays masks = noArray() )

#include <opencv2/stitching/detail/matchers.hpp>

Python:

cv.detail.computeImageFeatures(featuresFinder, images[, masks]) -> features
cv.detail.computeImageFeatures2(featuresFinder, image[, mask]) -> features

Parameters

  • featuresFinder

  • images

  • features

  • masks