uniform_noise: Take a numeric and add to it a uniformly distributed random...

Description Usage Arguments Examples

Description

Take a numeric and add to it a uniformly distributed random number.

Usage

1
uniform_noise(image, lower_bound = -0.3, upper_bound = 0.3)

Arguments

image

A numeric. Should be an element of an array.

lower_bound

The minimum possible value for the random number.

upper_bound

The maximum possible value for the random number.

Examples

1
2
3
4
uniform_noise(4.2, 3, 5)
uniform_noise(0.3, -1)
uniform_noise(0.55, upper_bound = 1.2)
uniform_noise(1.4)

rayheberer/imgnoise documentation built on May 20, 2019, 2:46 p.m.