r_inc_intensity {biOps}R Documentation

Increase intensity

Description

This function increases an image intensity by a given factor.

Usage

r_inc_intensity(imgdata, percentage)

Arguments

imgdata The image
percentage A non negative value representing the intensity percentage to be increased. 1 stands for 100% (eg. 0.5 = 50%).

Value

return an imagedata object

Note

This is the R implementation of imgIncreaseIntensity.

See Also

imgIncreaseIntensity imgDecreaseIntensity r_dec_intensity

Examples

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

[Package biOps version 0.2.1 Index]