View source: R/generateNoisePattern.R
| generateNoisePattern | R Documentation |
Generate sinusoid noise pattern
generateNoisePattern(
img_size = 512,
nscales = 5,
noise_type = "sinusoid",
sigma = 25,
pre_0.3.0 = FALSE
)
img_size |
Width and height of the noise pattern, in pixels. It must be divisible by |
nscales |
Number of spatial scales (default: 5). Each additional scale adds a higher spatial frequency. |
noise_type |
Noise pattern type: |
sigma |
Sigma of the Gabor patches when |
pre_0.3.0 |
Boolean: build the noise pattern the way rcicr did before version 0.3.0. Leave it at |
The noise basis: a list holding the 3D array of patches (patches), an index
array of the same size mapping each pixel to its contrast parameter (patchIdx), and
the noise_type and generator_version.
generateNoisePattern(256)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.