iPAD: Intrinsic Harmonization with Physically Anchored Diffusion for Realistic Image Compositing
Realistic image compositing requires jointly resolving foreground appearance, illumination, and cast-shadow consistency. These factors are mutually constrained: appearance adjustment alone cannot correct lighting mismatch, while unconstrained shadow generation may improve local realism but violate scene geometry. We therefore propose Intrinsic Harmonization with Physical-Anchor Diffusion (iPAD), a unified coarse-to-fine framework for shadow-aware image compositing. iPAD first harmonizes the foreground in intrinsic albedo space and estimates background illumination using an environment-aware spherical-harmonic representation to relight the foreground consistently with the scene. It then combines the reconstructed scene geometry with the estimated illumination direction to construct a physically grounded coarse shadow prior that encodes shadow direction, contact region, and global layout. Conditioned on this prior, a diffusion model refines the shadow by recovering soft boundaries and realistic local appearance. By constraining global shadow structure with geometry while delegating fine-scale appearance synthesis to diffusion, iPAD balances physical plausibility and visual realism. Experiments on the DESOBAv2 benchmark and real-world compositing cases demonstrate that iPAD achieves stronger shadow structural fidelity while improving the perceived coherence of foreground appearance, illumination, and cast shadows in the final composites.
Authors
- Nan Pu (ORCID: https://orcid.org/0000-0002-2179-8301)
- Tianrui Hui (ORCID: https://orcid.org/0000-0002-1172-1554)
- Yimin Liu
- Lechao Cheng
- Chenxin Zheng
- Shengeng Tang
- Zhun Zhong
Institutions
- Hefei University of Technology (CN)
- Hefei University (CN)
Publication Details
- Journal
- arXiv
- Published
- 2026-12-02
- DOI
- https://doi.org/10.48550/arxiv.2612.03423
- Primary Topic
- Computer Graphics and Visualization Techniques
- Type
- preprint