OpenCV  4.10.0-dev
Open Source Computer Vision
No Matches
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>

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

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 ( )

◆ getMatches()

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

◆ 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: