<< imresize Spatial Transformations Structural Analysis and Shape Descriptors >>

IPCV >> Spatial Transformations > imrotate

imrotate

Rotate an image to given angle

Syntax

imout = imrotate(im1,deg,crp)

Parameters

im1 :

Source Image

deg :

Rotational angle in degree, positive indicating anti-clockwise direction

crp :

Returns only central portion output image which is the same size as source if set to 1

imout :

Rotated Image

Description

This function rotate an image to a given angle

Examples

S = imread(fullpath(getIPCVpath() + "/images/puffin.png"));
J = imrotate(S,45);
imshow(S);
figure(); imshow(J);

See also

Authors


Report an issue
<< imresize Spatial Transformations Structural Analysis and Shape Descriptors >>