Learn R Programming

ripa (version 2.0-2)

contBriImg: Contrast and brightness of an image

Description

Applies values of contrast and brightness on an image.

Usage

contBriImg(img, cont, bri)

Arguments

img
Input image
cont
New value for contrast (0.0 to 1.0)
bri
New value for brightness (-1.0 to 1.0)

Value

Return the result image after applying the values of contrast and brightness