OpenCV  4.1.0
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members
cv::detail::MatchesInfo Struct Reference

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

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

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

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

Member Function Documentation

std::vector<uchar> cv::detail::MatchesInfo::getInliers ( )
inline
std::vector<DMatch> cv::detail::MatchesInfo::getMatches ( )
inline
MatchesInfo& cv::detail::MatchesInfo::operator= ( const MatchesInfo other)

Member Data Documentation

double cv::detail::MatchesInfo::confidence

Confidence two images are from the same panorama.

int cv::detail::MatchesInfo::dst_img_idx

Images indices (optional)

Mat cv::detail::MatchesInfo::H

Estimated transformation.

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

Geometrically consistent matches mask.

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

Number of geometrically consistent matches.

int cv::detail::MatchesInfo::src_img_idx

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