Abstract
This paper proposes a novel outpainting technique for quadri-wave lateral shearing interferograms which employs Quadri-Wave Generative Adversarial Networks (QW-GANs). QW-GAN is adversarially trained to capture the high-order statistics of real interferograms. It thereby avoids the Gibbs-ringing artifacts and spectral leakage caused by deterministic interpolation or single-frame extrapolation. The recovered fringes remain physically consistent with preserved Fourier support, enabling more accurate wavefront phase retrieval. Numerical simulations and comparisons with aberrations (defocus, astigmatism, coma, spherical, and random), along with real experimental results, demonstrate the enhanced reconstruction precision of our method, providing an efficient solution for wavefront reconstruction in optical applications.
Keywords: quadri-wave generative adversarial networks (QW-GAN), interferogram outpainting, wavefront reconstruction, gibbs phenomenon mitigation
1. Introduction
Quadri-wave lateral shearing interferometry (QWLSI) is a new type of wavefront sensor which was proposed in 2000 [1], and its principle is shown in Figure 1. A quadri-wave lateral shearing interferometer generates two-dimensional interferograms by replicating and mutually interfering with the wavefront under test after it passes through a specially designed diffractive element—a modified Hartmann mask grating.
Figure 1.

Schematic of the quadri-wave lateral shearing interferometry (QWLSI) wavefront imaging model and its operating principle. The incident wavefront is spatially modulated by a modified Hartmann mask through amplitude and phase modulation, generating four laterally sheared wavefront replicas that interfere at the detection plane.
An incident monochromatic wavefront impinges upon a periodic amplitude or phase grating configured as a modified Hartmann mask. Unlike a conventional Hartmann mask with isolated apertures, the modified grating consists of a two-dimensional periodic array of identical sub-apertures, each functioning as a small diffraction-limited source. Under the paraxial approximation, the field immediately after the grating can be expressed as the product of the incident field and the grating complex amplitude transmittance .
The grating is designed to select and transmit only the first diffraction orders along the two orthogonal axes. It induces shears of s in the x and y directions, while the zero-order and higher harmonics are suppressed. After propagation over a distance z corresponding to the Talbot or fractional Talbot regime, self-imaging conditions prevail. Four replicas of the original wavefront then emerge, each carrying a mutual lateral displacement. These four copies overlap spatially on the detection plane (e.g., an image sensor). The resulting intensity distribution records their interference:
| (1) |
where denotes the shear vector for diffraction order .
Over the past decade, QWLSI has been commonly used in applications such as large-aperture optical surface measurement [2,3], laser beam evaluation [4,5], biological sample imaging [6,7], and metasurface measurement [8,9,10], among others.
However, in quantitative phase imaging [11,12] and wavefront reconstruction [13,14], interferograms are typically truncated by a circular aperture, resulting in the loss of crucial information near the pupil boundary. This missing boundary information can lead to inaccuracies during the reconstruction process. Moreover, truncation at the pupil boundary causes spectral leakage, which, when directly reconstructed in the frequency domain, can introduce significant errors, as illustrated in Figure 2.
Figure 2.

Schematic illustration of the effect of circular-pupil truncation and the proposed QW-GAN-based interferogram outpainting for wavefront reconstruction. Direct reconstruction from the truncated interferogram produces an erroneous wavefront due to the loss of spatial information, whereas QW-GAN-based outpainting restores the missing interferogram regions and enables accurate wavefront reconstruction.
Traditional image outpainting methods are generally classified into two categories: diffusion-based [15,16,17] and patch-based approaches [18,19,20]. However, these methods are typically slow due to their complex iterative processes. In addition, the models often generate errors, causing the outpainted regions to lack consistency with the texture of the original image.
In this paper, we propose a high-performance method for outpainting quadri-wave lateral shearing interferograms based on the Quadri-Wave Generative Adversarial Network (QW-GAN). The reconstruction accuracy is analyzed and compared for defocus, astigmatism, coma, spherical aberration, and random aberrations.
Interferogram truncation caused by the finite circular aperture of the detector is a frequent and practically relevant situation in quadri-wave lateral shearing interferometry (QWLSI): without the missing fringe information, frequency-domain wavefront reconstruction suffers from spectral leakage, spectrum broadening, and Gibbs-type boundary artifacts that bias the retrieved phase. Restoring the truncated fringe regions before Fourier-domain processing is therefore essential for accurate quantitative phase measurement, and this demand for reliable single-shot restoration is precisely what motivates the learning-based approach developed in this work.
The main contributions of this work are as follows: (1) a Generative Adversarial Network (GAN) architecture specifically designed for the outpainting of quadri-wave lateral shearing interferograms is proposed; (2) the proposed method effectively restores the missing regions of circularly truncated interferograms; and (3) the reconstructed interferograms are incorporated into the frequency-domain wavefront reconstruction process, resulting in a 74% reduction in wavefront reconstruction error compared with direct reconstruction, as validated by simulation and experimental results.
Compared with recent deep learning schemes that recover the wavefront phase directly from truncated interferograms through a single convolutional network [21,22,23], the present approach addresses the problem from a complementary and, in our view, more transparent perspective: instead of mapping incomplete interferograms directly to phase, we first restore the missing fringe information in the spatial domain and then recover the phase with the conventional frequency-domain algorithm. This two-stage design keeps the physics-based reconstruction chain (carrier-frequency extraction, Fourier-domain filtering, and phase unwrapping) fully intact and interpretable, while confining the learned component to a well-posed image-to-image regression task. It is this modularity that distinguishes the proposed QW-GAN-based outpainting from end-to-end alternatives and constitutes the main novelty of the work: the network does not compete with the physical forward model; it supplies the frequency analysis with complete input data, thereby eliminating the truncation-induced artifacts at their source.
2. QW-GAN Model and Frequency-Domain Phase Reconstruction Method
The proposed framework consists of two major stages: interferogram completion and frequency-domain phase reconstruction.
In the first stage, a QW-GAN-based outpainting network is developed to recover the missing boundary information caused by circular-aperture truncation, thereby restoring a complete interferogram with preserved fringe characteristics and phase-related features. The proposed QW-GAN outpainting network is designed to perform interferogram outpainting for missing regions, with the input images having a size of 512 × 512 pixels, as demonstrated in Figure 3. The network architecture is flexible and can be adjusted according to the size of the input image. The architecture consists of two primary components—the generator network and the discriminator network—working in an adversarial manner to improve the quality of the reconstructed interferograms.
Figure 3.

Architecture of the proposed QW-GAN and the interferogram outpainting process. The interferogram and its corresponding mask are first fed into the generator, where Conv2D, dilated Conv2D, local attention, and global attention modules are employed for hierarchical feature extraction and fusion to generate the completed interferogram. The generated and real interferograms are subsequently fed into the discriminator for real/fake classification, and adversarial training is employed to improve the accuracy and structural consistency of the restored missing regions.
The generator consists of several 2D convolutional and dilated convolutional layers. The 2D convolutional layers extract local features from the interferograms, such as fringe patterns and intensity variations. Dilated convolutions enlarge the receptive field without substantially increasing the number of network parameters, allowing the generator to use information from a wider surrounding area when reconstructing the missing regions. This is particularly useful for interferograms, where the fringe structure in the missing region is related to the surrounding fringe patterns.
Local and global attention mechanisms are further introduced to improve the reconstruction of the missing regions. Local attention helps the network identify and preserve fine fringe details near the completion boundary, while global attention captures relationships between distant image regions and helps maintain the overall fringe structure. By combining local feature extraction with broader spatial information, these modules enable the generator to produce missing regions that are more consistent with the observed interferogram and reduce discontinuities and unwanted artifacts in the outpainted results.
It is worth clarifying the input–output setting of the generator, since it differs from the unconditional image-generation paradigm in which a generator maps white noise to synthetic images. Here, the generator is conditioned on the truncated interferogram itself and is trained to regress the corresponding complete interferogram, i.e., an image-to-image task; the discriminator then distinguishes the outpainted result from the ground-truth complete interferogram. The training data are therefore used as conditional inputs of the generator, which is the standard conditional-GAN (cGAN) configuration and not a patient data-reproduction mechanism; this design guarantees that the restored fringe structures remain physically consistent with the measured fringe pattern.
The discriminator network consists of several 2D convolutional layers, which are responsible for evaluating the quality of the generated interferogram. The discriminator’s goal is to distinguish between real and generated (outpainted) regions, ensuring that the generated output is as close as possible to the original image in terms of texture and structure. The adversarial loss function between the generator and discriminator ensures that the generator learns to produce realistic and high-quality interferograms. To ensure both the accuracy and authenticity of the outpainted interferograms, the model is trained to minimize both the pixel-wise loss (instead of mean square error) and the WGAN adversarial loss , which is expressed as
| (2) |
where is a coefficient that balances the loss function.
A pixel-wise loss is employed to constrain the generated interferograms to remain consistent with the available spatial information and the corresponding ground-truth data, which is particularly important for preserving the intensity distribution and interference-fringe phase structure required for subsequent wavefront reconstruction. However, relying solely on a pixel-wise loss may favor an averaged solution and consequently produce over-smoothed fringe patterns, especially in the missing regions. Therefore, the WGAN adversarial loss is introduced to provide an additional distribution-level constraint, encouraging the generated interferograms to exhibit statistically and structurally plausible fringe characteristics similar to those of the ground-truth interferograms. The combination of the two losses thus provides complementary constraints: the pixel-wise loss maintains data fidelity, whereas the adversarial loss promotes structural realism. This design is expected to improve the continuity and physical plausibility of the outpainted interferograms and, consequently, reduce errors propagated to the subsequent frequency-domain wavefront reconstruction.
In Figure 3, the generator receives the 512 × 512 truncated interferogram as input; the encoder, built from 2D convolutions and dilated convolutions, extracts multi-scale spatial features; the attention blocks perform local and global feature re-weighting to capture both fine fringe texture and long-range periodic structure; and the decoder progressively up-samples the features, fusing them with encoder features through skip connections, to produce the outpainted complete interferogram. The discriminator branch then evaluates the realism of the generated image against the ground-truth complete interferogram and feeds the adversarial gradient back to the generator during training.
The training process utilizes a dataset composed of simulated and experimental aberration wavefront interferograms (defocus, astigmatism, coma, spherical, etc.), which represent typical distortions in optical systems. These training samples provide the model with diverse and realistic data, enabling it to generalize well to various interferogram reconstruction tasks.
By eliminating truncation-induced discontinuities, the proposed approach effectively reduces spectral leakage and Gibbs artifacts during subsequent frequency-domain analysis in the second stage, as illustrated in Figure 4.
Figure 4.

Schematic diagram of the proposed QW-GAN-based interferogram outpainting and frequency-domain phase reconstruction method.
The outpainted interferogram is first used to reduce the discontinuity between the observed and missing regions, thereby mitigating the spectral leakage and Gibbs artifacts associated with circular-aperture truncation. The subsequent frequency-domain wavefront reconstruction consists of the following steps: First, a two-dimensional fast Fourier transform (2D-FFT) is applied to the restored interferogram to obtain its spatial-frequency spectrum. Second, the first-order diffraction components corresponding to the lateral shearing directions are identified and isolated using spectral filtering, while the zero-order and unwanted spectral components are suppressed. Third, the filtered first-order spectra are shifted to the frequency origin and processed to obtain the phase-gradient information in the corresponding horizontal and vertical shearing directions. Fourth, the wrapped phase-gradient distributions are subjected to phase unwrapping to recover continuous phase information. Finally, the unwrapped phase gradients are integrated using a frequency-domain least-squares algorithm, and the reconstructed wavefront is obtained in the spatial domain through inverse Fourier transformation. In this way, the proposed framework combines deep learning-based interferogram outpainting with the conventional frequency-domain QWLSI reconstruction procedure, enabling wavefront recovery from interferograms acquired under incomplete-aperture conditions.
Compared with conventional iterative phase-retrieval methods such as the Gerchberg–Saxton (GS) algorithm, the proposed QW-GAN framework performs interferogram outpainting through a single forward inference after network training, without requiring repeated propagation and amplitude replacement between the spatial and Fourier domains. In the present implementation, the restoration time is reduced from approximately 45 s using the iterative GS-based approach to approximately 2 s with QW-GAN, corresponding to a 22.5-fold reduction in processing time. This improvement results from replacing the repeated iterative optimization with a fixed forward inference, while maintaining comparable or improved wavefront reconstruction accuracy.
The two approaches also differ in their treatment of incomplete-aperture information. In the GS-based approach, the missing information is recovered indirectly through repeated enforcement of the measured-aperture constraints and propagation-domain constraints, making the reconstruction dependent on the iteration process and constraint conditions. In contrast, QW-GAN learns a direct mapping from circularly truncated interferograms to their complete counterparts and restores the missing regions before frequency-domain wavefront reconstruction. This restoration reduces the discontinuity at the circular-pupil boundary and consequently mitigates the spectral leakage and Gibbs ringing introduced by aperture truncation. Thus, the main advantage of QW-GAN is not simply a reduction in the number of iterations, but the use of a learned prior to reconstruct the missing interferogram information before the subsequent phase reconstruction procedure.
3. Simulation and Experimental Results
To evaluate the effectiveness of the proposed QW-GAN-based outpainting reconstruction method, simulated wavefront data were used. The simulation experiment is performed using an Intel(R) Core(TM) i9-12900H (2.9 GHz, 32 GB RAM) and MATLAB software (version R2019b, Math Works, Natick, MA, USA). The deep learning framework used is PyTorch 2.3.0.
A simulated dataset was generated to train the proposed QW-GAN using a supervised learning strategy. Each training pair consists of a complete QWLSI interferogram and its corresponding truncated counterpart. The complete interferograms were generated from randomly synthesized wavefront aberrations using the forward model of QWLSI and served as ground-truth references. To simulate the information loss caused by the finite circular aperture of the detector, a circular-pupil mask was applied to the complete interferograms, resulting in four corner regions without valid interferometric information. These truncated interferograms were used as network inputs, while the original complete interferograms were used as reconstruction targets.
The forward-model-based simulated dataset was split into training, validation, and test subsets; in total, 80,000 complete/truncated interferogram pairs were used for training, 10,000 pairs for validation, and 10,000 pairs for testing, with the aberration coefficients of the test set drawn from distributions not seen during training in order to assess generalization. The network was optimized with the Adam optimizer (learning rate 1 × 10−4, batch size 16) for 200 epochs on a single NVIDIA GPU (3070Ti laptop), with a total training time of approximately 24 h.
During training, QW-GAN learns the nonlinear mapping between incomplete and complete interferometric patterns, enabling the generator to recover missing fringe structures while preserving the global phase-related characteristics of the interferogram. Through extensive training with diverse aberration distributions, the network establishes the implicit relationship between fringe morphology and wavefront information, providing accurate interferogram restoration for subsequent frequency-domain wavefront reconstruction.
Here, the term forward-model-based simulation is used in the following precise sense: the training interferograms were generated by numerically propagating randomly synthesized wavefront aberrations through the QWLSI forward model, i.e., the same optical model that describes the experimental sensor. The only quantity that is not directly measured is the wavefront itself; the interferogram formation through the quadri-wave lateral shearing principle, the finite-aperture truncation, and the detector sampling all follow the physical transfer function of the instrument. The simulation is therefore physics-based rather than purely statistical, which is why the network trained on this dataset transfers to the experimental measurements presented below.
Figure 5 presents the simulation comparison of wavefront reconstruction before and after QW-GAN-based interferogram outpainting for four representative aberrations, including defocus, astigmatism, coma, and spherical aberration. The first row (a)–(d) shows the ground-truth wavefront phases, the second row (e)–(h) shows the reconstruction results obtained directly from the truncated interferograms without outpainting, and the third row (i)–(l) presents the reconstructed phases after QW-GAN restoration. As can be observed, direct reconstruction from incomplete interferograms introduces significant phase distortions and structural errors due to spectral leakage caused by the circular aperture. After applying the proposed QW-GAN outpainting method, the reconstructed wavefronts exhibit excellent agreement with the ground truth for all aberration types, with the overall phase distributions and characteristic features being accurately recovered. These results demonstrate that the proposed method effectively compensates for missing interferogram information, suppresses reconstruction artifacts, and significantly improves the accuracy and robustness of frequency-domain wavefront reconstruction.
Figure 5.

Comparison of the simulated original wavefront phases and the reconstructed results with and without interferogram outpainting. (a–d) Original wavefront phases corresponding to defocus, astigmatism, coma, and spherical aberration, respectively. (e–h) Reconstructed wavefront phases obtained directly from the corresponding interferograms truncated by a circular pupil without outpainting. (i–l) Reconstructed wavefront phases obtained using the corresponding interferograms completed by the proposed QW-GAN network.
A quantitative comparison of the wavefront reconstruction accuracy between the proposed method and direct reconstruction is provided in Table 1.
Table 1.
Quantitative comparison of wavefront reconstruction accuracy (averaged over defocus, astigmatism, coma, and spherical aberration in the simulation).
| Metric | Direct (Truncated) | QW-GAN Outpainting |
|---|---|---|
| RMS (λ) | 0.077 | 0.020 |
| SSIM | 0.7117 | 0.9795 |
| Correlation coefficient | 0.8112 | 0.9969 |
Figure 6 provides a quantitative evaluation of the proposed QW-GAN-based interferogram outpainting method using Zernike aberration coefficients. The left panels show the randomly generated wavefront phase and the corresponding reconstructed phase obtained after QW-GAN restoration, while the right panel compares their Zernike coefficients. It can be observed that the reconstructed coefficients agree well with the original simulated values over the entire Zernike spectrum, with nearly identical magnitudes and variation trends, particularly for the dominant low-order aberration terms. These results demonstrate that the proposed outpainting method effectively recovers the missing interferometric information and preserves the original aberration characteristics, thereby ensuring accurate wavefront phase reconstruction after frequency-domain processing.
Figure 6.

(a) Simulated random phase; (b) reconstruction phase based on QW-GAN outpainting algorithm; (c) comparison of Zernike aberration coefficients between the original and the outpainting-reconstructed wavefront.
To experimentally validate the proposed QW-GAN-based interferogram outpainting method, a QWLSI wavefront measurement system was constructed, as shown in Figure 7. A 532 nm continuous-wave (CW) laser was used as the illumination source. After passing through a circular aperture, the expanded and spatially filtered laser beam was incident on a spatial light modulator (SLM), where predefined phase distributions were loaded to generate various test wavefronts. The SLM was employed to emulate different optical aberrations by modulating the phase of the incident wavefront, enabling flexible generation of phase patterns with known characteristics.
Figure 7.

Real experimental setup of quadri-wave lateral shearing interferometry (QWLSI).
For completeness, the key specifications of the experimental components are stated here. Spatial light modulator: a phase-only reflective SLM with a resolution of 1920 × 1200 pixels and a pixel pitch of 8 µm, providing up to 2π (6.28) rad of phase modulation at the operating wavelength of 532 nm with 8-bit gray levels and a refresh rate of 60 Hz. The QWLSI sensor employed in the experiment was a modified Hartmann mask sensor, the specifications of which are listed in Table 2.
Table 2.
Specifications of QWLSI sensor.
| Parameter | Value |
|---|---|
| Spectral Response Range | 400–1100 nm |
| Sensor Array Resolution | 2048 × 2048 pixels |
| Pixel Pitch | 6.5 um |
| Grating Pitch | 26 um |
| Phase Sampling | 512 × 512 |
| Real-Time Processing Frequency | 1 Hz |
| Interface | Ethernet |
Regarding the non-ideal response of the SLM, three practical issues were addressed in the experiments. First, phase-only SLMs exhibit a nonlinear voltage-to-phase response; a lookup-table calibration was performed prior to the measurements so that the loaded patterns matched the intended aberration maps. Second, the SLM was operated in a static mode during each single-shot acquisition, so that frame-to-frame crosstalk (flicker) did not corrupt the captured interferograms, consistent with the single-shot measurement scenario targeted by the proposed method. Third, the SLM and the camera were synchronized through hardware trigger signals, and the camera frame rate was set sufficiently below the SLM refresh rate to guarantee that every recorded frame corresponded to a fully settled SLM pattern. With these measures, the experimental interferograms deviate only mildly from the ideal forward-model simulations upon which the QW-GAN was trained.
The modulated wavefront was subsequently transmitted through a 4f optical imaging system, which was used to relay the SLM plane onto the QWLSI wavefront sensor plane while maintaining the spatial phase information. The 4f system also ensured accurate spatial filtering and magnification control during wavefront propagation. The output wavefront from the 4f system was then captured by the QWLSI sensor, where the incoming wavefront was converted into a quadri-wave lateral shearing interferogram through the microoptical shear element. The generated interferograms were recorded by the detector for subsequent processing and wavefront reconstruction.
In the experiment, different phase patterns, including random phase distributions, sinusoidal fringes and a checkerboard phase, were sequentially loaded onto the SLM to generate corresponding QWLSI interferograms. The acquired experimental interferograms were further processed using the proposed QW-GAN network to restore the missing regions caused by aperture truncation, and the reconstructed interferograms were subsequently used for frequency-domain wavefront phase reconstruction in Figure 8. This experimental configuration provides a controllable platform for evaluating the effectiveness and robustness of the proposed interferogram restoration method under realistic measurement conditions.
Figure 8.

Real experiment wavefront reconstruction: (a–c) without outpainting; (d–f) with QW-GAN outpainting: (d) random step phase; (e) sinusoidal fringes; (f) checkerboard phase.
4. Discussion
Reconstruction results. Figure 5 shows that the improvement is most evident for defocus, astigmatism, coma, and spherical aberration. For these low-order aberrations, the missing corner regions contain substantial fringe information, and direct reconstruction produces noticeable phase errors near the boundary. After QW-GAN outpainting, the reconstructed phase approaches that obtained in the central region. For high-order aberration, the overall improvement is smaller, but the boundary errors are also reduced. The main reason is that the restored fringe field preserves the local fringe orientation and spatial period inferred from the measured region. This provides a more appropriate input for subsequent Fourier-domain filtering and phase extraction. The reconstruction performance therefore depends on both the quality of the restored interferogram and the accuracy of the extracted first-order spectral components.
Robustness. The reliability of QW-GAN naturally degrades when the truncated region becomes very large, because the extrapolation then relies on an increasingly small amount of intact context. In the extreme case in which almost the entire interferogram is missing, the outpainted fringe pattern is dominated by the learned prior and may no longer match the actual measurement; the subsequent frequency-domain reconstruction would then inherit this uncertainty. For the truncation geometry addressed in this work (four corner regions removed by a circular detector aperture), we recommend restricting the method to comparable or milder truncation ratios.
Practical considerations. Several practical issues should be considered. Moderate sensor noise has limited influence on the restoration results in the present simulations. The L1 reconstruction term provides relatively stable pixel-level recovery, while the adversarial constraint helps preserve the spatial characteristics of the fringe pattern. For computation, the generator requires only a few milliseconds for a single forward pass on the reference GPU. The Fourier filtering, phase extraction, and phase unwrapping stages are currently performed on the CPU and constitute the main part of the processing time. GPU implementation of these operations would therefore be necessary for a fully real-time system. The restored boundaries did not show noticeable over-smoothing in the experiments. Nevertheless, fine fringe structures or localized defects may be attenuated in some cases. Additional structural or frequency-domain constraints could improve the preservation of such features. Although the present method was developed for QWLSI, the same strategy can be extended to other interferometric measurements affected by aperture truncation, provided that the corresponding fringe-generation model is used to construct the training data.
Quantitative comparison. The quantitative results in Table 1 show a consistent improvement in the outpainting-based reconstruction over direct reconstruction for all four aberration types. The reduction in error is particularly apparent near the aperture boundary, where the influence of truncation is strongest. The result is consistent with the reduction in boundary discontinuities observed in the restored interferograms. In terms of computational efficiency, the proposed method requires only a single generator inference during reconstruction, avoiding the repeated iterations required by conventional iterative phase-retrieval approaches. This provides an advantage for high-throughput wavefront measurements. Further optimization of the Fourier-domain processing and phase unwrapping stages is required before the complete pipeline can be used in real-time closed-loop applications.
Overall assessment. The results indicate that interferogram outpainting can effectively compensate for the information loss caused by circular-aperture truncation in QWLSI. Its main advantage is that the conventional frequency-domain reconstruction framework is retained, while the missing fringe information is restored before phase extraction. The method performs reliably for the truncation geometry investigated here, but its accuracy depends on the availability of sufficient measured context and on the representativeness of the training data. Future work will focus on larger and more irregular missing regions, stronger spatial-frequency consistency constraints, and GPU implementation of the complete reconstruction pipeline. These developments are expected to further improve the applicability of the method to high-speed and closed-loop wavefront sensing.
5. Conclusions
In summary, this work established that spatial-domain restoration of aperture-truncated QWLSI interferograms is a sound alternative to end-to-end phase regression: by supplying the conventional frequency-domain analysis with complete fringe data, the proposed QW-GAN eliminates spectral leakage, spectrum broadening, and Gibbs ringing at their source while preserving the interpretability of the processing chain. Both the forward-model-based simulations and the experiments on a phase-only SLM consistently show reduced reconstruction error, especially near the pupil boundary, at a computational cost compatible with real-time wavefront sensing.
Several directions merit further investigation: extending the method to more severe truncation geometries and partial-occlusion cases; incorporating frequency-domain consistency and structural-similarity terms to further reduce residual boundary artifacts; and porting the complete pipeline from carrier extraction to phase unwrapping to the GPU to enable closed-loop adaptive optics deployment. We believe the demonstrated combination of learning-based restoration and physics-based reconstruction will also benefit related single-shot wavefront sensing modalities beyond QWLSI.
Abbreviations
The following abbreviations are used in this manuscript:
| QWLSI | Quadri-Wave Lateral Shearing Interferometry |
| GAN | Generative Adversarial Networks |
Author Contributions
Conceptualization, Y.F.; methodology, Y.F.; software, Y.F.; validation, Y.Z.; formal analysis, Y.D.; investigation, Y.D.; resources, Y.D.; data curation, Y.Y.; writing—original draft preparation, Y.F.; writing—review and editing, Y.Y.; visualization, Z.D.; supervision, Y.F.; project administration, Y.F.; funding acquisition, Y.F. All authors have read and agreed to the published version of the manuscript.
Data Availability Statement
All data can be provided upon reasonable request to the corresponding author.
Conflicts of Interest
Author Yiwen Zhangis employed by the company Drilling & Production Technology Research Institute, Chuanqing Drilling Engineering Co., Ltd., Guanghan, China. All authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Funding Statement
This project was supported by the Self-developed Program of Optoelectronic Technology department, Xi’an Institute of Optics and Precision Mechanics, Chinese Academy of Science, Grant No. GDJSB202404.
Footnotes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
References
- 1.Primot J., Guérineau N. Extended Hartmann test based on the pseudoguiding property of a Hartmann mask completed by a phase chessboard. Appl. Opt. 2000;39:5715–5720. doi: 10.1364/ao.39.005715. [DOI] [PubMed] [Google Scholar]
- 2.Song I.-U., Choi J.-H., Rhee H.-G., Kihm H., Yang H.-S. Extended wavefront reconstruction for quadri-wave lateral shearing interferometry. Opt. Lasers Eng. 2024;178:108212. doi: 10.1016/j.optlaseng.2024.108212. [DOI] [Google Scholar]
- 3.Yang Z., Yang S., Zhao J., Tang L., Cui J., Wang Y., Qiu L., Zhao W. Automatic measurement system for large-aperture-angle non-holonomic spherical stitching with laser differential confocal interference. Appl. Opt. 2024;63:699–707. doi: 10.1364/ao.511942. [DOI] [PubMed] [Google Scholar]
- 4.Han Z.-G., Meng L.-Q., Huang Z.-Q., Shen H., Chen L., Zhu R.-H. Determination of the laser beam quality factor (M2) by stitching quadriwave lateral shearing interferograms with different exposures. Appl. Opt. 2017;56:7596. doi: 10.1364/ao.56.007596. [DOI] [PubMed] [Google Scholar]
- 5.Meng L., Liu Y., Han Z., Shen H., Chen L., Zhu R. Analysis of laser M2 determination in a quadriwave lateral shearing interferometer with CCD vertical blooming. Opt. Commun. 2019;433:183–189. doi: 10.1016/j.optcom.2018.10.003. [DOI] [Google Scholar]
- 6.Aknoun S., Bon P., Savatier J., Wattellier B., Monneret S. Quantitative retardance imaging of biological samples using quadriwave lateral shearing interferometry. Opt. Express. 2015;23:16383–16406. doi: 10.1364/oe.23.016383. [DOI] [PubMed] [Google Scholar]
- 7.Bhatt S., Butola A., Kumar A., Thapa P., Joshi A., Jadhav S., Singh N., Prasad D.K., Agarwal K., Mehta D.S. Single-shot multispectral quantitative phase imaging of biological samples using deep learning. Appl. Opt. 2023;62:3989–3999. doi: 10.1364/ao.482788. [DOI] [PubMed] [Google Scholar]
- 8.Baffou G. Wavefront Microscopy Using Quadriwave Lateral Shearing Interferometry: From Bioimaging to Nanophotonics. ACS Photonics. 2023;10:322–339. doi: 10.1021/acsphotonics.2c01238. [DOI] [Google Scholar]
- 9.Primot J., Le Gall C., Rouzé B., Jaeck J., Bellanger C. Optics and Photonics for Advanced Dimensional Metrology III; Proceedings of SPIE. Volume 12997. SPIE; Bellingham, WA, USA: 2024. Adapting multi-lateral shearing interferometry to new measurement needs: Metasurfaces and segmented surfaces; p. 129970C. [Google Scholar]
- 10.Kossowski N., Tahmi Y., Loucif A., Lepers M., Wattellier B., Vienne G., Khadir S., Genevet P. Metrology of metasurfaces: Optical properties. npj Nanophotonics. 2025;2:1–16. doi: 10.1038/s44310-024-00051-4. [DOI] [Google Scholar]
- 11.Xie J., Xie H., Kong C.Z., Ling T. Quadri-wave lateral shearing interferometry: A versatile tool for quantitative phase imaging. J. Opt. Soc. Am. A. 2024;41:C137–C156. doi: 10.1364/josaa.534348. [DOI] [PubMed] [Google Scholar]
- 12.Trusiak M. Fringe analysis: Single-shot or two-frames? Quantitative phase imaging answers. Opt. Express. 2021;29:18192–18211. doi: 10.1364/oe.423336. [DOI] [PubMed] [Google Scholar]
- 13.Fan Y., Duan Y., Da Z., Yue Y. A frequency-response-optimized Shack–Hartmann zonal wavefront reconstructor based on Fan’s model. Rev. Sci. Instrum. 2024;95:073501. doi: 10.1063/5.0197071. [DOI] [PubMed] [Google Scholar]
- 14.Zhu Y., Tian A., Wang H., Liu B. Wavefront reconstruction based on multi-directional orthogonal lateral shearing interferometry. Appl. Phys. B. 2024;130:1–17. doi: 10.1007/s00340-024-08353-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Song X., Liu X., Luo Z., Dong J., Zhong W., Wang G., He B., Li Z., Liu Q. High-resolution iterative reconstruction at extremely low sampling rate for Fourier single-pixel imaging via diffusion model. Opt. Express. 2024;32:3138–3156. doi: 10.1364/oe.510692. [DOI] [PubMed] [Google Scholar]
- 16.Horisaki R., Fujii K., Tanida J. Diffusion-based single-shot diffraction tomography. Opt. Lett. 2019;44:1964–1967. doi: 10.1364/ol.44.001964. [DOI] [PubMed] [Google Scholar]
- 17.Zhang C., Yang W., Li X., Han H. MMGInpainting: Multi-Modality Guided Image Inpainting Based on Diffusion Models. IEEE Trans. Multimed. 2024;26:8811–8823. doi: 10.1109/tmm.2024.3382484. [DOI] [Google Scholar]
- 18.Zhan T., Chen X., Liu F., Wang Y. Fast exemplar-based fringe extrapolation technology. Opt. Eng. 2023;62:024107. doi: 10.1117/1.oe.62.2.024107. [DOI] [Google Scholar]
- 19.Liu X., Zhao S., Xia D., Zhang W., An F. Adaptive patch-based ring artifacts removal for photon-counting CT. Opt. Express. 2025;33:18–33. doi: 10.1364/oe.538515. [DOI] [PubMed] [Google Scholar]
- 20.Ko B., Lee B.-G., Lee S. Neighboring Elemental Image Exemplar Based Inpainting for Computational Integral Imaging Reconstruction with Partial Occlusion. J. Opt. Soc. Korea. 2015;19:390–396. doi: 10.3807/josk.2015.19.4.390. [DOI] [Google Scholar]
- 21.Li R., Liu D., Zhu L., Li S., Wang J. Speckle beam sensing via quadriwave lateral shearing interferometry assisted by convolutional neural networks. Opt. Express. 2025;33:49077–49086. doi: 10.1364/oe.578551. [DOI] [PubMed] [Google Scholar]
- 22.Wang K., Song L., Wang C., Ren Z., Zhao G., Dou J., Di J., Barbastathis G., Zhou R., Zhao J., et al. On the use of deep learning for phase recovery. Light Sci. Appl. 2024;13:4. doi: 10.1038/s41377-023-01340-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Cheremkhin P.A., Rymov D.A., Svistunov A.S., Zlokazov E.Y., Starikov R.S. Neural-network-based methods in digital and computer-generated holography: A review. J. Opt. Technol. 2024;91:170–180. doi: 10.1364/jot.91.000170. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
All data can be provided upon reasonable request to the corresponding author.
