#include <mrpt/vision/CGaussianConvolutionKernel.h>
Public Member Functions | |
CGaussianConvolutionKernel (float sigma, bool isDOG) | |
The constructor is given the "sigma" value (in pixels) to precompute the gaussian and DOG lookup tables. | |
unsigned int | getKernelSize () |
Returns the size of the window (number of samples) of the kernel. | |
void | changeSigma (float sigma) |
Changes the sigma:. | |
Private Member Functions | |
void | buildPrecomputedKernels (float sigma, bool isDOG) |
Build the precomputed tables. | |
Private Attributes | |
std::vector< float > | m_kernel |
Precomputed values. | |
unsigned int | m_kernelSize |
The length of the vectors "m_gaussKernel" and "m_gaussDerivKernel". | |
float | m_sigma |
The gaussian sigma. | |
bool | m_isDOG |
This is "true" if the kernel is a DOG, or false on a Gaussian kernel. | |
Friends | |
class | CImageConvolution |
The class that performs the actual convolution is vision::CImageConvolution
Definition at line 42 of file CGaussianConvolutionKernel.h.
mrpt::vision::CGaussianConvolutionKernel::CGaussianConvolutionKernel | ( | float | sigma, | |
bool | isDOG | |||
) |
The constructor is given the "sigma" value (in pixels) to precompute the gaussian and DOG lookup tables.
sigma | The sigma value of the Gaussian. | |
isDOG | Set to false to obtain a Gaussian kernel, or false to obtain a DOG filter. |
void mrpt::vision::CGaussianConvolutionKernel::buildPrecomputedKernels | ( | float | sigma, | |
bool | isDOG | |||
) | [private] |
Build the precomputed tables.
void mrpt::vision::CGaussianConvolutionKernel::changeSigma | ( | float | sigma | ) |
Changes the sigma:.
unsigned int mrpt::vision::CGaussianConvolutionKernel::getKernelSize | ( | ) |
Returns the size of the window (number of samples) of the kernel.
friend class CImageConvolution [friend] |
Definition at line 44 of file CGaussianConvolutionKernel.h.
bool mrpt::vision::CGaussianConvolutionKernel::m_isDOG [private] |
This is "true" if the kernel is a DOG, or false on a Gaussian kernel.
Definition at line 61 of file CGaussianConvolutionKernel.h.
std::vector<float> mrpt::vision::CGaussianConvolutionKernel::m_kernel [private] |
unsigned int mrpt::vision::CGaussianConvolutionKernel::m_kernelSize [private] |
The length of the vectors "m_gaussKernel" and "m_gaussDerivKernel".
Definition at line 53 of file CGaussianConvolutionKernel.h.
float mrpt::vision::CGaussianConvolutionKernel::m_sigma [private] |
Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN: at Thu Feb 26 02:18:33 EST 2009 |