OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::detail::MatchesInfo Struct Reference

Structure containing information about matches between two images. More...

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

Collaboration diagram for cv::detail::MatchesInfo:

Public Member Functions

 MatchesInfo ()
 
 MatchesInfo (const MatchesInfo &other)
 
std::vector< uchargetInliers ()
 
std::vector< DMatchgetMatches ()
 
MatchesInfooperator= (const MatchesInfo &other)
 

Public Attributes

double confidence
 Confidence two images are from the same panorama.
 
int dst_img_idx
 Images indices (optional)
 
Mat H
 Estimated transformation.
 
std::vector< ucharinliers_mask
 Geometrically consistent matches mask.
 
std::vector< DMatchmatches
 
int num_inliers
 Number of geometrically consistent matches.
 
int src_img_idx
 

Detailed Description

Structure containing information about matches between two images.

It's assumed that there is a transformation between those images. Transformation may be homography or affine transformation based on selected matcher.

See also
detail::FeaturesMatcher

Constructor & Destructor Documentation

◆ MatchesInfo() [1/2]

cv::detail::MatchesInfo::MatchesInfo ( )

◆ MatchesInfo() [2/2]

cv::detail::MatchesInfo::MatchesInfo ( const MatchesInfo & other)

Member Function Documentation

◆ getInliers()

std::vector< uchar > cv::detail::MatchesInfo::getInliers ( )
inline

◆ getMatches()

std::vector< DMatch > cv::detail::MatchesInfo::getMatches ( )
inline

◆ operator=()

MatchesInfo & cv::detail::MatchesInfo::operator= ( const MatchesInfo & other)

Member Data Documentation

◆ confidence

double cv::detail::MatchesInfo::confidence

Confidence two images are from the same panorama.

◆ dst_img_idx

int cv::detail::MatchesInfo::dst_img_idx

Images indices (optional)

◆ H

Mat cv::detail::MatchesInfo::H

Estimated transformation.

◆ inliers_mask

std::vector<uchar> cv::detail::MatchesInfo::inliers_mask

Geometrically consistent matches mask.

◆ matches

std::vector<DMatch> cv::detail::MatchesInfo::matches

◆ num_inliers

int cv::detail::MatchesInfo::num_inliers

Number of geometrically consistent matches.

◆ src_img_idx

int cv::detail::MatchesInfo::src_img_idx

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