Abstract
We use a Schrödinger wave equation formalism to solve the eikonal equation. In our framework, a solution to the eikonal equation is obtained in the limit as Planck's constant $\hbar$ (treated as a free parameter) tends to zero of the solution to the corresponding linear Schrödinger equation. The Schrödinger equation corresponding to the eikonal turns out to be a generalized, screened Poisson equation. Despite being linear, it does not have a closed-form solution for arbitrary forcing functions. We present two different techniques to solve the screened Poisson equation: a perturbation analysis approach using FFTs and a direct discretization method leading to a sparse linear system. Our approach eliminates the need to explicitly construct viscosity solutions and is applicable to shape-from-shading, vessel segmentation, and path planning.
Introduction
The eikonal equation, defined as $\|\nabla S(\mathbf{x})\| = f(\mathbf{x})$, is a cornerstone of various computational fields, including computer vision and robotics. It is primarily used for calculating distances, travel times, and shortest paths. However, its nonlinear nature makes it notoriously difficult to solve efficiently. Traditional solvers like the Fast Marching Method (FMM) or Fast Sweeping Method (FSM) often require specialized data structures or multiple directional passes, which can be complex to implement and may produce "jagged" results due to the challenges of maintaining numerical stability (viscosity).
The Schrödinger Formalism
This paper introduces a novel approach by leveraging a principle from physics: the transition from wave mechanics to ray optics as Planck’s constant ($\hbar$) approaches zero. By substituting $\phi = \exp(-S/\hbar)$ into a specific version of the Schrödinger equation, the authors transform the nonlinear eikonal equation into a linear screened Poisson equation. Solving this linear equation for a small, non-zero $\hbar$ provides a high-quality approximation of the eikonal solution $S$.
Numerical Implementation
Two distinct methods are proposed to solve the resulting linear system:
- Perturbation Method: This iterative approach utilizes a sequence of discrete convolutions. By performing these via Fast Fourier Transforms (FFTs), the method achieves a computational complexity of $O(N \log N)$, where $N$ is the number of grid points. This method is mathematically guaranteed to converge for bounded, positive forcing functions.
- Direct Discretization: The Laplacian operator is discretized using finite differences, resulting in a large, sparse linear system ($Ax = b$). This allows the use of standard, highly optimized sparse solvers, significantly simplifying implementation for practitioners.
Applications and Results
The proposed solver was evaluated on several benchmark tasks, including synthetic 2D grids, complex mazes (e.g., "Schrödinger’s cat" and skull mazes), medical imagery (vessel extraction from eye and brain scans), and shape-from-shading benchmarks (Mozart bust and vase).
Key findings include:
- Smoothness: The Schrödinger-based solver naturally incorporates "viscosity," leading to smoother isocontours and centerlines compared to the Fast Sweeping Method, which often exhibits sharp artifacts.
- Accuracy and Efficiency: The method maintains competitive accuracy (typically 1-4% error) while remaining highly efficient. Sparse solver implementations can process grids with hundreds of thousands of points in approximately one second on standard hardware.
Discussion and Conclusion
The primary advantage of this framework is its linearity, which bypasses the need for complex "upwind" discretization schemes required by nonlinear solvers. However, the method is an approximation, and the choice of $\hbar$ presents a trade-off: smaller values improve accuracy but can lead to numerical underflow issues requiring high-precision arithmetic. Future research directions include the integration of multigrid solvers to potentially achieve $O(N)$ complexity and extending the framework to control theory applications.
Summary updated