Class cv::detail::BestOf2NearestRangeMatcher#

Collaboration diagram for cv::detail::BestOf2NearestRangeMatcher:

Public Member Functions#

Public Member Functions inherited from cv::detail::BestOf2NearestMatcher
Public Member Functions inherited from cv::detail::FeaturesMatcher

Static Public Member Functions#

Static Public Member Functions inherited from cv::detail::BestOf2NearestMatcher

Additional Inherited Members#

Protected Member Functions inherited from cv::detail::BestOf2NearestMatcher

Return

Name

Description

void

match(
    const ImageFeatures & features1,
    const ImageFeatures & features2,
    MatchesInfo & matches_info )

This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work.

Protected Member Functions inherited from cv::detail::FeaturesMatcher

Return

Name

Description

FeaturesMatcher(bool is_thread_safe = false)

void

match(
    const ImageFeatures & features1,
    const ImageFeatures & features2,
    MatchesInfo & matches_info )

This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work.

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.

Protected Attributes inherited from cv::detail::BestOf2NearestMatcher

Return

Name

Description

Ptr< FeaturesMatcher >

impl_

double

matches_confidence_thresh_

int

num_matches_thresh1_

int

num_matches_thresh2_

Protected Attributes inherited from cv::detail::FeaturesMatcher

Return

Name

Description

bool

is_thread_safe_

Examples#

Examples
samples/cpp/stitching_detailed.cpp.

Constructor & Destructor Documentation#

BestOf2NearestRangeMatcher()#

cv::detail::BestOf2NearestRangeMatcher::BestOf2NearestRangeMatcher(
int range_width = 5,
bool try_use_gpu = false,
float match_conf = 0.3f,
int num_matches_thresh1 = 6,
int num_matches_thresh2 = 6 )

Python:

cv.detail.BestOf2NearestRangeMatcher([, range_width[, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]]) -> <detail_BestOf2NearestRangeMatcher object>

Member Function Documentation#

match()#

void cv::detail::BestOf2NearestRangeMatcher::match(
const ImageFeatures & features1,
const ImageFeatures & features2,
MatchesInfo & matches_info )

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

match()#

void cv::detail::BestOf2NearestRangeMatcher::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.

Parameters

  • features — vector of image features

  • pairwise_matches — found matches

  • mask — (optional) mask indicating which image pairs should be matched

Member Data Documentation#

range_width_#

int cv::detail::BestOf2NearestRangeMatcher::range_width_

Source file#

The documentation for this class was generated from the following file: