latest version v1.9 - last update 10 Apr 2010 |
Two-dimensional separable filter kernels for the second derivative approximation. More...
#include <ltiSecondDerivativeKernels.h>
Public Member Functions | |
andoKernelYY (const int &size=5) | |
void | generate (const int &size) |
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::gradientKernelY.
Kernel sizes 5x5, 7x7 and 9x9 are available.
This object will correspond to the second derivative with respect to the y-Axis. For the x-Axis just exchange the 1D filter kernels, or use the lti::andoKernelXX.
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.
lti::andoKernelYY< T >::andoKernelYY | ( | const int & | size = 5 |
) |
constructor
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. |
void lti::andoKernelYY< T >::generate | ( | const int & | size | ) |
initialize this kernel with the specified values
size | size of the kernel in one dimension |