Integer specifying size of the noise pattern in number of pixels
nscales
Integer specifying the number of incremental spatial scales. Defaults to 5. Higher numbers will add higher spatial frequency scales.
noise_type
String specifying noise pattern type (defaults to sinusoid; other options: gabor).
sigma
Number specifying the sigma of the Gabor patch if noise_type is set to gabor (defaults to 25)
pre_0.3.0
Boolean specifying whether the noise pattern should be created in a way compatible with older versions of rcicr (< 0.3.0). If you are starting a new project, you should keep this at the default setting (FALSE). There is no reason to set this to TRUE, with the sole exception to recreate behavior of rcicr prior to version 0.3.0.
Value
List with two elements: the 3D noise matrix with size img_size, and and indexing
matrix with the same size to easily change contrasts.