- Research
- Open Access
- Published:

# Iterative projection approach for phase retrieval of semi-sparse wave field

*EURASIP Journal on Advances in Signal Processing*
**volume 2014**, Article number: 24 (2014)

## Abstract

In the paper, we consider the problem of two-dimensional (2D) phase retrieval, which recovers a 2D complex-valued wave field from magnitudes of both wave field and its Fourier transform. Due to the absence of the phase measurements, prior information on wave field is needed in order to recover phase, which is feasible when the phases of the wave field are sparse. In this paper, we improve the phase retrieval accuracy by incorporating phase sparse constraint of wave field. As a sequel to previous iterative projection approaches, iterative projection approaches with phase sparse constraint are realized based on ‘soft thresholding’. It has superior performances in terms of convergence, residual error, noise stability, and suitability in large-scale phase retrieval problems. Numerical experiments illustrate that the proposed approach outperforms existing iterative projection approaches.

## 1 Introduction

Recovery of a signal from the magnitudes of its Fourier transform, also known as phase retrieval, is of great interest in applications such as astronomy[1], optical phased array[2], adaptive optics[3], and signal processing[4–6]. Up to now, there are two main categories of phase retrieval approaches in existing approaches, namely, semi-definite programming-based (SDP-based) approaches[7–11] and iterative projection approaches (Fienup-type methods)[12–18]. SDP-based approaches are not suitable for large-scale problems, so we do not discuss them in the paper. For iterative projection approaches, the first proposed algorithm is the Gerchberg and Saxton approach (GS)[12]. In 1982, Fienup systematized the earlier works and introduced some types of phase-retrieval approaches: error reduction (ER) and the hybrid input-output algorithm (HIO)[13]. Besides, a few of iterative projection variants have been proposed, such as solvent flipping algorithm (SF)[14], averaged successive reflection algorithm (ASR)[15], hybrid projection reflection algorithm (HPR)[16], and relaxed averaged alternating reflectors algorithm (RAAR)[17]. In 2007, a comprehensive description about iterative projection approaches was reviewed[18]. Despite tremendous progress, iterative projection approaches are known to suffer from convergence issues and often do not lead to correct recovery especially in one-dimensional (1D) problems. Alternating projection phasing approaches are plagued by stagnation and spurious errors partly due to intrinsic non-uniqueness of the standard phase retrieval problem. Recently, many researchers exploit the sparsity property of a signal as a priori information to recover signal, and many sparse signal processing approaches are proposed. Interested authors are encouraged to read literatures[19–22]. Motivated by sparse signal processing communities, many phase retrieval approaches by incorporating sparsity property of wave field are discussed[23–30]. However, it is just assumed that the underling wave field is sparse in these literatures. If the phases of a wave field are sparse but the magnitudes of wave field are not[31] (it is called as semi-sparse wave field in the paper), as far as we know, existing phase retrieval approaches with sparse constraint cannot utilize a priori information to recover the sparse phase. This is the reason why we address the issue in the paper. Different from existing sparse phase retrieval approaches in[23–30], we propose an iterative projection approach with phase sparse constraint for semi-sparse wave field. As phase sparse constraint is exploited, the proposed approach has superior performances than the existing iterative projection approaches in terms of rapid convergence, smaller residual error, noise stability, and suitability in large-scale phase retrieval problems. They are the main contributions of the paper.

The organization of this paper is as follows. Section 2 contains the problem formulation. The proposed iterative projection approach with phase sparse constraint is presented in Section 3. We demonstrate the performances of the proposed phase retrieval approach by numerical experiments in Section 4. Finally, the conclusions of the paper are given in Section 5.

## 2 Problem formulation

We denote 2D complex-valued discrete wave field by *u*(*ξ*,*η*), which is related to its discrete Fourier transform (DFT) *U*(*x*,*y*), by

where

is a 2D spatial coordinate, and(x,y)\in \mathrm{\Pi}\triangleq \{0,1,\cdots ,M-1\}\times \{0,1,\cdots ,N-1\} is a 2D spatial frequency coordinate. The symbol ‘ ∘’ denotes the Hadamard product. Meanwhile, we rewrite the complex-valued wave field *u*(*ξ*,*η*) in polar form, which yields

Moreover, we also present the inverse discrete Fourier transform (IDFT) as

Phase retrieval task is to recover *ϕ*(*ξ*,*η*) from measurements of both |*U*(*x*,*y*)| and |*u*(*ξ*,*η*)|. In the paper, we assume that the phases of wave field are sparse, but its magnitudes are not (i.e., semi-sparse wave field). As the prior knowledge about *ϕ*(*ξ*,*η*) is employed in phase retrieval, we can obtain an improved recovery quality. Clearly, from the mathematical point of view, recovering phases of wave field can be stated as an inverse problem. Hereafter, we call |*U*(*x*,*y*)| and |*u*(*ξ*,*η*)| as Fourier plane measurement and object plane measurement, respectively.

## 3 Problem solution

### 3.1 Conventional iterative projection approaches

To the best of our knowledge, GS is the first successful iterative projection approach for the phase retrieval problem. Even more important, the work on GS approach was continued and improved by many researchers. A few modified iterative projection approaches have now been proposed. These approaches try to find the intersection between two sets (i.e., Γ and Π in Section 2)[13–18]. Typically, those are the set of all the possible objects with a given |*U*(*x*,*y*)| and the set of all the objects that are constrained within Γ. The search for the intersection is based on the information obtained by projecting the current estimate on the two sets. An error metric is obtained by evaluating the distance between the current estimate and a given set. The block diagram of the iterative projection approaches is illustrated in Figure1.

Besides GS, there are a few of other iterative projection approaches, such as ER, HIO, SF, ASR, and RAAR[13–18]. All of them have the same block diagram as in Figure1. In the next, we take GS approach for an example to describe the procedures of iterative projection approach, which are shown in details in Algorithm 1.

**Algorithm 1 GS-type approach (GS) for phase retrieval**

*Remark 1*. Noted that the presented GS-type approach in Algorithm 1 is different from the standard GS approach because there is an additional window operator in step 5. Although it is a simple modification based on standard GS approach by introducing window function, interestingly, simulation experiment shows that it does improve recovery performance in Section 4. For simplicity, we call the GS-type approach with window function as the GS approach in the paper.

*Remark 2*. The uniqueness of phase retrieval: In general, the unique phase retrieval from Fourier transform magnitude-only data is impossible. However, we utilize magnitudes of semi-sparse wave field and its Fourier transform; two measurements are used to resolve the phase ambiguity. To recover *M* × *N* phases, there are 2*M* × *N* unknown variables, and hence, we can resolve all unknown variables using two measurements. If the solution exists, it must be unique. This is the reason why there is no phase ambiguity problem in the paper.

*Remark 3*. Explanations of window operator: For the GS-type approach with window function in Algorithm 1, we present some trivial explanations why window operator **w** is helpful to improve the reconstruction performance. Because using window operator is actually equivalent to introduce some prior information for the phases of semi-sparse wave field, consider an extreme case, for example, if the window operator is the phase support of the semi-sparse wave field, the phase support of wave field is known exactly. Obviously, it improves the reconstruction performance from the aspect with window operator.

### 3.2 The proposed iterative projection approaches with phase sparse constraint

In subsection 3.1, we discussed some existing iterative projection approaches. However, all of them do not consider the structure property about *ϕ*(*ξ*,*η*). As a matter of fact, we can utilize this property to improve the recovery performance when *ϕ*(*ξ*,*η*) is sparse.

In this subsection, we present a counterpart of iterative projection approach with phase sparse constraint for phase retrieval. The approach starts with a random initialization of the phase in each iteration; the inverse Fourier transform is computed as the same as the conventional iterative projection approaches. The phase of inverse Fourier transform filtered by a ‘soft thresholding’ operator is then computed to obtain the redefined phase estimate. This procedure is repeated until phase residual error or a maximum number of iterations is reached.

Next, we propose a soft thresholding strategy to keep *ϕ*(*ξ*,*η*) be sparse in each iterative step. The soft thresholding operator is defined as

The thresholding parameter *λ* makes a fixed portion of the elements of *ϕ*(*ξ*,*η*) be non-zero. As a matter of fact, the soft thresholding strategy is popular in many other iterative approaches such as alternative direction method (ADM)[5]. Similar to conventional iterative projection approaches, we present a block diagram of the iterative projection approaches with phase sparse constraint in Figure2.

In fact, it can be extended into a few of iterative projection approaches with phase sparse constraint. To distinguish from conventional ER, HIO, ASR, and RAAR, we denote by iterative projection approaches with phase sparse constraint ER-PhSparse, HIO-PhSparse, ASR-PhSparse, RAAR-PhSparse, respectively. All of them have the same block diagram as in Figure2. For simplicity, we take GS for example to describe the procedures of iterative projection approach with phase sparse constraint, which is shown in Algorithm 2.

**Algorithm 2 GS-type iterative projection approach with phase sparse constraint (GS-PhSparse) for phase retrieval**

#### 3.2.1 Parameter *λ* selection

It is noted that the thresholding parameter *λ* in Algorithm 2 is in the range [0,1]. In order to select the parameter *λ* properly, in the paper, we select different *λ* values within the range [0,1] in ascending order and denote them by {*λ*_{1},*λ*_{2},⋯,*λ*_{
P
}} at first. And then, by given *λ*_{
i
}, we calculate relative errore(i)={||{\varphi}_{{\lambda}_{i}}(\psi ,\eta )-{\varphi}_{{\lambda}_{i+1}}(\psi ,\eta )||}_{F} with the procedures in Algorithm 2, where{\varphi}_{{\lambda}_{i}}(\psi ,\eta ) is the recovered phase given by *λ*_{
i
}, *i* = 1,2,⋯,*P*. Finally, we fit a second-order polynomial function *err*(*λ*) with (*λ*_{
i
},*e*(*i*)) for *i* = 1,2,⋯,*P*, and we select{\lambda}^{\ast}=\underset{\lambda}{\text{argmin}}\phantom{\rule{.3em}{0ex}}\mathit{\text{err}}(\lambda ) as the optimal value.

The convergence of the proposed GS-PhSparse approach cannot be guaranteed. It remains to be a difficult problem in the phase retrieval. A mathematical rigorous analysis has not been found in many existing approaches for conventional phase retrieval including ER, HIO, ASR, and RAAR. However, we must point out that the error reduction holds in the GS-PhSparse approach. The main result of error reduction of the GS-PhSparse is presented in Theorem 1.

**Theorem 1.**
*For the ith iteration, define the mean squared error (MSE) as*

*where* |*U*^{i}(*x*,*y*)| *and* |*U*(*x*,*y*)| *are Fourier transform magnitude of u*^{i}(*x*,*y*) *and Fourier domain measured magnitude, respectively. u*^{i}(*ξ*,*η*) *is the recovered signal in ith iteration*.{u}_{t}^{i}(\xi ,\eta )*is defined the same as in step 5 in Algorithm 2. For* ∀*ξ*,∀*η*, *if*

*holds, then the error in* (*i* + 1)*th iteration is less than or equals that in the ith iteration, i.e.,*{\text{E}}_{i}\ge {\text{E}}_{i+1}, for ∀*i*.

*Proof 1.* To consider

Since|{U}_{t}^{i}(x,y)|=|U(x,y)|, for ∀*i*, yields,

where |*U*(*x*,*y*)| is the observed Fourier magnitude. It is noted that |*U*^{i}(*x*,*y*)| and|{U}_{t}^{i}(x,y)| have the same phase *ψ*^{i}(*x*,*y*), and hence, we can rewrite that

where the last equality above follows Parseval’s theorem. Meanwhile, we also have a relationship as following:

where the above inequality follows as a direct consequence of the triangle inequality. On the other hand, since\text{sign}\left(\frac{{u}^{i}(\xi ,\eta )+{u}^{i+1}(\xi ,\eta )}{2}-{u}_{t}^{i}(\xi ,\eta )\right)=\text{sign}\left({u}^{i}(\xi ,\eta )-\right.\left(\right)close=")">\n \n \n \n u\n \n \n i\n +\n 1\n \n \n (\n \xi \n ,\n \eta \n )\n \n for ∀*ξ*,∀*η*, and we have

*Case 1*. if\frac{{u}^{i}(\xi ,\eta )+{u}^{i+1}(\xi ,\eta )}{2}\le {u}_{t}^{i}(\xi ,\eta ), and *u*^{i}(*ξ*,*η*) ≤ *u*^{i+1}(*ξ*,*η*), we can get

for ∀*ξ*,∀*η*, equivalently,

for ∀*ξ*,∀*η*, yields

*Case 2*. If\frac{{u}^{i}(\xi ,\eta )+{u}^{i+1}(\xi ,\eta )}{2}\ge {u}_{t}^{i}(\xi ,\eta ) and{u}^{i}(\xi ,\eta )\ge {u}^{i+1}(\xi ,\eta ), in the same way, we can also have

Combined with (9) and (10), we know that{\text{E}}_{i}\ge {\text{E}}_{i+1} holds for ∀*i*, immediately.

Generally speaking, it is hard to prove whether Equation (6) holds or not with mathematical analysis. However, the above theorem presents a sufficient, but not a necessary condition which ensures that the MSE decreases. It is very important in theory. As a matter of fact, the inequality relationship (14) holds for general semi-sparse wave field, which is confirmed in Section 4 by numerical simulations. In the next, we present another meaningful result, which tells us that the recovered phase error is bounded with the proposed approach.

**Theorem 2.** *Let ϕ*^{i}(*ξ*,*η*) *be the recovered phase of signals in the ith iterative signal*.{\varphi}_{t}^{i}(\xi ,\eta )*is an inverse Fourier transform of*{U}_{t}^{i}(x,y), *which is defined in step 5 of Algorithm 2*. *ϕ*^{i+1}(*ξ*,*η*) *is the updated phase of the semi-sparse wave field in the ith iteration. If phase ϕ*(*ξ*,*η*) *is a K*-*sparse on support set S, namely*,S\triangleq \{\varphi (\xi ,\eta ):|\text{supp{}\varphi (\xi ,\eta )\}|=K\}, *then there exists a thresholding parameter λ, with the phase update rule*{\varphi}^{i+1}(\xi ,\eta )\leftarrow {\text{TH}}_{\lambda}\{{\varphi}_{t}^{i}(\xi ,\eta )\}=\text{sign}\left({\varphi}_{t}^{i}(\xi ,\eta )\right){\left(|{\varphi}_{t}^{i}(\xi ,\eta )|-\lambda \right)}^{+}, *the recovered relative phase residual*{||\widehat{\varphi}(\xi ,\eta )-\varphi (\xi ,\eta )||}_{F}/{||\varphi (\xi ,\eta )||}_{F}*is bounded.*

*Proof 2*. Consider *ϕ*^{i+1}(*ξ*,*η*) is the best possible sparse approximation with *K*-sparse (because it is formed by retaining the *K* largest entries in{\varphi}_{t}^{i}(\xi ,\eta ) and setting others to zero) and *ϕ*^{i}(*ξ*,*η*) is also *K*-sparse. And, thus, we have

Since *ϕ*^{i}(*ξ*,*η*) ∈ *S*, we have the inequality

Therefore, the phase residual in the (*i* + 1)th iteration is less than or equals that in the *i* th iteration. In the above inequality, the equality holds if and only if *ϕ*^{i}(*ξ*,*η*) = *ϕ*^{i+1}(*ξ*,*η*). It shows that the recovered phase residual is bounded, since there exists a one-to-one mapping between sparsity degree and thresholding parameter *λ*. In other words, if |supp{*ϕ*(*ξ*,*η*)}| = *K*, there must exist *λ* and make the non-zero number of entries in\mathrm{T}{\mathrm{H}}_{\lambda}\text{{}{\varphi}_{t}^{i}(\xi ,\eta )\} equal to *K*. Therefore, using the phase update rule in GS-PhSparse, the recovered phase residual{||\widehat{\varphi}(\xi ,\eta )-\varphi (\xi ,\eta )||}_{F} is bounded. Certainly,{||\widehat{\varphi}(\xi ,\eta )-\varphi (\xi ,\eta )||}_{F}/{||\varphi (\xi ,\eta )||}_{F} is also bounded.

Once again, we point out that the corresponding iterative projection approaches with phase sparse constraint (i.e., ER-PhSparse, HIO-PhSparse, ASR-PhSparse, and RAAR-PhSparse) can be derived directly. Considering GS is the first successful iterative projection approach for phase retrieval and RAAR is the latest proposed version, in the next section, we just employ GS and GS-PhSparse, RAAR, and RAAR-PhSparse for comparison.

## 4 Numerical simulations

In this section, we provide several numerical simulations to demonstrate the performance of the proposed approach. Two images, ‘Lena’ and ‘phantom’, are taken to imitate the magnitude distribution and sparse phase distribution of wave field *u*(*ξ*,*η*), respectively. The wave field size is 256 × 256. Magnitudes of wave field are nonnegative and its phases are sparse. The magnitude distribution and phase distribution of wave field *u*(*ξ*,*η*) are shown in Figure3a,b,c, respectively. Figure3c is obtained by setting all elements which are greater than 0.3 in Figure3b to 0. The range of true phases in Figure3c is [0,*π*/2]. To estimate the recovery, we define normalized residual as

The approach is terminated if R_Error ≤ 10^{-4} or a maximum number of iterations, 100, is reached. The reconstruction accuracy is characterized by relative signal-to-noise ratio (RSNR), which is defined as

Under these assumptions, we do several experiments from several aspects below.

**Experiment 1.** In order to illustrate that the recovery performance can be improved with window function, in this experiment, we calculate the RSNR with Blackman window function and rectangle window function. The Blackman window function and rectangle window function are presented in the following: The Blackman window of length *N* is defined as\mathbf{w}={w}_{\text{blackman}}\u2022{w}_{\text{blackman}}^{T}, and *w*_{blackman}(*n*) = 0.42-0.5 cos(2*π* *n*/(*N* - 1)) + 0.08 cos(4*π* *n*/(*N* - 1)) for 0 ≤ *n* ≤ *M* - 1, where *M* is *N*/2 for even *N* and (*N* + 1)/2 for odd *N*. The window function from the top view is shown in Figure3d. In this experiment, we use Figure3a,b to imitate the magnitude distribution and sparse phase distribution of *u*(*ξ*,*η*), respectively.

Assume that object plane measurement and the Fourier plane measurement are contaminated by Gaussian noise with SNR=30 dB. The simulation result is shown in Figure4. Alternatively, keeping the same noise level and changing the sparse phase of the wave field with Figure3c, we also calculate the RSNR of the GS approach using different window functions. The simulation result is shown in Figure5. According to Figures4 and5, the advantages with window function are obvious.

**Experiment 2.** As stated in Section 3, Theorem 1 tells us that the iterative residual decreases along with the increase of the iterative number, provided that Equation (6) holds. However, Equation (6) is a sufficient, but not a necessary condition, which decreases the MSE. It is not an easy problem to answer whether Equation (6) satisfies or not. As a matter of fact, if inequality (13) (certainly the same as (14)) is satisfied, then surely the MSE will decrease. Fortunately, this requirement is not too strict, which is confirmed by numerical simulation. In the experiment, we take Figure3a,b as magnitudes and phases of semi-sparse wave field, respectively. Object plane measurement and Fourier plane measurement are contaminated by Gaussian noise with SNR = 20 dB. We calculate the iterative error between\sum _{\xi =0}^{M-1}\sum _{\eta =0}^{N-1}{|{u}^{i}(\xi ,\eta )-{u}_{t}^{i}(\xi ,\eta )|}^{2} and\sum _{\xi =0}^{M-1}\sum _{\eta =0}^{N-1}{|{u}^{i+1}(\xi ,\eta )-{u}_{t}^{i}(\xi ,\eta )|}^{2} with GS, GS-PhSparse, RAAR, and RAAR-PhSparse approaches, respectively. Especially, the iterative error with GS and GS-PhSparse is shown in Figure6a, and the iterative error with RAAR and RAAR-PhSparse is shown in Figure6b. The results of Figure6 show that inequality (13) (or (14)) holds.

**Experiment 3.** Although it is difficult to set parameter *λ*, we present a practical method to select parameter *λ* in subsection 3.2. In this experiment, we use the method proposed in subsection 3.2, which is required in the following experiments. For different noise levels, we evaluate (*e*(*i*),*λ*_{
i
}) with the GS-PhSparse approach, where *λ*_{
i
} = {0.01,0.11,0.22,0.33,0.44,0.55,0.66,0.77,0.88,0.99}, respectively. The normalized *e*(*i*) versus *λ*_{
i
} is plotted in Figure7 in discrete black ‘x’. The fitted function *err*(*λ*) is plotted in Figure7 in red ‘-*’ line. Specifically, Figure7a is evaluated with SNR = 10 dB. Figure7b is evaluated with SNR = 20 dB. Figure7c is evaluated with SNR = 30 dB, and Figure7d is evaluated with noiseless case. We can obtain similar results with the RAAR-PhSparse approach. Thus, we do not plot the results with the RAAR-PhSparse approach. According to Figure7, we select thresholding parameter *λ* = 0.5 properly.

**Experiment 4.** In the experiment, we compare two iterative projection approaches for phase retrieval: GS and the proposed iterative projection approach for phase retrieval with phase sparse constraint (i.e., GS-PhSparse). The approaches start with an all-zero initialization of the phase (i.e., *ϕ*^{0}(*ξ*,*η*) = 0) and thresholding parameter *λ* = 0.5 in simulations. Object plane measurement and Fourier plane measurement are contaminated by Gaussian noise with SNR = 30 dB. The results of recovery using GS and GS-PhSparse are shown in Figure8. Hereafter, truth magnitudes of wave field and corresponding truth phases are shown in Figure3a,b, respectively. Exactly speaking, magnitude recovery of semi-sparse wave field with GS-PhSparse approach is shown in Figure8a, and the corresponding phase recovery is shown in Figure8b. Magnitude recovery of the semi-sparse wave field with GS is shown in Figure8c, and corresponding phase recovery is shown in Figure8d. Meanwhile, we also calculate the values of RSNR which are 17.90 and 10.97 dB in Figure8b,d, respectively, which show that the GS-PhSparse has higher reconstruction accuracy than GS. According to the results in Figure8, the visual advantage of GS-PhSparse is obvious. Besides, normalized phase residuals of wave field with GS and GS-PhSparse are also simulated. The simulation result in Figure9 shows that the GS-PhSparse approach has a faster convergence speed than the GS approach.

Meanwhile, we compare another two iterative projection approaches for phase retrieval: RAAR and RAAR-PhSparse. In the simulation, initialization of the phase and thresholding parameter *λ* are the same as in GS and GS-PhSparse. The results of recovery using RAAR and RAAR-PhSparse approaches are shown in Figure10a,b,c,d. The values of RSNR are 17.96 dB in Figure10b, and 11.13 dB in Figure10d. According to the results of Figure10, again, the visual advantage of the proposed approach is obvious. Moreover, normalized phase residuals of semi-sparse wave field with RAAR and RAAR-PhSparse are also calculated. The simulation result is shown in Figure11. It shows that the RAAR-PhSparse approach also has faster residual convergence speed than the RAAR approach.

Besides, we also simulate the recovery performances of GS, GS-PhSparse, RAAR, and RAAR-PhSparse for SNR = 20 dB. The results of recovery using GS and GS-PhSparse approaches are shown in Figure12a,b,c,d, and the values of RSNR are 4.67 dB in Figure12b and 3.36 dB in Figure12d. The corresponding normalized phase residuals of semi-sparse wave field with GS and GS-PhSparse are plotted in Figure13, which shows that the GS-PhSparse approach has smaller residual than the GS approach. The results of recovery using RAAR and RAAR-PhSparse approaches are shown in Figure14a,b,c,d, and the values of RSNR are 5.31 dB in Figure14b and 3.51 dB in Figure14d. The normalized phase residuals of the semi-sparse wave field with RAAR and RAAR-PhSparse are plotted in Figure15. According to the results of Figures12 to15, the visual advantages of the proposed approach are obvious.

**Experiment 5.** In Experiments 1, 2, and 4, we assume the same noise level for both object plane measurement and Fourier plane measurement (SNR = 30 or SNR = 20 dB simultaneously). However, in this experiment, it shows that there are different effects when different noise levels are imposed on different measurements. Assuming two measurements, one is SNR = 30 dB, and the other is SNR = 20 dB. We calculate the RSNR of the recovered phases for different combinations of noise levels, such as (20 and 30 dB), (30 and 20 dB), (30 and 30 dB), and (20 and 20 dB), respectively. For example, (20 and 30 dB), it means that the SNR on the object measurement plane is 20 dB and that on the Fourier measurement plane is 30 dB. The other combinations have the same meaning, and the unit dB is ommitted for simplicity in Table1. According to the results in Table1, we find that different approaches have different sensitivities to different plane noises. GS and GS-PhSparse approaches are more sensitive to Fourier measurement plane noise level, but the RAAR and RAAR-PhSparse approaches are more sensitive to object measurement plane noise level. They have different robustness to noise.

*Remark 4*. Robust to noise: In the above experiments, Gaussian noise levels are with SNR = 30 and 20 dB. They are so small as to be worthy of formal discussion. As a matter of fact, the proposed approach is also suitable for larger noise level. In the case, we average multiple noisy measurements from object plane and Fourier measurement plane. We calculate the reconstruct performance of the proposed approach in SNR=10 dB, and we averaged 50 trial noisy measurements. The values of RSNR with GS-PhSparse and GS are 11.61 and 7.51 dB, respectively. And, the values of RSNR with RAAR-PhSparse and RAAR are 11.78 and 7.55 dB, respectively. Therefore, the proposed approach with multiple measurements is suitable for lager noisy cases.

**Experiment 6.** We discuss how to deal with the large-scale phase retrieval problem in the experiment. In the simulation, the wave field size is assumed be 1,024 × 1,024. The magnitude distribution and phase distribution of the semi-sparse wave field are shown in Figure16a,d, respectively. All approaches terminate after a given number of iterations (30 iterations in RAAR-PhSparse and RAAR, 60 iterations in GS-PhSparse and GS). Object plane measurement and Fourier plane measurement are contaminated by Gaussian noise with SNR = 30 dB. The other parameters are the same as in Experiment 4. For large-scale phase retrieval problem, one popular solution is to divide wave field with 1,024 × 1,024 into several smaller wave fields (say 16 wave fields with 256 × 256). For each smaller wave field, we can use the same procedures in Experiment 4 to reconstruct each smaller wave field. Once all the smaller wave fields with 256 × 256 are reconstructed, the wave field with 1,024 × 1,024 is determined.

However, considering the complexity of the iterative projection-type approach, for the wave field size of 1,024 × 1,024, we need not divide it into several smaller wave fields in the experiment. A wave field with 1,024 × 1,024 can be reconstructed with the proposed approach directly. The results of recovery with RAAR-PhSparse and RAAR are shown in Figure16. And, the results of recovery with GS-PhSparse and GS are shown in Figure17. Exactly speaking, the magnitude recovery of semi-sparse wave field with RAAR-PhSparse approach is shown in Figure16b, and corresponding phase recovery is shown in Figure16e. The magnitude recovery of the semi-sparse wave field with RAAR is shown in Figure16c, and corresponding phase recovery is shown in Figure16f. The magnitude recovery of the semi-sparse wave field with the GS-PhSparse approach is shown in Figure17b, and corresponding phase recovery is shown in Figure17e. The magnitude recovery of the semi-sparse wave field with GS is shown in Figure17c, and corresponding phase recovery is shown in Figure17f.

**Experiment 7.** In the experiment, we verify the proposed approach which has the ability of enhancing the resolution. The magnitude distribution and phase distribution of wave field are the same as in Experiment 6, which are shown in Figure18a,d, respectively. In simulation, both noise level and iterations are the same as those in Experiment 6, too. However, in order to illustrate the ability of enhancing the resolution in the proposed approach, only a half magnitude on the Fourier measurement plane was utilized in the simulation. The results of recovery using RAAR-PhSparse and RAAR are shown in Figure18. And, the results of recovery using GS-PhSparse and GS are shown in Figure19. From Figures18 and19, the visual advantages of the proposed approach are obvious. Meanwhile, we calculate the values of RSNR with RAAR-PhSparse and RAAR in Figure18, which are 12.37 and 1.31 dB, respectively. The values of RSNR with GS-PhSparse and GS in Figure19, which are 12.32 and 1.19 dB, respectively. Obviously, the proposed approach has the ability of enhancing the resolution.

A more detailed simulation comparison between the iterative projection approaches for phase retrieval and those with phase sparse constraint is not reported in this paper. As a matter of fact, all iterative projection approaches for phase retrieval with phase sparse constraint have a good recovery quantity and faster residual convergence speed than the counterparts.

## 5 Conclusions

The problem of 2D phase retrieval, namely, recovery of a 2D semi-sparse wave field from magnitudes of both wave field and its Fourier transform is addressed in the paper. The key aspect of our work is that the phase sparse constraint is applied in each iteration by retaining only phase elements that are larger than thresholding parameter and setting others equal to zero and thus refine the estimate of the phase. Unlike the standard phase retrieval approaches, this allows us to have variable phase support in each iteration in the literature. Simulation experiments demonstrate advantages of the proposed approach, including rapid convergence, small residual error, noise stability,s and suitability in large-scale phase retrieval problems.

## References

Dainty J, Fienup JR: Phase retrieval and image reconstruction for astronomy.

*Image Recovery: Theory Appl*1987, 13: 231-275.McManamon P: An overview of optical phased array technology and status.

*Proc. SPIE*2005, 5947: 59470I-10.Gonsalves RA:

*Proc. SPIE*. 1982, 21: 829-832.Dragoman D: Applications of the Wigner distribution function in signal processing.

*EURASIP J. Adv. Sig. Proc*2005, 10: 1520-1534.Yang Z:

*Robust compressive phase retrieval via L1 minimization with application to image reconstruction.*Ithaca: Cornell University; 2013.Davidoiu V, Sixou B, Langery M, Peyrin F:

*Non-linear phase retrieval combined with iterative thresholding in wavelet coordinates. Paper presented at the 20th European signal processing conference.*Bucharest: EUSIPCO; 27–31 Aug 2012:27-31.Ohlsson H, Yang A, Dong R, Sastry S: Compressive phase retrieval from squared output measurements via semidefinite programming. 2011.

Candes EJ, Li XD: Solving quadratic equations via phaseLift when there are about as many equations as unknowns.

*Found. Comput. Math*2013. doi:10.1007/s10208-013-9162-zWaldspurger I, d’Aspremont A, Mallat S:

*Phase recovery, maxcut and complex semidefinite programming.*Ithaca: Cornell University; 2012.Jaganathan K, Oymak S, Hassibi B:

*Phase retrieval for sparse signals using rank minimization. Paper presented at the IEEE international conference on acoustics, speech, and signal processing.*Kyoto: ICASSP; 25–30 March 2012:3449-3452.Jaganathan K, Oymak S, Hassibi B:

*Sparse phase retrieval: convex algorithms and limitations.*Ithaca: Cornell University; 2013.Orengo RW, Saxton WO: A practical algorithm for the determination of phase from image and diffraction plane pictures.

*Optik*1972, 35: 237-246.Fienup JR: Phase retrieval algorithms: a comparison.

*Appl. Opt*1982, 21: 2758-2769. 10.1364/AO.21.002758Bauschke HH, Combettes PL, Luke DR: Phase retrieval, error reduction algorithm, and Fienup variants: a view from convex optimization.

*J. Opt. Soc. Amer. A*2002, 19: 1334-1345. 10.1364/JOSAA.19.001334Elser V: Phase retrieval by iterated projections.

*J. Opt. Soc. Amer. A*2003, 20: 40-55. 10.1364/JOSAA.20.000040Bauschke HH, Combettes PL, Luke DR: Hybrid projection reflection method for phase retrieval.

*J. Opt. Soc. Amer. A*2003, 20: 1025-1034. 10.1364/JOSAA.20.001025Luke DR: Relaxed averaged alternating reflections for diffraction imaging.

*Inverse Probl*2005, 21: 37-50. 10.1088/0266-5611/21/1/004Marchesini S: A unified evaluation of iterative projection algorithms for phase retrieval.

*Rev. Sci. Instrum*2007, 78: 1-10.Liu YP, Vos MD, Gligorijevic I, Matic V, Li YQ, Huffel SV: Multi-structural signal recovery for biomedical compressive sensing.

*IEEE Trans. Biomed. Eng*2013, 60: 2794-2805.Gui G, Peng W, Adachi F: Sub-Nyquist rate ADC sampling-based compressive channel estimation.

*Wireless Commun. Mobile Comput*2013., 10: doi:10.1002/wcm2372Gui G, Adachi F: Improved least mean square algorithm with application to adaptive sparse channel estimation.

*EURASIP J. Wireless Commun. Netw*2013. doi:10.1186/1687- 1499 -2013-204.3Marvasti F, Amini A, Haddadi F, Soltanolkotabi M, Khalaj BH, Aldroubi A, Sanei S, Chambers J: A unified approach to sparse signal processing.

*EURASIP J. Adv. Sig. Proc*2012. doi:10.1186/1687-6180-2012-44Shechtman Y, Eldar Y, Szameit A, Segev M: Sparsity based sub-wavelength imaging with partially incoherent light via quadratic compressed sensing.

*Opt. Express*2011, 19: 14807-14822. 10.1364/OE.19.014807Mukherjee S, Seelamantula C:

*An iterative algorithm for phase retrieval with sparsity constraints: application to frequency domain optical coherence tomography. Paper presented at the IEEE international conference on acoustics, speech, and signal processing.*Kyoto: ICASSP; 25–30 March 2012:553-556.Shechtman Y, Beck A, Eldar YC:

*GESPAR: efficient phase retrieval of sparse signals.*Ithaca: Cornell University; 2013.Netrapalli P, Jain P:

*Phase retrieval using alternating minimization.*Ithaca: Cornell University; 2013.Katkovnik V, Astola J, Luke DR: High-accuracy wave field reconstruction: decoupled inverse imaging with sparse modeling of phase and amplitude.

*J. Opt. Soc. Amer. A*2012, 29: 44-54. 10.1364/JOSAA.29.000044Katkovnik V, Astola J, Luke DR: Phase retrieval via spatial light modulator phase modulation in 4f optical setup: numerical inverse imaging with sparse regularization for phase and amplitude.

*J. Opt. Soc. Amer. A*2012, 29: 105-116. 10.1364/JOSAA.29.000105Migukin A, Katkovnik V, Astola J: Advanced multi-plane phase retrieval using graphic processing unit: augmented Lagrangian technique with sparse regularization.

*Proc. SPIE*2012, 8429: 84291N. doi:10.1117/12.922343Migukin A, Agour M, Katkovnik V: Phase retrieval in 4f optical system: background compensation and sparse regularization of object with binary amplitude.

*Appl. Opt*2013, 52: A269-A280. 10.1364/AO.52.00A269Migukin A: Iterative Phase Retrieval fromMultiple Noisy Observations: Variational and Sparse Object Approximation Techniques. PhD Thesis, Computer Science Department, Tampere University of Technology, 2012

## Acknowledgements

This paper is dedicated to welcome Shiwei Zou (nicknamed Xiao Bai Long) into this world and God bless her! The authors would like to thank the anonymous reviewers for their comments that helped improve the quality of this article. The support is partly provided by the National Natural Science Foundation of China (61172140). Yipeng Liu is supported by FWO PhD/postdoc grant: G.0108.11 (compressed sensing).

## Author information

### Affiliations

### Corresponding author

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

**Open Access**
This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (
https://creativecommons.org/licenses/by/2.0
), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Fan, R., Wan, Q., Wen, F. *et al.* Iterative projection approach for phase retrieval of semi-sparse wave field.
*EURASIP J. Adv. Signal Process.* **2014, **24 (2014). https://doi.org/10.1186/1687-6180-2014-24

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/1687-6180-2014-24

### Keywords

- Sparse signal recovery
- Sparse phase retrieval
- Iterative projection
- Semi-sparse wave field
- 2D Fourier transform