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 { balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision")) balloon_inv <- invert(balloon) plot(balloon_inv) # }
Run the code above in your browser using DataLab