Abstract
Existing vanishing point (VP) estimation methods rely on pre-extracted image lines and/or prior knowledge of the number of VPs. However, in practice, this information may be insufficient or unavailable. To solve this problem, we propose a network that treats a perspective image as input and predicts a spherical probability map of VP. Based on this map, we can detect all the VPs. Our method is reliable thanks to four technical novelties. First, we leverage the icosahedral spherical representation to express our probability map. This representation provides uniform pixel distribution, and thus facilitates estimating arbitrary positions of VPs. Second, we design a loss function that enforces the antipodal symmetry and sparsity of our spherical probability map to prevent over-fitting. Third, we generate the ground truth probability map that reasonably expresses the locations and uncertainties of VPs. This map unnecessarily peaks at noisy annotated VPs, and also exhibits various anisotropic dispersions. Fourth, given a predicted probability map, we detect VPs by fitting a Bingham mixture model. This strategy can robustly handle close VPs and provide the confidence level of VP useful for practical applications. Experiments showed that our method achieves the best compromise between generality, accuracy, and efficiency, compared with state-of-the-art approaches.
Introduction
Vanishing points (VPs)—the points where parallel lines in 3D space appear to converge in a 2D image—are fundamental for scene understanding, 3D reconstruction, and camera calibration. Traditional estimation methods often suffer from two major bottlenecks: a heavy dependency on pre-extracted image lines and rigid assumptions about scene geometry (e.g., the "Manhattan World" assumption of three orthogonal VPs). These methods fail when lines are sparse, noisy, or when the scene contains non-orthogonal elements like sloping roofs.
To address these limitations, we propose a "line-free" and "generality-first" approach that predicts a spherical probability map directly from a perspective image, allowing for the automatic detection of an arbitrary number of VPs.
Methodology
The proposed pipeline treats VP estimation as the computation of Dominant Directions (DDs) on a unit sphere.
Icosahedral Spherical Representation
A key innovation is the use of an icosahedral spherical representation. Unlike standard equi-angular discretization, which clusters pixels at the poles and distorts the map, the icosahedral grid provides a uniform distribution of "pixels" across the sphere. This uniformity is crucial for accurately estimating VPs at any orientation.
Network Architecture
The model utilizes an encoder-decoder architecture. A DCGAN-based encoder extracts features from the input image, which are then processed by a spherical decoder. This decoder operates in the sphere domain, using successive icosahedral subdivisions to predict the final probability map.
Loss Functions and BMM Fitting
To regularize the predicted map, we employ a combination of Mean Squared Error (MSE), Antipodal Symmetry (AS) loss—ensuring the map is identical at opposite points on the sphere—and Sparsity ($L_0$) loss to sharpen the peaks.
Once the map is predicted, we fit a Bingham Mixture Model (BMM) to it. The Bingham distribution is specifically designed for directional data on a sphere, allowing the system to robustly handle VPs that are close together while providing a mathematical confidence level for each detected point.
Experiments and Results
The method, dubbed DL-nL-auto, was evaluated on four diverse datasets: YUD+, VSD, NYU-VP, and the synthetic SU3 dataset.
- Generality: It successfully detected sloping and non-orthogonal VPs that Manhattan-based methods missed.
- Accuracy: On the YUD+ dataset, it achieved an $F_1$-score of 89.43%, outperforming the previous state-of-the-art (87.34%).
- Efficiency: The method is highly efficient, processing images in approximately 0.27 to 0.28 seconds, making it suitable for near-real-time applications.
- Robustness: It maintained high performance even in images with very few visible lines, where traditional line-based methods failed completely.
Conclusion
This research introduces a robust framework for VP estimation that bypasses the need for line extraction. By leveraging icosahedral spherical probability maps and Bingham Mixture Models, the approach achieves state-of-the-art accuracy and generality across diverse real-world scenes. Future work will explore applying this spherical representation to other geometric tasks such as camera pose estimation and 3D layout prediction.
Summary updated