Gaussian kernel implementation interface Use this as implementation reference. More...
#include <pcl/filters/convolution_3d.h>


Public Types | |
| typedef boost::shared_ptr < GaussianKernel< PointInT, PointOutT > > | Ptr |
| typedef boost::shared_ptr < GaussianKernel< PointInT, PointOutT > > | ConstPtr |
Public Member Functions | |
| GaussianKernel () | |
| Default constructor. | |
| virtual | ~GaussianKernel () |
| 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 methode before doing any computation. | |
| virtual PointOutT | operator() (const std::vector< int > &indices, const std::vector< float > &distances) |
| Convolve point at the center of this local information. | |
Protected Attributes | |
| float | sigma_ |
| float | sigma_sqr_ |
| float | threshold_ |
| boost::optional< float > | sigma_coefficient_ |
Gaussian kernel implementation interface Use this as implementation reference.
Definition at line 115 of file convolution_3d.h.
| typedef boost::shared_ptr<GaussianKernel<PointInT, PointOutT> > pcl::filters::GaussianKernel< PointInT, PointOutT >::ConstPtr |
Reimplemented from pcl::filters::ConvolvingKernel< PointInT, PointOutT >.
Reimplemented in pcl::filters::GaussianKernelRGB< PointInT, PointOutT >.
Definition at line 123 of file convolution_3d.h.
| typedef boost::shared_ptr<GaussianKernel<PointInT, PointOutT> > pcl::filters::GaussianKernel< PointInT, PointOutT >::Ptr |
Reimplemented from pcl::filters::ConvolvingKernel< PointInT, PointOutT >.
Reimplemented in pcl::filters::GaussianKernelRGB< PointInT, PointOutT >.
Definition at line 122 of file convolution_3d.h.
| pcl::filters::GaussianKernel< PointInT, PointOutT >::GaussianKernel | ( | ) | [inline] |
Default constructor.
Definition at line 126 of file convolution_3d.h.
| virtual pcl::filters::GaussianKernel< PointInT, PointOutT >::~GaussianKernel | ( | ) | [inline, virtual] |
Definition at line 132 of file convolution_3d.h.
| bool pcl::filters::GaussianKernel< PointInT, PointOutT >::initCompute | ( | ) | [inline, virtual] |
Must call this methode before doing any computation.
Reimplemented from pcl::filters::ConvolvingKernel< PointInT, PointOutT >.
Definition at line 76 of file convolution_3d.hpp.
References pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_, pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_coefficient_, pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_sqr_, and pcl::filters::GaussianKernel< PointInT, PointOutT >::threshold_.
| PointOutT pcl::filters::GaussianKernel< PointInT, PointOutT >::operator() | ( | const std::vector< int > & | indices, | |
| const std::vector< float > & | distances | |||
| ) | [inline, virtual] |
Convolve point at the center of this local information.
| [in] | indices | indices of the point in the source point cloud |
| [in] | distances | euclidean distance squared from the query point |
Implements pcl::filters::ConvolvingKernel< PointInT, PointOutT >.
Reimplemented in pcl::filters::GaussianKernelRGB< PointInT, PointOutT >.
Definition at line 101 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_.
| void pcl::filters::GaussianKernel< PointInT, PointOutT >::setSigma | ( | float | sigma | ) | [inline] |
Set the sigma parameter of the Gaussian.
| [in] | sigma |
Definition at line 138 of file convolution_3d.h.
References pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_.
| void pcl::filters::GaussianKernel< PointInT, PointOutT >::setThreshold | ( | float | threshold | ) | [inline] |
Set the distance threshold such as pi, ||pi - q|| > threshold are not considered.
Definition at line 151 of file convolution_3d.h.
References pcl::filters::GaussianKernel< PointInT, PointOutT >::threshold_.
| void pcl::filters::GaussianKernel< PointInT, PointOutT >::setThresholdRelativeToSigma | ( | float | sigma_coefficient | ) | [inline] |
Set the distance threshold relative to a sigma factor i.e.
points such as ||pi - q|| > sigma_coefficient^2 * sigma^2 are not considered.
Definition at line 144 of file convolution_3d.h.
References pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_coefficient_.
float pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_ [protected] |
Definition at line 160 of file convolution_3d.h.
Referenced by pcl::filters::GaussianKernel< PointInT, PointOutT >::initCompute(), and pcl::filters::GaussianKernel< PointInT, PointOutT >::setSigma().
boost::optional<float> pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_coefficient_ [protected] |
Definition at line 163 of file convolution_3d.h.
Referenced by pcl::filters::GaussianKernel< PointInT, PointOutT >::initCompute(), and pcl::filters::GaussianKernel< PointInT, PointOutT >::setThresholdRelativeToSigma().
float pcl::filters::GaussianKernel< PointInT, PointOutT >::sigma_sqr_ [protected] |
float pcl::filters::GaussianKernel< PointInT, PointOutT >::threshold_ [protected] |
Definition at line 162 of file convolution_3d.h.
Referenced by pcl::filters::GaussianKernel< PointInT, PointOutT >::initCompute(), pcl::filters::GaussianKernelRGB< PointInT, PointOutT >::operator()(), pcl::filters::GaussianKernel< PointInT, PointOutT >::operator()(), and pcl::filters::GaussianKernel< PointInT, PointOutT >::setThreshold().