Wavefront Fitting over Arbitrary Freeform Apertures via CSF-Guided Progressive Quasi-Conformal Mapping
Abstract
1. Introduction
2. Methodology
2.1. Notation and Problem Setup
- Simply connected: (unit disk).
- Doubly connected: (concentric annulus).
2.2. Framework Overview
- Boundary geometric regularization (CSF). We evolve the physical boundary under discrete curve-shortening flow. This iterative process smooths high-curvature features (e.g., sharp corners of a star-shaped aperture) and generates a sequence of regularized boundary frames that converge to a canonical circle, minimizing grid crowding effects.
- Topology-aware canonical domain specification. The target domain is determined by the aperture’s topology. For simply connected domains, is set to the unit disk . For doubly connected domains (e.g., apertures with central obscurations like a triangular hole), we solve the harmonic equation to compute the Dirichlet energy and derive the conformal modulus. This uniquely defines the inner radius of the target annulus , ensuring a conformal bijection.
- Interior mesh optimization via Laplacian construction. We construct the discrete Laplacian matrix using cotangent weights to approximate the harmonic energy. The interior parameterization is obtained by solving the sparse linear system , where the boundary conditions are updated progressively using the CSF frames. This step relaxes the internal mesh vertices to minimize angular distortion.
- Wavefront resampling and orthogonal fitting. Using the computed bijection , we map the wavefront data into the canonical domain. Depending on the topology determined in step 2, the wavefront is fitted using standard Zernike polynomials (for disk ) or annular Zernike polynomials (for annulus ), allowing for high-precision reconstruction over arbitrary free-form apertures.
2.3. Boundary Regularization via Curve-Shortening Flow
2.4. Progressive Strategy
2.5. Distortion Monitoring and Topological Control
2.6. Topology-Aware Canonical Annulus for Doubly Connected Domains
2.7. Wavefront Reconstruction and Numerical Stability
| Algorithm 1 CSF-Guided Progressive Quasi-Conformal Mapping (CSF-QCM) |
|
3. Results
- Type I: A non-convex butterfly-shaped aperture, typical of the irregular interference regions encountered in speckle metrology, as shown in Figure 2a;
- Type II: A high-aspect-ratio rounded rectangle, representing the geometry of primary or secondary mirrors in wide-field-of-view off-axis three-mirror anastigmat (TMA) systems, as shown in Figure 2b;
- Type III: A highly eccentric doubly connected annulus, modeling the pupil in fundus aberration interferometry where the central macular region creates an off-center obscuration, as shown in Figure 2c.
3.1. Mesh Distribution and Sampling Uniformity
3.1.1. Visual Assessment of Parameterization Meshes
- Type I (Butterfly): Fornberg-type conformal mapping exhibits strong crowding near concave regions, yielding redundant sampling.
- Type II (Rounded rectangle): Schwarz–Christoffel (SC) mapping compresses the grid near the ends of the long axis due to crowding, producing disproportionate sampling.
- Type III (Annulus): Discrete Ricci flow preserves angles but can introduce severe area distortion in narrow eccentric gaps.
3.1.2. Quantitative Statistics of Area Distortion
3.2. Characterization of Quasi-Conformal Distortion and Discrete Orthogonality
3.2.1. Beltrami Coefficient Distribution and Topological Verification
- Global quasi-conformality. The distributions are heavily skewed towards zero, indicating that the mapping preserves local angles and remains conformal over the vast majority of the domain.
- Topological integrity. The maximum recorded coefficient remains strictly below the theoretical limit of 1 across all aperture types. This empirically confirms that the adaptive step-size control successfully prevented mesh folding or overlapping, guaranteeing a valid diffeomorphism even at sharp corners.
3.2.2. Recovery of Discrete Orthogonality
3.3. Wavefront Fitting Accuracy and Computational Efficiency
3.3.1. Fitting Error Analysis
3.3.2. Noise Robustness Analysis
3.3.3. Runtime Analysis
4. Discussion
4.1. Extension to Multiply Connected Apertures
4.2. Interaction Between Quasi-Conformal Distortion and Aberration Estimation
4.3. Acceleration Toward Real-Time Metrology
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Malacara, D. Optical Shop Testing; John Wiley & Sons: Hoboken, NJ, USA, 2007. [Google Scholar]
- Ye, J.; Chen, L.; Li, X.; Yuan, Q.; Gao, Z. Review of optical freeform surface representation technique and its application. Opt. Eng. 2017, 56, 110901. [Google Scholar] [CrossRef]
- Niu, K.; Tian, C. Zernike polynomials and their applications. J. Opt. 2022, 24, 123001. [Google Scholar] [CrossRef]
- Noll, R.J. Zernike polynomials and atmospheric turbulence. J. Opt. Soc. Am. 1976, 66, 207–211. [Google Scholar] [CrossRef]
- Zernike, F. Diffraction theory of the knife-edge test and its improved form, the phase-contrast method. Mon. Not. R. Astron. Soc. 1934, 94, 377–384. [Google Scholar] [CrossRef]
- Galaktionov, I.; Sheldakova, J.; Samarkin, V.; Toporovsky, V.; Kudryashov, A. Atmospheric turbulence with Kolmogorov spectra: Software simulation, real-time reconstruction and compensation by means of adaptive optical system with bimorph and stacked-actuator deformable mirrors. Photonics 2023, 10, 1147. [Google Scholar] [CrossRef]
- Lee, J.H.; Shin, S.; Park, G.N.; Rhee, H.G.; Yang, H.S. Atmospheric turbulence simulator for adaptive optics evaluation on an optical test bench. Curr. Opt. Photonics 2017, 1, 107–112. [Google Scholar] [CrossRef]
- Tao, X.; Dean, Z.; Chien, C.; Azucena, O.; Bodington, D.; Kubby, J. Shack-Hartmann wavefront sensing using interferometric focusing of light onto guide-stars. Opt. Express 2013, 21, 31282–31292. [Google Scholar] [CrossRef]
- Navarro, R.; López, J.L.; Díaz, J.A.; Sinusía, E.P. Generalization of Zernike polynomials for regular portions of circles and ellipses. Opt. Express 2014, 22, 21263–21279. [Google Scholar] [CrossRef] [PubMed]
- Ferreira, C.; López, J.L.; Navarro, R.; Sinusia, E.P. Orthogonal systems of Zernike type in polygons and polygonal facets. arXiv 2015, arXiv:1506.07396. [Google Scholar] [CrossRef]
- Ye, J.; Li, X.; Gao, Z.; Wang, S.; Sun, W.; Wang, W.; Yuan, Q. Modal wavefront reconstruction over general shaped aperture by numerical orthogonal polynomials. Opt. Eng. 2015, 54, 034105. [Google Scholar] [CrossRef]
- Swantner, W.; Chow, W.W. Gram–Schmidt orthonormalization of Zernike polynomials for general aperture shapes. Appl. Opt. 1994, 33, 1832–1837. [Google Scholar] [CrossRef]
- Chang, L.; Wei, Z.; Shen, W.; Lin, Z. Wavefront fitting of Interferogram with Zernike polynomials based on SVD. In Proceedings of the 2nd International Symposium on Advanced Optical Manufacturing and Testing Technologies: Optical Test and Measurement Technology and Equipment, Xi’an, China, 2–5 November 2005; SPIE: Bellingham, WA, USA, 2006; Volume 6150, pp. 90–95. [Google Scholar]
- Chai, X.; Zhang, H.; Lin, X.; Zhou, Y.; Yu, Y. Method for orthogonal fitting of arbitrary shaped aperture wavefront and aberration removal. Opt. Eng. 2024, 63, 054112. [Google Scholar] [CrossRef]
- Zhang, Y.; An, Q.; Yang, M.; Ma, L.; Wang, L. A Review of Wavefront Sensing and Control Based on Data-Driven Methods. Aerospace 2025, 12, 399. [Google Scholar] [CrossRef]
- Díaz-Elbal, S.; Martínez-Finkelshtein, A.; Ramos-López, D. Sampling patterns for Zernike-like bases in non-standard geometries. Appl. Math. Comput. 2026, 511, 129727. [Google Scholar] [CrossRef]
- Bos, L.P.; Levenberg, N. On the calculation of approximate Fekete points: The univariate case. Electron. Trans. Numer. Anal. 2008, 30, 377–397. [Google Scholar]
- Fornberg, B. A numerical method for conformal mappings. SIAM J. Sci. Stat. Comput. 1980, 1, 386–400. [Google Scholar] [CrossRef]
- DeLillo, T.K.; Elcrat, A.R. A Fornberg-like conformal mapping method for slender regions. J. Comput. Appl. Math. 1993, 46, 49–64. [Google Scholar] [CrossRef]
- Driscoll, T.A.; Trefethen, L.N. Schwarz-Christoffel Mapping; Cambridge University Press: Cambridge, UK, 2002; Volume 8. [Google Scholar]
- Yang, D.; Yang, Z.; Zhang, Y. Modal wavefront reconstruction by Schwarz-Christoffel mapping and Zernike circle polynomials for noncircular pupils. Opt. Lasers Eng. 2025, 184, 108643. [Google Scholar] [CrossRef]
- Trefethen, L.N. Numerical computation of the Schwarz–Christoffel transformation. SIAM J. Sci. Stat. Comput. 1980, 1, 82–102. [Google Scholar] [CrossRef]
- Jin, M.; Kim, J.; Luo, F.; Gu, X. Discrete surface Ricci flow. IEEE Trans. Vis. Comput. Graph. 2008, 14, 1030–1043. [Google Scholar] [CrossRef]
- Zeng, W.; Samaras, D.; Gu, D. Ricci flow for 3D shape analysis. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 662–677. [Google Scholar] [CrossRef] [PubMed]
- Su, Z.; Wang, Y.; Shi, R.; Zeng, W.; Sun, J.; Luo, F.; Gu, X. Optimal mass transport for shape matching and comparison. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 37, 2246–2259. [Google Scholar] [CrossRef]
- Zeng, W.; Luo, F.; Yau, S.T.; Gu, X.D. Surface quasi-conformal mapping by solving Beltrami equations. In Proceedings of the IMA International Conference on Mathematics of Surfaces, York, UK, 7–9 September 2009; Springer: Berlin/Heidelberg, Germany, 2009; pp. 391–408. [Google Scholar]
- Gage, M.; Hamilton, R.S. The heat equation shrinking convex plane curves. J. Differ. Geom. 1986, 23, 69–96. [Google Scholar] [CrossRef]
- Grone, R.; Merris, R.; Sunder, V.S. The Laplacian spectrum of a graph. SIAM J. Matrix Anal. Appl. 1990, 11, 218–238. [Google Scholar] [CrossRef]
- Astala, K.; Iwaniec, T.; Martin, G. Elliptic Partial Differential Equations and Quasiconformal Mappings in the Plane (PMS-48); Princeton University Press: Princeton, NJ, USA, 2008. [Google Scholar]
- Conway, J.B. Functions of One Complex Variable II; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2012; Volume 159. [Google Scholar]
- Forster, O. Lectures on Riemann Surfaces; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2012; Volume 81. [Google Scholar]
- Nehari, Z. Conformal Mapping; Courier Corporation: North Chelmsford, MA, USA, 2012. [Google Scholar]
- Hakula, H.; Rasila, A.; Vuorinen, M. Conformal modulus on domains with strong singularities and cusps. arXiv 2015, arXiv:1501.06765. [Google Scholar] [CrossRef]
- Pinkall, U.; Polthier, K. Computing discrete minimal surfaces and their conjugates. Exp. Math. 1993, 2, 15–36. [Google Scholar] [CrossRef]
- Iwaniec, T.; Koh, N.T.; Kovalev, L.V.; Onninen, J. Existence of energy-minimal diffeomorphisms between doubly connected domains. Invent. Math. 2011, 186, 667–707. [Google Scholar] [CrossRef]
- Tyson, R.K.; Frazier, B.W. Principles of Adaptive Optics; CRC Press: Boca Raton, FL, USA, 2022. [Google Scholar]
- Mahajan, B.V.N. Zernike annular polynomials and optical aberrations of systems with annular pupils. Appl. Opt. 1994, 33, 8125–8127. [Google Scholar] [CrossRef]
- Nasser, M.M. Fast computation of the circular map. Comput. Methods Funct. Theory 2015, 15, 187–223. [Google Scholar] [CrossRef]
- Crowdy, D. Solving Problems in Multiply Connected Domains; SIAM: Philadelphia, PA, USA, 2020. [Google Scholar]
- Allan, G.; Kang, I.; Douglas, E.S.; Barbastathis, G.; Cahoy, K. Deep residual learning for low-order wavefront sensing in high-contrast imaging systems. Opt. Express 2020, 28, 26267–26283. [Google Scholar] [CrossRef]
- Romanenko, T.; Razgulin, A.; Iroshnikov, N.; Larichev, A. Wavefront Reconstruction by its Slopes via Physics-Informed Neural Networks. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2025, 48, 233–240. [Google Scholar] [CrossRef]
- Zhang, H.; Chen, C.; Li, F.; Cai, J.; Yao, L.; Dong, F.; Wei, Y.; Liu, Y.; Zhang, X.; Zhou, Y.; et al. Single-Pass Wavefront Reconstruction via Depth Heterogeneity Self-Supervised Neural Operator for Turbulence Correction. Laser Photonics Rev. 2025, 19, e00909. [Google Scholar] [CrossRef]









| Method | Type I | Type II | Type III |
|---|---|---|---|
| (Butterfly) | (Rounded Rect.) | (Annulus) | |
| Baseline (Fornberg/SC/Ricci) | 899.76 | 188.86 | 162.45 |
| CSF-QCM (proposed) | 6.72 | 5.60 | 7.76 |
| Aperture Type | Method | PV Residual | RMS Residual | ||
|---|---|---|---|---|---|
| Value | Reduction | Value | Reduction | ||
| Type I (Butterfly) | Fornberg-type | 0.1576 | – | 0.0191 | – |
| CSF-QCM | 0.0255 | 83.82% | 0.0030 | 84.3% | |
| Type II (Rounded rect.) | SC mapping | 0.2687 | – | 0.0390 | – |
| CSF-QCM | 0.0392 | 85.41% | 0.0029 | 92.56% | |
| Type III (Annulus) | Discrete Ricci flow | 0.3317 | – | 0.0263 | – |
| CSF-QCM | 0.0448 | 86.49% | 0.0031 | 88.21% | |
| Aperture Type | Method | Preprocessing | Mapping | Total |
|---|---|---|---|---|
| Type I | Fornberg | 0.25 | 4.82 | 5.07 |
| (Butterfly) | CSF-QCM | 0.85 | 1.95 | 2.80 |
| Type II | SC mapping | 0.10 | 7.45 | 7.55 |
| (Rounded rect.) | CSF-QCM | 0.90 | 2.10 | 3.00 |
| Type III | Ricci flow | 0.00 | 8.30 | 8.30 |
| (Annulus) | CSF-QCM | 1.20 | 2.45 | 3.65 |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Yang, T.; Guo, C.; Yang, L.; Xie, H. Wavefront Fitting over Arbitrary Freeform Apertures via CSF-Guided Progressive Quasi-Conformal Mapping. Photonics 2026, 13, 95. https://doi.org/10.3390/photonics13010095
Yang T, Guo C, Yang L, Xie H. Wavefront Fitting over Arbitrary Freeform Apertures via CSF-Guided Progressive Quasi-Conformal Mapping. Photonics. 2026; 13(1):95. https://doi.org/10.3390/photonics13010095
Chicago/Turabian StyleYang, Tong, Chengxiang Guo, Lei Yang, and Hongbo Xie. 2026. "Wavefront Fitting over Arbitrary Freeform Apertures via CSF-Guided Progressive Quasi-Conformal Mapping" Photonics 13, no. 1: 95. https://doi.org/10.3390/photonics13010095
APA StyleYang, T., Guo, C., Yang, L., & Xie, H. (2026). Wavefront Fitting over Arbitrary Freeform Apertures via CSF-Guided Progressive Quasi-Conformal Mapping. Photonics, 13(1), 95. https://doi.org/10.3390/photonics13010095

