M-File Help: irotate View code for irotate

irotate

Rotate image

out = irotate(im, angle, options) is a version of the image im that has been rotated about its centre.

Options

'outsize', S set size of output image to HxW where S=[W,H]
'crop' return central part of image, same size as IM
'scale', S scale the image size by S (default 1)
'extrapval', V set background pixels to V (default 0)
'smooth', S initially smooth the image with a Gaussian of standard deviation S

Notes

See also

iscale


 

© 1990-2012 Peter Corke.