Introduction
Reconstructing functions from their Fourier coefficients is a cornerstone of modern scientific computing, with applications ranging from medical imaging (MRI) to the numerical solution of partial differential equations (PDEs) involving shocks. However, when the target function $F(x, y)$ is piecewise-smooth—meaning it contains sharp edges or discontinuities—standard Fourier reconstruction methods face significant challenges.
The primary obstacles are slow convergence and the Gibbs phenomenon. Slow convergence implies that an impractical amount of Fourier data is required to achieve high-fidelity results. The Gibbs phenomenon manifests as persistent "ringing" artifacts near discontinuities, which do not vanish as more Fourier modes are added; instead, they merely concentrate closer to the edge, obscuring fine details and limiting the accuracy of the reconstruction.
Methodology: A Slice-by-Slice Algebraic Framework
To address these issues, this research introduces a novel two-stage algebraic reconstruction method. Unlike traditional trigonometric approaches that attempt to approximate the function globally, this method treats the 2D problem as a sequence of 1D problems, effectively "super-resolving" the discontinuities.
The framework assumes a 2D function $F(x, y)$ defined on a torus $T^2$, consisting of two smooth pieces separated by a smooth boundary curve $y = \xi(x)$. The reconstruction process is divided into two distinct stages:
Stage 1: From 2D Fourier Data to Fourier-Slices
The first stage involves defining an intermediate function $\psi_{\omega_y}(x)$, which represents the Fourier transform of a vertical "slice" of the function. A critical theoretical contribution of this work is the proof that $\psi_{\omega_y}(x)$ is itself piecewise-smooth in the $x$-direction. By leveraging this property, the authors can apply a previously developed 1D algebraic method to reconstruct $\psi_{\omega_y}(x)$ from the available 2D Fourier coefficients $\hat{F}(\omega_x, \omega_y)$.
Stage 2: From Fourier-Slices to Spatial Reconstruction
Once accurate approximations of the Fourier coefficients for each slice are obtained, the 1D algebraic method is applied again to recover the spatial function. This stage involves several key steps:
- Decimation and Edge Detection: The algorithm solves a specialized linear system, often involving Vandermonde matrices, to find the exact locations of the jumps. This technique is closely related to Prony's method for frequency estimation.
- Jump Magnitude Estimation: After locating the edges, the algorithm calculates the "jump" or the difference in function values across the discontinuity.
- Smooth Piece Reconstruction: By using the jump information to "subtract out" the singularity, the algorithm is left with a smooth function. This smooth component can then be approximated with high-order accuracy using standard methods, free from Gibbs artifacts.
The "algebraic" nature of the method refers to its reliance on polynomial root-finding and linear algebra to pinpoint discontinuities, rather than relying solely on the slow-converging Fourier sum.
Key Insights and Theoretical Foundations
The most elegant insight of this research is the recursive smoothness property. By showing that the Fourier transform along one dimension preserves the piecewise-smooth structure in the other, the authors enable a powerful "divide and conquer" strategy for multidimensional reconstruction.
Furthermore, the method achieves super-resolution. By treating jump locations as roots of a polynomial, the algorithm can locate edges with a precision significantly higher than the "pixel size" implied by the highest measured frequency. Theoretical results (Theorem 1) demonstrate that if the function pieces are $d$-times differentiable, the error in locating the edge scales as $O(N^{-d-2})$, where $N$ is the number of Fourier modes. This represents a substantial improvement over traditional methods.
Numerical Validation and Results
The authors validated their approach using synthetic data generated from Bernoulli functions. These functions are ideal for testing because their Fourier coefficients can be calculated analytically, providing a rigorous benchmark for reconstruction accuracy.
Using the mpmath library in Python for high-precision arithmetic (up to 100 decimal places), the authors demonstrated that the algorithm consistently achieves the theoretical error decay rates. In head-to-head comparisons, the algebraic method significantly outperforms truncated Fourier sums. While the latter produces characteristic oscillations, the algebraic method yields a clean, sharp edge and high-fidelity surface reconstruction.
Limitations and Future Work
While promising, the current method has some limitations. It is currently optimized for functions with only two continuity pieces (one boundary curve). While the authors suggest that "mollifiers" (localizing filters) could extend this to multiple pieces, the current mathematical focus remains on the two-piece case.
Additionally, the "slice-by-slice" approach requires a specific relationship between the number of Fourier modes in $x$ and $y$ ($N^2 \le M$) to maintain stability. Recovering the entire 2D surface also requires an interpolation step to connect the reconstructed slices while respecting the geometry of the discontinuity curve.
Future research directions include extending the method to higher dimensions ($n > 2$) through recursion and adapting the framework for use with other orthogonal bases, such as Chebyshev polynomials.
Summary updated