powered by
invert returns an image which colors are the linear inverse of that of the original image.
invert
invert(image)
An Image object.
Image
# NOT RUN { path_to_image <- system.file("sample_img", "bunny.png", package = "Rvision") my_image <- image(filename = path_to_image) plot(invert(my_image)) # }
Run the code above in your browser using DataLab