Point Cloud Library (PCL)
1.10.0
|
42 #include <pcl/common/eigen.h>
43 #include <pcl/common/point_operators.h>
44 #include <pcl/point_cloud.h>
45 #include <pcl/exceptions.h>
46 #include <pcl/pcl_base.h>
75 template <
typename Po
intIn,
typename Po
intOut>
194 convolveOneRowDense (
int i,
int j);
199 convolveOneColDense (
int i,
int j);
204 convolveOneRowNonDense (
int i,
int j);
209 convolveOneColNonDense (
int i,
int j);
214 float distance_threshold_;
218 Eigen::ArrayXf kernel_;
230 p.x = p.y = p.z = std::numeric_limits<float>::quiet_NaN ();
236 #include <pcl/filters/impl/convolution.hpp>
void convolveCols(PointCloudOut &output)
Convolve a float image columns by a given kernel.
This file defines compatibility wrappers for low level I/O functions.
void convolve(const Eigen::ArrayXf &h_kernel, const Eigen::ArrayXf &v_kernel, PointCloudOut &output)
Convolve point cloud with an horizontal kernel along rows then vertical kernel along columns : convol...
~Convolution()
Empty destructor.
void convolve_cols(PointCloudOut &output)
convolve cols and ignore borders
shared_ptr< Convolution< PointIn, PointOut > > Ptr
void convolve_rows_mirror(PointCloudOut &output)
convolve rows and mirror borders
PointCloud represents the base class in PCL for storing collections of 3D points.
void setInputCloud(const PointCloudInConstPtr &cloud)
Provide a pointer to the input dataset.
pcl::PointCloud< PointOut > PointCloudOut
void initCompute(PointCloudOut &output)
init compute is an internal method called before computation
Convolution is a mathematical operation on two functions f and g, producing a third function that is ...
void convolve_rows(PointCloudOut &output)
convolve rows and ignore borders
void makeInfinite(PointOut &p)
void setDistanceThreshold(const float &threshold)
void setBordersPolicy(int policy)
Set the borders policy.
BORDERS_POLICY
The borders policy available.
Convolution()
Constructor.
void convolve_cols_mirror(PointCloudOut &output)
convolve cols and mirror borders
void convolve_rows_duplicate(PointCloudOut &output)
convolve rows and duplicate borders
void convolveRows(PointCloudOut &output)
Convolve a float image rows by a given kernel.
typename PointCloudIn::Ptr PointCloudInPtr
int getBordersPolicy()
Get the borders policy.
shared_ptr< PointCloud< PointT > > Ptr
void setNumberOfThreads(unsigned int nr_threads=0)
Initialize the scheduler and set the number of threads to use.
typename PointCloudIn::ConstPtr PointCloudInConstPtr
shared_ptr< const PointCloud< PointT > > ConstPtr
void convolve_cols_duplicate(PointCloudOut &output)
convolve cols and duplicate borders
void setKernel(const Eigen::ArrayXf &kernel)
Set convolving kernel.
shared_ptr< const Convolution< PointIn, PointOut > > ConstPtr
unsigned int threads_
The number of threads the scheduler should use.
const float & getDistanceThreshold() const
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.