MRPT logo

mrpt::vision::CGaussianConvolutionKernel Class Reference

This class represents a generic "convolution kernel", that can actually represent any Gaussian or DOG filter. More...

#include <mrpt/vision/CGaussianConvolutionKernel.h>

List of all members.

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


Detailed Description

This class represents a generic "convolution kernel", that can actually represent any Gaussian or DOG filter.

The class that performs the actual convolution is vision::CImageConvolution

See also:
vision::CImageConvolution, vision

Definition at line 42 of file CGaussianConvolutionKernel.h.


Constructor & Destructor Documentation

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.

Parameters:
sigma The sigma value of the Gaussian.
isDOG Set to false to obtain a Gaussian kernel, or false to obtain a DOG filter.
See also:
vision::CImageConvolution


Member Function Documentation

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.


Friends And Related Function Documentation

friend class CImageConvolution [friend]

Definition at line 44 of file CGaussianConvolutionKernel.h.


Member Data Documentation

This is "true" if the kernel is a DOG, or false on a Gaussian kernel.

Definition at line 61 of file CGaussianConvolutionKernel.h.

Precomputed values.

Definition at line 49 of file CGaussianConvolutionKernel.h.

The length of the vectors "m_gaussKernel" and "m_gaussDerivKernel".

Definition at line 53 of file CGaussianConvolutionKernel.h.

The gaussian sigma.

Definition at line 57 of file CGaussianConvolutionKernel.h.




Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN: at Thu Feb 26 02:14:51 EST 2009