Point Cloud Library (PCL)
1.9.1
|
#include <pcl/2d/kernel.h>
Public Types | |
enum | KERNEL_ENUM { SOBEL_X, SOBEL_Y, PREWITT_X, PREWITT_Y, ROBERTS_X, ROBERTS_Y, LOG, DERIVATIVE_CENTRAL_X, DERIVATIVE_FORWARD_X, DERIVATIVE_BACKWARD_X, DERIVATIVE_CENTRAL_Y, DERIVATIVE_FORWARD_Y, DERIVATIVE_BACKWARD_Y, GAUSSIAN } |
enumerates the different types of kernels available. More... | |
Public Attributes | |
int | kernel_size_ |
float | sigma_ |
KERNEL_ENUM | kernel_type_ |
enum pcl::kernel::KERNEL_ENUM |
enumerates the different types of kernels available.
|
inline |
void pcl::kernel< PointT >::derivativeXBackwardKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
kernel [-1 1 0]
Definition at line 267 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::derivativeXCentralKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
kernel [-1 0 1]
Definition at line 247 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::derivativeXForwardKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
kernel [0 -1 1]
Definition at line 257 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::derivativeYBackwardKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
kernel [-1 1 0]'
Definition at line 297 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::derivativeYCentralKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
kernel [-1 0 1]'
Definition at line 277 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::derivativeYForwardKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
kernel [0 -1 1]'
Definition at line 287 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::fetchKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
Helper function which returns the kernel selected by the kernel_type_ enum
Definition at line 43 of file kernel.hpp.
void pcl::kernel< PointT >::gaussianKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
Gaussian kernel with size (kernel_size_ x kernel_size_) and variance sigma_
Definition at line 122 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), pcl::PointCloud< PointT >::size(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::loGKernel | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
Laplacian of Gaussian kernel with size (kernel_size_ x kernel_size_) and variance sigma_
Definition at line 149 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), pcl::PointCloud< PointT >::size(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::prewittKernelX | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
3x3 Prewitt kernel in the X direction
Definition at line 190 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::prewittKernelY | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
3x3 Prewitt kernel in the Y direction
Definition at line 225 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::robertsKernelX | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
2x2 Roberts kernel in the X direction
Definition at line 202 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::robertsKernelY | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
2x2 Roberts kernel in the Y direction
Definition at line 236 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::setKernelSigma | ( | float | kernel_sigma | ) |
kernel_sigma | variance of the Gaussian or LoG kernels. |
Setter function for kernel_sigma_
Definition at line 322 of file kernel.hpp.
void pcl::kernel< PointT >::setKernelSize | ( | int | kernel_size | ) |
kernel_size | kernel of size kernel_size x kernel_size is created(LoG and Gaussian only) |
Setter function for kernel_size_
Definition at line 315 of file kernel.hpp.
void pcl::kernel< PointT >::setKernelType | ( | KERNEL_ENUM | kernel_type | ) |
kernel_type | enum indicating the kernel type wanted |
select the kernel type.
Definition at line 308 of file kernel.hpp.
void pcl::kernel< PointT >::sobelKernelX | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
3x3 Sobel kernel in the X direction
Definition at line 178 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
void pcl::kernel< PointT >::sobelKernelY | ( | pcl::PointCloud< PointT > & | kernel | ) |
kernel | Kernel point cloud passed by reference |
3x3 Sobel kernel in the Y direction
Definition at line 213 of file kernel.hpp.
References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::resize(), and pcl::PointCloud< PointT >::width.
int pcl::kernel< PointT >::kernel_size_ |
KERNEL_ENUM pcl::kernel< PointT >::kernel_type_ |
float pcl::kernel< PointT >::sigma_ |