ObjectStitch: Object Compositing with Diffusion Model

Yi-Zhe Song, Zhifei Zhang, Zhe Lin, Scott D. Cohen, Brian L. Price +3 more
2/14/2026

No official code found. Best implementation: bcmi/ObjectStitch-Image-Composition (102 stars, last commit 2026-02-24).

Abstract

Object compositing based on 2D images is a challenging problem since it typically involves multiple processing stages such as color harmonization, geometry correction and shadow generation to generate realistic results. Furthermore, annotating training data pairs for compositing requires substantial manual effort from professionals, and is hardly scalable. Thus, with the recent advances in generative models, in this work, we propose a selfsupervised framework for object compositing by leveraging the power of conditional diffusion models. Our framework can hollistically address the object compositing task in a unified model, transforming the viewpoint, geometry, color and shadow of the generated object while requiring no manual labeling. To preserve the input object's characteristics, we introduce a content adaptor that helps to maintain categori-cal semantics and object appearance. A data augmentation method is further adopted to improve the fidelity of the generator. Our method outperforms relevant baselines in both realism and faithfulness of the synthesized result images in a user study on various real-world images.

DOISemantic Scholar

Code Implementations(1)

An unofficial implementation of the paper "ObjectStitch: Object Compositing with Diffusion Model", CVPR 2023.

1023Shell, PythonFeb 17, 20247 months ago
image-compositionobject-insertion

Cite this paper

@article{song2026objectstitch,
  title  = {ObjectStitch: Object Compositing with Diffusion Model},
  author = {Yi-Zhe Song and Zhifei Zhang and Zhe Lin and Scott D. Cohen and Brian L. Price and Jianming Zhang and S. Kim and Daniel G. Aliaga},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.01756},
  url    = {https://doi.org/10.1109/CVPR52729.2023.01756},
  journal = {CVPR 2023 2023}
}

Discussion