% -*- texinfo -*- % @deftypefn {Function File} {} imrotate(@var{M}, @var{theta}, @var{method}, @var{bbox}) % Rotation of a 2D matrix. % % Applies a rotation of @var{THETA} degrees to matrix @var{M}. % % The @var{method} argument is not implemented, and is only included for compatibility with Matlab. % This function uses Fourier interpolation, % decomposing the rotation matrix into 3 shears. % % @var{bbox} can be either 'loose' or 'crop'. % 'loose' allows the image to grow to accomodate the rotated image. % 'crop' keeps the same size as the original, clipping any part of the image % that is moved outside the bounding box. % @end deftypefn