Description Usage Arguments Value See Also Examples
This function decreases an image contrast, leaving each pixel value between given values.
1 | imgDecreaseContrast(imgdata, min_desired, max_desired)
|
imgdata |
The image |
min_desired |
The min value |
max_desired |
The max value |
return an imagedata object
imgIncreaseContrast
r_dec_contrast
r_inc_contrast
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgDecreaseContrast(x, 60, 200)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.