adimpro (version 0.9.3)

rotate.image: Image Processing

Description

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

Usage

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

Value

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

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.

Author

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

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.

See Also

show.image

Examples

Run this code
if (FALSE) demo(manipulate)

Run the code above in your browser using DataLab