OpenCV  2.4.13
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

cv::linemod::Match::Match ( )
inline
cv::linemod::Match::Match ( int  x,
int  y,
float  similarity,
const std::string &  class_id,
int  template_id 
)
inline

Member Function Documentation

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

Sort matches with high similarity to the front.

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

Member Data Documentation

std::string cv::linemod::Match::class_id
float cv::linemod::Match::similarity
int cv::linemod::Match::template_id
int cv::linemod::Match::x
int cv::linemod::Match::y

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