imgCubicRotate {biOps} | R Documentation |
This function rotates an image using cubic interpolation and returns a new image.
imgCubicRotate(imgdata, angle)
imgdata |
The image |
angle |
The clockwise deg angle to rotate |
return an imagedata object
imgRotate
imgNearestNeighborRotate
imgBilinearRotate
imgSplineRotate
imgRotate90Clockwise
imgRotate90CounterClockwise
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- imgCubicRotate(x, 45) ## End(Not run)