imgGamma: Gamma correct an image

Description Usage Arguments Value See Also Examples

Description

This function applies gamma operation to a given image. Each pixel value is taken to the inverse of gamma\_value-th exponent.

Usage

1
imgGamma(imgdata, gamma_value)

Arguments

imgdata

The image

gamma_value

A non negative value representing operation gamma value

Value

return an imagedata object

See Also

r_gamma

Examples

1
2
3
4
5
	## Not run: 
		x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
		y <- imgGamma(x, 1.3)
	
## End(Not run)

matiasb/biOps documentation built on May 21, 2019, 12:55 p.m.