SMIL  1.0.4

A 2D Gabor filter implementation. More...

Detailed Description

A 2D Gabor filter implementation.

Texture analysis with the computation of a Gabor filter

See also
Gabor Filter on Wikipedia
Author
Vincent Morard
Jose-Marcio Martins da Cruz (port from Morph-M)
+ Collaboration diagram for Gabor Filter (2D):

Functions

template<class T >
RES_T gaborFilterConvolution (const Image< T > &imIn, double sigma, double theta, double lambda, double psi, double gamma, Image< T > &imOut)
 gaborFilterConvolution Gabor Filter More...
 
template<class T >
RES_T gaborFilterConvolutionNorm (const Image< T > &imIn, double sigma, double theta, double lambda, double psi, double gamma, double Min, double Max, Image< T > &imOut, Image< T > &imGabor)
 gaborFilterConvolutionNorm Gabor Filter (normalized between Min and Max) More...
 
template<class T >
RES_T gaborFilterConvolutionNormAuto (const Image< T > &imIn, double sigma, double theta, double lambda, double psi, double gamma, double *Min, double *Max, Image< T > &imOut, Image< T > &imGabor)
 gaborFilterConvolutionNormAuto Gabor Filter (automatically normalized) More...
 

Function Documentation

◆ gaborFilterConvolution()

RES_T gaborFilterConvolution ( const Image< T > &  imIn,
double  sigma,
double  theta,
double  lambda,
double  psi,
double  gamma,
Image< T > &  imOut 
)

gaborFilterConvolution Gabor Filter

Parameters
[in]imIn: input Image
[in]sigma: size of the gaussian
[in]theta: orientation of the kernel (in rad)
[in]lambda: frequency of the cos
[in]psi: phase of the cos (in rad)
[in]gamma: anisotropy of the kernel
[out]imOut: output Image (must be F_SIMPLE or F_DOUBLE ???)

◆ gaborFilterConvolutionNorm()

RES_T gaborFilterConvolutionNorm ( const Image< T > &  imIn,
double  sigma,
double  theta,
double  lambda,
double  psi,
double  gamma,
double  Min,
double  Max,
Image< T > &  imOut,
Image< T > &  imGabor 
)

gaborFilterConvolutionNorm Gabor Filter (normalized between Min and Max)

Parameters
[in]imIn: input Image
[in]sigma: size of the gaussian
[in]theta: orientation of the kernel (in rad)
[in]lambda: frequency of the cos
[in]psi: phase of the cos (in rad)
[in]gamma: anisotropy of the kernel
[in]Min:
[in]Max:
[out]imOut: output Image (must be F_SIMPLE or F_DOUBLE ???)
[out]imGabor: output Image (must be F_SIMPLE or F_DOUBLE ???)

◆ gaborFilterConvolutionNormAuto()

RES_T gaborFilterConvolutionNormAuto ( const Image< T > &  imIn,
double  sigma,
double  theta,
double  lambda,
double  psi,
double  gamma,
double *  Min,
double *  Max,
Image< T > &  imOut,
Image< T > &  imGabor 
)

gaborFilterConvolutionNormAuto Gabor Filter (automatically normalized)

Parameters
[in]imIn: input Image
[in]sigma: size of the gaussian
[in]theta: orientation of the kernel (in rad)
[in]lambda: frequency of the cos
[in]psi: phase of the cos (in rad)
[in]gamma: anisotropy of the kernel
[out]Min:
[out]Max:
[out]imOut: output Image (must be F_SIMPLE or F_DOUBLE ???)
[out]imGabor: output Image (must be F_SIMPLE or F_DOUBLE ???)