r_inc_contrast {biOps} | R Documentation |
This function increases an image contrast, augmenting pixel values differences between given limits (in a linear fashion).
r_inc_contrast(imgdata, min_limit, max_limit)
imgdata |
The image |
min_limit |
The minimum limit to apply lineal modification |
max_limit |
The maximum limit to apply lineal modification |
return an imagedata object
This is the R implementation of imgIncreaseContrast.
imgIncreaseContrast
imgDecreaseContrast
r_dec_contrast
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- r_inc_contrast(x, 60, 200) ## End(Not run)