Struct cv::detail::MatchesInfo#

Structure containing information about matches between two images. View details

Collaboration diagram for cv::detail::MatchesInfo:

cv::detail::MatchesInfo Node1 cv::detail::MatchesInfo   + MatchesInfo() + MatchesInfo() + getInliers() + getMatches() + operator=() Node2 int     Node2->Node1 +dst_img_idx +num_inliers +src_img_idx Node4 cv::DMatch   + DMatch() + DMatch() + DMatch() + operator<() Node2->Node4 +imgIdx +queryIdx +trainIdx Node10 cv::Mat   + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() and 152 more... + diag() + eye() + eye() + getDefaultAllocator() + getStdAllocator() + ones() + ones() + ones() + ones() + setDefaultAllocator() + zeros() + zeros() + zeros() + zeros() # forEach_impl() Node2->Node10 +cols +dims +dummy +flags +rows Node3 std::vector< cv::DMatch >     Node3->Node1 +matches Node4->Node3 +elements Node5 float     Node5->Node4 +distance Node6 std::vector< T >     Node6->Node3 < cv::DMatch > Node8 std::vector< uchar >     Node6->Node8 < uchar > Node7 T     Node7->Node6 +elements Node8->Node1 +inliers_mask Node9 uint8_t     Node9->Node8 +elements Node9->Node10 +data +dataend +datalimit +datastart Node10->Node1 +H Node11 cv::MatAllocator   + MatAllocator() + ~MatAllocator() + allocate() + allocate() + copy() + deallocate() + download() + getBufferPoolController() + map() + unmap() + upload() Node11->Node10 +allocator Node12 UMatData *     Node12->Node10 +u Node13 MatSize     Node13->Node10 +size Node14 MatStep     Node14->Node10 +step Node15 double     Node15->Node1 +confidence

cv::detail::MatchesInfo Node1 cv::detail::MatchesInfo   + MatchesInfo() + MatchesInfo() + getInliers() + getMatches() + operator=() Node2 int     Node2->Node1 +dst_img_idx +num_inliers +src_img_idx Node4 cv::DMatch   + DMatch() + DMatch() + DMatch() + operator<() Node2->Node4 +imgIdx +queryIdx +trainIdx Node10 cv::Mat   + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() + Mat() and 152 more... + diag() + eye() + eye() + getDefaultAllocator() + getStdAllocator() + ones() + ones() + ones() + ones() + setDefaultAllocator() + zeros() + zeros() + zeros() + zeros() # forEach_impl() Node2->Node10 +cols +dims +dummy +flags +rows Node3 std::vector< cv::DMatch >     Node3->Node1 +matches Node4->Node3 +elements Node5 float     Node5->Node4 +distance Node6 std::vector< T >     Node6->Node3 < cv::DMatch > Node8 std::vector< uchar >     Node6->Node8 < uchar > Node7 T     Node7->Node6 +elements Node8->Node1 +inliers_mask Node9 uint8_t     Node9->Node8 +elements Node9->Node10 +data +dataend +datalimit +datastart Node10->Node1 +H Node11 cv::MatAllocator   + MatAllocator() + ~MatAllocator() + allocate() + allocate() + copy() + deallocate() + download() + getBufferPoolController() + map() + unmap() + upload() Node11->Node10 +allocator Node12 UMatData *     Node12->Node10 +u Node13 MatSize     Node13->Node10 +size Node14 MatStep     Node14->Node10 +step Node15 double     Node15->Node1 +confidence

Detailed Description#

struct MatchesInfo

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

Examples
samples/cpp/stitching_detailed.cpp.

Constructor & Destructor Documentation#

MatchesInfo()#

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

MatchesInfo()#

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

Member Function Documentation#

getInliers()#

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

Python:

cv.detail.MatchesInfo.getInliers() -> retval

getMatches()#

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

Python:

cv.detail.MatchesInfo.getMatches() -> retval

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

Source file#

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