Algorithm Search⌘K

Conceptcore

Oversampling in phase retrieval

Also called oversampling ratio.

Sampling the diffraction intensity more finely than the object's own Nyquist spacing. The ratio of measured intensities to unknown pixels must be above 2 for the data to hold enough information.

Oversampling in phase retrieval means that the intensity of a diffraction pattern is measured on a grid that is finer than the Nyquist spacing of the object itself. The intensity is the Fourier transform of the autocorrelation of the object, and the autocorrelation is twice as wide as the object along each axis. So the samples at the object's own spacing alias the autocorrelation, and samples twice as fine hold all of it. The oversampling ratio σ\sigma is the number of measured intensities divided by the number of unknown pixels. Miao, Sayre and Chapman (1998) argued that σ>2\sigma > 2 in total is the condition, not a factor of 2 along each axis.

In plain words

A diffraction pattern records how bright the light is in each direction, but not the timing of its waves. Half of the information is lost, so the pattern alone does not give the object back.

Suppose you know that the object is small and sits inside a dark frame. If you measure the pattern at many more points than the object has pixels, you get more numbers than unknowns, and the known dark frame around the object becomes a strong clue. When the measured numbers are at least about twice the unknowns, the clue is usually enough for the iterative methods to find the object.

A crystal repeats the same cell many times, and its pattern has bright spots only at fixed places. That is like measuring too coarsely, and it is the reason why crystallography needs extra tricks.

The idea

What the samples hold. Let xx have support in a box of n1×⋯×ndn_1 \times \cdots \times n_d pixels, and let r[k]=∑tx[t+k] x[t]‾r[k] = \sum_t x[t + k]\, \overline{x[t]} be its autocorrelation, with support in a box of (2n1−1)×⋯×(2nd−1)(2n_1 - 1) \times \cdots \times (2n_d - 1) lags. The intensity is

I(ω)=∣X(ω)∣2=∑kr[k] e−ik⋅ω.I(\omega) = |X(\omega)|^2 = \sum_k r[k]\, e^{-i k \cdot \omega}.

Sample II on the grid ωk=2πj/Mk\omega_k = 2\pi j / M_k. The inverse DFT of the samples is the autocorrelation folded with period MkM_k along each axis. With Mk=nkM_k = n_k, the folding adds lag kk to lag k±nkk \pm n_k, and the data hold only the circular autocorrelation. With Mk≥2nk−1M_k \ge 2n_k - 1, there is no overlap and the data hold rr exactly (Shechtman et al. 2015, Section III.A). This is aliasing, with the autocorrelation as the signal. The same samples are the MM point DFT of xx padded with zeros to M1×⋯×MdM_1 \times \cdots \times M_d pixels.

The oversampling ratio. For the padded array,

σ=M1⋯Mdn1⋯nd=number of measured intensitiesnumber of unknown pixels.\sigma = \frac{M_1 \cdots M_d}{n_1 \cdots n_d} = \frac{\text{number of measured intensities}}{\text{number of unknown pixels}}.

Sampling at 2nk−12n_k - 1 along each axis gives σ\sigma near 22 in 1D, 44 in 2D and 88 in 3D.

The count. At σ=1\sigma = 1 the data are half of what is needed. A complex image of NN pixels has 2N2N real unknowns and gives NN intensities. A real image has NN unknowns, but its intensity has the symmetry I(−ω)=I(ω)I(-\omega) = I(\omega), so only about N/2N/2 intensities are independent. In both cases the problem is underdetermined by a factor of 22, as Miao, Sayre and Chapman state. Their conclusion is that a total ratio σ>2\sigma > 2 should be enough, and that a factor of 2 along each axis, which gives σ=4\sigma = 4 or 88, is not necessary. A count of equations is not a proof of uniqueness: in 1D, even σ=2\sigma = 2 leaves up to 2n−22^{n-2} solutions.

The link to the support. In the padded array, σ−1\sigma - 1 times as many pixels as the object has are known to be zero. The support constraint of error reduction, hybrid input-output and shrinkwrap forces these pixels to zero. So oversampling and the support constraint are the same information seen in two domains: more samples in Fourier space means a larger known zero region in object space. The support of the autocorrelation is the set of differences of points of the object support, which gives a first, loose support for these methods.

Examples

  • 1D, without and with oversampling. Take x=[1,5,6]x = [1, 5, 6] with n=3n = 3. Its autocorrelation is r=[6,35,62,35,6]r = [6, 35, 62, 35, 6] for lags −2-2 to 22, so I(ω)=62+70cos⁡ω+12cos⁡2ωI(\omega) = 62 + 70 \cos\omega + 12 \cos 2\omega. With M=3M = 3 (σ=1\sigma = 1), the samples are I(0)=144I(0) = 144 and I(2π/3)=I(4π/3)=62−35−6=21I(2\pi/3) = I(4\pi/3) = 62 - 35 - 6 = 21. Their inverse DFT is the circular autocorrelation [62,41,41][62, 41, 41], where 41=35+641 = 35 + 6 mixes lags 11 and −2-2. A real yy with these data must have ∑y2=62\sum y^2 = 62 and ∑tytyt+1 mod 3=41\sum_t y_t y_{t+1 \bmod 3} = 41, so (∑y)2=62+2⋅41=144(\sum y)^2 = 62 + 2 \cdot 41 = 144. With ∑y=12\sum y = 12 these are all points on a circle of radius 14\sqrt{14} around (4,4,4)(4, 4, 4) in the plane ∑y=12\sum y = 12. One of them is (4+7,4−7,4)(4 + \sqrt 7, 4 - \sqrt 7, 4), with squares adding to (23+87)+(23−87)+16=62(23 + 8\sqrt7) + (23 - 8\sqrt7) + 16 = 62. So a whole curve of signals fits. With M=5M = 5 (σ=5/3\sigma = 5/3, which is (2n−1)/n(2n - 1)/n), the data give all of rr, and only finitely many signals fit: the 8 listed on the phase retrieval page, ±[1,5,6]\pm[1, 5, 6], ±[6,5,1]\pm[6, 5, 1], ±[2,7,3]\pm[2, 7, 3] and ±[3,7,2]\pm[3, 7, 2].
  • 2D, less than 2 along each axis. A 16×1616 \times 16 object in a 23×2323 \times 23 array has σ=529/256≈2.07\sigma = 529 / 256 \approx 2.07. That is above 2 in total, but 23<31=2⋅16−123 < 31 = 2 \cdot 16 - 1 along each axis, so the data do not hold the full autocorrelation. The count of Miao, Sayre and Chapman covers this case; the uniqueness theorem, which uses the full autocorrelation, does not. A 31×3131 \times 31 array gives σ=961/256≈3.75\sigma = 961 / 256 \approx 3.75 and the full autocorrelation.
  • A crystal. A crystal with a unit cell of nn pixels per axis has its diffraction only at the Bragg peaks, nn samples per axis, so σ=1\sigma = 1. The data give the circular autocorrelation of the cell, the Patterson function, and the phases must come from other knowledge (see the crystallographic phase problem). Sayre (1952) noted that the intensity between the Bragg peaks would carry the missing information, but a crystal does not give it.

Where it is used

  • Coherent diffraction imaging. Coherent diffraction imaging of a single, nonperiodic object records a continuous pattern, so the detector can sample it as finely as needed. The pixel size and the distance to the detector are chosen so that σ\sigma is above 2. Shechtman et al. (2015, Section II) describe the combination of X-ray diffraction, oversampling and phase retrieval as the start of this field.
  • Iterative phase retrieval. Error reduction, hybrid input-output, the difference map, RAAR and shrinkwrap all use the zero region that the oversampling gives. With σ\sigma near 11 they have little to work with.
  • Ptychography. Ptychography records many patterns from overlapping positions of the illumination, so the data are redundant across patterns as well as within each one.

References

  1. Jianwei Miao, David Sayre and Henry N. Chapman, Phase retrieval from the magnitude of the Fourier transforms of nonperiodic objects, Journal of the Optical Society of America A 15(6), 1998, from page 1662, the abstract, which states that the phase problem is underdetermined by a factor of 2 in 1D, 2D and 3D, that oversampling by 2 in each dimension is not necessary, and the phasing tests with loose supports
  2. D. Sayre, Some implications of a theorem due to Shannon, Acta Crystallographica 5(6), 1952, page 843, the one page note that the intensity between the Bragg peaks carries information on the phase
  3. Yoav Shechtman, Yonina C. Eldar, Oren Cohen, Henry N. Chapman, Jianwei Miao and Mordechai Segev, Phase retrieval with application to optical imaging, a contemporary overview, IEEE Signal Processing Magazine 32(3), 2015, 87 to 109, Section II (Sayre 1952, and oversampling in coherent diffraction imaging), Section III.A (the oversampled DFT and the autocorrelation) and Section III.B (M of at least 2N - 1 in every dimension)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/VE5MC5/text.yaml