[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
![]() |
Gabor Filter | ![]() |
Classes | |
class | GaborFilterFamily< ImageType, Alloc > |
Family of gabor filters of different scale and direction. More... | |
Functions | |
double | angularGaborSigma (int directionCount, double centerFrequency) |
Calculate sensible angular sigma for given parameters. More... | |
template<... > | |
void | createGaborFilter (...) |
Create a gabor filter in frequency space. More... | |
double | radialGaborSigma (double centerFrequency) |
Calculate sensible radial sigma for given parameters. More... | |
Functions to create or apply gabor filter (latter based on FFTW).
void vigra::createGaborFilter | ( | ... | ) |
Create a gabor filter in frequency space.
The orientation is given in radians, the other parameters are the center frequency (for example 0.375 or smaller) and the two angular and radial sigmas of the gabor filter. (See angularGaborSigma() for an explanation of possible values.)
The energy of the filter is explicitly normalized to 1.0.
Declarations:
pass 2D array views:
Usage:
#include <vigra/gaborfilter.hxx>
Namespace: vigra
double vigra::radialGaborSigma | ( | double | centerFrequency | ) |
Calculate sensible radial sigma for given parameters.
For a brief introduction what is meant with "sensible" sigmas, see angularGaborSigma().
Declaration:
double vigra::angularGaborSigma | ( | int | directionCount, |
double | centerFrequency | ||
) |
Calculate sensible angular sigma for given parameters.
"Sensible" means: If you use a range of gabor filters for feature detection, you are interested in minimal redundancy. This is hard to define but one possible try is to arrange the filters in frequency space, so that the half-peak-magnitude ellipses touch each other.
To do so, you must know the number of directions (first parameter for the angular sigma function) and the center frequency of the filter you want to calculate the sigmas for.
The exact formulas are:
Declaration:
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|