Expand this Topic clickable element to expand a topic
Skip to content
Optica Publishing Group

Complex Spatial Filtering with Binary Masks

Open Access Open Access

Abstract

Usually a hologram is produced by means of an interference experiment. Here, however, we let a computer-guided plotter draw the hologram. The plot, which has to be minified and recorded on film, contains no grey, only binary transmittance values. Our binary holograms yield reconstructed images of a quality equal to that of images obtained from usual holograms of comparable dimensions. When a Fourier hologram is inserted into the Fraunhofer plane of a coherent image forming system, it acts as a special type of a spatial filter, a so-called optical matched filter. Our binary matched filter is suitable for optical character recognition, the same as the usual optical matched filter introduced by Vander Lugt.

© 1966 Optical Society of America

Spatial filtering was done almost one hundred years ago by Ernst Abbe[1] when he performed his famous experiments in support of his Fourier theory of coherent image formation. Recently, a special type of a spatial filter, the so-called matched filter, has been used for character recognition and signal detection.[2] From the wave-optical point of view, these matched filters are not really different from formerly investigated spatial filters[3]; but they are, in general, much more difficult to produce since the complex filter function might vary widely both in amplitude and in phase. We intend to present some easy ways to produce such complex spatial filters. The explanation is presented in intuitive optical terms, leaving a more rigorous treatment for a later date. Some experiments, including Fraunhofer holography and character recognition, are presented in order to confirm the theoretical model. The objects, which are indirectly contained in our holograms or matched filters, do not have to exist physically.

An unusual, but fruitful, way of entering the field of matched spatial filtering is this: it is our task to find a diffraction object that yields a predefined Fraunhofer diffraction pattern. This task is the same as finding a Fraunhofer hologram for a predefined image. But our task is the opposite from the usual diffraction problem, where the diffraction object is given and one wants to find out what the diffraction pattern will look like. Our task is illustrated in Fig. 1. The unknown diffraction object that we will call the filter F(νx,νy), is illuminated by a monochromatic plane wave, coming from a point source in plane O. The resulting Fraunhofer diffraction pattern u(x,y) will appear in plane I. Knowing that the effect of Fraunhofer diffraction on the complex light amplitudes is described by a Fourier transformation, we can calculate the filter F from the prescribed diffraction pattern u:

F(νx,νy)=u(x,y)e-2πi(xνx+yνy)dxdy.

The reduced coordinates (νx, νy) and the genuine coordinates (xf,yf) in plane F are connected according to xf = λx, yf = λy.

From the theoretical point of view, our task is completed. Next, we have to find a way of implementing the complex amplitude F(νx, νy) = A(νx, νy)e(νx,νy). The amplitude factor A(νx, νy) can be realized by a photographic plate of proper transmittance distribution. However, we want to avoid the somewhat difficult problem of grey-tone control. Therefore, we replace the continuous amplitude factor by an array of tiny dots, much as halftone simulation is done in the printing industry. A quantitative description of proper shapes and positions of these dots is given after we devise a way for implementing the phase α (νx, νy).

There are three possibilities to influence the phase of a light wave: retardation while traveling through a dielectric, phase jump at reflection, and detour phase. The detour phase is best described by referring to the elementary explanation of grating diffraction. Two rays leaving two adjacent grating slits and going into the first diffraction order have a path difference of one wavelength. Their detour phase is 2π. If some of the grating slits are not at their perfect positions, as in Fig. 2, the diffracted wave front will be deformed. This is undesirable for an ordinary diffraction grating, but for us it will be a convenient and achromatic way to implement the phase α(νx, νy) of our diffraction object or filter in the form of a detour phase. Although the term is new, the detour phase has been used previously for grating spectroscopy by Hauk et al.,[4] for holography by Leith and Upatnieks[5] and in the earlier work on matched spatial filters.[2]

Now we synthesize the complex filter function F(νx, νy) which we assume to be continuous. In sufficiently small cells of a size (Δν)2, the function F will be almost constant: F(νx, νy) ≈ F(nΔν,mΔν) = Fnm = Anmeiαnm, where |νxnΔν| ≤Δν/2, and |νymΔν| ≤ Δν/2, and n,m = 0, ±1, ±2, …. These cells may be so small that their microstructure is unimportant. All that matters is that from this cell a complex light amplitude Fnm will emerge in total. If, for example, the cell (n,m) consists of a vertical slit, as in Fig. 3(a), and if this cell is illuminated by a tilted plane wave e−2πix0νx coming from the point (x0,O) in the plane O (Fig. 1), the emerging complex amplitude will be

(m+τ)Δν(m+12)Δνdνy(n+p-W/2)Δν(n+p+W/2)Δνe-2πix0νxdνx=Δν/πx0sin(πx0WΔν)e-2πix0(n+p)Δν.

This we want to be equal to F = Ae. Hence, A = (Δν/πx0) sin(πx0WΔν); α = −2πx0(n + pν. A, α, W, and p all have indices (n,m) referring to that cell. It is convenient to choose x0 so that a phase α = 0 (mod 2π) can be achieved by p = 0 which means the slit is at the center of the cell for α = 0. This is obtained by x0Δν = N (integer); A = ((Δν)2/πN) sin(πNW); α = −2πNp. This result tells us how we can indirectly realize a complex filter function F(νx,νy) by means of an array of many little parallel slits of proper width and proper position. If the shape of the cells had been as in Fig. 3(b) and 3(c), the result for the phase would be again α = −2πNp, but differently for the amplitudes:

A=[(Δν)2/πN]2sin(πNc)cos(πNW)[toFig.3(b)]A=[(Δν)2/πN]Wsin(πNc)[toFig.3(c)].

Now we verify the validity of our intuitive arguments by showing some experiments. In Fig. 4(a), an actual filter of the type in Fig. 3(a) is shown. It was calculated in order to get the capital letter E as a diffraction pattern (see Fig. 5). In other words, F(νx, νy) is the Fourier transform of the pattern E. The cell width Δν can be interpreted as an averaged grating constant λfΔ measured in the actual coordinate xf = λx of plane F. In order to avoid overlap of adjacent grating diffraction orders in plane I, their shift 1/Δν should exceed the size Δx of the diffraction pattern E, which means that ΔνΔx ≤ 1. This requirement is intimately related to the requirement that F should be almost constant within each (Δν) cell. The proof, which employs Cauchy’s 125-year-old sampling theorem,[6] is beyond the scope of this paper. The actual production of the filter or hologram was done first at large scale, and then photographically reduced. In one case [Fig. 4(a)] the drawing was made by hand; in another case [Fig. 4(b)] by a computer-guided plotter. Because of the binary nature of our filters, no precautions were necessary against the dielectrical phase owing to the gelatine profile of the photographic film.

Finally, we show a character recognition experiment with the same filter [Fig. 3(a) ] that had been used for producing Fig. 5. Now we replace the single light point in O by an array of nine different capital letters, one among them being the E. As shown in Fig. 6, the zeroth diffraction order is simply an image of these letters. The first diffraction order consists of nine more- or less-pronounced light points at positions corresponding to the nine letters. The most intense light point tells us about the position of the letter E at which our matched filter is aimed. The next highest intensity owing to the B goes up to 81%.

We would like to acknowledge stimulating discussions with A. Kozma, Ann Arbor, about his earlier work on binary matched filtering.[2]

Figures

 figure: Fig. 1

Fig. 1 Fraunhofer diffraction with the complex filter F as diffraction object and μ as diffraction pattern. This setup can serve also for the readout of the Fraunhofer hologram F, yielding a reconstructed image μ.

Download Full Size | PDF

 figure: Fig. 2

Fig. 2 The detour phase. The two lower grating slits are slightly out of position. Therefore, the complex amplitudes in these slits lag behind in phase, causing a deformation of the wave front.

Download Full Size | PDF

 figure: Fig. 3

Fig. 3 Three ways for constructing the cell (n,m). The parameters W and p that control amplitude and phase of the light emerging from this cell carry indices (n,m). The slit width c is a constant. Cases b and c are particularly suitable for automatic plotting.

Download Full Size | PDF

 figure: Fig. 4

Fig. 4 Two matched filters or Fraunhofer holograms for E: (a) according to Fig. 3(a); (b) according to Fig. 3(b).

Download Full Size | PDF

 figure: Fig. 5

Fig. 5 Filter output or image reconstruction from filter in Fig. 4(a).

Download Full Size | PDF

 figure: Fig. 6

Fig. 6 Character recognition by matched filtering with nine input letters and E filter from Fig. 4(a). The B–E correlation was measured to be 81% of the E–E autocorrelation.

Download Full Size | PDF

References

1. O. Lummer and F. Reiche, Die Lehre von der Bildentstehung im Mikroskop (von Ernst Abbe, Braunschweig1910); A. B. Porter, Phil. Mag. 11, 154 (1906); M. Wolfke, Ann. Physik 34, 277 (1911); [CrossRef]  Ann. Physik37, 96; Ann. Physik38, 385; Ann. Physik 39, 569 (1912); Ann. Physik 40, 194 (1913).

2. A. Vander Lugt, Proc. IEEE IT-10, 139 (1964): A. Kozma and D. L. Kelly, Appl. Opt. 4, 387 (1965): [CrossRef]  A. Vander Lugt, F. B. Rotz, and A. Klooster, in Optical and Electro-Optical Information Processing, J. T. Tippett, D. A. Berkowitz, L. C. Clapp, C. J. Koester, and A. Vanderburgh, Eds. (MIT Press, Cambridge, Mass., 1965), p. 125: E. N. Leith, A. Kozma, and J. Upatneiks, in Optical and Electro-Optical Information Processing, J. T. Tippett, D. A. Berkowitz, L. C. Clapp, C. J. Koester, and A. Vanderburgh, Eds. (MIT Press, Cambridge, Mass., 1965), p. 143.

3. A. Marechal and P. Croce, Compt. Rend. Acad. Sci. (Paris) 237, 607 (1953); E. L. O’Neill, Proc. Inst. Radio Engrs. IT-2, 56 (1956); and J. Tsujiuchi, in Progress in Optics, E. Wolf, Ed., Vol. 2, p. 133 (1963) [CrossRef]  .

4. D. Hauk and A. Lohmann, Optik 15, 275 (1958).

5. E. N. Leith and J. Upatnieks, J. Opt. Soc. Am. 52, 1123 (1962); [CrossRef]  J. Opt. Soc. Am. 53, 1377 (1963); J. Opt. Soc. Am. 54, 1295 (1964).

6. H. S. Black, Modulation Theory (D. Van Nostrand Co., Inc., New York, 1953).

Cited By

Optica participates in Crossref's Cited-By Linking service. Citing articles from Optica Publishing Group journals and other participating publishers are listed here.

Alert me when this article is cited.


Figures (6)

Fig. 1
Fig. 1 Fraunhofer diffraction with the complex filter F as diffraction object and μ as diffraction pattern. This setup can serve also for the readout of the Fraunhofer hologram F, yielding a reconstructed image μ.
Fig. 2
Fig. 2 The detour phase. The two lower grating slits are slightly out of position. Therefore, the complex amplitudes in these slits lag behind in phase, causing a deformation of the wave front.
Fig. 3
Fig. 3 Three ways for constructing the cell (n,m). The parameters W and p that control amplitude and phase of the light emerging from this cell carry indices (n,m). The slit width c is a constant. Cases b and c are particularly suitable for automatic plotting.
Fig. 4
Fig. 4 Two matched filters or Fraunhofer holograms for E: (a) according to Fig. 3(a); (b) according to Fig. 3(b).
Fig. 5
Fig. 5 Filter output or image reconstruction from filter in Fig. 4(a).
Fig. 6
Fig. 6 Character recognition by matched filtering with nine input letters and E filter from Fig. 4(a). The B–E correlation was measured to be 81% of the E–E autocorrelation.

Equations (3)

Equations on this page are rendered with MathJax. Learn more.

F ( ν x , ν y ) = u ( x , y ) e - 2 π i ( x ν x + y ν y ) d x d y .
( m + τ ) Δ ν ( m + 1 2 ) Δ ν d ν y ( n + p - W / 2 ) Δ ν ( n + p + W / 2 ) Δ ν e - 2 π i x 0 ν x d ν x = Δ ν / π x 0 sin ( π x 0 W Δ ν ) e - 2 π i x 0 ( n + p ) Δ ν .
A = [ ( Δ ν ) 2 / π N ] 2 sin ( π N c ) cos ( π N W ) [ to Fig . 3 ( b ) ] A = [ ( Δ ν ) 2 / π N ] W sin ( π N c ) [ to Fig . 3 ( c ) ] .
Select as filters


Select Topics Cancel
© Copyright 2024 | Optica Publishing Group. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies.