View source: R/generateGabor.R
generateGabor | R Documentation |
Generate single gabor patch
generateGabor(img_size, cycles, angle, phase, sigma, contrast)
img_size |
Integer specifying size of gabor patch in number of pixels. |
cycles |
Integer specifying number of cycles the sinusoid should span. |
angle |
Value specifying the angle (rotation) of the sinusoid. |
phase |
Value specifying phase of sinusoid. |
sigma |
of guassian mask on top of sinusoid. |
contrast |
Value between -1.0 and 1.0 specifying contrast of sinusoid. |
The sinusoid image with size img_size
.
generateSinusoid(512, 2, 90, pi/2, 1.0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.