rotate.image: Image Processing

View source: R/edges.R

rotate.imageR Documentation

Image Processing

Description

Rotate an image by 0, 90, 180 or 270 degrees.

Usage

rotate.image(img, angle = 90, compress=NULL)

Arguments

img

image data, that is an object of class "adimpro".

angle

0, 90, 180 or 270 degrees

compress

store result as compressed image if compress=TRUE. compress=NULL uses the same format as the original object.

Details

The function rotates the image img by 0, 90, 180 or 270 degrees. Any other value for degree will cause an exception. The returned object contains an additional component rotate determining the rotation.

Value

An object of class "adimpro" containing the rotated image.

Author(s)

Karsten Tabelow tabelow@wias-berlin.de and Joerg Polzehl polzehl@wias-berlin.de

See Also

show.image

Examples

## Not run: demo(manipulate)

adimpro documentation built on Sept. 30, 2024, 9:17 a.m.