r_inc_contrast {biOps}R Documentation

Increase contrast

Description

This function increases an image contrast, augmenting pixel values differences between given limits (in a linear fashion).

Usage

r_inc_contrast(imgdata, min_limit, max_limit)

Arguments

imgdata The image
min_limit The minimum limit to apply lineal modification
max_limit The maximum limit to apply lineal modification

Value

return an imagedata object

Note

This is the R implementation of imgIncreaseContrast.

See Also

imgIncreaseContrast imgDecreaseContrast r_dec_contrast

Examples

        ## Not run: 
                x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
                y <- r_inc_contrast(x, 60, 200)
        
## End(Not run)

[Package biOps version 0.2.1 Index]