Open access peer-reviewed chapter

# Digital Processing Techniques for Fringe Analysis

Written By

Jesús Muñoz Maciel, Francisco Javier Casillas Rodríguez, Miguel Mora González, Francisco Gerardo Peña Lecona and Víctor Manuel Duran Ramírez

Submitted: June 14th, 2016 Reviewed: October 21st, 2016 Published: February 15th, 2017

DOI: 10.5772/66474

From the Edited Volume

## Optical Interferometry

Edited by Alexander A. Banishev, Mithun Bhowmick and Jue Wang

Chapter metrics overview

View Full Metrics

## Abstract

Digital image processing techniques are needed in order to recover the object information encoded in fringe patterns generated in a determined interferometric setup. Main fringe analysis techniques are reviewed in order to give the reader the most fundamental insights for the interpretation of interferograms. Phase shifted, open fringe, lateral shear and other types of interferograms make use of specific procedures to correctly retrieving the searched phase. Here, algorithms are described and tested in numerical simulations and real data.

### Keywords

• fringe analysis
• phase recovery
• phase unwrapping

## 1. Introduction

Interferometric techniques are widely used for measuring a wide range of physical variables including refraction index, deformations, temperature gradients, etc. Typically, an interferometer is used to generate one or several interferometric fringe patterns that contain the information of the physical variable that is being measured. Those images must be interpreted in order to recover the parameters that are encoded in the fringe patterns generated by the interferometric setup. Thus, fringe analysis methods deal with the problem of a three-dimensional reconstruction (the object information) from a two-dimensional intensity patterns (interferograms) acquired by a CCD camera. Digital interferometry became extensively used since the development of lasers and CCD devices. In those years, however, the resulting interferograms had to be interpreted visually, and only qualitative results were often achieved. Visual interpretation of an interferogram with only straight or circular fringes is not difficult, but things become more complicated for a fringe pattern that combines several regions with circular, straight and crossed fringes of varying density. Rapidly, it was recognized the need of automatic methods for fringe analysis. The first great advance arises with the development of the phase-shifting techniques. With those procedures, a set of interferograms is acquired with a phase shift among them. The phase shifts are usually introduced by a piezoelectric transducer moving the reference mirror in such way that the phase difference between two consecutive interferograms is a constant term. With phase-shifting techniques, it is possible to isolate the sine and cosine of the phase allowing the calculation of the wrapped phase distribution and consequently the continuous phase with an unwrapping algorithm. Another great success came with the method proposed by Takeda (also referred as the Fourier method) performing a band-pass filtering in the Fourier domain. The method of Takeda works only with interferograms that contain open fringes (patterns that consist in nearly straight fringes). In order to generate such interferograms, the reference beam (e.g., in a two arm interferometer) is tilted introducing a large carrier function to the phase. The Fourier transform of these interferograms is composed of three lobules, one at the center that corresponds to the background term and two lobules located symmetrically respect to the origin. One of this lobules and the one that is located at the origin are filtered out. The remaining spectrum is transformed back to the spatial domain from which the so-called wrapped phase can be calculated. A final step is to apply a phase unwrapping technique to recover the continuous phase. Interferometric measurements and fringe analysis techniques are a growing and fast-changing field of research. Through this chapter, we will review the most known procedures.

## 2. Interferogram acquisition

The wave nature of light can be studied theoretically by a homogeneous partial differential equation of second order, which satisfies the superposition principle:

U ( x , y , z , t ) = 1 c 2 U ( x , y , z , t ) t . E1

If two waves of the same frequency are superimposed on a point in space, they excite oscillations in the same direction:

U 1 ( t ) = A 1 cos ( ω t + φ 1 )  , E2

and

U 2 ( t ) = A 2 cos ( ω t + φ 2 ) . E3

In the preceding equations and the subsequent ones in this section, we will drop the spatial dependence for displaying purposes. The amplitude of the resulting oscillation at that point is determined by the equation:

A 2 = A 1 2 + A 2 2 + 2 A 1 A 2 cos ( δ ) , E4

where

δ = φ 1 φ 2 . E5

If the phase difference, δ, of the oscillations excited by waves remains constant with time, these waves are coherent. In the case of noncoherent waves, δ varies continuosly, taking any values with equal probability, so the average value of cos(δ) is zero. Therefore,

A 2 = A 1 2 + A 2 2 . E6

So, we can conclude that the intensity observed in the superposed point by noncoherent waves equals the sum of the intensities, which create each separately. However, if the difference δ = φ 1φ 2 is constant, the cos(δ) will also have a constant value over time, but own for each point in space, so that:

I = I 1 + I 2 + 2 I 1 I 2 cos ( δ ) E7

where I 1 = A 1 2 and I 2 = A 2 2. This superposition at a point in space results in a different sum of the intensities of the separate components intensity [1]. This phenomenon is known as interference. The light and dark areas that observed on screen placed in the region of interference are called interference fringes, and the fringes are intensity which changes from minimum to maximum, which together form a pattern commonly called interference pattern or interferogram, as can be seen in Figure 1 .

The interference of two or more electromagnetic waves can be usually achieved in two ways: by division of the wave front and by division of the amplitude. A mechanism used for the division of the wave front is, for example, the Young’s experiment or double slit that is showed in Figure 2 .

A mechanism used for dividing the amplitude of the wave is, for example, the Michelson interferometer that is shown in Figure 3 .

Both mechanisms produce a pattern of light and dark intensities in the plane of interference fringes. The image resulting from the interference is known as interferogram. When the interferogram is captured by a recording medium, that is, a photographic film or a CCD camera, the process commonly involves some optical system, which introduces imperfections with respect to the ideal image. Such imperfections are known as aberrations. Aberrations can be classified as chromatic and monochromatic. Chromatic aberrations are present to illuminate the object with white light or polychromatic light, that is, light with different wavelengths. These aberrations are the only ones that can be predicted by the theory of the first order, which states that an optical system consisting of lenses has different focal lengths for different wavelengths. These variations are related to the change of refractive index with respect to wavelength causing that both the position and the image size are different for each wavelength. Monochromatic aberrations occur when the object is illuminated with monochromatic light (i.e., light of a single wavelength), and the reflected or transmitted light is registered by a recording medium. This type of aberration causes that the captured image of a punctual object is no longer a point, but a blurred point. Monochromatic aberrations can be calculated roughly in the third-order theory, using the first two terms of the expansion in power series of the sinθ and cosθ. Another alternative to calculate more accurately is to make the exact trigonometric trace rays through the system, where the deviation of the rays is calculated. These aberrations were studied in detail first by Ludwig von Seidel, hence often called Seidel aberrations, and are sphericity, coma, astigmatism, field curvature and distortion. These aberrations have a distinctive fringe distribution that appears frequently in the testing of a variety of objects with an interferometer. As the interferogram acquisition is only the capture of the interference phenomenon or interference pattern in a recording medium, it is convenient to study correcting aberrations problems. From these patterns, it can be known as the aberration coefficients using Zernike polynomials. Zernike polynomials have been successfully used in the recognition of patterns and image processing. Additionally, these have been used in astronomy to describe wavefront aberrations due to atmospheric turbulence and to describe wavefront aberrations in the human eye. This is because of the Seidel aberrations are related to the Zernike polynomials. Due to this relationship, polynomials are used to describe wavefront aberrations in order to calculate the aberration coefficients of a set of interferograms generated by an adaptive lens. These coefficients enable to describe the behavior of the aberrations present in the lens.

## 3. Interferogram filtering

In order to enhance the interferogram images and reduce the noisy caused by external factors at the interference phenomenon in an interferometer (interference produced by two or more controlled wave fronts), low-pass techniques are used as preprocessing filtering step. Interferogram smoothing and denoising are the principal purposes for the application of low-pass filters in interferometry. Filtering techniques can be grouped in spatial or frequency domains, where the spatial filtering is directly applied to the interferogram image, pixel to pixel, while the frequency filtering is usually performed in the Fourier domain. Band-pass and band-stop are some filtering techniques that can be applied in the Fourier domain, and these filters are used to attenuate some frequencies of specific noise.

### 3.1. Spatial filtering

The mathematical entity applied in spatial filtering is the convolution operation, also known as windowing [2], written as follows:

f ( x , y ) * g ( x , y ) = m = M + 1 2 M + 1 2 n = N + 1 2 N + 1 2 f ( x m , y n ) g ( m , n ) , E8

where f, g, (x, y), (m, n) and M×N are the image to be filtered, the convolution mask, the original image coordinates, the coordinates where the convolution is performed and the size of the convolution mask, respectively. The kind of convolution filter is determined by the chosen convolution filter (averaging, Gaussian, quadratic, triangular, trigonometric, etc.). These convolution functions are presented in a mathematical form as follows: [3]

g ( m , n ) = 1 m = 1 M n = 1 N ω m , n [ ω 1 , 1 ω 1 , N ω M , 1 ω M , N ] , E9

where

ω m , n = { A e ( B [ m 2 + n 2 ] ) , A B ( m 2 + n 2 ) , A 2 + A 4 [ cos ( B m ) + cos ( B n ) ] , A , Gaussian quadratic trigonometric average . E10

Here A, B and ω are the amplitude, the width factor and the weight of the spatial filter function, respectively. The study about the magnitude spectrums of Eq. (10) (low-pass masks) was reported in Ref. [2], where the Gaussian and quadratic masks delivered the best results. Low frequencies were conserved by these filters, while the high frequencies were attenuated. However, the filtering results may vary depending on the interferogram under process, as can be seen in Figure 4 , where the results of the filter on a ronchigram (a particular kind of interferogram) can be seen in Figure 4a . The four kinds of masks presented in Eq. (10) were employed to generate the filtered fringe patterns shown in Figure 4b . The parameters used by the filters were A = 1 and B = 0.1, with mask sizes of 3×3, 5×5 and 7×7 pixels.

### 3.2. Frequency filtering

Frequency filtering is usually performed in the Fourier domain. The Fourier transform represents the change from spatial to frequency domain. Eq. (11) and Eq. (12) represent a pair of discrete Fourier transforms in two dimensions [2]

F ( u , v ) = F { f ( x , y ) } = x = 1 U y = 1 V f ( x , y ) e 2 π i ( u x U + v y V ) , E11

and

f ( x , y ) = F 1 { F ( u , v ) } = u = 1 U v = 1 V F ( u , v ) e 2 π i ( u x U + v y V ) E12

where (u, v), U×V, F and F −1 are the frequency coordinates, the image size in pixels, the Fourier transform and the inverse Fourier transform operators, respectively. A significant attribute obtained from the Fourier transform is that it gives the frequencies content of the image. Due to this property, frequency filter design is a very straight forward task for image processing. Low frequencies are located into the Fourier domain around the central coordinates; as frequencies gradually increase, they spread out from the center in a radial form. This characteristic is ideal for frequency filtering (low-pass, high-pass, band-pass and band-stop) [3]. The frequency filtering development consists in the multiplication between the Fourier transform with some kind convolution function. The kind of convolution mask will determine the class of filtering to be performed. The following is a summary of the most usual filtering masks: a white centered circle for low-pass; a black centered circle for high-pass; a white centered ring for band-pass and a black centered ring for band-stop.

In Figure 5 , it is showed the masks described above along with the results of the filtering process. Low-pass filtering masks and results are presented in Figure 5b , band-pass filters and filtered images are seen in Figure 5c and finally, band-stop filters and filtering results can be appreciated in Figure 5d . The kind of filter or the size of geometrical mask depends directly in the image and in its noise content. There is no ideal filter; the kind of applied filter to process an image is dependent of the characteristics that are pretended to enhance or eliminate.

## 4. Phase-shifting interferometry

Interference fringe patterns obtained by means of interferometric techniques can be evaluated by using digital image processing techniques for the estimation of phase map distributions. The intensity of an image in an interference fringe pattern, according with Eq. (7), can be represented by Eq. (13)

I ( x , y ) = a ( x , y ) + b ( x , y ) c o s [ ϕ ( x , y ) ] E13

where ϕ(x, y) is the phase difference between the reference and testing wave fronts that interfere, a(x, y) = I 1(x, y) + I 2(x, y) is the mean intensity and b(x, y) = 2(I1 I2 )1/2 is the intensity modulation registered by each pixel (x, y) of a CCD camera. When analyzing a single image for the estimation of the relative phase difference in applied metrology, the sign of the phase cannot be assessed because of the argument in the sinusoidal function of the modulation term in Eq. (13) results in an identical interferogram for ±ϕ(x, y) values. In order to overcome this difficulty, multiple interferograms can be sequentially registered introducing a known small phase change amount which is linear in time; this method is well known as phase shifting [4]. In practical phase shifting, a piezoelectric device PZT is included in the interferometric system to produce the phase-shifted interferograms. In general, when a voltage signal is used to polarize a PZT actuator, this electrical signal is converted directly into linear displacement motion. Then, phase-displaced intensity images can be represented by

I ( x , y ) = a ( x , y ) + b ( x , y ) c o s [ ϕ ( x , y ) + θ ] . E14

Since there are three unknown terms in the representation of the interference intensity equation, then the measurement of at least three interferograms at known phase shifts is needed to determine the relative phase difference. However, one of the simplest modes to determinate the phase considers the use of four interferograms equally spaced by θ = π/2, obtaining:

I 1 = a + b cos ( ϕ ) , E15
I 2 = a b s i n ( ϕ ) , E16
I 3 = a b c o s ( ϕ ) , E17

and

I 4 = a + b s i n ( ϕ ) . E18

Rearranging the simultaneous equation system from the above formulas, in which the spatial dependence (x, y) was not included, the phase distribution from intensity images can be calculated with:

t a n ( ϕ ) = I 4 I 2 I 1 I 3 . E19

The phase difference estimated from the four equations is determined in the range between −π and π when using the arctangent function, hence producing a wrapped phase distribution. In order to analyze an interference pattern by the phase-shifting techniques, a Twyman-Green interferometer is considered for the testing of optical elements; the basic arrangement is shown in Figure 6 . A laser diode is used in the interferometer as illumination source, and then the emerging laser beam is collimated by a lens to obtain a plane wave front that propagates throughout a 50:50 beam splitter to produce two wave fronts of same amplitude. One beam is deviated to the reference mirror M1, and the second beam, to the mirror M2 under test. Next, the beams are reflected back toward the beam splitter, and part of the intensity overlaps on the observation plane, where a CCD camera sensor is placed to register an image of the resulting interferogram that is then stored in a PC for subsequent processing.

In Figure 7 , a set of four phase-shifted interferograms with phase shifts of π/2 is shown. A first interferogram with θ = 0 is seen in Figure 7a , and subsequent interferograms with θ = π/2, θ = π and θ = 3π/2 are observed in Figure 7b d , respectively. The wrapped phase is showed in Figure 7e , and the unwrapped phase related with the shape of the optical element being tested is shown in Figure 7f . A three-dimensional representation of the unwrapped phase seen in Figure 7f is presented in Figure 8 .

In applied phase-shifting interferometry, there are concerns about the presence of errors that may affect the accurate phase extraction from phase-shifted interferograms. A typical systematical source of error introduced PZT arises when there is miscalibration of the phase-shifting actuator, causing detuning in the phase extraction process. The inclusion of phase-shifting algorithms with more than three or four interferograms can be implemented in order to reduce this systematic error [5].

## 5. The Fourier method

The method of Takeda or the Fourier method was developed in 1982 [6]. Unlike phase-shifting methods, see Ref. [7], a single interferogram with open fringes can be analyzed. This is useful when the object under study changes dynamically or environmental disturbances (vibrations or air turbulence) do not allow the use of phase-shifting methods unless special, and often, very expensive hardware is used to acquire several images simultaneously. However, in general, the accuracy and the dynamical range of the phase that can be measured are reduced. The Fourier method makes use of the fast Fourier transform technique to separate, in the frequency domain, the background and phase terms of the interferogram. Employing complex notation, an interferogram can be written as follows:

I ( x , y ) = a ( x , y ) + 1 2 b ( x , y ) e i [ ϕ ( x , y ) + φ ( x , y ) ] + 1 2 b ( x , y ) e i [ ϕ ( x , y ) + φ ( x , y ) ] , E20

where a(x, y) and b(x, y) are the background intensity and the modulation term, respectively. The phase term is denoted by ϕ(x, y) and finally, the symbol φ(x, y) denotes the lineal carrier function or tilt that is introduced usually by tilting the reference mirror in a two arm interferometer. The Fourier transform of the above expression can be written as:

F { I ( x , y ) } = I ˜ ( u , v ) = δ ( u , v ) + E ( u + α , v + β ) + E * ( u α , v β ) , E21

where (u, v) is the coordinates in the frequency domain, δ(u, v) is a delta function and E(u + α, v + β) and E*(u-α, v-β) are complex conjugate functions that correspond to the transforms of the second and third terms of Eq. (20), respectively. The introduction of the linear carrier function, φ(x, y) = αx + βy, shifts the terms E(u, v) and E*(u, v) in opposite directions in the frequency spectrum as can be seen noting that:

E ( u , v ) = F { 1 2 b ( x , y ) e i ϕ ( x , y ) } , E22

and

E ( u + α , v + β ) = F { 1 2 b ( x , y ) e i ϕ ( x , y ) e i φ ( x , y ) } , E23

similarly

E * ( u , v ) = F { 1 2 b ( x , y ) e i ϕ ( x , y ) } , E24

and

E * ( u α , v β ) = F { 1 2 b ( x , y ) e i ϕ ( x , y ) e i φ ( x , y ) } . E25

The separation of the terms in the Fourier spectrum due to the introduction of a linear carrier can be observed in Figure 9 . An open-fringe interferogram and its Fourier spectrum can be seen in Figure 9a and b . It can be noted that the three terms of Eq. (21) are clearly separated. The central peak corresponds to the delta function δ(u, v) while the adjacent lobules correspond to E(u + α, v + β) and E*(u - α, v - β). The interferogram was constructed as follows:

a ( x , y ) = 120 e ( x 2 + y 2 ) E26
b ( x , y ) = 124 e ( x 2 + y 2 ) , E27
ϕ ( x , y ) = 2 π { 4 e 4 [ ( x 0.2 ) 2 + ( y 0.3 ) 2 ] 5 e 6 [ ( x + 0.2 ) 2 + ( y + 0.3 ) 2 ] } , E28

and

φ ( x , y ) = 2 π ( 16 x + 20 y ) E29

where x and y vary from 1 to −1 along the vertical and horizontal directions and the interferogram was multiplied by a circular function of radius one.

In order to recover the phase, we need to isolate one of the lateral lobules of the Fourier domain. To this end, we employ a band-pass filter. The filtered spectrum is then transformed back to the spatial domain to obtain If (x, y) and the wrapped phase is found with the arctangent function of the ratio of the imaginary and real parts of If (x, y) as shown in Figure 10 . Figure 10a shows the band-pass filter H(u, v), the filtered spectrum can be observed in Figure 10b and finally the wrapped phase is shown in Figure 10c .

The band-pass filter has the following form:

H ( u , v ) = e 3000 [ ( u 0.2 ) 2 + ( v 0.2 ) 2 ] 2 , E30

where u and v vary from 1 to −1 in vertical and horizontal directions, respectively. The filtered spectrum becomes,

I ˜ f ( u , v ) = I ˜ ( u , v ) H ( u , v ) . E31

Transforming back to spatial domain we obtain:

I f ( x , y ) = F 1 { I ˜ f ( u , v ) } . E32

The wrapped phase is found by:

ψ w ( x , y ) = a t a n 2 { i m a g [ I f ( x , y ) ] , r e a l [ I f ( x , y ) ] } E33

where the atan2() function accepts two arguments corresponding to the sine and cosine and returns the results modulo . This wrapped phase, however, is not the desired one because it contains the introduced tilt that is not part of the object information. The wrapped desired phase is found with:

ϕ w ( x , y ) = a t a n 2 { s i n [ ψ w ( x , y ) φ ( x , y ) ] , c o s [ ψ w ( x , y ) φ ( x , y ) ] } . E34

The final step is to apply an unwrapping method to obtain the continuous phase related with the object under study. This last procedures are shown in Figure 11a and b where the wrapped phase φw (x, y) and the unwrapped reconstructed phase φr (x, y) can be appreciated, respectively.

The Fourier method is not the unique procedure for phase retrieval from one interferogram with open fringes. Besides the Fourier approach there are other procedures in the spatial domain including phase locked loop [8] and spatial carrier phase-shifting methods [9, 10].

## 6. Phase unwrapping

Phase unwrapping is a common step to finally find a continuous phase for several fringe analysis techniques such as phase shifting, Fourier, the phase synchronous and others methods that use the arctangent function of the ratio of the sine and cosine of the phase to obtain a wrapped phase. In its simplest form, phase unwrapping consists in adding or subtracting terms to the pixel being unwrapped if a difference greater that π is found with a previous pixel already unwrapped [11]. The phase unwrapping problem in one dimension can be observed in Figure 12 . The wrapped phase found with the arctangent function is seen in Figure 12a and the unwrapped continuous phase is showed in Figure 12b .

The described procedure works well only for wrapped phases with no inconsistencies and low noise levels, however, delivers wrong results when dealing with noisy wrapped phases or those obtained from interferograms with broken or unconnected fringes. A more consistent approach is achieved with the least squares phase unwrapping method [12]. The least square technique integrates the discretized laplacian of the phase. To this end, the laplacian of the phase is calculated as follows:

L i , j = ϕ i + 1 , j x ϕ i , j x + ϕ i , j + 1 y ϕ i , j y , E35

where

ϕ i , j x = a t a n 2 [ sin ( ϕ i , j w ϕ i 1 , j w ) , c o s ( ϕ i , j w ϕ i 1 , j w ) ] p i , j p i 1 , j , E36

and

ϕ i , j y = a t a n 2 [ sin ( ϕ i , j w ϕ i , j 1 w ) , c o s ( ϕ i , j w ϕ i , j 1 w ) ] p i , j p i , j 1 . E37

In the last equations, we have used pixel subscript notation in order to limit the extension of the equations. The pupil function pi, j is defined as equal to one where we have valid data and zero otherwise. One may note that if pi, j = pi+1, j = pi-1, j = pi, j+1 = pi, j-1 = 1, then

L i , j = 4 ϕ i , j + ϕ i + 1 , j + ϕ i 1 , j + ϕ i , j + 1 + ϕ i , j 1 . E38

Solving for the phase in the above equation, we obtain that the unwrapping problem under the least square approach consist in the resolution of a linear system of equations, as:

ϕ i , j = ϕ i + 1 , j + ϕ i 1 , j + ϕ i , j + 1 + ϕ i , j 1 L i , j 4 . E39

An iterative technique that solves the above system of linear equations is the overrelaxation method in which the following equation is iterated until convergence:

ϕ i , j k + 1 = ϕ i , j k ( d ϕ i , j k ϕ i 1 , j k + 1 ϕ i + 1 , j k ϕ i , j 1 k + 1 ϕ i , j + 1 k + L i , j ) w d , E40

where

d = p i 1 , j + p i + 1 , j + p i , j 1 + p i , j + 1 . E41

In the last equations, k is the iteration number and w is a parameter of the overrelaxation method that must be set between 1 and 2. Results of the least square technique are showed in Figure 13 . A two-dimensional wrapped phase is seen Figure 13a , the phases differences are shown in Figure 13b and c , respectively. The laplacian of the phase is showed in Figure 13d , the reconstructed phase in a two-dimensional view is observed in Figure 13e and finally, for comparison purposes the reconstructed rewrapped phase is also showed in Figure 13f . One may observe that the original wrapped phase and the reconstructed wrapped phase are slightly different, this is because the least square method recovers the phase with an arbitrary constant term, however this term is usually neglected since doesn’t carry any information of the object being measured.

If desired, the constant term in the retrieved phase may be corrected easily in the following form:

ϕ c = ϕ r a t a n 2 [ sin ( ϕ r ϕ w ) , cos ( ϕ r ϕ w ) ] . E42

The wrapped phase seen in Figure 13a was constructed as follows:

ϕ w = a t a n 2 [ sin ( ϕ ) , cos ( ϕ ) ] , E43

where

ϕ i , j = 2 π { 16 [ ( x i ) 2 + ( y j ) 2 ] 2 18 [ ( x i ) 2 + ( y j ) 2 ] + 5 y j ( x i ) 2 4 x i ( y j ) 2 + 3 y j x i + 2 x i 2 y j + 0.56 } . E44

In the above equations xi and yj are range variables that vary from −1 to 1, the wrapped phase was multiplied by an annular pupil function with an exterior radius of 198 pixels, while the interior radius was 60 pixels for an image size of 400 × 400. The convergence of the reconstructed phase seen in Figure 2e was reached after 700 iterations; the overrelaxation parameter w was set to 1.99, which is usual for large images. The reconstructed phase with the constant term corrected and the phase error, ε = ϕ = ϕ c , can be appreciated in Figure 14a and b . The maximum error was about 0.00005 radians.

Finally, results on a noisy wrapped phase are presented. Random noise with uniform distribution in the range of −π/4 to π/4 radians were added to the phase to obtain the wrapped phase seen in Figure 15a , the unwrapped phase is shown in Figure 15b , and the rewrapped reconstructed phase is observed in Figure 15c . As can be noticed the least square method is a very reliable technique that works with any pupil configuration and stands noisy measurements.

## 7. Phase recovery from lateral shearing interferograms

Lateral shearing interferometry is a very important field in experimental optical measurements, in which, the test beam interferes with a laterally displaced version of itself instead of a reference beam. The resulting fringe patterns are thus related with the object wavefront derivative in a given direction. This is very useful when the object information of interest is related with the derivative as in strain analysis or when the dynamical range of the object wave front is too high that cannot be measured with direct interferometry. Let us consider a laterally shear interferogram with a beam displacement in the x direction a quantity Δx, we obtain:

I x ( x , y ) = B ( x , y ) + C ( x , y ) c o s [ ψ x ( x , y ) ] , E45

where

ψ x ( x , y ) = ϕ ( x , y ) ϕ ( x Δ x , y ) . E46

In Eq. (45) B(x, y) is the background intensity and C(x, y) is the modulation term. The objective is to retrieve the undisplaced phase φ(x, y). To this end, we need, at least, another laterally shear interferogram with a beam displacement in the y direction another quantity Δy, obtaining:

I y ( x , y ) = B ( x , y ) + C ( x , y ) c o s [ ψ y ( x , y ) ] , E47

where

ψ y ( x , y ) = ϕ ( x , y ) ϕ ( x , y Δ y ) . E48

Let us considered that we have retrieved the phase differences ψx (x, y) and ψy (x, y) by means of a phase-shifting technique as is depicted in Figure 16 and Figure 17 for the x and y directions, respectively. A set of four phase-shifted interferograms can be seen in Figure 16a . The wrapped phase differences ψwx (x, y) and the unwrapped phase ψx (x, y) are observed in Figure 16e and f , respectively. The modulation term and a sheared pupil function px (x, y) are shown in Figure 16g and h , respectively. The sheared pupil px (x, y) is found after normalization from zero to one and thresholding the normalized modulation term. A second set of phase-shifted interferograms are seen Figure 17a and d . The wrapped phase differences ψwy (x, y) and the unwrapped phase ψy (x, y) are observed in Figure 17e and f , respectively. The modulation term and a sheared pupil function py (x, y) are shown in Figure 4g and h , respectively. In a similar way to the first set of phase-shifted interferograms, the pupil py (x, y) is found after normalization from zero to one and thresholding the normalized modulation term. The sheared pupils px (x, y) and py (x, y) are useful to find the undisplaced pupil p(x, y), where the original wave front φ(x, y) have valid data, since px (x, y) = p(x, y)p(xΔx, y) and py (x, y) = p(x, y)p((x, y) − Δy)

Once the phase differences θx (x, y) and θy (x, y) are known, we can use the next procedure to find the searched phase φ(x, y) observing that:

ψ i , j x p i a , j ψ i + a , j x p i + a , j = ϕ i , j ( p i a , j p i + a , j ) ϕ i a , j p i a , j ϕ i + a , j p i + a , j , E49

and

ψ i , j y p i , j b ψ i , j + b y p i , j + b = ϕ i , j ( p i , j b p i , j + b ) ϕ i , j b p i , j b ϕ i , j + b p i , j + b . E50

In the above equations we have changed the (x, y) dependence by pixel subscript notation. As described before, pi, j is the undisplaced pupil and the displacement quantities Δx and Δy are rounded to the nearest integer in pixel dimensions obtaining a and b, respectively. Adding Eq. (49) and Eq. (50) and solving for the phase, we obtain:

ϕ i , j = F + G H  , E51

where

H = p i + a , j + p i a , j + p i , j + b + p i , j b , E52
F = ψ i , j x p i a , j ψ i + a , j x p i + a , j + ψ i , j y p i , j b ψ i , j + b y p i , j + b , E53

and

G = ϕ i a , j p i a , j + ϕ i + a , j p i + a , j + ϕ i , j b p i , j b + ϕ i , j + b p i , j + b . E54

Eq. (51) represents a linear system of equations; however, it is ill posed because there are more unknowns than equations due to the effects of the sheared pupils. Nevertheless, a regularization term may be aggregated to overcome this problem [1315]. The regularization term is in the form of discrete Laplacians of the phase among adjacent pixels. The following equation that incorporates the regularization term is iterated until convergence:

ϕ i , j k + 1 = ϕ i , j k H ϕ i , j k ( F + G ) + α ( L i + 1 , j x 2 L i , j x + L i 1 , j x + L i , j + 1 y 2 L i , j y + L i , j 1 y ) H , E55

where

L i , j x = ( ϕ i + 1 , j 2 ϕ i , j + ϕ i 1 , j ) p i + 1 , j p i 1 , j , E56

and

L i , j y = ( ϕ i , j + 1 2 ϕ i , j + ϕ i , j 1 ) p i , j + 1 p i , j 1 . E57

Here, α is a parameter that controls the effects of the regularization term. The phase reconstruction is seen in Figure 18 . A two-dimensional view of the retrieved phase is observed in Figure 18a , the same phase but in a three-dimensional perspective is shown in Figure 18b and the phase error (the actual phase minus the reconstructed one) can be appreciated in Figure 18c . This reconstruction was achieved after 800 iterations with a parameter α = 0.1 obtaining a maximum error of about 0.0004 radians.

The actual phase was constructed as follows:

ϕ i , j = 2 π { 20 [ ( x i ) 2 + ( y i ) 2 ] 2 24 [ ( x i ) 2 + ( y i ) 2 ] 6 ( x i ) 2 y j + 8 x i ( y j ) 2 + 5 x i y j + 4 x i 5 y j + 0.45 }  , E58

where xi and yj are range variables that vary from −1 to 1 in both vertical and horizontal directions. The pupil function is a circular one with a radius of 170 pixels. The shear distances were set to Δx = a = 12 pixels and Δy = b = 12 pixels.

## 8. Conclusions

Digital processing techniques applied to interferometric measurements allow to obtain the phase from fringe patterns. The fringe analysis methods described here can be used to recover the phase that is associated with the physical variable under study. Under controlled conditions, phase-shifting techniques are the most used methods to retrieve the wrapped phase. If experimental conditions suffer from vibrations, air turbulences or the object changes dynamically, among other factors, then a Fourier method may be preferable to analyze an open-fringe interferogram. Those procedures deliver a wrapped phase. Then, an unwrapping algorithm is needed to reconstruct a continuous phase related with the object being studied. The aim of this chapter is to present, to the reader, the fundamentals of principal fringe analysis techniques. Numerical simulations are provided, in such way that the reader can reproduce them by its own. The extension of the chapter is insufficient to introduce many important techniques. However, the methods presented here were described as clearly and briefly as we could. We hope that the reader finds this information useful in the interpretation of interferograms obtained in the study of some object or phenomena by using an interferometric setup.

## References

1. 1. Born M., Wolf E. Principles of optics. 7th ed. New York, USA: Cambridge University Press; 2002. 952 p.
2. 2. Mora-González M., Casillas-Rodríguez F.J., Muñoz-Maciel J., Martínez-Romo J.C., Luna-Rosas F.J., de Luna-Ortega C.A., Gómez-Rosas G., Peña-Lecona F.G. Reducción de ruido digital en señales ECG utilizando filtraje por convolución. Investigación y Ciencia. 2008;16(040):26–32.
3. 3. Mora-Gonzalez M., Muñoz-Maciel J., Casillas F.J., Peña-Lecona, Chiu-Zarate R., Perez-Ladron de Guevara H. Image procesing for optical metrology. In: Ionescu C.M., editor. MATLAB–a ubiquitous tool for the practical engineer. 1st ed. Rijeka, Croatia: InTech; 2011. pp. 523–546. doi:10.5772/820
4. 4. Gåsvik K.J. Optical metrology. 3rd ed. West Sussex, UK: John Wiley and Sons, Ltd.; 2002. 372 p.
5. 5. Malacara D., editor. Optical shop testing. 3rd ed. NJ, USA: John Wiley and Sons, Inc.; 2007. 888 p.
6. 6. Takeda M., Ina H., Kobayashi S. Fourier-transform method of fringe-pattern analysis for computer-based topography and interferometry. Journal of the Optical Society of America. 1982;72:156–160.
7. 7. Bruning J.H., Herriott D.R., Gallagher J.E., Rosenfeld D.P., White A.D., Brangaccio D.J. Digital wavefront measuring interferometer for testing optical surfaces and lenses. Applied Optics. 1974;13:2693–2703.
8. 8. Servín M., Rodríguez-Vera R. Two-dimensional phase locked loop demodulation of interferogram. Journal of Modern Optics. 1993;40:2087–2094.
9. 9. Shough D.M., Kwon O.Y., Leary D.F. High speed interferometric measurement of aerodynamic phenomena. In: Ulrich P.B., Wilson L.E., editors. Propagation of high-energy laser beams through the earth’s atmosphere. Proc. SPIE, LA, USA; 1990. pp. 394–403. doi:10.1117/12.18359
10. 10. Kujawinska M., Wójciak J. Spatial-carrier phase shifting technique of fringe pattern analysis. In: Jueptner W.P., editor. Industrial applications of holographic and speckle measuring techniques. Proc. SPIE, The Hague, Netherlands; 1991. doi:10.1117/12.47089
11. 11. Robinson D.W. Phase unwrapping methods. 1st ed. Bristo, UK: CRC Press; 1993. 302 p.
12. 12. Ghiglia D.C., Pritt M.D. Two-dimensional phase unwrapping: theory algorithms and software. 1st ed. New York, USA: John Wiley and Sons, Inc.; 1998. 512 p.
13. 13. Legarda R., Rivera M., Rodríguez R., Trujillo G. Robust wave-front estimation from multiple directional derivatives. Optics Letters. 2000;25:1089–1091. doi:10.1364/OL.25.001089
14. 14. Servín M., Malacara D., Marroquín J.L. Wave-front recovery from two orthogonal sheared interferograms. Applied Optics. 1996;35:4343–4348. doi:10.1364/AO.35.004343
15. 15. Villa J., García G., Gómez G. Wavefront recovery in shearing interferometry with variable magnitude and direction shear. Optics Communications. 2001;195:85–91. doi:10.1016/S0030-4018(01)01304-9

Written By

Jesús Muñoz Maciel, Francisco Javier Casillas Rodríguez, Miguel Mora González, Francisco Gerardo Peña Lecona and Víctor Manuel Duran Ramírez

Submitted: June 14th, 2016 Reviewed: October 21st, 2016 Published: February 15th, 2017