Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Phase retrieval

From Wikipedia, the free encyclopedia
Algorithmic determination of wave cycle parts

Phase retrieval is the process ofalgorithmically finding solutions to thephase problem. Given a complex spectrumF(k){\displaystyle F(k)}, of amplitude|F(k)|{\displaystyle |F(k)|}, and phaseψ(k){\displaystyle \psi (k)}:

F(k)=|F(k)|eiψ(k)=f(x) e2πikxdx{\displaystyle F(k)=|F(k)|e^{i\psi (k)}=\int _{-\infty }^{\infty }f(x)\ e^{-2\pi ik\cdot x}\,dx}

wherex is anM-dimensional spatial coordinate andk is anM-dimensionalspatial frequency coordinate. Phase retrieval consists of finding the phase that satisfies a set of constraints for a measured amplitude. Important applications of phase retrieval includeX-ray crystallography,transmission electron microscopy andcoherent diffractive imaging, for whichM=2{\displaystyle M=2}.[1] Uniqueness theorems for both 1-D and 2-D cases of the phase retrieval problem, including the phaseless 1-Dinverse scattering problem, were proven by Klibanov and his collaborators (see References).

Problem formulation

[edit]
icon
This sectiondoes notcite anysources. Please helpimprove this section byadding citations to reliable sources. Unsourced material may be challenged andremoved.(September 2024) (Learn how and when to remove this message)

Here we consider 1-Ddiscrete Fourier transform (DFT) phase retrieval problem. The DFT of a complex signalf[n]{\displaystyle f[n]} is given by

F[k]=n=0N1f[n]ej2πknN,=|F[k]|ejψ[k]k=0,1,,N1{\displaystyle F[k]=\sum _{n=0}^{N-1}f[n]e^{-j2\pi {\frac {kn}{N}},}=|F[k]|\cdot e^{j\psi [k]}\quad k=0,1,\ldots ,N-1},

and the oversampled DFT ofx{\displaystyle x} is given by

F[k]=n=0N1f[n]ej2πknM,k=0,1,,M1{\displaystyle F[k]=\sum _{n=0}^{N-1}f[n]e^{-j2\pi {\frac {kn}{M}},}\quad k=0,1,\ldots ,M-1},

whereM>N{\displaystyle M>N}.

Since the DFT operator is bijective, this is equivalent to recovering the phaseψ[k]{\displaystyle \psi [k]}. It is common recovering a signal from its autocorrelation sequence instead of its Fourier magnitude. That is, denote byf^{\displaystyle {\hat {f}}} the vectorf{\displaystyle f} after padding withN1{\displaystyle N-1} zeros. The autocorrelation sequence off^{\displaystyle {\hat {f}}} is then defined as

g[m]=i=max{1,m+1}Nf^if^im¯,m=(N1),,N1{\displaystyle g[m]=\sum _{i=\max\{1,m+1\}}^{N}{\hat {f}}_{i}{\overline {{\hat {f}}_{i-m}}},\quad m=-(N-1),\ldots ,N-1},

and the DFT ofg[m]{\displaystyle g[m]}, denoted byG[k]{\displaystyle G[k]}, satisfiesG[k]=|F[k]|2{\displaystyle G[k]=|F[k]|^{2}}.

Methods

[edit]

Error reduction algorithm

[edit]

The error reduction is a generalization of theGerchberg–Saxton algorithm. It solves forf(x){\displaystyle f(x)} from measurements of|F(u)|{\displaystyle |F(u)|} by iterating a four-step process. For thek{\displaystyle k}th iteration the steps are as follows:

Step (1):Gk(u){\displaystyle G_{k}(u)},ϕk{\displaystyle \phi _{k}}, andgk(x){\displaystyle g_{k}(x)} are estimates of, respectively,F(u){\displaystyle F(u)},ψ{\displaystyle \psi } andf(x){\displaystyle f(x)}. In the first step we calculate theFourier transform ofgk(x){\displaystyle g_{k}(x)}:

Gk(u)=|Gk(u)|eiϕk(u)=F(gk(x)).{\displaystyle G_{k}(u)=|G_{k}(u)|e^{i\phi _{k}(u)}={\mathcal {F}}(g_{k}(x)).}

Step (2): The experimental value of|F(u)|{\displaystyle |F(u)|}, calculated from the diffraction pattern via the signal equation[clarification needed], is then substituted for|Gk(u)|{\displaystyle |G_{k}(u)|}, giving an estimate of the Fourier transform:

Gk(u)=|F(u)|eiϕk(u),{\displaystyle G'_{k}(u)=|F(u)|e^{i\phi _{k}(u)},}

where the ' denotes an intermediate result that will be discarded later on.

Step (3): the estimate of the Fourier transformGk(u){\displaystyle G'_{k}(u)} is then inverse Fourier transformed:

gk(x)=|gk(x)|eiθk(x)=F1(Gk(u)).{\displaystyle g'_{k}(x)=|g'_{k}(x)|e^{i\theta '_{k}(x)}={\mathcal {F}}^{-1}(G'_{k}(u)).}

Step (4):gk(x){\displaystyle g'_{k}(x)} then must be changed so that the new estimate of the object,gk+1(x){\displaystyle g_{k+1}(x)}, satisfies the object constraints[clarification needed].gk+1(x){\displaystyle g_{k+1}(x)} is therefore defined piecewise as:

gk+1(x){gk(x),xγ,0,xγ,{\displaystyle g_{k+1}(x)\equiv {\begin{cases}g'_{k}(x),&x\notin \gamma ,\\0,&x\in \gamma ,\end{cases}}}

whereγ{\displaystyle \gamma } is the domain in whichgk(x){\displaystyle g'_{k}(x)} does not satisfy the object constraints. A new estimategk+1(x){\displaystyle g_{k+1}(x)} is obtained and the four step process is repeated.

This process is continued until both the Fourier constraint and object constraint are satisfied. Theoretically, the process will always lead to aconvergence,[1] but the large number of iterations needed to produce a satisfactory image (generally >2000) results in the error-reduction algorithm by itself being unsuitable for practical applications.

Hybrid input-output algorithm

[edit]
Main article:Hybrid input-output algorithm

The hybrid input-output algorithm is a modification of the error-reduction algorithm - the first three stages are identical. However,gk(x){\displaystyle g_{k}(x)} no longer acts as an estimate off(x){\displaystyle f(x)}, but the input function corresponding to the output functiongk(x){\displaystyle g'_{k}(x)}, which is an estimate off(x){\displaystyle f(x)}.[1] In the fourth step, when the functiongk(x){\displaystyle g'_{k}(x)} violates the object constraints, the value ofgk+1(x){\displaystyle g_{k+1}(x)} is forced towards zero, but optimally not to zero. The chief advantage of the hybrid input-output algorithm is that the functiongk(x){\displaystyle g_{k}(x)} containsfeedback information concerning previous iterations, reducing the probability of stagnation. It has been shown that the hybrid input-output algorithm converges to a solution significantly faster than the error reduction algorithm. Its convergence rate can be further improved through step size optimization algorithms.[2]

gk+1(x){gk(x),xγ,gk(x)βgk(x),xγ.{\displaystyle g_{k+1}(x)\equiv {\begin{cases}g'_{k}(x),&x\notin \gamma ,\\g_{k}(x)-\beta {g'_{k}(x)},&x\in \gamma .\end{cases}}}

Hereβ{\displaystyle \beta } is a feedback parameter which can take a value between 0 and 1. For most applications,β0.9{\displaystyle \beta \approx 0.9} gives optimal results.{Scientific Reports volume 8, Article number: 6436 (2018)}

Shrinkwrap

[edit]

For a two dimensional phase retrieval problem, there is adegeneracy of solutions asf(x){\displaystyle f(x)} and its conjugatef(x){\displaystyle f^{*}(-x)} have the same Fourier modulus. This leads to "image twinning" in which the phase retrieval algorithm stagnates producing an image with features of both the object and itsconjugate.[3] The shrinkwrap technique periodically updates the estimate of the support by low-pass filtering the current estimate of the object amplitude (by convolution with aGaussian) and applying a threshold, leading to a reduction in the image ambiguity.[4]

Semidefinite relaxation-based algorithm for short time Fourier transform

[edit]

The phase retrieval is an ill-posed problem. To uniquely identify the underlying signal, in addition to the methods that adds additional prior information likeGerchberg–Saxton algorithm, the other way is to add magnitude-only measurements like short time Fourier transform (STFT).

The method introduced below mainly based on the work of Jaganathanet al.[5]

Short time Fourier transform

[edit]

Given a discrete signalx=(f[0],f[1],...,f[N1])T{\displaystyle \mathbf {x} =(f[0],f[1],...,f[N-1])^{T}} which is sampled fromf(x){\displaystyle f(x)}. We use a window of lengthW:w=(w[0],w[1],...,w[W1])T{\displaystyle \mathbf {w} =(w[0],w[1],...,w[W-1])^{T}} to compute the STFT off{\displaystyle \mathrm {f} }, denoted byY{\displaystyle \mathbf {Y} }:

Y[m,r]=n=0N1f[n]w[rLn]ei2πmnN{\displaystyle Y[m,r]=\sum _{n=0}^{N-1}{f[n]w[rL-n]e^{-i2\pi {\frac {mn}{N}}}}}

for0mN1{\displaystyle 0\leq m\leq N-1} and0rR1{\displaystyle 0\leq r\leq R-1}, where the parameterL{\displaystyle L} denotes the separation in time between adjacent short-time sections and the parameterR=N+W1L{\displaystyle R=\left\lceil {\frac {N+W-1}{L}}\right\rceil } denotes the number of short-time sections considered.

The other interpretation (called sliding window interpretation) of STFT can be used with the help of discrete Fourier transform (DFT). Letwr[n]=w[rLn]{\displaystyle w_{r}[n]=w[rL-n]} denotes the window element obtained from shifted and flipped windoww{\displaystyle \mathbf {w} }. Then we have

Y=[Y0,Y1,...,YR1]{\displaystyle \mathbf {Y} =[\mathbf {Y} _{0},\mathbf {Y} _{1},...,\mathbf {Y} _{R-1}]}, whereYr=xwr{\displaystyle \mathbf {Y} _{r}=\mathbf {x} \circ \mathbf {w} _{r}}.

Problem definition

[edit]

LetZw[m,r]=|Y[m,r]|2{\displaystyle {Z}_{w}[m,r]=|Y[m,r]|^{2}} be theN×R{\displaystyle N\times R} measurements corresponding to the magnitude-square of the STFT ofx{\displaystyle \mathbf {x} },Wr{\displaystyle \mathbf {W} _{r}} be theN×N{\displaystyle N\times N}diagonal matrix with diagonal elements(wr[0],wr[1],,wr[N1]).{\displaystyle \left(w_{r}[0],w_{r}[1],\ldots ,w_{r}[N-1]\right).} STFT phase retrieval can be stated as:


Findx{\displaystyle \mathbf {x} } such thatZw[m,r]=|fm,Wrx|2{\displaystyle Z_{w}[m,r]=\left|\left\langle \mathbf {f} _{m},\mathbf {W} _{r}\mathbf {x} \right\rangle \right|^{2}} for0mN1{\displaystyle 0\leq m\leq N-1} and0rR1{\displaystyle 0\leq r\leq R-1}, wherefm{\displaystyle \mathbf {f} _{m}} is them{\displaystyle m}-th column of theN{\displaystyle N}-point inverseDFT matrix.


Intuitively, the computational complexity growing withN{\displaystyle N} makes the method impractical. In fact, however, for the most cases in practical we only need to consider the measurements corresponding to0mM{\displaystyle 0\leq m\leq M}, for any parameterM{\displaystyle M} satisfying2WMN{\displaystyle 2W\leq M\leq N}.

To be more specifically, if both the signal and the window are notvanishing, that is,x[n]0{\displaystyle x[n]\neq 0} for all0nN1{\displaystyle 0\leq n\leq N-1} andw[n]0{\displaystyle w[n]\neq 0} for all0{\displaystyle 0\leq }nW1{\displaystyle n\leq W-1}, signalx{\displaystyle \mathbf {x} } can be uniquely identified from its STFT magnitude if the following requirements are satisfied:

  1. L<WN/2{\displaystyle L<W\leq N/2},
  2. 2WMN{\displaystyle 2W\leq M\leq N}.

The proof can be found in Jaganathan' s work,[5] which reformulates STFT phase retrieval as the following least-squares problem:

minxr=0R1m=0N1(Zw[m,r]|fm,Wrx|2)2{\displaystyle \min _{\mathbf {x} }\sum _{r=0}^{R-1}\sum _{m=0}^{N-1}\left(Z_{w}[m,r]-\left|\left\langle \mathbf {f} _{m},\mathbf {W} _{r}\mathbf {x} \right\rangle \right|^{2}\right)^{2}}.

The algorithm, although without theoretical recovery guarantees, empirically able to converge to the global minimum when there is substantial overlap between adjacent short-time sections.

Semidefinite relaxation-based algorithm

[edit]

To establish recovery guarantees, one way is to formulate the problems as a semidefinite program (SDP), by embedding the problem in a higher dimensional space using the transformationX=xx{\displaystyle \mathbf {X} =\mathbf {x} \mathbf {x} ^{\ast }} and relax the rank-one constraint to obtain a convex program. The problem reformulated is stated below:


ObtainX^{\displaystyle \mathbf {\hat {X}} } by solving:minimize   trace(X)subject to  Z[m,r]=trace(WrfmfmWrX)                   X0{\displaystyle {\begin{aligned}&\mathrm {minimize} ~~~\mathrm {trace} (\mathbf {X} )\\[6pt]&\mathrm {subject~to} ~~Z[m,r]=\mathrm {trace} (\mathbf {W} _{r}^{\ast }\mathbf {f} _{m}\mathbf {f} _{m}^{\ast }\mathbf {W} _{r}\mathbf {X} )\\[0pt]&~~~~~~~~~~~~~~~~~~~\mathbf {X} \succeq 0\end{aligned}}}for1mM{\displaystyle 1\leq m\leq M} and0rR1{\displaystyle 0\leq r\leq R-1}


OnceX^{\displaystyle \mathbf {\hat {X}} } is found, we can recover signalx{\displaystyle \mathbf {x} } by best rank-one approximation.


Applications

[edit]

Phase retrieval is a key component ofcoherent diffraction imaging (CDI). In CDI, the intensity of thediffraction pattern scattered from a target is measured. The phase of the diffraction pattern is then obtained using phase retrieval algorithms and an image of the target is constructed. In this way, phase retrieval allows for the conversion of a diffraction pattern into an image without anoptical lens.

Using phase retrieval algorithms, it is possible to characterize complex optical systems and their aberrations.[6] For example, phase retrieval was used to diagnose and repair the flawed optics of theHubble Space Telescope.[7][8]

Other applications of phase retrieval includeX-ray crystallography[9] andtransmission electron microscopy.

See also

[edit]

References

[edit]
  1. ^abcFienup, J. R. (1982-08-01)."Phase retrieval algorithms: a comparison".Applied Optics.21 (15):2758–69.Bibcode:1982ApOpt..21.2758F.doi:10.1364/AO.21.002758.ISSN 0003-6935.PMID 20396114.
  2. ^Marchesini, S. (25 January 2007). "Invited Article: A unified evaluation of iterative projection algorithms for phase retrieval".Review of Scientific Instruments.78 (1): 011301–011301–10.arXiv:physics/0603201.Bibcode:2007RScI...78a1301M.doi:10.1063/1.2403783.ISSN 0034-6748.PMID 17503899.S2CID 7462041.
  3. ^Fienup, J. R.; Wackerman, C. C. (1986-11-01)."Phase-retrieval stagnation problems and solutions".Journal of the Optical Society of America A.3 (11): 1897.Bibcode:1986JOSAA...3.1897F.doi:10.1364/JOSAA.3.001897.ISSN 1084-7529.
  4. ^Marchesini, S.; He, H.; Chapman, H. N.; Hau-Riege, S. P.; Noy, A.; Howells, M. R.; Weierstall, U.; Spence, J. C. H. (2003-10-28). "X-ray image reconstruction from a diffraction pattern alone".Physical Review B.68 (14) 140101.arXiv:physics/0306174.Bibcode:2003PhRvB..68n0101M.doi:10.1103/PhysRevB.68.140101.ISSN 0163-1829.S2CID 14224319.
  5. ^abJaganathan, Kishore; Eldar, Yonina C.; Hassibi, Babak (June 2016)."STFT Phase Retrieval: Uniqueness Guarantees and Recovery Algorithms".IEEE Journal of Selected Topics in Signal Processing.10 (4):770–781.arXiv:1508.02820.Bibcode:2016ISTSP..10..770J.doi:10.1109/JSTSP.2016.2549507.ISSN 1941-0484.
  6. ^Fienup, J. R. (1993-04-01)."Phase-retrieval algorithms for a complicated optical system".Applied Optics.32 (10):1737–1746.Bibcode:1993ApOpt..32.1737F.doi:10.1364/AO.32.001737.ISSN 2155-3165.PMID 20820307.
  7. ^"First person: A scientist's discovery puts space into focus".www.wbur.org. April 2022. Retrieved30 May 2022. Interview with Professor Robert Gonsalves.
  8. ^Krist, JE; Burrows, CJ (1995-08-01). "Phase-retrieval analysis of pre- and post-repair Hubble Space Telescope images".Applied Optics.34 (22):4951–64.Bibcode:1995ApOpt..34.4951K.doi:10.1364/AO.34.004951.PMID 21052338.
  9. ^Millane, Rick P.; Arnal, Romain D. (2015)."Uniqueness of the macromolecular crystallographic phase problem".Acta Crystallographica Section A: Foundations and Advances.71 (6):592–598.doi:10.1107/S2053273315015387.PMID 26522408.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Phase_retrieval&oldid=1320950977"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp