OpenCV  3.4.5
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members
cv::linemod::Match Struct Reference

Represents a successful template match. More...

#include "linemod.hpp"

Public Member Functions

 Match ()
 
 Match (int x, int y, float similarity, const String &class_id, int template_id)
 
bool operator< (const Match &rhs) const
 Sort matches with high similarity to the front. More...
 
bool operator== (const Match &rhs) const
 

Public Attributes

String class_id
 
float similarity
 
int template_id
 
int x
 
int y
 

Detailed Description

Represents a successful template match.

Constructor & Destructor Documentation

§ Match()

cv::linemod::Match::Match ( )
inline

Member Function Documentation

§ operator<()

bool cv::linemod::Match::operator< ( const Match rhs) const
inline

Sort matches with high similarity to the front.

§ operator==()

bool cv::linemod::Match::operator== ( const Match rhs) const
inline

Member Data Documentation

§ class_id

String cv::linemod::Match::class_id

§ similarity

float cv::linemod::Match::similarity

§ template_id

int cv::linemod::Match::template_id

§ x

int cv::linemod::Match::x

§ y

int cv::linemod::Match::y

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