Description Usage Arguments Value See Also Examples
This function adds salt and pepper noise to an image.
1 | imgSaltPepperNoise(imgdata, percent)
|
imgdata |
The image |
percent |
The percent of noise to add |
return an imagedata object
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgSaltPepperNoise(x, 30)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.