Ординатура / Офтальмология / Английские материалы / Optics Learning by Computing with Examples using MATLAB_Dieter Moller_2007
.pdf
392 |
10. IMAGING USING WAVE THEORY |
Unnormalized
Application 10.6.
1.Change the distance between the two object bars and study the resolution. If the distance is too small, the image is just one peak.
2.Change the calculation and apply the spread function to the total image over a large range of integration. The image is now closer to the object.
10.4.5 Transfer Function
10.4.5.1 Transfer Function and Fourier Transformation
The spread function is used in the coordinate space of the image to calculate how the object appears on the observation screen (image coordinates). If the lens did not alter the object we would observe a perfect image of the object. The image was obtained by convolution of the object function Iob(Y ) with the spread function S(Y − Y ), both using image space coordinates
Iim(Y ) Iob(Y )S(Y − Y )dY . |
(10.32) |
From the convolution theorem we know that the integral in Eq. (10.32) expresses the Fourier transform of the product of the Fourier transform of Iob(Y ) and the Fourier transform of S(Y ). If we call these Fourier transforms
ω(µ) |
Iob(Y )e−i2πµY dY |
(10.33) |
|
and |
|
|
|
τ (µ) |
|
S(Y )e−i2πµY dY , |
(10.34) |
|
|
|
|
one may write Eq. (10.32) as |
|
||
Iim(Y ) C ω(µ)τ (µ)ei2πµY dµ, |
(10.35) |
||
10.4. IMAGE FORMATION USING INCOHERENT LIGHT |
393 |
where C contains all constants.
The Fourier transform of S(Y ), which is τ (µ), is called the (unnormalized) transfer function. Equation (10.35) tells us that the Fourier transform of Iim(Y ), which we call φim(µ), is equal to the product of the Fourier transforms ω(µ)τ (µ),
which is |
|
φim ω(µ)τ (µ). |
(10.36) |
For the coordinates we have 1/Y µ, where µ may be interpreted as the spatial frequency in the frequency domain. The transfer function operates in the spatial frequency domain.
In FileFig 10.7 we calculate the Fourier transform of an object, which is a rectangular pulse, and the Fourier transform of a spread function for a cylindrical lens (transfer function). Then we multiply the Fourier transform of the object with the transfer function and perform the Fourier transformation of the product. The resulting image should look like a rectangular pulse.
FileFig 10.7 (W7PUTRAS)
Demonstration of the use of a transfer function. Object is a pulse and calculation of its Fourier transformation. Spread function and calculation of its Fourier transformation. Product of both Fourier transformations and their Fourier transformation (inverse). The resulting image of these operations looks like the object.
W7PUTRAS is only on the CD.
10.4.5.2 Examples
Fourier Transform of (sin x/x)2 as Transfer Function
We take as an object a grid presented as a series of square pulses (FileFig 10.8) and calculate and perform the Fourier transformation ωob(µ). The spread function for a cylindrical lens is (Eq. (10.27)),
S(X) 4a2{sin(πX/λf #)/(πX/λf #)}2, |
(10.37) |
where we use f # f/2a, for X (the space coordinate) i/255, and i is the running number of the Fourier transformation from 1 to 256 (0-255). We have to use here i/255 in the frequency domain since we used i in the space domain. The Fourier transform of S(X) is τ (µ). The product of φ(µ) ωob(µ)τ (µ) is shown in FileFig 10.8, and the Fourier transform (inverse) of φ(µ) is the final image. In FileFig 10.8 we have used the complex Fourier transform of 256 points for the object and its mirror image. We should remember that the longest wavelength of the spatial waves is 128, and the corresponding smallest frequency 1/128. We
396 |
10. IMAGING USING WAVE THEORY |
1. Determination of Rayleigh distance for two round apertures
a ≡ .05 |
X ≡ 4000 |
|
|
|
|
|
R : 0, 1 . . . 50 |
|
|
|
|
|
|
|
|||||
|
|
2 |
· |
π |
· |
a |
· |
R |
2 |
|
|
2 |
· |
π |
· |
a |
· |
R−d |
2 |
g1(R) : |
|
|
gg1(R) : |
|
|
||||||||||||||
|
J 1 |
|
|
X·λ |
|
|
J 1 |
|
|
X·λ |
|
||||||||
|
2 |
· |
π |
· |
a |
· |
R |
|
|
2 |
· |
π |
· |
a |
· |
R−d |
|
||
|
|
|
|
|
X·λ |
|
|
|
|
|
|
X·λ |
|
||||||
2. 3-D Graph of pattern of two round apertures at distance d |
|
|
|
|
|
||||||||||||||
|
|
|
|
|
|
|
i : 0 . . . N |
j : 0 . . . N |
|
|
|
|
|
|
|
|
|
||
xi : (−40) + 2.000 · i yj : (−40) + 20001 · j |
λ ≡ .0005 |
|
|||||||||||||||||
|
|
|
N ≡ 60 |
X : 4000 |
|
|
|
||||||||||||
|
RR(x, y) : (x)2 + (y)2 |
|
|
|
|||||||||||||||
|
2 |
· |
π |
· |
a |
· |
RR(x,y) |
2 |
|
|
2 |
· |
π |
· |
a |
· |
RR(x,y−d) |
2 |
|
|
|
|
|
|
|||||||||||||||
g2(x, y) : J 1 |
|
|
|
X·λ |
|
gg2(x, y) : |
J 1 |
|
|
|
X·λ |
|
|||||||
2 |
· |
π |
· |
a |
· |
RR(x,y) |
|
2 |
· |
π |
· |
a |
· |
RR(x,y−d) |
|
||||
|
|
|
|
X·λ |
|
|
|
|
|
|
X·λ |
|
|||||||
10.4. IMAGE FORMATION USING INCOHERENT LIGHT |
397 |
|
Mi,j : g2(xi , yj ) + gg2(xi , yj ) |
d ≡ 24.5. |
|
FileFig 10.11 (W11TWOROJ1S)
Resolution. Two round objects at diameter 0.0005 and center-to-center distance of 0.0061. The convolution with the spread function (J 1(y)/y)2 results in a resolved image.
W11TWOROJ1S
Imaging: Two Round Apertures as Objects
At Rayleigh distance, round lens, and Y used for R.
Object
Y : −.01, −.0099 . . . 02 |
|
λ : .0005 |
|
for choice of f# f/2a |
||||||
T ol : |
|
.1 k : |
|
|
2 · π |
f : |
|
500 a : |
|
25 |
|
λ |
|||||||||
|
|
|
|
|
|
|||||
I o1(Y ) : ( (b2 − Y ) − (b1 − Y )) |
I o2(Y ) : ( (b4 − Y ) − (b3 − Y )) |
|||||||||
I o(Y ) : I o1(Y )I o2(Y ).
400 |
10. IMAGING USING WAVE THEORY |
We use for s(Y ) the Bessel function similar to Eq. (10.38). The intensity of the image is obtained by squaring the result of the integration (note that s(Y − Y ) contains phase information).
The distance of the two peaks in the final image of the two objects for the coherent case is at a center-to-center distance of 0.0082. This is larger than for the incoherent case. The final image is shown for the same distance as used for the incoherent case, and one observes that the two peaks are not resolved. Since the distance used in the coherent case is larger than the one for the incoherent case, for a comparable set of parameters, we have the result: Better resolution is obtained by using incoherent light.
FileFig 10.12 (W12TWOROCOHS)
Two round objects of diameter 0.0005 and center-to-center distance of 0.0061, as used for the incoherent case. The convolution with the spread function, (J 1(y)/y), results in an image of one peak, not resolved. For larger center- to-center distance, 0.0082, the peaks are resolved.
W12TWOROCOHS
Imaging with Coherent Light
Two round apertures at Rayleigh distance, round lens, and Y used for R .
Y : −.01, −.0099 . . . 02 |
|
|
λ : .0005 |
|
f/10 f/2a |
|||||||||||||||||
T o1 : |
|
.1 |
|
k : |
|
2 · π |
|
|
|
f : |
|
500 a : |
|
25. |
||||||||
|
|
|
|
|
|
|||||||||||||||||
|
|
|
|
|
|
λ |
|
|
|
|
|
|
|
|
|
|
|
|
||||
Object Amplitudes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
iob(1) : ( (b2 − Y ) − (b1 − Y )) |
|
|
iob2(Y ) : ( (b4 − Y ) − (b3 − Y )) |
|||||||||||||||||||
iob(Y ) : iob1(Y ) + iob2(Y ). |
|
|
|
|
||||||||||||||||||
Image |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
b2 |
|
|
|
|
|
J 1 |
|
|
k·a·(Y −Y Y ) |
|
|
|
|
|||||||
lim(Y ) : |
|
|
4 · a2 · |
|
|
|
|
|
|
|
f |
|
|
|
|
dY Y |
|
|||||
|
b1 |
|
|
k |
· |
a |
(Y −Y Y ) |
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
f |
|
|
|
|
|
|
|
2 |
||
|
|
|
|
|
|
|
|
|
J 1 |
|
k·a·(Y −Y Y ) |
|
|
|
||||||||
|
|
|
b4 |
|
|
|
|
|
|
|
|
|
||||||||||
|
|
+ |
|
4 · a2 |
· |
|
|
|
|
|
|
|
f |
|
|
|
dY Y . |
|||||
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
b3 |
|
|
k |
· |
a |
· |
(Y −Y Y ) |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
f |
|
|
|
|
|||
Integration limits |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
b1 ≡ −.00025 |
b2 ≡ +.00025 |
|
|
b3 ≡ +.00585 |
b4 ≡ +.00635. |
|||||||||||||||||
10.5. IMAGE FORMATION WITH COHERENT LIGHT |
401 |
b4 − b3 + b3 6.1 · 10−3. 2
Resolution is obtained for b3 .00795, b4 .00845.
Application 10.12. Introduce the center-to-center distance of 0.0082 between the two objects, b3 0.00795 and b4 0.00845 and show that the two objects appear resolved.
10.5.3 Transfer Function
We proceed much as we did in the incoherent case and call
ω(µ) |
|
iob(Y )e−i2πµY dY |
(10.46) |
|
|
|
and |
|
|
|
|
τ (µ) |
|
s(Y )e−i2πµY dY |
, |
(10.47) |
˜ |
|
|
|
where τ˜(µ) is the transfer function in the coherent case. The difference in Eq. (10.47) with respect to Eq. (10.34) is that s(Y ) is an amplitude function that carries phase information. The image is obtained by a Fourier transformation, similar to Eq. (10.35) for the incoherent case. To obtain the description of the intensity of the image, the result has to be squared. We have for the coherent case
Iim(Y ) |C ω(µ)τ˜(µ)ei2πµY dµ|2. |
(10.48) |
We call φim(µ) the Fourier transformation of Iim(Y ) and get |
|
Iim(Y ) {FT of the product of the FT of Iob and FT ofs}2. |
(10.49) |
In the frequency domain we have, similar to Eq. (10.36), |
|
φim(µ) {ω(µ)τ˜(µ)}. |
(10.50) |
Comparing (10.50) with (10.36) one sees that a symmetric blocking function that does not carry phase information has the same effect of eliminating certain spatial frequencies for the incoherent and coherent cases.
