Home > freetb4matlab > image > imrotate_Fourier.m

imrotate_Fourier

PURPOSE ^

% Rotation of a 2D matrix.

SYNOPSIS ^

function fs = imrotate_Fourier(f, theta, method='fourier', bbox='loose')

DESCRIPTION ^

% -*- 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003