rotatecv
Rotates the image, handle, by a given angle.
Syntax
R = rotatecv(handle, angle)
Inputs
- handle
- Handle of an image.
- angle
- Finite scalar specifying the angle by which the image needs to rotate by.
Outputs
- R
- Handle of the rotated image.
Example
Rotate an image by 90 degrees:
Figure 1. Input image
![](images/rotatecv_fig1.png)
Figure 2. Output image
![](images/rotatecv_fig2.png)
handle = imreadcv('azaleas.jpg');
R = rotatecv(handle, 90);
![](images/rotatecv_fig1.png)
![](images/rotatecv_fig2.png)