imgSplineRotate {biOps}R Documentation

Rotate an image

Description

This function rotates an image using b-spline interpolation and returns a new image.

Usage

imgSplineRotate(imgdata, angle)

Arguments

imgdata The image
angle The clockwise deg angle to rotate

Value

return an imagedata object

See Also

imgRotate imgNearestNeighborRotate imgBilinearRotate imgCubicRotate imgRotate90Clockwise imgRotate90CounterClockwise

Examples

        ## Not run: 
                x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
                y <- imgSplineRotate(x, 45)
        
## End(Not run)

[Package biOps version 0.2.1 Index]