gabor_kernel | R Documentation |
Create a gabor filter kernel
gabor_kernel( ksize = sigma * 6, sigma = min(ksize)/6, lambd = min(ksize)/4, theta = 0, psi = 0, gamma = 1, normalize = TRUE, mask = FALSE )
ksize |
the size of the gabor kernel. should be odd number (if not, incremented by one). |
sigma |
the standard deviation of the Gaussian function |
lambd |
the wavelength of the sinusoidal factor |
theta |
the orientation of the normal to the parallel stripes of the Gabor function |
psi |
the phase offset |
gamma |
the spatial aspect ratio |
normalize |
if TRUE (default), kernel is normalized (the zero-summing normalization) |
mask |
if TRUE, circular mask is applied. |
gb = gabor_kernel( ksize = 61 ) plot(gb, rescale = TRUE) gb = gabor_kernel( ksize = 61, theta = pi/6 ) plot(gb, rescale = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.