Learn R Programming

imager (version 0.45.8)

mirror: Mirror image content along specified axis

Description

Mirror image content along specified axis

Usage

mirror(im, axis)

Arguments

im

an image

axis

Mirror axis ("x","y","z","c")

Examples

Run this code
cimg.limit.openmp()
mirror(boats,"x") %>% plot
mirror(boats,"y") %>% plot

Run the code above in your browser using DataLab