generateNoiseImage: Generate single noise image based on parameter vector

Description Usage Arguments Value Examples

View source: R/rcicr.R

Description

Generate single noise image based on parameter vector

Usage

1
generateNoiseImage(params, p)

Arguments

params

Vector with each value specifying the contrast of each patch in noise

p

3D patch matrix (generated using generateNoisePattern())

Value

The noise pattern as pixel matrix

Examples

1
2
3
#params <- rnorm(4092) # generates 4092 normally distributed random values
#s <- generateNoisePattern(img_size=256)
#noise <- generateNoiseImage(params, p)

rcicr documentation built on May 2, 2019, 5:24 p.m.