Template matching using the DOTMOD approach. More...
#include <dotmod.h>
Public Member Functions | |
size_t | createAndAddTemplate (const std::vector< DOTModality * > &modalities, const std::vector< MaskMap * > &masks, size_t template_anker_x, size_t template_anker_y, const RegionXY ®ion) |
Creates a template from the specified data and adds it to the matching queue. | |
void | deserialize (std::istream &stream) |
void | detectTemplates (const std::vector< DOTModality * > &modalities, float template_response_threshold, std::vector< DOTMODDetection > &detections, const size_t bin_size) const |
DOTMOD (size_t template_width, size_t template_height) | |
Constructor. | |
size_t | getNumOfTemplates () |
const DenseQuantizedMultiModTemplate & | getTemplate (size_t template_id) const |
void | loadTemplates (const char *file_name) |
void | saveTemplates (const char *file_name) const |
void | serialize (std::ostream &stream) const |
virtual | ~DOTMOD () |
Destructor. | |
Private Attributes | |
size_t | template_height_ |
size_t | template_width_ |
std::vector < DenseQuantizedMultiModTemplate > | templates_ |
pcl::DOTMOD::DOTMOD | ( | size_t | template_width, |
size_t | template_height | ||
) |
Constructor.
Definition at line 45 of file dotmod.cpp.
pcl::DOTMOD::~DOTMOD | ( | ) | [virtual] |
Destructor.
Definition at line 55 of file dotmod.cpp.
size_t pcl::DOTMOD::createAndAddTemplate | ( | const std::vector< DOTModality * > & | modalities, |
const std::vector< MaskMap * > & | masks, | ||
size_t | template_anker_x, | ||
size_t | template_anker_y, | ||
const RegionXY & | region | ||
) |
Creates a template from the specified data and adds it to the matching queue.
\param | |
Definition at line 62 of file dotmod.cpp.
void pcl::DOTMOD::deserialize | ( | std::istream & | stream | ) |
Definition at line 243 of file dotmod.cpp.
void pcl::DOTMOD::detectTemplates | ( | const std::vector< DOTModality * > & | modalities, |
float | template_response_threshold, | ||
std::vector< DOTMODDetection > & | detections, | ||
const size_t | bin_size | ||
) | const |
Definition at line 113 of file dotmod.cpp.
size_t pcl::DOTMOD::getNumOfTemplates | ( | ) | [inline] |
const DenseQuantizedMultiModTemplate& pcl::DOTMOD::getTemplate | ( | size_t | template_id | ) | const [inline] |
void pcl::DOTMOD::loadTemplates | ( | const char * | file_name | ) |
Definition at line 219 of file dotmod.cpp.
void pcl::DOTMOD::saveTemplates | ( | const char * | file_name | ) | const |
Definition at line 206 of file dotmod.cpp.
void pcl::DOTMOD::serialize | ( | std::ostream & | stream | ) | const |
Definition at line 232 of file dotmod.cpp.
size_t pcl::DOTMOD::template_height_ [private] |
size_t pcl::DOTMOD::template_width_ [private] |
std::vector<DenseQuantizedMultiModTemplate> pcl::DOTMOD::templates_ [private] |