Monocular Depth Estimation for Semi-Transparent Volume Renderings

Dominik Engel, Sebastian Hartwig, Timo Ropinski · OpenReview

Abstract

Neural networks have shown great success in extracting geometric information from color images. Especially, monocular depth estimation networks are increasingly reliable in real-world scenes. In this work we investigate the applicability of such monocular depth estimation networks to semi-transparent volume rendered images. As depth is notoriously difficult to define in a volumetric scene without clearly defined surfaces, we consider different depth computations that have emerged in practice, and compare state-of-the-art monocular depth estimation approaches for these different interpretations during an evaluation considering different degrees of opacity in the renderings. Additionally, we investigate how these networks can be extended to further obtain color and opacity information, in order to create a layered representation of the scene based on a single color image. This layered representation consists of spatially separated semi-transparent intervals that composite to the original input rendering. In our experiments we show that adaptions of existing approaches to monocular depth estimation perform well on semi-transparent volume renderings, which has several applications in the area of scientific visualization.

Introduction

Direct Volume Rendering (DVR) is a cornerstone of medical and scientific visualization, enabling the inspection of internal structures within volumetric data. However, these renderings are inherently semi-transparent; a single pixel represents an accumulation of light through various structures rather than a single solid surface. This ambiguity makes it difficult to perform depth-aware post-processing on existing 2D images. While Monocular Depth Estimation (MDE) has matured for opaque real-world scenes, its application to the "cloudy" domain of volume rendering remains a significant challenge. This paper proposes a method to adapt MDE networks to estimate depth and decompose single images into layered representations.

Methodology

The core of the proposed approach is a framework that treats a volume rendering as a layered "sandwich." Instead of predicting a single depth value per pixel, the model predicts a two-layer representation consisting of a front RGBA layer, a depth map for a specific surface of interest, and a back RGBA layer.

The system predicts front and back layers that can be mathematically re-composited to match the original input rendering.

To implement this, the researchers extended the Big-to-Small (BTS) architecture with three novel training extensions:

  • Residual Image Output: The network predicts how to modify the input image to create layers, preserving high-frequency details.
  • Compositing Loss: A specialized loss function that forces the predicted front and back layers to mathematically recombine into the original input image.
  • Front-Back-Divergence Loss: This prevents the network from placing identical information in both layers, forcing a true depth-based separation of structures.

Data and Training

The model was trained using a synthetic dataset generated from 491 CT scans of human heads (the CQ500 dataset). The researchers produced 100,000 images from random viewpoints with randomized transfer functions. Performance was evaluated across two distinct benchmarks: OPAQUE (mostly solid renderings) and TRANSPARENT (highly see-through renderings), testing the limits of depth estimation in the presence of significant transparency.

Results and Applications

The adapted BTS model demonstrated remarkable robustness, achieving a $\delta_1$ score of 0.964 on transparent data, indicating that 96.4% of pixels fell within a 25% error margin of the ground truth depth. Beyond quantitative accuracy, the layered decomposition enables several novel applications using only a single RGB image as input.

By predicting depth and occlusion layers, 3D meshes (such as the red brain structure shown here) can be integrated into existing 2D renderings with correct occlusion.

Key applications include:

  • 3D Mesh Integration: Inserting new geometric objects into a rendering with correct occlusion relative to existing structures.
  • Enhanced Lighting: Adding screen-space effects like ambient occlusion to provide better depth cues in flat images.
  • Wiggle Stereo: Simulating a 3D viewpoint shift from a single 2D screenshot to create a sense of depth.

Conclusion

This work demonstrates that monocular depth estimation can be effectively applied to semi-transparent volume renderings. By defining depth through the "What You See Is What You Pick" (WYSIWYP) technique and employing a layered decomposition strategy, the proposed method allows for sophisticated, depth-aware editing of legacy visualizations. While limitations remain in handling very dark shadows or extremely complex topologies like fine blood vessels, the ability to "reach inside" a 2D rendering opens new possibilities for scientific communication and interactive visualization.

Summary updated

Abstract

Neural networks have shown great success in extracting geometric information from color images. Especially, monocular depth estimation networks are increasingly reliable in real-world scenes. In this work we investigate the applicability of such monocular depth estimation networks to semi-transparent volume rendered images. As depth is notoriously difficult to define in a volumetric scene without clearly defined surfaces, we consider different depth computations that have emerged in practice, and compare state-of-the-art monocular depth estimation approaches for these different interpretations during an evaluation considering different degrees of opacity in the renderings. Additionally, we investigate how these networks can be extended to further obtain color and opacity information, in order to create a layered representation of the scene based on a single color image. This layered representation consists of spatially separated semi-transparent intervals that composite to the original input rendering. In our experiments we show that adaptions of existing approaches to monocular depth estimation perform well on semi-transparent volume renderings, which has several applications in the area of scientific visualization.
BibTeX
@article{engel2024monocular,
  author = {Dominik Engel and Sebastian Hartwig and Timo Ropinski},
  title = {{Monocular Depth Estimation for Semi-Transparent Volume Renderings}},
  journal = {IEEE Trans. Vis. Comput. Graph.},
  year = {2024},
  doi = {10.1109/tvcg.2023.3245305},
}
Figure