Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions
pcl::DOTMOD Class Reference

Template matching using the DOTMOD approach. More...

#include <pcl/recognition/dotmod.h>

Public Member Functions

 DOTMOD (std::size_t template_width, std::size_t template_height)
 Constructor. More...
 
virtual ~DOTMOD ()
 Destructor. More...
 
std::size_t createAndAddTemplate (const std::vector< DOTModality * > &modalities, const std::vector< MaskMap * > &masks, std::size_t template_anker_x, std::size_t template_anker_y, const RegionXY &region)
 Creates a template from the specified data and adds it to the matching queue. More...
 
void detectTemplates (const std::vector< DOTModality * > &modalities, float template_response_threshold, std::vector< DOTMODDetection > &detections, const std::size_t bin_size) const
 
const DenseQuantizedMultiModTemplategetTemplate (std::size_t template_id) const
 
std::size_t getNumOfTemplates ()
 
void saveTemplates (const char *file_name) const
 
void loadTemplates (const char *file_name)
 
void serialize (std::ostream &stream) const
 
void deserialize (std::istream &stream)
 

Detailed Description

Template matching using the DOTMOD approach.

Author
Stefan Holzer, Stefan Hinterstoisser

Definition at line 64 of file dotmod.h.

Constructor & Destructor Documentation

◆ DOTMOD()

pcl::DOTMOD::DOTMOD ( std::size_t  template_width,
std::size_t  template_height 
)

Constructor.

◆ ~DOTMOD()

virtual pcl::DOTMOD::~DOTMOD ( )
virtual

Destructor.

Member Function Documentation

◆ createAndAddTemplate()

std::size_t pcl::DOTMOD::createAndAddTemplate ( const std::vector< DOTModality * > &  modalities,
const std::vector< MaskMap * > &  masks,
std::size_t  template_anker_x,
std::size_t  template_anker_y,
const RegionXY region 
)

Creates a template from the specified data and adds it to the matching queue.

Parameters
modalities
masks
template_anker_x
template_anker_y
region

◆ deserialize()

void pcl::DOTMOD::deserialize ( std::istream &  stream)

◆ detectTemplates()

void pcl::DOTMOD::detectTemplates ( const std::vector< DOTModality * > &  modalities,
float  template_response_threshold,
std::vector< DOTMODDetection > &  detections,
const std::size_t  bin_size 
) const

◆ getNumOfTemplates()

std::size_t pcl::DOTMOD::getNumOfTemplates ( )
inline

Definition at line 101 of file dotmod.h.

◆ getTemplate()

const DenseQuantizedMultiModTemplate& pcl::DOTMOD::getTemplate ( std::size_t  template_id) const
inline

Definition at line 95 of file dotmod.h.

◆ loadTemplates()

void pcl::DOTMOD::loadTemplates ( const char *  file_name)

◆ saveTemplates()

void pcl::DOTMOD::saveTemplates ( const char *  file_name) const

◆ serialize()

void pcl::DOTMOD::serialize ( std::ostream &  stream) const

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