Abstract
Monocular metric depth estimation is a critical task in computer vision, yet existing models often struggle with high-resolution inputs due to hardware constraints and tiling artifacts. We present PatchFusion, an end-to-end framework that enables high-resolution (up to 4K) depth estimation by intelligently fusing global context with local patch details. By employing a Guided Fusion Network and consistency-aware training, PatchFusion eliminates common tiling issues such as scale inconsistency and boundary seams, achieving state-of-the-art performance across multiple benchmarks.
Introduction
Monocular Depth Estimation (MDE)—predicting depth from a single 2D image—is essential for applications ranging from autonomous driving to augmented reality. However, a significant "resolution gap" persists: while modern cameras capture images at 4K or 8K, state-of-the-art (SOTA) models typically process inputs at much lower resolutions (e.g., 0.2 megapixels).
Attempts to bridge this gap using tiling often encounter two major hurdles: Scale Inconsistency, where individual patches lack the global context needed for absolute depth accuracy, and Boundary Artifacts, where stitching patches creates visible seams. PatchFusion is designed to overcome these limitations by maintaining global context throughout the tiling process.
Methodology
PatchFusion utilizes a three-stage pipeline to achieve both global consistency and local precision.
- Global Scale-Aware Estimation: The full image is downsampled and processed by a coarse network ($N_c$) to generate a low-resolution but globally consistent depth map ($D_c$).
- Patch-Wise Depth Prediction: The high-resolution image is divided into tiles, each processed by a fine network ($N_f$) to capture intricate details, such as thin structures or foliage, that are lost during downsampling.
- Guided Fusion: The Guided Fusion Network ($N_g$) merges the coarse and fine maps. This stage features a Global-to-Local (G2L) Module that uses Swin Transformer layers to inject global features into the local fusion process. Furthermore, Consistency-Aware Training (CAT) penalizes discrepancies in overlapping regions, ensuring that the model produces seamless depth maps.
Results and Discussion
The framework was evaluated on high-resolution benchmarks, including UnrealStereo4K, MVS-Synth, and Middlebury 2014. PatchFusion, particularly when using ZoeDepth as its base model, demonstrated significant improvements in both accuracy and sharpness.
Quantitative results show that PatchFusion improved the Root Mean Squared Error (RMSE) by 17.3% on UnrealStereo4K and 29.4% on MVS-Synth compared to baseline models. Visual quality assessments using Soft Edge Error (SEE) confirm that the model preserves much sharper object boundaries than competing super-resolution or tiling methods. Additionally, zero-shot evaluations on the Middlebury dataset highlight the framework's robust ability to generalize to real-world scenes without specific training data.
Conclusion
PatchFusion provides a scalable, end-to-end solution for high-resolution monocular depth estimation. By enforcing consistency at the feature level and integrating global context via the G2L module, it successfully bridges the resolution gap while avoiding common tiling artifacts. Future work will focus on improving computational efficiency through intelligent patch selection and expanding the availability of high-resolution real-world training datasets.
Summary updated