invert | R Documentation |
invert
returns an image which colors are the linear
inverse of that of the original image.
invert(image, target = "new", in_place = NULL)
image |
An |
target |
The location where the results should be stored. It can take 3 values:
|
in_place |
Deprecated. Use |
If target="new"
, the function returns an Image
object. If target="self"
, the function returns nothing and modifies
image
in place. If target
is an Image
object,
the function returns nothing and modifies that Image
object in
place.
Simon Garnier, garnier@njit.edu
Image
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
balloon_inv <- invert(balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.