getGaborKernel | R Documentation |
getGaborKernel
is a convenience function to create Gabor
kernels that can be used to filter images with filter2D
.
getGaborKernel(
width = 31,
height = 31,
sigma = 5,
theta = pi,
lambda = 31,
gamma = 5,
psi = 0
)
width |
The width in pixels of the kernel (default: 31). |
height |
The height in pixels of the kernel (default: 31). |
sigma |
The standard deviation of the Gaussian envelope (default: 5). |
theta |
The orientation of the normal to the parallel stripes of a Gabor
function (default: |
lambda |
The wavelength of the sinusoidal factor (default: 31). |
gamma |
The spatial aspect ratio (default: 5). |
psi |
A phase offset (default: 0). |
A matrix of Gabor coefficients.
For more details about Gabor filter equations and parameters, see: Gabor filter.
Simon Garnier, garnier@njit.edu
filter2D
getGaborKernel()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.