[Paper Review] P3Depth: Monocular Depth Estimation with a Piecewise Planarity Prior
P3Depth proposes a supervised monocular depth estimation method that leverages a piecewise planarity prior by predicting plane coefficients and offset vectors to identify seed pixels sharing the same 3D plane. The method fuses predictions from a direct depth head and a planarity-guided head using a learned confidence map, achieving state-of-the-art performance on NYU Depth-v2 and KITTI, with sharp depth discontinuities and consistent 3D reconstructions.
Monocular depth estimation is vital for scene understanding and downstream tasks. We focus on the supervised setup, in which ground-truth depth is available only at training time. Based on knowledge about the high regularity of real 3D scenes, we propose a method that learns to selectively leverage information from coplanar pixels to improve the predicted depth. In particular, we introduce a piecewise planarity prior which states that for each pixel, there is a seed pixel which shares the same planar 3D surface with the former. Motivated by this prior, we design a network with two heads. The first head outputs pixel-level plane coefficients, while the second one outputs a dense offset vector field that identifies the positions of seed pixels. The plane coefficients of seed pixels are then used to predict depth at each position. The resulting prediction is adaptively fused with the initial prediction from the first head via a learned confidence to account for potential deviations from precise local planarity. The entire architecture is trained end-to-end thanks to the differentiability of the proposed modules and it learns to predict regular depth maps, with sharp edges at occlusion boundaries. An extensive evaluation of our method shows that we set the new state of the art in supervised monocular depth estimation, surpassing prior methods on NYU Depth-v2 and on the Garg split of KITTI. Our method delivers depth maps that yield plausible 3D reconstructions of the input scenes. Code is available at: https://github.com/SysCV/P3Depth
Motivation & Objective
- To improve monocular depth estimation by exploiting the high regularity of real-world 3D scenes, particularly piecewise planar structures.
- To address scale ambiguity in monocular depth estimation by incorporating geometric priors that enforce local planarity.
- To develop a differentiable, end-to-end trainable architecture that implicitly learns to group pixels by planar regions for sharper depth boundaries.
- To achieve state-of-the-art performance on standard benchmarks while generalizing well to zero-shot transfer settings.
- To produce depth maps suitable for high-quality 3D reconstruction by preserving depth discontinuities at occlusions.
Proposed method
- The network uses a dual-head architecture: one head predicts dense plane coefficients (a, b, c) for each pixel, representing the local 3D plane.
- The second head predicts a dense offset vector field (dx, dy) and a confidence map to identify seed pixels sharing the same plane.
- Plane coefficients from seed pixels are resampled using the predicted offsets to generate a second depth prediction.
- The two depth predictions are adaptively fused using the confidence map as learnable fusion weights to handle regions deviating from local planarity.
- A mean plane loss is introduced to enforce first-order consistency between predicted and ground-truth depth surfaces.
- The entire model is trained end-to-end with supervision only on the final fused depth prediction, enabling implicit supervision of offsets and confidence.
Experimental results
Research questions
- RQ1Can a piecewise planarity prior improve monocular depth estimation by enabling information sharing across coplanar pixels?
- RQ2How can a differentiable, end-to-end network learn to identify seed pixels on the same plane without explicit supervision?
- RQ3What is the impact of adaptive fusion between direct depth prediction and planarity-guided prediction on depth accuracy and edge sharpness?
- RQ4How does the proposed mean plane loss improve generalization and surface consistency?
- RQ5Can the method generalize effectively to zero-shot domains without fine-tuning?
Key findings
- P3Depth achieves new state-of-the-art performance on NYU Depth-v2, surpassing prior methods in all standard metrics (A.Rel ↓ 0.104, RMSE ↓ 0.356, δ1 ↑ 0.898).
- On the KITTI Garg split, P3Depth achieves SOTA results with A.Rel ↓ 0.104, RMSE ↓ 0.356, and δ1 ↑ 0.898.
- In zero-shot transfer, P3Depth outperforms prior SOTA on ScanNet, SUN-RGBD, DIODE Indoor, and ETH-3D, especially in RMSE and δ1.
- Ablation studies confirm that using plane coefficients with offset-based refinement yields significant gains over direct depth prediction (RMSE: 0.458 → 0.356).
- The mean plane loss further improves performance, reducing RMSE by 0.016 compared to the ablation without it.
- Qualitative results show sharp depth edges at occlusions and consistent 3D reconstructions, even under variable lighting or on specular surfaces.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.