img_rotate: Rotate an image (and record metadata)

Description Usage Arguments Value

View source: R/utils.R

Description

Rotate an image (and record metadata)

Usage

1
img_rotate(img, angle, ...)

Arguments

img

Image

angle

rotation angle in degrees

...

additional arguments to EBImage::rotate: output.dim, output.origin, ... (other arguments to affine, including bg.col, antialias, filter)

Value

resized image with attribute "operation" that records the original and final dimensions of the image


srvanderplas/ShoeScrubR documentation built on Nov. 27, 2019, 2:09 p.m.