rotatecv

Rotates the image, handle by a given angle.

Syntax

R = rotatecv(handle, angle)

Inputs

handle
Handle of an image.
Type: integer
angle
Finite scalar specifying the angle by which the image needs to rotate by.
Type: scalar

Outputs

R
Handle of the rotated image.
Type: integer

Example

Rotate an image by 90 degrees:

handle = imreadcv('image1.jpg');
R = rotatecv(handle, 90);