38 #ifndef PCL_PYRAMID_FEATURE_MATCHING_H_
39 #define PCL_PYRAMID_FEATURE_MATCHING_H_
64 template <
typename Po
intFeature>
70 typedef boost::shared_ptr<PyramidFeatureHistogram<PointFeature> >
Ptr;
83 { dimension_range_input_ = dimension_range_input; }
86 inline std::vector<std::pair<float, float> >
94 { dimension_range_target_ = dimension_range_target; }
97 inline std::vector<std::pair<float, float> >
129 size_t nr_dimensions, nr_levels, nr_features;
130 std::vector<std::pair<float, float> > dimension_range_input_, dimension_range_target_;
136 initializeHistogram ();
142 convertFeatureToVector (
const PointFeature &feature,
143 std::vector<float> &feature_vector);
147 addFeature (std::vector<float> &feature);
155 at (std::vector<size_t> &access,
163 at (std::vector<float> &feature,
167 struct PyramidFeatureHistogramLevel
169 PyramidFeatureHistogramLevel () :
171 bins_per_dimension (),
176 PyramidFeatureHistogramLevel (std::vector<size_t> &a_bins_per_dimension, std::vector<float> &a_bin_step) :
178 bins_per_dimension (a_bins_per_dimension),
179 bin_step (a_bin_step)
181 initializeHistogramLevel ();
185 initializeHistogramLevel ();
187 std::vector<unsigned int> hist;
188 std::vector<size_t> bins_per_dimension;
189 std::vector<float> bin_step;
191 std::vector<PyramidFeatureHistogramLevel> hist_levels;