r_dec_contrast {biOps} | R Documentation |
This function decreases an image contrast, leaving each pixel value between given values.
r_dec_contrast(imgdata, min_desired, max_desired)
imgdata |
The image |
min_desired |
The min value |
max_desired |
The max value |
return an imagedata object
This is the R implementation of imgDecreaseContrast.
imgDecreaseContrast
imgIncreaseContrast
r_inc_contrast
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- r_dec_contrast(x, 60, 200) ## End(Not run)