3Deformer: A Common Framework for Image-Guided Mesh Deformation

Hao Su, Xuefeng Liu, Jianwei Niu, Ji Wan, Xinghao WuarXiv 2023 · DOI

Abstract

3Deformer is a category-agnostic framework for 3D mesh deformation guided by 2D semantic images. Unlike deep learning approaches that rely on massive datasets, 3Deformer utilizes a hierarchical optimization architecture and differentiable rendering to perform high-fidelity edits on diverse objects. This non-training approach addresses common issues like surface artifacts and occlusion, enabling complex deformations such as caricatures and character editing.

Introduction

Traditional 3D shape editing often requires either professional expertise for manual tools or large-scale datasets for deep learning models. Deep learning approaches are typically restricted to specific categories (e.g., human faces) and struggle with cross-category generalization. Furthermore, guiding a 3D shape with a 2D image introduces challenges such as maintaining structural rigidity, avoiding surface artifacts, and handling occlusions.

Overview of the 3Deformer framework showing source meshes, target semantic images, and the resulting deformed meshes across different categories.

3Deformer overcomes these limitations by treating mesh editing as an optimization problem rather than a learning task. This allows for flexible, image-guided deformation across various shapes—from human faces to teapots—without requiring expensive 3D training data.

Methodology

The core of 3Deformer is its Hierarchical Optimization Architecture (HOA). Instead of global vertex manipulation, HOA decomposes the mesh into "virtual local meshes" based on semantic materials (e.g., nose, eyes). This allows for simultaneous optimization of global structure and fine-grained local details.

The 3Deformer pipeline: Source mesh and semantic material are processed through a Hierarchical Optimization Architecture, rendered differentiably, and optimized against a target semantic image.

The framework utilizes differentiable rendering to bridge the 3D and 2D domains. The error between the rendered mask and the target semantic image is backpropagated to adjust vertex positions. The framework successfully balances the need to match a 2D target with the preservation of the original 3D topology, effectively implementing a "rigid-as-possible" constraint. Key loss functions include:

  • Binary IoU Loss ($L_{biou}$): Prevents the mesh from stretching unnaturally to fill a mask, ensuring a smoother fit.
  • Global Synchronization Loss ($L_{gs}$): Uses a tree-based structure to ensure that occluded vertices follow the movement of visible ones, maintaining global consistency.
  • Angle Smooth Loss ($L_{as}$): Specifically designed to prevent surface flattening and collapsing triangles.

Results and Evaluation

3Deformer is category-agnostic, successfully editing human faces, animals, and geometric objects. It excels in creating exaggerated caricatures that match 2D guidance almost perfectly while preserving 3D topology. For evaluation, the authors used a variety of source meshes and user-specified semantic images, comparing results against state-of-the-art face and caricature models like Deep3DFace and HRN.

Quantitatively, the Binary IoU loss significantly improves surface smoothness and shape accuracy compared to standard IoU. In performance tests on an NVIDIA RTX 2080 GPU, editing a mesh with ~15,000 vertices takes approximately 750–800 seconds. While slower than feed-forward neural networks, it offers much higher flexibility and requires zero prior training.

Conclusion

3Deformer provides a robust solution for image-guided 3D deformation without the need for training data. By balancing 2D target matching with 3D topological preservation, it prevents common artifacts like "shredding" or flattening. While currently limited by single-view constraints and iterative speed, it serves as a powerful tool for high-quality mesh synthesis and could potentially act as a data engine for future real-time neural networks.

Summary updated

BibTeX
@misc{su2023deformer,
  author = {Hao Su and Xuefeng Liu and Jianwei Niu and Ji Wan and Xinghao Wu},
  title = {{3Deformer: A Common Framework for Image-Guided Mesh Deformation}},
  year = {2023},
  eprint = {2307.09892},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.09892},
}
Figure