GeoDiffuser: Geometry-Based Image Editing with Diffusion Models

Rahul Sajnani, Jeroen Vanbaar, Jie Min, Kapil Katyal, Srinath Sridhar
4/22/2024
cs.CV

No official code found. Best implementation: RahulSajnani/GeoDiffuser (22 stars, Apache-2.0, last commit 2025-03-22).

Abstract

The success of image generative models has enabled us to build methods that can edit images based on text or other user input. However, these methods are bespoke, imprecise, require additional information, or are limited to only 2D image edits. We present GeoDiffuser, a zero-shot optimization-based method that unifies common 2D and 3D image-based object editing capabilities into a single method. Our key insight is to view image editing operations as geometric transformations. We show that these transformations can be directly incorporated into the attention layers in diffusion models to implicitly perform editing operations. Our training-free optimization method uses an objective function that seeks to preserve object style but generate plausible images, for instance with accurate lighting and shadows. It also inpaints disoccluded parts of the image where the object was originally located. Given a natural image and user input, we segment the foreground object using SAM and estimate a corresponding transform which is used by our optimization approach for editing. GeoDiffuser can perform common 2D and 3D edits like object translation, 3D rotation, and removal. We present quantitative results, including a perceptual study, that shows how our approach is better than existing methods. Visit https://ivl.cs.brown.edu/research/geodiffuser.html for more information.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[WACV 2025, Best Student Paper, Oral] GeoDiffuser: Geometry-Based Image Editing with Diffusion Models

226C++, CSSFeb 19, 20241 years agoApache-2.0
diffusion-modelsgenerative-image-editinggenerative-image-modelsgeometry-editorremoval

Similar Papers

Cite this paper

@article{sajnani2024geodiffuser,
  title  = {GeoDiffuser: Geometry-Based Image Editing with Diffusion Models},
  author = {Rahul Sajnani and Jeroen Vanbaar and Jie Min and Kapil Katyal and Srinath Sridhar},
  year   = {2024},
  eprint = {2404.14403},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.14403v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.14403.svg)](https://codeofpaper.com/paper/2404.14403)

Discussion