Abstract
Monocular depth estimation is a fundamental challenge in computer vision, often hindered by geometric inconsistencies that lead to distorted 3D reconstructions. This paper introduces the Adaptive Surface Normal (ASN) constraint, a novel approach designed to enhance the geometric accuracy of depth maps. By adaptively selecting reliable local point triplets to compute surface normals, the ASN method ensures that reconstructed 3D surfaces remain sharp at boundaries and robust against noise. Experimental results on the NYUD-V2 and ScanNet datasets demonstrate that ASN outperforms existing state-of-the-art methods in both depth accuracy and surface normal consistency.
Introduction
Estimating the 3D structure of a scene from a single 2D image is a classic ill-posed problem. While deep learning models have significantly improved pixel-wise depth accuracy, they frequently struggle with geometric consistency. When standard depth maps are converted into 3D point clouds, the resulting structures often appear "melted" or noisy, particularly around sharp corners and object boundaries.
Traditional methods to mitigate this issue involve using surface normals—the vectors perpendicular to a surface—as a geometric constraint. However, these methods typically rely on fixed mathematical kernels (such as Sobel filters) or global sampling strategies. These approaches often fail at object edges, where a local neighborhood of pixels may span multiple distinct surfaces. The core challenge lies in identifying which neighboring pixels belong to the same surface to calculate an accurate normal.
Methodology: The Adaptive Surface Normal (ASN) Constraint
The authors propose the ASN constraint to move beyond fixed mathematical formulas. Instead of treating all neighboring pixels equally, the model learns to identify which neighbors are geometrically relevant through a multi-stage process:
1. Candidate Sampling
For every pixel in the image, the model randomly samples several sets of "triplets" (three points) from its local neighborhood. Each triplet defines a potential plane, from which a candidate surface normal can be derived.
2. Geometric Context Adaptation
To determine the reliability of these triplets, the network learns a "guidance feature map." It calculates a confidence score for each triplet by measuring the feature similarity between the sampled points and the target pixel. If the features are similar, the points are likely part of the same object, making the resulting normal more reliable.
3. Area Adaptation
Triplets are also weighted based on their projected 2D area. Larger triangles tend to be more robust against local pixel noise, while smaller triangles are essential for capturing fine geometric details. This dual weighting allows the model to balance smoothness with precision.
4. Adaptive Fusion
The final surface normal is calculated as a weighted sum of all sampled candidates. This adaptive fusion allows the model to effectively ignore "outlier" neighbors that lie across geometric edges or belong to different objects.
5. Architecture
The system is built upon an HRNet-48 backbone. It features two distinct decoders: one dedicated to generating the depth map and another for producing the guidance features required for the ASN constraint.
Experimental Results
The ASN method was rigorously evaluated on two major indoor benchmarks: NYUD-V2 (comprising 464 indoor scenes) and ScanNet (used for cross-dataset generalization).
Quantitative Performance
ASN achieved state-of-the-art (SOTA) results, surpassing previous models such as VNL, BTS, and GeoNet.
- Depth Accuracy: On NYUD-V2, the model achieved an Absolute Relative Error (Rel) of 0.101, compared to 0.108 for VNL.
- Normal Accuracy: The recovered surface normals showed a Mean Angle Error of 20.0°, a significant improvement over the previous best of 23.7°.
Qualitative Improvements
Visually, the point clouds generated by the ASN method are markedly cleaner than those of its predecessors. The method excels at preserving sharp 90-degree angles and flat surfaces. In complex indoor environments containing furniture like sofas and chairs, ASN avoids the "blob-like" distortions common in other depth estimation models.
Discussion and Key Insights
One of the primary contributions of this work is the shift toward selective attention to geometry. By using a learned guidance feature, the model performs a "soft segmentation" of local neighborhoods. This allows it to distinguish between geometric boundaries (like the corner of a room) and intensity edges (like a pattern on a flat wall), which standard edge detectors often confuse.
Furthermore, the sampling-based approach is computationally efficient. While previous methods utilized differentiable least squares—an $O(n^3)$ operation—the ASN sampling method operates at $O(n)$ complexity. This makes the constraint both more accurate and faster to compute.
Limitations and Future Work
Currently, the ASN method has been primarily validated in indoor environments. Its performance in outdoor settings, such as the KITTI dataset, remains an area for further exploration. Outdoor scenes present different challenges, including larger distances and non-planar surfaces like vegetation. Additionally, the current implementation relies on fixed hyperparameters for the number of triplets ($K=40$) and patch size ($5 \times 5$). Future research could investigate making these parameters dynamic, allowing the model to adjust its sampling strategy based on local image content.
Conclusion
The Adaptive Surface Normal constraint provides a robust and efficient framework for improving the geometric consistency of monocular depth estimation. By learning to adaptively weight local geometric information, the ASN method bridges the gap between 2D image data and 3D structural integrity, setting a new benchmark for high-fidelity depth reconstruction.
Summary updated