r_gamma {biOps} | R Documentation |
This function applies gamma operation to a given image. Each pixel value is taken to the inverse of gamma_value-th exponent
r_gamma(imgdata, gamma_value)
imgdata |
The image |
gamma_value |
A non negative value representing operation gamma value |
return an imagedata object
This is the R implementation of imgGamma.
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- r_gamma(x, 1.3) ## End(Not run)