invert
returns an image which colors are the linear
inverse of that of the original image.
invert(image)
image | An |
---|
An Image
object.
Simon Garnier, garnier@njit.edu
path_to_image <- system.file("sample_img", "bunny.png", package = "Rvision")
my_image <- image(filename = path_to_image)
plot(invert(my_image))