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

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

Added original make3d

File size: 957 bytes
Line 
1function Y = iqdft2(X, A, L)
2% IQDFT2 Inverse discrete quaternion 2D Fourier transform.
3%
4% This function computes the inverse discrete quaternion Fourier transform
5% of X. See the function qdft2.m for details. Because this is an inverse
6% transform it divides rows and columns of the result by their lengths.
7
8% Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan.
9% See the file : Copyright.m for further details.
10
11error(nargchk(3, 3, nargin)), error(nargoutchk(0, 1, nargout))
12
13% We omit any check on the A and L parameters here, because they will be
14% checked by the qdft code called by iqdft.
15
16% Compute the transform. This is done by row/column separation, that is we
17% compute the QDFT of the rows, then the QDFT of the columns. This is
18% faster than a direct implementation, and easier, because the direct
19% implementation would require a block matrix for the exponentials, which
20% Matlab cannot support.
21
22Y = iqdft(iqdft(X, A, L).', A, L).';
Note: See TracBrowser for help on using the repository browser.