rotations: Rotates an image by x degrees

Description Usage Arguments Details Value Examples

View source: R/rotations.R

Description

Takes an image and rotates it by a number of degrees choosen by the user.

Usage

1
rotations(picture, degrees)

Arguments

picture

The image to be rotated.

degrees

The degrees of rotation until 180 (30 = every 30 degrees).

Details

The function takes in an image and rotates it by a number of degrees chosen by the user. It will keep rotating until it has reached the 360 degree limit and save the images into a list.

Value

A list of pictures that have been rotated by x degrees each.

Examples

1
picture_list <- rotations(picture, 45)

niconaut/crop.row.finder documentation built on June 29, 2020, 6:10 a.m.