struct cv::detail::MatchesInfo

Overview

Structure containing information about matches between two images. More…

#include <matchers.hpp>

struct MatchesInfo
{
    // fields

    double confidence;
    int dst_img_idx;
    Mat H;
    std::vector<uchar> inliers_mask;
    std::vector<DMatch> matches;
    int num_inliers;
    int src_img_idx;

    // construction

    MatchesInfo();
    MatchesInfo(const MatchesInfo& other);

    // methods

    const MatchesInfo&
    operator=(const MatchesInfo& other);
};

Detailed Documentation

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

Fields

double confidence

Confidence two images are from the same panorama.

int dst_img_idx

Images indices (optional)

Mat H

Estimated transformation.

std::vector<uchar> inliers_mask

Geometrically consistent matches mask.

int num_inliers

Number of geometrically consistent matches.