rotate.image {adimpro}R 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)

[Package adimpro version 0.9.6 Index]