Point Cloud Library (PCL) 1.15.0
Loading...
Searching...
No Matches
pcl::filters::GaussianKernelRGB< PointInT, PointOutT > Class Template Reference

Gaussian kernel implementation interface with RGB channel handling Use this as implementation reference. More...

#include <pcl/filters/convolution_3d.h>

Inheritance diagram for pcl::filters::GaussianKernelRGB< PointInT, PointOutT >:
Collaboration diagram for pcl::filters::GaussianKernelRGB< PointInT, PointOutT >:

Public Types

using Ptr = shared_ptr<GaussianKernelRGB<PointInT, PointOutT> >
using ConstPtr = shared_ptr<GaussianKernelRGB<PointInT, PointOutT> >
Public Types inherited from pcl::filters::GaussianKernel< PointInT, PointOutT >
using Ptr = shared_ptr<GaussianKernel<PointInT, PointOutT> >
using ConstPtr = shared_ptr<GaussianKernel<PointInT, PointOutT> >
Public Types inherited from pcl::filters::ConvolvingKernel< PointInT, PointOutT >
using Ptr = shared_ptr<ConvolvingKernel<PointInT, PointOutT> >
using ConstPtr = shared_ptr<const ConvolvingKernel<PointInT, PointOutT> >
using PointCloudInConstPtr = typename PointCloud<PointInT>::ConstPtr

Public Member Functions

 GaussianKernelRGB ()
 Default constructor.
PointOutT operator() (const Indices &indices, const std::vector< float > &distances)
 Convolve point at the center of this local information.
Public Member Functions inherited from pcl::filters::GaussianKernel< PointInT, PointOutT >
 GaussianKernel ()
 Default constructor.
void setSigma (float sigma)
 Set the sigma parameter of the Gaussian.
void setThresholdRelativeToSigma (float sigma_coefficient)
 Set the distance threshold relative to a sigma factor i.e.
void setThreshold (float threshold)
 Set the distance threshold such as pi, ||pi - q|| > threshold are not considered.
bool initCompute ()
 Must call this method before doing any computation.
Public Member Functions inherited from pcl::filters::ConvolvingKernel< PointInT, PointOutT >
 ConvolvingKernel ()
 empty constructor
virtual ~ConvolvingKernel ()=default
 empty destructor
void setInputCloud (const PointCloudInConstPtr &input)
 Set input cloud.

Additional Inherited Members

Static Public Member Functions inherited from pcl::filters::ConvolvingKernel< PointInT, PointOutT >
static void makeInfinite (PointOutT &p)
 Utility function that annihilates a point making it fail the pcl::isFinite test.
Protected Attributes inherited from pcl::filters::GaussianKernel< PointInT, PointOutT >
float sigma_
float sigma_sqr_
float threshold_
boost::optional< float > sigma_coefficient_
Protected Attributes inherited from pcl::filters::ConvolvingKernel< PointInT, PointOutT >
PointCloudInConstPtr input_
 source cloud

Detailed Description

template<typename PointInT, typename PointOutT>
class pcl::filters::GaussianKernelRGB< PointInT, PointOutT >

Gaussian kernel implementation interface with RGB channel handling Use this as implementation reference.

Definition at line 169 of file convolution_3d.h.

Member Typedef Documentation

◆ ConstPtr

template<typename PointInT, typename PointOutT>
using pcl::filters::GaussianKernelRGB< PointInT, PointOutT >::ConstPtr = shared_ptr<GaussianKernelRGB<PointInT, PointOutT> >

Definition at line 179 of file convolution_3d.h.

◆ Ptr

template<typename PointInT, typename PointOutT>
using pcl::filters::GaussianKernelRGB< PointInT, PointOutT >::Ptr = shared_ptr<GaussianKernelRGB<PointInT, PointOutT> >

Definition at line 178 of file convolution_3d.h.

Constructor & Destructor Documentation

◆ GaussianKernelRGB()

template<typename PointInT, typename PointOutT>
pcl::filters::GaussianKernelRGB< PointInT, PointOutT >::GaussianKernelRGB ( )
inline

Default constructor.

Definition at line 182 of file convolution_3d.h.

References pcl::filters::GaussianKernel< PointInT, PointOutT >::GaussianKernel().

Member Function Documentation

◆ operator()()

template<typename PointInT, typename PointOutT>
PointOutT pcl::filters::GaussianKernelRGB< PointInT, PointOutT >::operator() ( const Indices & indices,
const std::vector< float > & distances )
virtual

Convolve point at the center of this local information.

Parameters
[in]indicesindices of the point in the source point cloud
[in]distanceseuclidean distance squared from the query point
Returns
the convolved point

Reimplemented from pcl::filters::GaussianKernel< PointInT, PointOutT >.

Definition at line 138 of file convolution_3d.hpp.

References pcl::filters::ConvolvingKernel< PointInT, PointOutT >::input_, pcl::isFinite(), pcl::filters::ConvolvingKernel< PointInT, PointOutT >::makeInfinite(), pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_sqr_, and pcl::filters::GaussianKernel< PointInT, PointOutT >::threshold_.


The documentation for this class was generated from the following files: