Image Sculpting: Precise Object Editing with 3D Geometry Control

Jiraphon Yenphraphai, Xichen Pan, Sainan Liu, Daniele Panozzo, Saining XieCVPR 2024 · DOI

Abstract

We present Image Sculpting, a new framework for editing 2D images by incorporating tools from 3D geometry and graphics. This approach differs markedly from existing methods, which are confined to 2D spaces and typically rely on textual instructions, leading to ambiguity and limited control. Image Sculpting converts 2D objects into 3D, enabling direct interaction with their 3D geometry. Post-editing, these objects are re-rendered into 2D, merging into the original image to produce high-fidelity results through a coarse-to-fine enhancement process. The framework supports precise, quantifiable, and physically-plausible editing options such as pose editing, rotation, translation, 3D composition, carving, and serial addition. It marks an initial step towards combining the creative freedom of generative models with the precision of graphics pipelines.

Introduction: The Precision Gap in 2D Editing

Current state-of-the-art image editing tools, such as Stable Diffusion or Adobe Firefly, rely heavily on text prompts or 2D "dragging" interfaces. While impressive, these methods suffer from a significant "precision gap." For instance, rotating a character’s arm by a specific angle or ensuring complex 3D occlusions remain physically plausible is nearly impossible with text alone. Existing 2D-based interactive methods like DragGAN operate in a latent space that lacks a true understanding of 3D geometry, often resulting in "melting" textures or anatomically impossible distortions. Image Sculpting addresses this by moving beyond 2D pixels to interact directly with the underlying 3D structure of objects.

Methods: The 3D Sculpting Pipeline

The Image Sculpting framework consists of three distinct phases designed to bridge 2D creativity with 3D precision:

  1. De-Rendering (2D to 3D): The process begins by segmenting an object from a single 2D image. A zero-shot 3D reconstruction model, specifically Zero-1-to-3, estimates the object's 3D geometry and texture to create a coarse 3D mesh.
  2. 3D Manipulation: In the 3D space, users can apply standard computer graphics techniques. This includes Linear Blend Skinning for pose editing, As-Rigid-As-Possible (ARAP) deformations for shape changes, and boolean operations for carving or adding new 3D components. This allows for quantifiable, "sculptural" control.
  3. Generative Enhancement (3D back to 2D): The edited 3D model is rendered back into a 2D "coarse" image. To restore photo-realism lost during reconstruction, the system uses a coarse-to-fine enhancement process involving One-shot DreamBooth (to preserve identity), Depth ControlNet (to guide geometry), and Feature & Attention Injection (to match the original style and lighting).
The framework enables precise 3D carving operations, such as cutting shapes into a pumpkin model.

Key Insights: Geometry as a Scaffold

A core insight of this work is that a perfect 3D reconstruction is not required for a perfect edit. The coarse 3D mesh serves as a geometric scaffold, dictating where elements should be, while the enhancement phase leverages the original image's data to determine what they look like (high-resolution texture and lighting). The use of Feature Injection is particularly critical; by injecting self-attention maps from the coarse render into the final generation, the system maintains much higher geometric fidelity than depth maps alone could provide.

Results and Evaluation

The authors introduced SculptingBench, a benchmark containing 28 editing tasks across 15 diverse images, covering pose editing, rotation, translation, 3D composition, carving, and serial addition.

A high-fidelity result showing the Joker character in a precisely edited pose.

Quantitatively, Image Sculpting was evaluated using a new metric, D-RMSE (Depth Root Mean Square Error), which measures how well the final image matches the intended 3D geometry. The framework significantly outperformed baselines like SDEdit and OBJect-3DIT in geometric accuracy while maintaining superior texture quality, as measured by DINO and CLIP scores. Qualitatively, the system demonstrates versatility, from precisely posing characters to carving intricate shapes into objects with realistic shadow and reflection updates.

Limitations and Future Work

Despite its strengths, the system is dependent on the quality of the initial 3D reconstruction. If the 2D-to-3D model fails to capture the basic shape, the final output suffers. Additionally, "rigging" the 3D model currently requires some manual interaction. Future work aims to automate this process and integrate dynamic lighting engines to further enhance the realism of 3D compositions.

Summary updated

BibTeX
@inproceedings{yenphraphai2024image,
  author = {Jiraphon Yenphraphai and Xichen Pan and Sainan Liu and Daniele Panozzo and Saining Xie},
  title = {{Image Sculpting: Precise Object Editing with 3D Geometry Control}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.00406},
}
Figure