Real-time Generation of Digital Bas-Reliefs

Jens Kerber, Art Tevs, Alexander Belyaev, Rhaleb Zayer, Hans‐Peter SeidelComputer-Aided 2010 · DOI

TL;DR

This paper introduces two novel, real-time methods for automatically generating digital bas-reliefs from 3D models. By adapting techniques from high dynamic range image compression and leveraging bilateral filtering, these methods achieve significant depth compression while preserving fine surface details, enabling artistic applications like bas-relief animations and cubist-style compositions.

What Problem Does This Paper Address?

Bas-relief, a form of sculpture where elements protrude shallowly from a background, occupies a unique space between 2D art and full 3D sculpture. Historically, creating bas-reliefs has been an artistic endeavor requiring careful composition, perspective, and shading. In the digital realm, the challenge lies in automatically generating artistically compelling bas-reliefs from 3D digital shapes. A key hurdle is "depth compression" – reducing the range of depth values in a 3D model (represented as a height map or depth image) to create the characteristic shallow relief without losing important shape features or introducing visual artifacts. Existing methods often struggle with either computational complexity, loss of fine details, or require extensive user parameter tuning. This paper aims to bridge this gap by providing efficient, intuitive, and artistically relevant methods for digital bas-relief generation.

Methods

The authors propose two primary methods for bas-relief generation, both inspired by high dynamic range (HDR) image compression and utilizing the bilateral filter:

  • Range Domain Approach: This method operates directly on the depth map. It first preprocesses the input by creating a binary background mask and normalizing the height values. The core of this approach involves decomposing the height field into a "base" layer (coarse structure) and a "detail" layer. A bilateral filter is used to extract the base layer, preserving edges and important shape features. The detail layer is then further processed using a Laplacian-like diffusion to enhance curvature-driven features. Finally, unsharp masking is applied to boost the influence of fine details relative to the coarse layer, and post-processing normalizes the result to the desired depth range.
  • Gradient Domain Approach: This method works in the gradient domain, focusing on the derivatives of the height field. After initial preprocessing (similar to the range domain approach), it computes the gradient images. To handle issues like sharp jumps at boundaries and self-occlusions, outlier detection is employed to identify and zero out problematic gradient entries. Bilateral filtering is then applied to the gradient field, which, due to its edge-preserving nature, effectively preserves ridges and fine details. The filtered gradients are then combined to create a new gradient field, and unsharp masking is used to enhance high-frequency details. Reconstruction of the height field from these new gradients is achieved by solving a Poisson problem.

Both methods are designed for real-time performance by leveraging graphics hardware (GPU) and are implemented within an OpenGL application.

Datasets

The paper utilizes existing 3D models from various sources for demonstration and evaluation, including:

  • Stanford 3D Scanning Repository
  • Google 3D Warehouse
  • XYZ RGB Inc.
  • AIM@SHAPE

The authors also compare their results with those from a prior work ([14]), reproducing similar poses and scene conditions for fair comparison. No new datasets or benchmarks are introduced.

Key Insights and Ideas

  • Bilateral Filtering as a Core Tool: The paper highlights the effectiveness of bilateral filtering for both range and gradient domain approaches. Its ability to preserve edges and important features while smoothing is crucial for compressing depth information without losing critical shape details.
  • Gradient Domain for Sharp Details: The gradient domain approach proves particularly adept at preserving sharp small features and high-frequency details, such as dragon scales and teeth, which can be challenging for range-domain methods.
  • Cubism-Inspired Artistry: The authors demonstrate the potential for generating cubist-style bas-reliefs by merging multiple perspectives. Their gradient domain approach naturally handles the transitions between different viewpoints, creating seamless and visually interesting compositions.
  • Real-time Performance via GPU: The implementation on graphics hardware is a key enabler for interactive bas-relief generation, allowing artists to tweak parameters and see results instantaneously, which is a significant improvement over previous offline methods.
  • Bas-Relief Ambiguity as an Artistic Opportunity: The inherent ambiguity in bas-relief perception, where depth can be interpreted in multiple ways, is leveraged to create visually rich and suggestive artworks.

Key Results

  • Real-time Performance: The implemented OpenGL application achieves real-time performance, with the range domain approach reaching up to 180 FPS and the gradient domain approach achieving 25 FPS for 1024x1024 resolution scenes.
  • Preservation of Fine Details: Both methods successfully preserve fine shape features and surface details, as demonstrated in various examples like the armadillo, ornament, and Thai statue.
  • Effective Depth Compression: The methods achieve significant depth compression, with results typically compressed to 1.5% of their largest dimension, while maintaining perceptually salient shape features.
  • Cubist Style Generation: The paper successfully demonstrates the generation of cubist-style bas-reliefs by merging multiple perspectives, creating visually coherent collages without disturbing transitions.
  • Comparison with Prior Work: The authors' results are compared to a technique from [14], showing comparable or superior performance in detail preservation and plastic impression for certain models.

Limitations and Future Work

  • Graphics Memory Limitations: The current implementation is limited by graphics memory, restricting the resolution of generated reliefs to approximately 2048x2048.
  • Transfer Bottleneck (Gradient Domain): For the gradient domain approach, the transfer of data between OpenGL textures and CUDA space is identified as a significant bottleneck, consuming over 70% of computation time. The authors express confidence that future hardware will address this.
  • User Skill for Input: While the tools are intuitive, the creation of visually pleasing results, especially for complex collages, still relies on the user's skill in arranging input perspectives or objects.
  • Future Work: The authors suggest that further performance enhancements could be achieved by integrating faster bilateral filter variants. The presented framework is also noted as being suitable for generating bas-reliefs of animated scenes, hinting at future exploration in this area.

Summary updated

Abstract

Computer-Aided Design and Applications is an international journal on the applications of CAD and CAM. It publishes papers in the general domain of CAD plus in emerging fields like bio-CAD, nano-CAD, soft-CAD, garment-CAD, PLM, PDM, CAD data mining, CAD and the internet, CAD education, genetic algorithms and CAD engines. The journal is aimed at all developers and users of CAD technology to ptovide CAD solutions for various stages of design and manufacturing. The journal publishes all about Computer-Aided Design and Computer-Aided technologies.
BibTeX
@inproceedings{kerber2010real,
  author = {Jens Kerber and Art Tevs and Alexander Belyaev and Rhaleb Zayer and Hans‐Peter Seidel},
  title = {{Real-time Generation of Digital Bas-Reliefs}},
  booktitle = {Computer-Aided},
  year = {2010},
  doi = {10.3722/cadaps.2010.465-478},
}
Figure