OpenCV  2.4.13.7
Open Source Computer Vision
cv::linemod::Match Struct Reference

Represents a successful template match. More...

#include <objdetect.hpp>

Public Member Functions

 Match ()
 
 Match (int x, int y, float similarity, const std::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

int x
 
int y
 
float similarity
 
std::string class_id
 
int template_id
 

Detailed Description

Represents a successful template match.

Constructor & Destructor Documentation

§ Match() [1/2]

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

§ Match() [2/2]

cv::linemod::Match::Match ( int  x,
int  y,
float  similarity,
const std::string &  class_id,
int  template_id 
)
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

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