The measured * Q*index values.

## Abstract

We present a full-field technique for single fringe pattern analysis based on wavelet transform. Wavelets technique is a powerful method that quantifies at different scales how spatial energy is distributed. In the wavelets domain, fringe pattern analysis requires spatial modulation by a high-frequency carrier. We realize the modulation process numerically by combining the fringe pattern and its quadrature generated analytically by spiral phase transform. The first application concerns the speckle denoising by thresholding the two-dimensional stationary wavelet transform (2D-swt) coefficients of the detail sub-bands. In the second application, the phase derivatives are estimated from the 1D-continuous wavelet transform (1D-cwt) and 2D-cwt analysis of the modulated fringe pattern by extracting the extremum scales from the localized spatial frequencies. In the third application, the phase derivatives distribution is evaluated from the modulated fringe pattern by the maximum ridge of the 2D-cwt coefficients. The final application concerns the evaluation of the optical phase map using two-dimensional discrete wavelet transform (2D-dwt) decomposition of the modulated fringe pattern. The optical phase is computed as the arctangent function of the ratio between the detail components (high-frequency sub-bands) and the approximation components (low-frequency sub-bands). The performance of these methods is tested on numerical simulations and experimental fringes.

### Keywords

- continuous wavelets transform (cwt)
- stationary wavelets transform (swt)
- discrete wavelets transform (dwt)
- fringe pattern analysis
- residual speckle denoising

## 1. Introduction

The single fringe pattern is an emerging technique for the analysis of full-field measurements in optical metrology. Fringe pattern analysis becomes a key technique in interferometric metrology which is more suitable for dynamic processes. The main purpose of this chapter is to exploit wavelet transform for single fringe pattern analysis to extract useful information. Wavelets are a powerful method allowing to know the spatial energy distribution at several scales.

Fringe pattern analysis using wavelets transform requires a spatial modulation by a high-frequency carrier as the case of Fourier domain [1]. We realize the modulation process digitally [2] by combining the fringe pattern and its quadrature generated analytically by spiral phase transform SPT [3, 4]. The advantage of this method lies in its implementation of numerical algorithms to reduce experimentation burden present in the phase shifting methods [5], namely, multiple fringe pattern generation and the experimental carrier introduction.

In the first application, we describe a residual speckle noise reduction technique by 2D-stationary wavelet decomposition of the speckle correlation fringe pattern [6]. The speckle noise is removed by thresholding the 2D-swt detail sub-bands coefficients [7].

The second application presents a method for phase derivative estimation based on 1D-continuous wavelet analysis of the modulated fringe pattern using Paul’s function as the mother wavelet [8]. The phase derivative is calculated by extracting the extremum scales from the localized spatial frequencies. The third application is phase derivatives evaluation by 2D-continuous wavelet analysis of the modulated fringe pattern using complex Morlet’s function as the mother wavelet [9]. The phase derivative is estimated by a maximum ridge of wavelets coefficients. Finally, we introduce an algorithm for optical phase extraction by 2D-Discrete wavelet decomposition of the modulated fringe pattern using Gabor’s function as the mother wavelet [10]. The optical phase is extracted as the ratio between the detail components (high-frequency sub-bands) and the approximation components (low-frequency sub-bands).

The remaining part of the chapter proceeds as follow: divided into three sections: the second section will examine a brief description of continuous, discrete and stationary wavelet transforms. In the third section, we briefly introduce the speckle correlation fringes obtained by digital speckle pattern interferometry (DSPI). Finally, the fourth section is devoted to applications of wavelets to fringe pattern analysis.

## 2. Wavelet transform analysis

The concept of the wavelets and its numerous fields of the application make them a useful tool in several studies concerning localized variations analysis for non-stationary or transient signal analysis. This concept is based on the multiresolution analysis that represents signal variations at different scales. A detailed review of wavelets theory has been published by Ingrid Daubechies in [11]. However, we present here a brief description of three wavelets families for completeness.

### 2.1. Continuous wavelet transform (cwt)

The analysis of a given signal by continuous wavelets transform concerns to decompose it into several basic functions named wavelets. They are oscillatory functions with a finite duration and having zero average value, also, they are characterized by irregularity and the good localization These properties of the continuous wavelets make them a superior basis for signals analysis with discontinuities. The wavelets are constructed by translating and dilating them other wavelet functions resulting in a self-similar wavelet’s families as follows.

where * s*and

*are respectively the scale and translation parameters. The wavelet coefficients obtained by 1D-cwt decomposition of the signal*ξ

*(*f

*) are given by:*x

where * ψ**(

_{s,ξ}

*) represents the conjugate of the wavelet*x

*(*ψ

_{s,ξ}

*) defined for each shift*x

*and each scale*ξ

*. Wavelet coefficients are the output of the correlation product between a signal and the mother wavelet for different values of dilatation, and this is interpreted as a measure of the local similarity between them.*s

The 2D-continuous wavelet coefficients are obtained by the computation of the correlation product between the input image (signal 2D) and the mother wavelet. In the 2D case, a parameter of orientation angle is added, and the 2D-cwt wavelet coefficients of an input image * f*(

*,*x

*) are defined as:*y

where * ξ*and

*are respectively the translation parameters along*η

*and*x-

*directions,*y-

*and θ are respectively the scale vector and rotation angle;*s

*denotes the 2D mother wavelet and*ψ

*represents the conventional 2×2 rotation matrix corresponding to*R

_{θ}

*given by*θ

### 2.2. Discrete wavelets transform (dwt)

The discrete wavelet transform denoted by dwt is a fast computing algorithm; it was introduced by Mallat [12] in 1989 for signal or image decomposition into two important components called approximation and details.

The 1D-dwt decomposition is based on two functions called scaling and wavelets. These functions, i.e., the scaling and the mother wavelet functions are related to the impulse response of * h*[

*] and g[*n

*], respectively, as illustrated in Figure 1. The approximation (low-frequency) and details (high-frequency) obtained respectively by scaling and wavelets functions are the down-sampled outputs of the first filters*n

*[*h

*] and g[*n

*].*n

The relation between the two functions and the two filters is expressed as:

g is the conjugate mirror of * h*:

In Eq. (7), conjugation and mirror effects are represented respectively by * n*). The internal orthogonality relation is satisfied by the low-pass filter

*as follows:*h

and to have

The filter g satisfies * h*, the same internal orthogonality and both obey the mutual orthogonality relation expressed as following:

In 2D-dwt, the wavelet transform of an image involves recursive filtering and sub-sampling process. Figure 2 describes the procedure of dwt analysis, three detail images, and one approximation image are obtained at each level. Concerning detail images, they contain the high-frequency information we denote horizontal image sub-band by * HD*, vertical image sub-band by

*and the diagonal image sub-band by*VD

*and the approximation image sub-band is denoted by*DD

*which accommodates the low-frequency information.*AI

The 2D scaling function denoted by * ϕ*(

*,*x

*), and the 3D wavelet*y

*(*ψ

^{H}

*,*x

*),*y

*(*ψ

^{V}

*,*x

*), and*y

*(*ψ

^{D}

*,*x

*) are computed by the algebraic product between the one dimensional scaling and wavelet function as expressed in the following Eq. [13],*y

The three functions * ψ*, and

^{V}, ψ

^{H}

*provide respectively the vertical, horizontal and diagonal variations, from there, the three details images are obtained.*ψ

^{D}

### 2.3. Stationary wavelet transform (swt)

Stationary wavelets transform (swt) was presented in [14]. Swt has the same principle of decomposition as dwt transform, but the process of down-sampling is eliminated which means the swt is translation-invariant. The 2D-swt is founded on the idea of no down-sampling. Specifically, this transform is applied at each pixel of the image and saves the detail coefficients and exploits the low-frequency data at each level. A clear description of this technique is detailed in [15].

The principle of swt analysis is schematized in Figure 3. In brief, the swt technique consists to decompose an input sequence at each level and the given output is a new sequence that has the same length as the original sequences. In order to implement this transform, the process of original image decimation is removed, nonetheless, the size of the filter is modified at each level by zero paddings.

We introduce an operator denoted * j*, we have (

*=*

_{2j}

*and (*x

_{j}

_{2j + 1}= 0. It is also assumed the filters

*and*H

^{r}

*to have weights*G

^{r}

*is characterized by a weight*H

^{r}

*=*h

^{r}

_{2}

^{r}

_{j}

*and*h

_{j}

*=*h

^{r}

_{kj}

*in the case where*0

*is not a multiple of*k

*. The filter*2

^{r}

*is attained by introducing a zero between each adjacent pair of the filter*H

^{r}

H

^{(r−1)}elements, and an identical trend should be followed for

*. The following relations satisfy the above statements:*G

^{r}

We start the swt definition by setting * u*to be the original input sequence, the stationary wavelet transform can be described for

^{J}

*=*j

*,*J

*, …,*J-1

*,*1

The vectors * u*and

^{j}

*acquire the same length for the vector*v

^{j}

*with a length of*u

^{J}

*.*2

^{J}

## 3. Speckle correlation fringe analysis

### 3.1. Speckle effect

The speckle appears as a granular structure and it results from the self-interference of a large number of coherent waves randomly scattered from and/or transmitted through a rough object surface [16]. When we illuminate a porous surface with coherent light, the scattered light intensity has a random spatial variation called “speckle effect.” The “speckle pattern” appears chaotic and disordered; it is described by using statistics and probability. The speckle pattern structure is dependent on the coherence properties of the used illumination light and also on the characteristics of the object’s surface diffusion. Locally in space, the electric field of the speckle pattern is given by computing the contribution sum of all illuminated scattering elements of the rough object’s surface and is given by [16]

In Eq. (14), n represents the scattering number of elements; * a*and

_{k}

*are respectively the amplitude and phase of the*ϕ

_{k}

k

^{th}scatterer contribution. The theorem of the central limit state that the random variable resulting from the sum of several independent random variables results in a Gaussian distribution when their number (number of an independent random variable) approaches infinity.

In the case where the number of scatterers is large, by applying the central Limit we deduce that:

The two components (real and imaginary) of the field are identically distributed Gaussian variables, independent and with zero means.

The intensity I(x,y,z) is characterized by a negative exponential probability distribution expressed as [16].

The associated phase * ϕ*is uniformly distributed between −π and π [16]

### 3.2. Digital speckle pattern interferometry (DSPI)

Digital/electronic speckle pattern interferometry (DSPI/ESPI) is an optical interferometric technique demonstrated simultaneously by Macovski et al. [17], and Butters and Leendertz [18, 19] at the beginning of the 1970s. Later on, the technique was enriched by Beidermann and Ek [20] and Lokberg and Hogmoen [21] with several new investigations. Figure 4 shows the typical schematic of the DSPI system with a sensitivity vector responding to out-of-plane deformation/displacement measurements (Figure 4a), and the digital electronics and image processing unit (Figure 4b). The DSPI technique measures the phase changes introduced by the speckle intensity changes. In this technique, a spatially filtered reference beam is added to the speckle pattern which is scattered from or transmitted through the test object, to code its phase. Therefore, a speckled interferogram, resulting from the superposition of the speckle pattern and the reference beams, contains essential information about the random phase. In DSPI, as shown in Figure 4, two speckle interferograms, corresponding to two different states of the object are recorded and stored in the frame grabber card. For example, one speckle interferogram, A, is recorded when the object is in its initial state, say the reference state, while another speckle interferogram, B, is recorded in the deformed state of the object, say by a small distance “* d*,” as shown in Figure 4a. The DSPI fringe pattern is observed after subtraction of these two speckle interferograms A and B by using the appropriate software. The useful information about the object is encoded in the DSPI fringe pattern like the one shown in Figure 4b.

The DSPI system can be made sensitive to out-of-plane or in-plane deformations, or both, depending on the design of the optical setup. Numerous measurement applications of DSPI have been investigated with different proposed experimental configurations [22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48] which have immense importance in the scientific, engineering, and industrial fields. The popularity of the technique, in optical metrology, is by virtue of the several advantages it offers such as: it is a non-contact/invasive type technique; it provides full-field of view information; it is faster in operation as almost real-time observations can be obtained; investigations on large-size objects can be observed with the use of proper optics, and the technique is less sensitive to environmental perturbations in comparison with its counterparts. The DSPI technique has proven its capability in many investigations, e.g., for the measurement of displacement/deformation with variable sensitivity to in-plane and out-of-plane direction [22, 23, 24, 25, 26, 27], measurement of three-dimensional shape [28, 29, 30], surface roughness measurement [31], vibration measurement/monitoring [32, 33, 34], measurement of material properties [35, 36, 37], flow visualization [38, 39], measurement of refractive index and temperature distribution [40, 41, 42], and the investigation of the magnetic fields on the temperature profile of gaseous flames [43, 44]. A Doctoral Thesis describing the comprehensive study of DSPI and some of its novel investigations is recommended for interested readers working in this field [48].

Mathematically, the fringe formation in DSPI is demonstrated here. The intensity distribution recorded before the object deformation is expressed as follows:

In this equation, the term * b*(

*,*x

*) represents the background or bias,*y

*(*a

*,*x

*) the visibility and term*y

*(*ϕ

_{s}

*) is the original speckle phase appearing as a high frequency, and the intensity of pixel by pixel is randomly distributed. When the object is deformed, the intensity distribution of speckle-pattern becomes:*x,y

where * φ*(

*,*x

*) represents the phase variation stemming from the object deformation. Assuming that the introduced deformations are sufficiently small, we can ignore the speckle decorrelation effects.*y

The speckle fringe correlation intensity distribution in the subtraction mode is expressed as:

The above equation can be further expressed as:

The speckle phase * ϕ*(

_{s}

*,*x

*) changes faster across the speckle pattern, the second sine squared term has an ensemble average expressed as:*y

Hence, the speckle fringe correlation intensity distribution becomes:

The obtained intensity distribution * f*is rendered as the classical form of a cosine fringe pattern.

_{c}

### 3.3. Fringe pattern analysis

The analysis of the fringe patterns concerns to evaluate the coded phase distribution related to the physical magnitude. We classified the phase extraction techniques to methods that explore a shifted fringe pattern as the phase shifting techniques and methods that require the introduction of a spatial carrier such as the Fourier transform method and the wavelet method.

The phase shifting (see Ref. [5]) and the Fourier transform methods (see Ref. [1]) are the most common methods exploited for fringe pattern analysis. The goal of the next section is to present algorithms based on wavelets transform to analyze a single frame speckle fringe pattern.

## 4. Applications to speckle correlation fringe analysis

As we stated previously, the fringe pattern analysis in wavelet domain requires a modulation process by introducing a spatial carrier. In our case, the spatial carrier in generated numerically and the entire process is carried out directly using a computer. Before presenting the four applications, we present in the next subsection the modulation process required by wavelets transform.

### 4.1. Fringe pattern modulation

In order to modulate a given fringes pattern in a chosen direction, we combine the fringe pattern and its quadrature with a * cos*(

*) and*m.x

*(*sin

*) matrix respectively where*m.x

*means the modulation rate. We consider the fringe pattern intensity distribution expressed as follow:*m

A low-pass filter applied to the intensity distribution removes the background illumination and Eq. (23) becomes:

Larkin proposed recently a transform called spiral phase quadrature denoted -SPT- for the 2D fringe pattern (see Refs. [3, 4]). The SPT of

where, * a(x,y).sinφ*is the quadrature term,

*= −1, and*j

^{2}

*represents the direction map. Then, we obtain the sine fringe pattern as:*D(x,y)

The direction map is computed by the ratio between the horizontal and vertical gradient of the

So, we define the quadrature map as:

Then, the intensity distribution of the modulated fringe pattern is defined as:

### 4.2. Speckle noise reduction using various wavelet-based techniques: a simulation study

#### 4.2.1. Speckle noise reduction using 2D-swt

As a reminder, the speckle fringe pattern intensity distribution in the subtraction mode is expressed in (Eq. (19)) as * sin*(

*+*ϕ

_{s}

*/2) noise should be removed with an appropriate filtering technique. After decomposition by swt of the speckle fringe pattern, the noise is reduced by thresholding the detail sub-bands coefficients using a soft threshold function. The choice of this type of thresholding stems from its characteristic to obtain near-optimal minimax rate. Generally, the threshold estimation requires the knowledge of the noise variance and the optimal threshold is estimated by taking into consideration the variance (*φ

*) of the coefficients in the highest wavelets decomposition. Figure 5 illustrates the capability of stationary wavelet transform thresholding technique to reduce the speckle noise. The left and the right halves present the intensity distribution of speckle fringe correlation before and after denoising. It is clearly shown in the line profile plot in Figure 5b along the line AB, the influence of swt to remove the frequency from the noised image.*σ

^{2}

#### 4.2.2. Phase derivatives extraction using 1D-cwt

The idea is the phase extraction by spatial frequencies using the1D-continuous wavelet transform and Paul’s function as the mother wavelet. The phase derivatives are evaluated from the modulus of the cwt coefficients by extracting the extremum scales from the localized spatial frequencies and the phase is obtained by numerical integration.

Generally, the modulated fringe pattern intensity distribution, as represented by Eq. (18), can also be expressed as:

Using Eq. (2), the wavelet transform coefficients of the modulated fringe pattern, given in Eq. (30), can be represented as

The localization property of the wavelet is taken into account in order to write the Taylor series of the phase * φ(x,y)*near the central value

*as:*ξ

Assuming that the bias * a*and the visibility

*have a slow variation, so the higher order of (*b

*) is neglected with respect to the phase-modulated carrier because of the localization of the wavelet. With these considerations, the 1D-cwt coefficients are now computed as:*y-ξ

and the Parseval’s identity gives

where

with

The wavelet transform reduces to.

Introducing Paul’s mother wavelet defined as:

we get

whose modulus is computed as

The extremum scale denoted by * S*is represented by

Equations (37) and (42) provide the phase derivative as

where * m*is the modulation ratio.

The performance of this algorithm is illustrated in Figure 6, where the phase derivatives of the speckle fringe correlation along * x-*and

*-directions are presented.*y

#### 4.2.3. Phase derivatives extraction using 2D-cwt

The idea is to evaluate the phase derivative by ridge point using2D-continuous wavelet transform and Morlet’s function as the mother wavelet. The phase derivative is computed from maximums scales relating to the ridge point of the wavelet coefficient modules. From the modulated fringe pattern * f*(

_{m}

*,*x

*), we compute the 2D-cwt wavelet coefficients as defined in Eq. (3) and represented again as*y

The 2D complex Morlet is used as the mother wavelet: it is essentially a plane wave modulated by a Gaussian window, and is expressed as:

where * k*is the specific spatial frequency that should be in the range 5–6 in order to satisfy the admissibility condition [49], and

_{0}

*= −1.*j

^{2}

A new matrix containing the maximum value of each column of the wavelet coefficient modulus array defines the wavelet ridge, and then, the corresponding scale value is determined from the ridge wavelet [50, 51]. The maximum scales * s*correspond to the maximum ridge of the obtained wavelet coefficients modulus:

_{max}

where * s*represents the scale value for maxima. The phase derivative is obtained by

_{max}

The horizontal and vertical phase derivatives evaluated from the speckle fringe correlation are presented in Figure 7.

#### 4.2.4. Optical phase extraction using 2D-dwt

This application concerns to extract the optical phase distribution by dwt components using the 2D discrete wavelets transform and Gabor’s function as the mother wavelet. The 2D-dwt method decomposes the fringe pattern into two components: approximation (low-frequency) and details (high-frequency) using two principal quadrature mirror decomposition filters: low-pass and high-pass filters.

We consider the modulated fringes expressed in Eq. (30) as * φ*(

*,*x

*). Figure 8 presents the four sub-bands of the modulated speckle fringe correlation after 2D-dwt decomposition.*y

The optical phase distribution coded in the modulated fringe pattern is evaluated by computing the arctangent function of the ratio between the detail and approximation images as following:

Inside the atan2 function, the numerator and denominator present the convolution product between * f*and the two filters

_{m}

*and*h

*, and give the detail and approximation images respectively. An illustration of the two images is shown in Figure 9.*g

The detailed image in the numerator is chosen according to the direction of modulation. The low-pass filter * h*and high-pass filters g are respectively the real and imaginary part of Gabor function expressed as:

The 2D Gabor’s function [52] is the extension of the 1D Gabor function introduced by Gabor [53]. It is defined by a Gaussian window that modulates a complex exponential centered at a fixed frequency It is formulated by:

Central frequency, orientation, spatial extent, and aspect are four essential parameters characterize Gabor function, and they can be adjusted by varying respectively * f*and

_{0}, θ, σ

_{x}

*. The use of the atan2 function in Eq. (48) provides the phase distribution modulo 2π as shown in Figure 10a. To remove this discontinuity, a phase unwrapping step is obligatory [54]; for this reason, we have implemented the PUMA algorithm [55]. The unwrapped phase illustration in three-dimensional representations is presented in Figure 10b.*σ

_{y}

### 4.3. Discussion of wavelet techniques on the numerically simulated fringe correlations

In order to study the performance and validity of the algorithms, an image quality assessment (* Q*) is used [56]. This metric model any image distortion by combining three factors. The first factor is the loss of correlation between the ideal and the obtained images denoted

*and*O

*respectively, which measures the linear correlation degree between the two input images. This factor is defined as:*E

The second factor is luminance distortion, it measures the mean luminance between * O*and

*, which its value is computed as:*E

The third factor is contrast distortion that measures the contrast similarity between the two images and it is defined as:

And then, the Q coefficient is computed by the product of three factors:

where * O*and

*respectively,*E,

*index takes values between −1 and 1 where 1 means that the retrieval characteristic is exact. The Table 1 below summarizes the computed*Q

*index values.*Q

Retrieved characteristic map | index value | Time in seconds |
---|---|---|

Horizontal phase gradient | 0.95 (1-cwt) & 0.96 (2-cwt) | 50.23 (1-cwt) & 20 (2-cwt) |

Vertical phase gradient | 0.95 (1-cwt) & 0.96 (2-cwt) | 50.26 (1-cwt) & 20.11 (2-cwt) |

Recovered phase distribution by 2-dwt | 0.97 | 10.55 |

As a note, the 1D-cwt analyses images line by line, whereas the 2D-cwt scans images with the help of the parameter of orientation. On the analysis time side, we used Matlab on a 2.93 GHz Intel Pentium processor machine with 4 GB RAM. According to the * Q*index values, the presented algorithms give the desired information with good accuracy (

*between 0.95 and 0.97).*Q

### 4.4. Application on an experimental speckle fringe correlation

After the presentation of the four applications of the stationary, continuous and discrete wavelet transform for fringe pattern analysis, and the favorable effectiveness validated by computer simulation, we exploit this algorithmic arsenal to analyze an experimental speckle fringe pattern recorded by using the DSPI setup showed in Figure 11a.

In DSPI, two specklegrams corresponding to the two different states (before and after deformation) of the object are recorded with an image sensor and then subtracted in order to get the speckle fringe correlation as shown in Figure 11b. Figure 11c shows the denoised fringe resulting from the swt thresholding technique. The wrapped phase distribution and corresponding three-dimensional continuous phase distribution are shown in Figures 12a and b, respectively. The horizontal and vertical phase derivatives are shown in Figure 13.

## 5. Conclusion

This chapter has introduced an important thematic in interferometric metrology namely, fringe pattern analysis. We have discussed the capability of wavelets transform families (stationary, continuous and discrete wavelet) to analyze the fringe patterns.

This analysis consists in extracting the optical phase distribution coded in the fringes and its horizontal and vertical derivatives. We have presented with the help of computer simulations four applications of the wavelet transform, in order to analyze the speckle fringes correlation obtained in digital speckle pattern interferometry (DSPI). We summarize these applications as:

Speckle noise reduction using stationary wavelet transform thresholding technique.

Phase derivative extraction using one and two-dimensional continuous wavelet transform.

Optical phase distribution extraction using the two-dimensional discrete wavelet transform

## Acknowledgments

Manoj Kumar and Osamu Matoba acknowledge the support by Japan Society for the Promotion of Science KAKENHI (17F17370, 18H03888) and JST CREST Grant Number JPMJCR1755. All the authors wish to thank the anonymous reviewers for their great insight, comments, and suggestions.