r_negative {biOps} | R Documentation |
This function negates an image.
r_negative(imgdata)
imgdata |
The image |
return an imagedata object
This is the R implementation of imgNegative.
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- r_negative(x) ## End(Not run)