depth_map_preprocessing
Filters.hpp
Go to the documentation of this file.
1 #ifndef _DEPTH_MAP_PREPROCESSING_FILTERS_HPP_
2 #define _DEPTH_MAP_PREPROCESSING_FILTERS_HPP_
3 
4 #include <base/samples/DepthMap.hpp>
5 
6 namespace depth_map_preprocessing
7 {
8 
9 class Filters
10 {
11 public:
12 
18  static void filterMinDistance(base::samples::DepthMap &laser_scan, float min_range);
19 
29  static void filterOutliers(base::samples::DepthMap &laser_scan, double max_deviation_angle, unsigned min_neighbors = 1);
30 
31 protected:
32 
38  static unsigned checkPoints(const Eigen::Vector3f& origin, const Eigen::Vector3f& neighbor, double max_angle);
39 };
40 
41 } // end namespace depth_map_preprocessing
42 
43 #endif // _DEPTH_MAP_PREPROCESSING_FILTERS_HPP_
static void filterOutliers(base::samples::DepthMap &laser_scan, double max_deviation_angle, unsigned min_neighbors=1)
Definition: Filters.cpp:16
static unsigned checkPoints(const Eigen::Vector3f &origin, const Eigen::Vector3f &neighbor, double max_angle)
Definition: Filters.cpp:46
static void filterMinDistance(base::samples::DepthMap &laser_scan, float min_range)
Definition: Filters.cpp:6
Definition: Filters.hpp:9