LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::andoKernelXY< T > Class Template Reference
[Linear filtering]

Two-dimensional separable filter kernels for the second derivative approximation. More...

#include <ltiSecondDerivativeKernels.h>

Inheritance diagram for lti::andoKernelXY< T >:
Inheritance graph
[legend]
Collaboration diagram for lti::andoKernelXY< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 andoKernelXY (const int &size=5)
void generate (const int &size)

Detailed Description

template<class T>
class lti::andoKernelXY< T >

Two-dimensional separable filter kernels for the second derivative approximation.

They are found by convolution of two optimal gradient kernels as introduced by Ando. For more details see lti::gradientKernelX.

Kernel sizes 5x5, 7x7 and 9x9 are available.

This object will correspond to the second derivative in xy direction.

The template parameter T should be the same as the value_type of the matrix or channel to be filtered (channel::value_type, double, etc.)

It is recomended to use this kernels with floating point matrices or channels, due to precision aspects.


Constructor & Destructor Documentation

template<class T >
lti::andoKernelXY< T >::andoKernelXY ( const int &  size = 5  ) 

constructor

Parameters:
size is the dimension of the one dimensional part (i.e. the filter kern is a size x size kernel!) The valid values are 5, 7 or 9. If an invalid value is given, an empty kernel will be created.

Member Function Documentation

template<class T >
void lti::andoKernelXY< T >::generate ( const int &  size  ) 

initialize this kernel with the specified values

Parameters:
size size of the kernel in one dimension

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

Generated on Sat Apr 10 15:27:49 2010 for LTI-Lib by Doxygen 1.6.1