42#ifndef PCL_FILTERS_IMPL_MORPHOLOGICAL_FILTER_H_
43#define PCL_FILTERS_IMPL_MORPHOLOGICAL_FILTER_H_
50#include <pcl/common/io.h>
51#include <pcl/filters/morphological_filter.h>
52#include <pcl/octree/octree_search.h>
56template <
typename Po
intT>
void
84 float minz = -std::numeric_limits<float>::max ();
87 float maxz = std::numeric_limits<float>::max ();
127 float minz = -std::numeric_limits<float>::max ();
130 float maxz = std::numeric_limits<float>::max ();
164 float minz = -std::numeric_limits<float>::max ();
167 float maxz = std::numeric_limits<float>::max ();
197 PCL_ERROR (
"Morphological operator is not supported!\n");
207#define PCL_INSTANTIATE_applyMorphologicalOperator(T) template PCL_EXPORTS void pcl::applyMorphologicalOperator<T> (const pcl::PointCloud<T>::ConstPtr &, float, const int, pcl::PointCloud<T> &);
Iterator class for point clouds with or without given indices.
std::size_t size() const
Size of the range the iterator is going through.
shared_ptr< const PointCloud< PointT > > ConstPtr
void setInputCloud(const PointCloudConstPtr &cloud_arg, const IndicesConstPtr &indices_arg=IndicesConstPtr())
Provide a pointer to the input data set.
void addPointsFromInputCloud()
Add points from input point cloud to octree.
Octree pointcloud search class
uindex_t boxSearch(const Eigen::Vector3f &min_pt, const Eigen::Vector3f &max_pt, Indices &k_indices) const
Search for points within rectangular search area Points exactly on the edges of the search rectangle ...
Define standard C methods and C++ classes that are common to all methods.
void copyPointCloud(const pcl::PointCloud< PointInT > &cloud_in, pcl::PointCloud< PointOutT > &cloud_out)
Copy all the fields from a given point cloud into a new point cloud.
void applyMorphologicalOperator(const typename pcl::PointCloud< PointT >::ConstPtr &cloud_in, float resolution, const int morphological_operator, pcl::PointCloud< PointT > &cloud_out)
Apply morphological operator to the z dimension of the input point cloud.
IndicesAllocator<> Indices
Type used for indices in PCL.