Description Usage Arguments Value See Also Examples
This function decreases an image intensity by a given factor.
1 | imgDecreaseIntensity(imgdata, percentage)
|
imgdata |
The image |
percentage |
A non negative value representing the intensity percentage to be decreased. 1 stands for 100% (eg. 0.5 = 50%). |
return an imagedata object
imgIncreaseIntensity
r_dec_intensity
r_inc_intensity
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgDecreaseIntensity(x, 0.3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.