thesis ...
"Phase-Only Optical Information Processing"
University of Edinburgh, Duncansapien, 1992.
Index Chapter 1 2 3 4 5 6 7 8 9 (Edinburgh Research Archive version)
Appendix D: Computational Intensity
A comparison between the Bessel function method of spectrum calculation with a simpler method is made in this appendix. Recall the expression for the phase object spectrum is given as
|
| (2) |
DO 100 m1=-P,+P
DO 90 m2= -P,+P
DO 80 m3= -P,+P
g = m11 + m22 + m33
CONTINUE
CONTINUE
CONTINUE
so that the number of mk cycled through is (2P+1)N if there
are N object spatial frequencies each requiring one loop.
Once the specific frequency g has been found, the partial
sum, `s' to be added to the complex amplitude is
| (3) |
| (4) |
|
| (7) |
Bessel Method
Consider the Bessel function approach. This is not a search-based algorithm so at once reduces the physical size of the program. Figure 4.1 shows one step in the convolution of the unit comb with an N-comb. In this case, the unit comb actually belongs to the first Fourier coefficient a1 so the d-function amplitudes are described by the appropriate Bessel function.
Figure D.1: First Convolution Stage showing Furthest Frequency Reached
If the maximum value of a1 is such that Jk(a1) @ 0 for k ³ 7 as in the figure, it is only necessary to centre the N-comb on the -6 to +6 order d-functions of the unit comb to obtain an accurate spectrum. The variable gmax determines the highest significant frequency location beyond which the d-function amplitudes are negligible, so gmax=6 for the first comb, for example.
It is necessary to determine gmax at each stage of the convolution so that
- only convolutions producing a significant contribution to the complex amplitude of the new unit comb are carried out and
- a comparison may be made with the simple method described above
| Convolution Stage `n' | gmax |
| 1 | 6 |
| 2 | gmax(1)+(6×2) = 6+(6×2) |
| 3 | gmax(2)+(6×3) = 6+(6×2)+(6×3) |
The table shows the relation between
convolution stage (which comb is now being convolved) and highest
significant frequency that results to be
| (8) |
For each of the frequencies within the range [-gmax,+gmax] of the new unit comb, the complex amplitude must now be found. The observation frequency g takes on each frequency of this range and, recalling the equations for the correct summation indices m1 and mN it will be seen that mN must range from -6 to +6, or -P to +P using the previously introduced terminology. Thus thirteen products (2P+1) of Bessel functions are made . If the complex amplitude is stored in form a+ib, there are four multiplications to be made per JnJm multiplication as previously illustrated. The total number of multiplications involved in finding the spectrum is found by
| Summation over combs to be convolved | ån=1N |
| × No. of d-functions in comb | 2[ 6åi=1ni ]+1 |
| × number of multiplications per d-function. | 4×2P |


