source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/qtfm/@quaternion/fft2.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 851 bytes
Line 
1function Y = fft2(X)
2% FFT2 Discrete Quaternion Fourier transform.
3% (Quaternion overloading of standard Matlab function, but only one parameter.)
4% (The parameters m and n of the standard function are not yet implemented.)
5%
6% This function implements a default quaternion 2D-FFT.  See the related function
7% QFFT2, which implements transforms with left or right exponentials and a
8% user-specified axis.
9
10% Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan.
11% See the file : Copyright.m for further details.
12
13% Implementation note: keeping QFFT2 separate means that the quaternion-specific
14% parameters (axis and left/right) are kept separate from the Matlab standard
15% parameters (n and m) which might be added here at a later date.
16
17error(nargchk(1, 1, nargin)), error(nargoutchk(0, 1, nargout))
18
19Y = qfft2(X, dft_axis(isreal(X)), 'L');
Note: See TracBrowser for help on using the repository browser.