ImgRotate: Rotate an image 90, 180, 270, or 360 degrees...

Description Usage Arguments Value Examples

View source: R/ImgRotate.r

Description

Rotate an image 90, 180, 270, or 360 degrees counterclockwise.

Usage

1
ImgRotate(img, degree)

Arguments

img,

path of the input image

degree,

desired degree to rotate img: 90, 180, 270, 360.

Value

rotated_img

Examples

1
2
img <- array(runif(1000),dim=c(10,10,3))
ImgRotate(img, 270)

UBC-MDS/ImgHelpR documentation built on Feb. 13, 2022, 2:20 a.m.