speckle_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 proportionate to the numeric itself.

Usage

1
speckle_noise(image, variance = 0.04)

Arguments

image

A numeric. Should be an element of an array.

variance

The variance of the uniform distribution the random number is sampled from. The variance is converted into a range by the function.

Examples

1
2

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