Deep Direct Volume Rendering: Learning Visual Feature Mappings From Exemplary Images

Jakob Weiss, Nassir NavabarXiv 2021

Introduction

Direct Volume Rendering (DVR) is a cornerstone of scientific and medical visualization, transforming 3D scalar fields—such as CT or MRI scans—into interpretable 2D images. Central to this process is the "Transfer Function" (TF), which maps data values to optical properties like color and opacity. However, designing effective TFs is notoriously difficult, often requiring significant domain expertise and manual parameter tuning.

Overview of the DeepDVR framework, showing the transition from 2D handpainted examples to a learned 3D volume representation.

Deep Direct Volume Rendering (DeepDVR) addresses this challenge by integrating differentiable neural networks directly into the classic scientific visualization pipeline. This allows the system to learn complex visual mappings—including semantic coloring and realistic shading—directly from 2D example images, bypassing the need for manual TF design.

The DeepDVR Framework

The core innovation of DeepDVR is treating the entire rendering process as a differentiable operation. This enables backpropagation from a 2D loss function (comparing the rendered output to a target image) all the way back to the 3D volume's feature representation.

The Deep Volume Rendering pipeline, illustrating the flow from raw data to final visual rendering.

Key methodological components include:

  • Generalized DVR: The system can render into a high-dimensional latent color space, which is subsequently decoded into a final image by a 2D neural network.
  • Hybrid Architectures (DVRNet): By combining 3D convolutional layers for structural understanding with 2D layers for image refinement, the model captures both volumetric context and fine-grained visual details.
  • MLP-based Transfer Functions: Traditional lookup tables are replaced with Multi-Layer Perceptrons (MLPs), allowing the model to learn multi-dimensional relationships that standard 1D TFs cannot capture.
  • Stepsize Annealing: To manage the high computational cost of 3D rendering, the authors utilize a strategy that starts with coarse sampling and progressively increases resolution during training, accelerating convergence by approximately 33.4%.

Experimental Evaluation

The researchers evaluated DeepDVR across three distinct scenarios:

  1. Standard Volume Optimization: Testing basic TF learning on classic datasets like the Bonsai and Engine volumes.
  2. Semantic Learning from Handpainted Images: Experts provided 2D renders with manual semantic edits (e.g., specific coloring of a tree trunk). The AI successfully learned to replicate these 3D edits across all viewing angles based only on the 2D examples.
  3. Clinical Generalization: Using 27 abdominal CT scans, the model demonstrated the ability to apply complex shading and semantic coloring to previously unseen patient data, indicating it learns generalizable visualization principles rather than just memorizing specific volumes.

Key Insights and Results

DeepDVR demonstrates that incorporating the physics of light transport (emission-absorption modeling) within a neural network leads to sharper, more consistent results compared to "black-box" neural renderers like RenderNet. By decoupling feature extraction (identifying structures) from visual mapping (assigning appearance), the model can represent complex semantic rules.

Results show that DeepDVR significantly outperforms baseline models in perceptual quality, as measured by LPIPS and FID scores. Furthermore, because the mapping is continuous, the model exhibits resolution independence, allowing it to be trained on low-resolution data and produce high-resolution outputs at inference.

Limitations and Future Directions

Despite its high visual quality, DeepDVR faces challenges regarding computational speed. Training remains a multi-hour process, and inference times (up to 2 seconds per frame) are currently too slow for real-time interactive applications. Additionally, the high memory requirements of 3D CNNs limit the scale of volumes that can be processed. Future work may explore Recurrent Neural Networks (RNNs) to optimize the compositing step and enable more advanced illustrative styles.

Summary updated

BibTeX
@misc{weiss2021deep,
  author = {Jakob Weiss and Nassir Navab},
  title = {{Deep Direct Volume Rendering: Learning Visual Feature Mappings From Exemplary Images}},
  year = {2021},
  eprint = {2106.05429},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.05429},
}
Figure