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

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

Added original make3d

File size: 844 bytes
Line 
1function Y = iqdft(X, A, L)
2% IQDFT Inverse discrete quaternion Fourier transform.
3%
4% This function computes the inverse discrete quaternion Fourier transform
5% of X. See the function qdft.m for details. Because this is an inverse
6% transform it divides (columns of) the result by N, the length of the
7% transform.
8
9% Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan.
10% See the file : Copyright.m for further details.
11
12error(nargchk(3, 3, nargin)), error(nargoutchk(0, 1, nargout))
13
14% We omit any check on the A and L parameters here, because the qdft
15% function does this and there is no need to duplicate it here. In the
16% unlikely event that -A has no meaning, an error will arise here.
17
18[N,M] = size(X);
19
20% We can compute the inverse transform by using the forward transform code
21% with a negated axis.
22
23Y = qdft(X, -A, L) ./ N;
Note: See TracBrowser for help on using the repository browser.