r_negative: Negate an image

Description Usage Arguments Value Note See Also Examples

Description

This function negates an image.

Usage

1
r_negative(imgdata)

Arguments

imgdata

The image

Value

return an imagedata object

Note

This is the R implementation of imgNegative.

See Also

imgNegative r_negative_lut

Examples

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

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