43 #include <pcl/recognition/dot_modality.h>
44 #include <pcl/recognition/dense_quantized_multi_mod_template.h>
45 #include <pcl/recognition/mask_map.h>
46 #include <pcl/recognition/region_xy.h>
67 DOTMOD (std::size_t template_width,
68 std::size_t template_height);
81 createAndAddTemplate (
const std::vector<DOTModality*> & modalities,
82 const std::vector<MaskMap*> & masks,
83 std::size_t template_anker_x,
84 std::size_t template_anker_y,
88 detectTemplates (
const std::vector<DOTModality*> & modalities,
89 float template_response_threshold,
90 std::vector<DOTMODDetection> & detections,
91 const std::size_t bin_size)
const;
96 return (templates_[template_id]);
102 return (templates_.size ());
106 saveTemplates (
const char * file_name)
const;
109 loadTemplates (
const char * file_name);
112 serialize (std::ostream & stream)
const;
115 deserialize (std::istream & stream);
120 std::size_t template_width_;
122 std::size_t template_height_;
124 std::vector<DenseQuantizedMultiModTemplate> templates_;