flip | R Documentation |
Image
flip
returns a flipped version of an Image
around one or both of its axes.
flip(image, type = 0, target = "new", in_place = NULL)
image |
An |
type |
An integer indicating the type of flipping to be performed. If
|
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_flipped <- flip(balloon, -1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.