Description Usage Arguments Value See Also Examples
This function rotates an image using the given interpolation and returns a new image.
1 | imgRotate(imgdata, angle, interpolation)
|
imgdata |
The image |
angle |
The clockwise deg angle to rotate |
interpolation |
The interpolation method: nearestneighbor | bilinear | cubic | spline |
return an imagedata object
imgNearestNeighborRotate
imgBilinearRotate
imgCubicRotate
imgSplineRotate
imgRotate90Clockwise
imgRotate90CounterClockwise
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgRotate(x, 45, 'spline')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.