Professional Documents
Culture Documents
Sheridan
Received August 26, 2004; revised manuscript received November 19, 2004; accepted November 22, 2004
The linear canonical transform (LCT) describes the effect of any quadratic phase system (QPS) on an input
optical wave field. Special cases of the LCT include the fractional Fourier transform (FRT), the Fourier trans-
form (FT), and the Fresnel transform (FST) describing free-space propagation. Currently there are numerous
efficient algorithms used (for purposes of numerical simulation in the area of optical signal processing) to cal-
culate the discrete FT, FRT, and FST. All of these algorithms are based on the use of the fast Fourier transform
(FFT). In this paper we develop theory for the discrete linear canonical transform (DLCT), which is to the LCT
what the discrete Fourier transform (DFT) is to the FT. We then derive the fast linear canonical transform
(FLCT), an N log N algorithm for its numerical implementation by an approach similar to that used in deriving
the FFT from the DFT. Our algorithm is significantly different from the FFT, is based purely on the properties
of the LCT, and can be used for FFT, FRT, and FST calculations and, in the most general case, for the rapid
calculation of the effect of any QPS. © 2005 Optical Society of America
OCIS codes: 080.2730, 100.2000, 070.4560, 200.2610, 200.3050, 200.4560, 200.4740.
冕
implementation of the DFT. This is achieved by using the +⬁
periodicity and shifting properties of the DLCT to exploit
L␣␥共y兲 = ⌰␣␥兵f共x兲其共y兲 = K共x,y兲f共x兲dx, 共3a兲
symmetries in the DLCT matrix, breaking down the origi- −⬁
nal matrix transform into identical transforms of smaller
sizes in the same way that the FFT breaks down the DFT. where the LCT kernel is
To our knowledge the approach and result have never
been presented before. The resulting algorithm is inde- K共x,y兲 = A exp关j共␣x2 − 2xy + ␥y2兲兴. 共3b兲
pendent of the FFT and is based purely on the properties
of the LCT. In this way we derive a single N log N algo- ⌰␣␥ is the LCT operator, and A is a complex constant
rithm that can be used to calculate the FT, the FRT, the that is omitted in the following analysis. The LCT obeys
FST, and, in the most general case, the effect of any QPS. the following shift theorems:
In overview the paper is organized as follows. In Sec-
tion 2 we briefly discuss sampling and present two ⌰␣␥关exp共j2x兲f共x兲兴共y兲 = exp共− j␥2/2兲exp共j2y␥/兲
equivalent expressions representing a sampled function.
In Section 3 we discuss the continuous LCT and its shift- ⫻ ⌰␣␥兵f共x兲其共y − /兲. 共4a兲
ing properties to derive the discrete space LCT (DSLCT),
which is the continuous LCT of a sampled input function. ⌰␣␥关f共x − 兲兴共y兲 = exp关− j2共␣ − ␥␣2/2兲兴
In Section 4 we sample the continuous DSLCT to derive
the DLCT. In Section 5 we use the periodicity and shifting ⫻ exp关j2y共␥␣/
properties of the DLCT to derive the FLCT algorithm. In
− 兲兴⌰␣␥兵f共x兲其共y − ␣/兲. 共4b兲
Section 6 we briefly discuss how to impose the additive
and unitary properties on our algorithm. In Section 7 we
Equation (4a) indicates that if we apply a linear change in
present results produced using a single FLCT algorithm
phase to a signal in the space domain, the LCT of this sig-
to simulate the FT, FRT, FST, and a two-lens QPS. In Sec-
nal is identical to the LCT of the original signal, except
tion 8 we offer a conclusion.
that it has been shifted in the LCT domain by an amount
dependent on the change in phase in the space domain,
and there is the addition of a constant phase and a linear
phase, both dependent on the phase change in the space
domain. Equation (4b) shows the analogous effect of a
2. SAMPLING shift in the space domain.
We define ␦共x兲 as Dirac’s impulse having a value of 1 at We now apply the LCT to the sampled function f T共x兲.
x = 0 and a value of 0 at all other values of x. To obtain a Since we have two equivalent expressions for f T共x兲 in Eq.
sampled version of some continuous signal, we multiply it (2), we can deduce two expressions for its LCT. First we
by a train of such impulse responses: return to Eq. (2b) and apply the LCT to both sides:
930 J. Opt. Soc. Am. A / Vol. 22, No. 5 / May 2005 B. M. Hennelly and J. T. Sheridan
1 +⬁
= exp关j共lT兲2共␣ − ␥␣2/2兲兴
⌰␣␥兵f 共x兲其共y兲 =
T
兺 兵exp关− j共k/T兲 ␥/ 兴
T k=−⬁
2 2
⫻exp关j2ylT共␣␥/ − 兲兴
⫻ exp关j2共k/T兲␥y/兴⌰␣␥兵f共x兲其共y − k/T兲其. +⬁
共5兲
⫻ 兺 f共iT兲exp兵j关␣共iT兲
i=−⬁
2
− 2iT共y
This provides insight into the periodicity of the LCT of the − ␣lT/兲 + ␥共y − ␣lT/兲2兴其. 共7b兲
sampled signal. Provided that the sampling is such that
aliasing does not occur, the magnitude of ⌰␣␥兵fT共x兲其共y兲 is
identical to the magnitude of ⌰␣␥兵f共x兲其共y兲 repeated peri- The above analysis gives the following shift theorem for
odically with period 1 / T. The phase of ⌰␣␥兵fT共x兲其共y兲 is the DSLCT:
equivalent to the phase of ⌰␣␥兵f共x兲其共y兲 repeated periodi-
cally with period 1 / T, but also includes phase factors
(constant and linear) that are different for every period. ⌰␣␥兵f关共n − l兲T兴其共y兲 = exp关− jl2T2共␣ − ␥␣2/2兲兴
Using Eq. (2a), we can also write that
冋兺 册
⫻ exp关j2ylT共␥␣/ − 兲兴⌰␣␥兵f共x兲其
冕
+⬁ +⬁
paper we use the existence of this chirp periodicity to cre- exp共j␥y2兲 兺 f共nT兲exp关j␣共nT兲2兴exp共− j2ynT兲. 共9兲
ate our FLCT algorithm. n=−N/2
4. SHIFT THEOREM OF THE DISCRETE In Eq. (9) y is still continuous. However, only N parts can
SPACE LINEAR CANONICAL TRANSFORM be independent in the y domain since it is composed of N
AND DERIVATION OF THE DISCRETE sample values. This follows from the number of degrees of
LINEAR CANONICAL TRANSFORM freedom. In the case of the DTFT we have periodicity in y
Equation (6) shows how to obtain the DSLCT of a discrete with a period of 1 / T, so we can take our N samples in the
function f T共x兲, which we can also write as f共nT兲. We now y domain over any range 1 / T we wish. In the case of the
obtain the DSLCT of this function if it has been shifted by DSLCT, we must take into account that the DSLCT is not
l samples as periodic in y because of the addition of different phase fac-
tors in each period. For the moment, we continue and
+⬁
choose to take our N samples in the range that is unaf-
⌰␣␥兵f关共n − l兲T兴其共y兲 = exp共j␥y2兲 兺 f关共n − l兲T兴
n=−⬁
fected by the chirp periodic factors,
⫻ exp关j␣共nT兲2兴exp共− j2ynT兲.
1 1 1
共7a兲 − 艋y艋 − 共10兲
2T 2T NT
Setting i = n − l gives
+⬁
N/2−1 +⬁
exp关j␥共mTy兲 兴 2
兺
n=−N/2
f共nT兲exp关j␣共nT兲 兴 2
NT 兺 兵exp关j␥共kNT兲 兴exp关− j2x␥共kNT兲兴f共x − kNT兲其.
k=−⬁
2
冋 冉 冊册 兺
= exp j␥
NT
m 2 N/2−1
n=−N/2
f共nT兲exp关j␣共nT兲2兴
We note that by sampling in the y domain, our original
discrete function f共nT兲 becomes infinitely periodic in the
original x domain with a period of NT in x and also that it
⫻exp − 冉 j2nm
N
冊 , 共11a兲
has different constant factors in each period. Again there
is a chirp periodicity, this time applied to the input func-
tion of the LCT. We note that substituting ␣ = 1 / tan , 
= 1 / sin , and ␥ = 1 / tan , giving the normalized FRT, the
where m takes the values over the range
DLCT is exactly equivalent to the discrete FRT derived in
− N/2 艋 m 艋 N/2 − 1. 共11b兲 Ref. 10 by using the properties of the Fourier transform.
We call relations (11) the DLCT.
We now investigate the effect of sampling in the y do-
main on the input function in the x domain. We recall that
the DSLCT is simply the LCT of a discrete function in the 5. FAST LINEAR CANONICAL TRANSFORM
x domain. We take the LCT as defined in Eq.(3) and AS A MEANS OF CALCULATING THE
sample it at intervals of Ty = 1 / NT. Using the definition DISCRETE LINEAR CANONICAL
in Eq. (2b), we obtain TRANSFORM
1 +⬁ To carry out the derivation of the DLCT from the FLCT,
T
y
L␣␥ 共y兲 =
Ty
L␣␥共y兲 兺
k=−⬁
exp关j2k共1/Ty兲y兴. 共12兲 we must understand the shifting properties of the DSLCT
with discrete variables. These are similar to the proper-
ties given in Eqs. (4) and Eq. (8), except that both the in-
We now apply the inverse LCT to this to return to the x
put and output domains are discrete, and they will be
domain:
used directly in the derivation of the fast algorithm. The
T
⌰−␥−−␣兵L␣␥
y
共y兲其共x兲 first result (Property 1 below) describes the effect of a lin-
再 冎
ear phase added to the discrete input and its effect on the
+⬁
1 discrete output. We find that it produces a shifting of the
= ⌰ −␥−−␣
Ty
L␣␥共y兲 兺
k=−⬁
exp关j2k共1/Ty兲y兴 共x兲. 共13兲 output and the addition of both constant and linear phase
terms. The second result, Property 2, describes the effect
Using the shifting property of the inverse LCT, which is of a linear phase added to the discrete output; it produces
identical to that of the LCT, we find that Eq. (13) is equal both a shift in the input domain and the addition of both
to constant and linear phase.
Property 1
冋 冉 冊册兺
exp j␥
NT
m 2
n=−⬁
⬁
关f共nT兲exp共j2nT兲兴exp关j␣共nT兲2兴exp − 冉 j2nm
N
冊
冋 冉 冊册 冉
= exp − j␥

2
exp
j2␥m
NT 2 冊 冋 冉
exp j␥
m − NT
NT
冊册兺
2
n=−⬁
⬁
Property 2
exp冉 冊 冋 冉 冊册兺
j2m
NT
exp j␥
NT
m 2 ⬁
f共nT兲exp关j␣共nT兲2兴exp − 冉 j2nm
N
冊
再 冋冉 冊 册 冎 冋
n=−⬁
冋 冉 冊册兺 冉
= exp j␥
NT
m 2 ⬁
n=−⬁
f共nT兲exp
j2␣nT

冊 冉
exp −
j␣2
 2 冊 exp j␣ n−
T
T
2
exp −
j2m共n − /T兲
N
册 . 共16兲
These two properties will be used in conjunction with the Various FFT algorithms for determination of the DFT
chirp periodicity of the DLCT to derive the FLCT algo- can be derived by use of time (space) decomposition and
rithm. frequency (spatial frequency) decomposition. In the fol-
932 J. Opt. Soc. Am. A / Vol. 22, No. 5 / May 2005 B. M. Hennelly and J. T. Sheridan
lowing we use a mixture of both types of decompositions f共nT兲, − N/2 艋 n 艋 N/2 − 1, 共23兲
to derive a fast algorithm for determination of the DLCT.
We begin with the equation describing the DLCT, which is split (following from the procedure for FFT fre-
quency decomposition) into
T,N
DL␣␥共mTy兲 = D⌰␣␥ 关f共nT兲兴共mTy兲
冉 冊
a共n兲 = f共nT兲,
N/2−1
j2nm
= 兺
n=−N/2
f共nT兲exp关j␣共nT兲2兴exp −
N b共n兲 = f关共n + N/2兲T兴, N/2 艋 n 艋 − 1. 共24兲
where D⌰␣␥T,N
is the operator notation for the DLCT and m T,N
D⌰␣␥ 兵f共nT兲其共mTy兲 = 兺 n,m
f共nT兲WN,h = 兺 n,m
关a共n兲WN,h
has the range defined in relation (11b). Impose the follow- n=−N/2 n=−N/2
冋 册
n=−N/2
N/2−1
j␣共nh兲2
兺 + N/4兲兴exp共− jm兲WN,h
n,m
T,N
D⌰␣␥ 兵f共nT兲其共mTy兲 = f共nT兲exp 其. 共26兲
n=−N/2 N
冉 冊 冋 冉 冊册
We introduce a new function
j2nm j␥ m 2
⫻exp − exp . c共n兲 = b共n兲0共n兲, 0共n兲 = exp关j␣h2共n + N/4兲兴,
N N h
共27兲
共19兲
and we rewrite the right-hand side of Eq. (26) as
Once again m has the range defined in relation (11b). For −1
ease, we rewrite the kernel in Eq. (19) as
兺 关a共n兲 + c共n兲exp共− jm兲兴WN,h
n,m
共28兲
冋 册 冉 冊 冋 冉 冊册
.
j␣共nh兲 2
j2nm j␥ m 2 n=−N/2
n,m
WN,h = exp exp − exp .
N N N h Taking even and odd m values in expression (28), we get,
respectively,
共20兲
−1
We call this the “LCT twiddle factor,” and in the case of T,N
D⌰␣␥ 关f共nT兲兴共2mTy兲 = 兺 n,2m
关a共n兲 + c共n兲兴WN,h ,
the FT parameters ␣ = ␥ = 0,  = 1 it reduces to the twiddle n=−N/2
兺
冊 冉
T,N n,共2m+1兲
+⬁ D⌰␣␥ 关f共nT兲兴关共2m + 1兲Ty兴 = 关a共n兲 − c共n兲兴WN,h ,
j2nh
兺 f共nT兲exp 冑N n,m n=−N/2
WN,h
n=−⬁ 共29b兲
冋 冉 冊册 冉 冑 冊
= exp − j␥

2
exp
j2␥m
h N 2
where in Eq. (29), m is now over the range −N / 4 艋 m
艋 N / 4 − 1. This concludes the frequency decomposition
part of the algorithm derivation. We now apply time de-
+⬁ composition. Defining four new functions by splitting up
⫻ 兺 f共nT兲W n,共m−h冑N兲
N,h . 共21兲 the input functions in Eqs. (29) into their even and odd
n=−⬁ samples, we define
Property 2 p共n兲 = a共2n兲 + c共2n兲,
+⬁
兺 f共nT兲W
n=−⬁
n,m
N,h exp 冉 冑冊j2m
h N
q共n兲 = a共2n + 1兲 + c共2n + 1兲,
冉 冊兺
= exp j␣
2
2
+⬁
n=−⬁
f共nT兲exp 冉 j2␣nh
冑N  冊 共n−
WN,h
冑N/h兲,m
.
r共n兲 = a共2n兲 − c共2n兲,
−1 −1
T,N
D⌰␣␥ 兵f共nT兲其共2mTy兲 = 兺
n=−N/4
2n,2m
关p共n兲WN,h + 共2n+1兲,2m
q共n兲WN,h 兴, T,N
D⌰␣␥ 兵f共nT兲其共2mTy兲 = 兺
n=−N/4
关p共n兲W共n,m 共n+1/2兲,m
N/4兲,h + q共n兲W共N/4兲,h 兴,
共31a兲 共33a兲
−1
兺
T,N 2n,共2m+1兲 −1
D⌰␣␥ 兵f共nT兲其关共2m + 1兲Ty兴 = 关r共n兲WN,h
n=−N/4
T,N
D⌰␣␥ 兵f共nT兲其关共2m + 1兲Ty兴 = 兺
n=−N/4
共m+1/2兲
关r共n兲W共n,N/4 兲,h
共2n+1兲,共2m+1兲
+ s共n兲WN,h 兴. 共31b兲
+ s共n兲W共共N/4
n+1/2兲,共m+1/2兲
兲,h 兴. 共33b兲
We note that the LCT twiddle factor has the property
2n,2m
WN,h = W共n,m 共32兲 First we deal with the even m samples. Invoking the
N/4兲,h .
Property 2 shift theorem we rid ourselves of the shift
Making use of this property we rewrite Eqs. (31) as present in Eq. (33a) and obtain
T,N
D⌰␣␥ 兵f共nT兲其共2mTy兲 =
−1
兺
n=−N/4
p共n兲W共n,m
N/4兲,h + exp 冉 冊 冉 j␣2
 2
exp −
j2m
h冑N/4
冊兺 −1
n=−N/4
q共n兲exp 冉 j2n␣h
冑N/4
冊 n+1/2−
W共共N/4 兲,h
冑N/4/h兲,m
. 共34兲
We then set = h / 冑N so that the shift disappears. We large as is necessary since we can make use of the chirp
could have arranged for an integer shift, which would be periodicity, so that we need calculate only half of these
equally manageable, since we could ignore the integer samples. Using the discussion in Section 4, we can calcu-
shift and then determine the required output by making late the samples of the two quarter-size DLCTs A and B
use of Eq. (5), which defines the chirp periodicity. This in the range −N / 8 艋 m 艋 N / 8 − 1 directly from Eqs. (36).
would require the rotation of the output by an amount Over the range −N / 4 艋 m 艋 −N / 8 − 1,
equal to the integer involved and use of an appropriate
complex term. This step allows for the derivation of many
different fast algorithms. To proceed we apply this substi-
A共m兲 = A m + 冉 冊 N
4
3共m兲, B共m兲 = B m + 冉 冊 N
4
3共m兲,
冉 冊 冉 冊
tution to Eq. (34), which becomes
冉 冊
−1 jN␥ j2m␥
j␣h2 3共m兲 = exp − 共37兲
兺
T,N exp − ,
D⌰␣␥ 兵f共nT兲其共2mTy兲 = p共n兲W共n,m
N/4兲,h + exp 4h  2 2
 2h 2
n=−N/4 N
冉 冊
and in the range N / 8 艋 m 艋 N / 4 − 1,
j4m
⫻exp −
N A共m兲 = A m − 冉 冊 N
4共m兲, B共m兲 = B m − 冉 冊 N
4共m兲,
冉 冊
−1
4 4
j4␣nh 2
兺
冋 册
⫻ q共n兲exp W共n,m
N/4兲,h
n=−N/4 N j␥共2m − N/4兲
4共m兲 = exp . 共38兲
= A共m兲 + 1共m兲B共m兲, 共35兲 h 2 2
冉 冊 冉 冊
samples of our output function. We recall Eq. (33b) and,
j␣h2 j4m applying Properties 1 and 2, we obtain
1共m兲 = exp exp − ,
N N T,N
D⌰␣␥ 兵f共nT兲其关共2m + 1兲Ty兴
冉 冊
−1 −1
j4␣nh2
2共n兲 = exp
N
, = 兺
n=−N/4
共m+1/2兲
r共n兲W共n,N/4 兲,h + 兺
n=−N/4
s共n兲W共共N/4
n+1/2兲,共m+1/2兲
兲,h 共39兲
A共m兲 = 兺
−1
n=−N/4
p共n兲W共n,m
N/4兲,h , = 兺
n=−N/4
−1
r共n兲exp − 冉 j2qnh
冑N/4 冊 冉冑 冊 exp
j2qnh
N/4
共m+1/2兲
W共n,N/4 兲,h
B共m兲 = 兺
−1
关q共n兲2共n兲兴W共n,m
N/4兲,h . 共36兲
+
−1
兺
n=−N/4
s共n兲exp − 冉 j2qnh
冑N/4 冊
冉冑 冊
n=−N/4
j2qnh
Equation (35) is made up of two quarter-size DLCTs with ⫻exp W共共N/4
n+1/2兲,共m+1/2兲
. 共40兲
兲,h
output ranges over −N / 4 艋 m 艋 N / 4 − 1. This is twice as N/4
934 J. Opt. Soc. Am. A / Vol. 22, No. 5 / May 2005 B. M. Hennelly and J. T. Sheridan
Once again we could choose a value of q to give a more D共m兲 = D共m − N/4兲4共m兲, D共m兲 = D共m − N/4兲4共m兲.
manageable integer shift in the output domain, but we
choose to eliminate the half shift, so we set q = 1 / h冑N;
共46兲
then This completes our derivation of the FLCT algorithm as
T,N a means of calculating the DLCT defined in Eqs. (11). We
D⌰␣␥ 兵f共nT兲其关共2m + 1兲Ty兴
have explicitly presented a method to decompose an
=exp 冉 冊 冉 冊兺
j␥
 2h 2N
exp
j4m␥
h 2 2N
−1
n=−N/4
r共n兲
N-point DLCT into four N / 4-point DLCTs. Computation
directly by Eqs. (11) requires N2 calculations. We note
that this algorithm is radix 4 and that the size of the in-
冉 冊
⫻exp − 冉 冊 冉
j4n
N
W共n,m
N/4兲,h + exp
j␥
 h N
2 2
exp
j4m␥
h 2 2N
冊 put data must be N = 2n. If n is odd, we use the fast algo-
rithm recursively until the DLCT has been broken down
into 2 ⫻ 2 blocks that are then calculated directly by Eq.
冉 冊
−1 (11a) in the same way as the FFT finishes with the FFT
j4n
⫻ 兺
n=−N/4
s共n兲exp −
N
W共共N/4
n+1/2兲,m
兲,h
butterfly.27–29 If n is even, we use the fast algorithm re-
cursively until the DLCT has been broken down into 4
−1 ⫻ 4 blocks that are then calculated directly by Eq. (11a).
= 5共m兲 兺
n=−N/4
r共n兲6共n兲W共n,m
N/4兲,h
We also note that a similar procedure can be applied for
other radix prime numbers squared, e.g., radix 9, where
−1
with each step, the algorithm will break down a large N
⫻ N matrix into nine smaller matrices of dimension
+ 5共m兲 兺
n=−N/4
s共n兲6共n兲W共共N/4
n+1/2兲,m
兲,h , 共41兲
共N / 9 ⫻ N / 9兲. As mentioned earlier in this section, our
method permits the derivation of a large number of fast
where algorithms, each of which uses of the order of N log N cal-
冉 冊 冉 冊
culations with the same efficiency as the FFT, and we
j␥ j4m␥ have outlined the procedure to derive only one of these.
5共m兲 = exp exp ,
 h N
2 2
h 2 2N Substituting ␣ = 1 / tan ,  = 1 / sin , and ␥ = 1 / tan ,
which gives us the normalized FRT, we now have a fast
冋 ␥ 3/  3 1/3
−  3 + ␣ 3␥ 3/  3 ␣ 3/  3
册冋
=
␥ 2/  2 1/2
−  2 + ␣ 2␥ 2/  2 ␣ 2/  2
册 Fig. 1. Magnitude of discrete Fourier transform calculated with
FLCT algorithm setting ␣ = ␥ = 0,  = 1.
⫻ 冋 ␥ 1/  1 1/1
−  1 + ␣ 1␥ 1/  1 ␣ 1/  1
册 .
共47b兲
The relationship is particularly important when simulat-
ing the FRT and FST, and the question arises whether
our algorithm obeys Eq. (46). If the conditions concerning
interpolation and zero padding are met, and if we take ac-
count of the WDF shape at the output of our 共␣1 , 1 , ␥1兲
FLCT and use it as the input WDF shape to the
共␣2 , 2 , ␥2兲 FLCT, then the LCT additive property defined
in Eq. (46) will be met by the FLCT algorithm.9,10
Regarding sampling, we note that the LCT induces de-
formations of the finite area subtending the WDF, re-
ferred to as the support (where the original limits are
given by use of the power criterion), and will thus lead to
a distortion of the initial input rectangular sampled area.
This distortion means that although the signal may be ac-
curately represented by the exact same samples (follow-
ing transformation) the samples will no longer, in general,
occur inside a subtending rectangle in phase space. How-
ever, practical sampling typically involves use of a CCD
camera with a regular periodic pattern of pixels, which is Fig. 2. (a) Magnitude and (b) phase of discrete (normalized)
usually interpreted as corresponding to a regular (rectan- fractional Fourier transform (angle = / 4) calculated with
gular in the one-dimensional signal case) area in phase FLCT algorithm setting ␣ = ␥ = 1 / tan共 / 4兲,  = 1 / sin共 / 4兲.
space. A skewed rectangle (following for example a
Fresnel transformation) in our procedure becomes a sub-
area inside a larger rectangle (unless parts of the original resulting magnitude and phase of the DFT are shown in
subtending area are intentionally neglected). Thus the to- Fig. 1. In this case the FLCT algorithm reduces to a mix-
tal number of samples necessary to ensure capture of all ture of the well-known time and frequency decomposi-
the information input to the system will usually involve a tions, and the algorithm is numerically as efficient as the
change in the sampling. Following the standard proce- standard FFT algorithms.9
dure we assume sufficient regular sampling to ensure Second, we apply the FLCT algorithm to calculate the
that aliasing effects can be assumed negligible. While discrete (normalized) FRT of angle = / 4 of the same
some “oversampling” may occur compared to a situation function. Again we take 512 samples over the range −5 to
in which sufficient knowledge is available to allow a priori +5 and we set ␣ = ␥ = 1 / tan共 / 4兲,  = 1 / sin共 / 4兲 in the
preprocessing of the data,32 in our method no preprocess- FLCT. The magnitude and phase of the resulting discrete
ing or postprocessing of the data is necessary. complex function are shown in Fig. 2. These results have
been verified as being identical to those found using algo-
rithms in the literature for the FRT.10–14
7. NUMERICAL RESULTS Third, the FLCT algorithm is applied to calculate the
The algorithm derived in Section 5 was written in C⫹⫹ discrete FST for = 500 nm and z = 10 mm. The input
code (Fast LCT © Hennelly-Sheridan 2004). In this sec- function used is a rectangular function equal to 1 in the
tion we apply the FLCT to various special cases of the range −0.5 mm to + 0.5 mm and to 0 everywhere else.
LCT as well as a general, arbitrary QPS. We begin by 2048 samples over the range −5 mm to + 5 mm are neces-
implementing the DFT of an input rectangular function6 sary because of the need for interpolating when imple-
that is equal to 1 in the range −1 to +1 and is equal to 0 menting the FST. We set ␣ = ␥ =  = 1 / z in the FLCT. The
everywhere else. We take 512 samples in the range −5 to magnitude and phase of the resulting discrete complex
+5, and we set ␣ = ␥ = 0,  = 1 in the FLCT algorithm. The function are shown in Fig. 3. These results were verified
936 J. Opt. Soc. Am. A / Vol. 22, No. 5 / May 2005 B. M. Hennelly and J. T. Sheridan
8. CONCLUSION
We have discussed the existing algorithms for the nu-
merical implementation (for purposes of numerical simu-
lation in the area of optical signal processing) of the DFT,
FRT, and FST. All of the reported algorithms in the litera-
ture apply the FFT method. We have presented an ex-
pression for the discrete space linear canonical transform
(DSLCT) and the discrete linear canonical transform
(DLCT); the latter is to the LCT what the Discrete Fou-
rier transform (DFT) is to the FT and is based on a direct
Fig. 3. (a) Magnitude and (b) phase of discrete Fresnel trans- discretization of the LCT kernel for any input sampling
form calculated with FLCT algorithm setting ␣ = ␥ =  = 1 / z.
interval. We then presented the fast linear canonical
transform (FLCT), an N log N algorithm for implementa-
tion of the DLCT that uses an approach similar to that
used in deriving the FFT from the DFT. This is achieved
by using the periodicity and shifting properties of the
DLCT to exploit symmetries in the DLCT matrix to break
down the original matrix transform into identical trans-
forms of smaller sizes in the same way as the FFT breaks
down the DFT.
Fig. 4. QPS with two lenses and three sections of free space. The original N2 DLCT matrix transform has been de-
composed into four quarter-size discrete transforms of
identical type in the same way in which the FFT decom-
poses the N2 DFT matrix into two half-size DFT trans-
forms. A new group of fast algorithms that includes fast
fractional Fourier and Fresnel transforms was presented.
These new algorithms are entirely independent of the
FFT, are based purely on the properties of the LCT, and
can be used to directly analyze any QPS. We have dis-
cussed how the algorithm can approximate the continu-
ous LCT most accurately in terms of the LCT additive
property and in terms of output sample space and extent.
Corresponding author John Sheridan may be reached transform calculation through the fast Fourier transform
by telephone at ⫹353-(0)1-716-1927, by fax at ⫹353-(0)1- algorithm,” Appl. Opt. 35, 7013–7018 (1996).
18. F. J. Marinho and L. M. Bernardo, “Numerical calculation
283-0921, by e-mail at John.Sheridan@ucd.ie, and at of fractional Fourier transforms with a single fast Fourier
http://www.ucd.ie/eleceng. transform algorithm,” J. Opt. Soc. Am. A 15, 2111–2116
(1998).
19. D. Mas, J. Garcia, C. Ferreira, L. M. Bernardo, and F.
REFERENCES Marinho, “Fast algorithms for free-space diffraction
1. M. J. Bastians, “Application of the Wigner distribution patterns calculation,” Opt. Commun. 164, 233–245 (1999).
function in optics,” in The Wigner Distribution—Theory and 20. M. Sypek, “Light propagation in the Fresnel region. New
Applications in Signal Processing, W. Mecklenbrauker and numerical approach,” Opt. Commun. 116, 43–48 (1995).
F. Hlawatsch, eds. (Elsevier Science, Amsterdam, 1997). 21. D. Mas, J. Perez, C. Hernandez, C. Vazquez, J. J. Miret,
2. H. M. Ozaktas, Z. Zalevsky, and M. A. Kutay, The and C. Illueca, “Fast numerical calculation of Fresnel
Fractional Fourier Transform with Applications in Optics patterns in convergent systems,” Opt. Commun. 227,
and Signal Processing (Wiley, Hoboken, N.J., 2001). 245–258 (2003).
3. M. J. Bastians, “Wigner distribution function and its 22. D. Mendlovic, Z. Zalevsky, and N. Konforti, “Computation
application to first order optics,” J. Opt. Soc. Am. 69, considerations and fast algorithms for calculating the
1710–1716 (1979). diffraction integral,” J. Mod. Opt. 44, 407–414 (1997).
4. S. Abe and J. T. Sheridan, “Generalization of the fractional 23. W. T. Rhodes, “Light Tubes, Wigner Diagrams and Optical
Fourier transformation to an arbitrary linear lossless Signal Propagation Simulation,” in Optical Information
transformation: an operator approach,” J. Phys. A 27, Processing: A Tribute to Adolf Lohmann, H. J. Caulfield,
4179–4187 (1994); corrigenda, 27, 7937–7938. ed. (SPIE Press, Bellingham, Wash., 2002), pp. 343–356.
5. S. Abe and J. T. Sheridan, “Optical operations on wave 24. W. T. Rhodes, “Numerical simulation of Fresnel-regime
functions as the Abelian subgroups of the special affine wave propagation: the light tube model,” in Wave-Optical
Fourier transformation,” Opt. Lett. 19, 1801–1803 (1994). Systems Engineering, F. Wyrowski, ed., 4436, 21–26 (2001).
6. S. C. Pei and J. J. Ding, “Generalized eigenvectors and 25. Y. Bitran, D. Mendlovic, R. Dorsch, A. Lohmann, and H. M.
Fractionalization of offset DFTs and DCTs,” IEEE Trans. Ozaktas, “Fractional Fourier transform: simulations and
Signal Process. 52, 2032–2046 (2004). experimental results,” Appl. Opt. 34, 1329–1332
7. J. Goodman, Introduction to Fourier Optics, 2nd ed. (1995).
(McGraw-Hill, New York, 1996). 26. C. Candan, M. A. Kutay, and H. M. Ozaktas, “The discrete
8. A. W. Lohmann, R. G. Dorsch, D. Mendlovic, Z. Zalevsky, fractional Fourier transform,” IEEE Trans. Signal Process.
and C. Ferreira, “Space-bandwidth product of optical 48, 1329–1337 (2000).
signals and systems,” J. Opt. Soc. Am. A 13, 470–473 27. B. Mulgrew, P. Grant, and J. Thompson, Digital Signal
(1996). Processing, Concepts and Applications (Macmillan, London,
9. X. Deng, B. Bihari, J. Gang, F. Zhao, and R. T. Chen, “Fast 1999).
algorithm for chirp transforms with zooming-in ability and 28. E. C. Ifeachor and B. W. Jervis, Digital Signal Processing,
its applications,” J. Opt. Soc. Am. A 17, 762–771 (2000). A Practical Approach (Prentice Hall, Upper Saddle River,
10. B. M. Hennelly and J. T. Sheridan, “Generalizing, N.J. 1999).
optimizing, and inventing numerical algorithms for the 29. R. A. Roberts and C. T. Mullis, Digital Signal Processing
fractional Fourier, Fresnel, and linear canonical (Pearson Addison-Wesley, Boston, Mass., 1987).
transforms,” J. Opt. Soc. Am. A 22, 917–927 (2005). 30. E. Wigner, “On the quantum correction for thermodynamic
11. B. M. Hennelly and J. T. Sheridan, “Efficient algorithms for equilibrium,” Phys. Rev. 40, 749–759 (1932).
the linear canonical transform,” in Optical Information 31. R. E. Crochiere and L. R. Rabiner, “Interpolation
Systems II, B. Javidi and D. Psaltis, eds., Proc. SPIE 5557, anddecimation of digital signals—A tutorial review,” Proc.
191–199 (2004). IEEE 69, 300–331 (1981).
12. B. M. Hennelly and J. T. Sheridan, “The fast linear 32. A. Stern and B. Javidi, “Sampling in the light of Wigner
canonical transform,” in Photon Management, F. Wyrowski, distribution,” J. Opt. Soc. Am. A 21, 360–366 (2004);
ed., Proc. SPIE 5456, 71–82 (2004). Errata, 21, 2038 (2004).
13. B. M. Hennelly and J. T. Sheridan, “Image encryption and 33. O. Matoba and B. Javidi, “Encrypted optical memory using
the fractional Fourier transform,” Optik 114, 251–265 multi-dimensional keys,” Opt. Lett. 24, 762–765 (1999).
(2003) . 34. E. Tajahuerce and B. Javidi, “Encrypting three-
14. J. W. Cooley and J. W. Tukey, “An algorithm for the dimensional information with digital holography,” Appl.
machine calculation of complex Fourier series,” Math. Opt. 39, 6595–6601 (2000).
Comput. 19, 297–301 (1965). 35. B. M. Hennelly and J. T. Sheridan, “Fractional Fourier
15. T. Erseghe, P. Kraniauskas, and G. Cariolaro, “Unified transform based image encryption: phase retrieval
fractional Fourier transform and sampling theorem,” IEEE algorithm,” Opt. Commun. 226, 61–80 (2003).
Trans. Signal Process. 47, 3419–3423 (1999). 36. T. J. Naughton, J. B. Mc Donald, and B. Javidi, “Efficient
16. H. M. Ozaktas, O. Arikan, M. A. Kutay, and G. Bozdagi, compression of Fresnel fields for internet transmission of
“Digital computation of the fractional Fourier transform,” three-dimensional images,” Appl. Opt. 42, 4758–4764
IEEE Trans. Signal Process. 44, 2141–2150 (1996). (2003).
17. J. Garcia, D. Mas, and R. G. Dorsch, “Fractional Fourier