Local Background Fitting for Reference-Based Localization of Generative Image Edits
Hailong Wang, Wuzheng Tan, Bing Han, Zixin Zhang, Jian Weng, Ru Meng
Abstract
Generative image editing can alter textures and colors outside the intended edit region. These changes make it difficult to localize an edit even when the original image is available. We propose ReferenceContrast, which uses the archived reference to estimate the background component of the observed differences. After aligning the image pair and reducing the blur mismatch between the images, the method fits reference-derived responses for reconstruction, smoothing, and residual displacement over a neighborhood around each location. A shared two-pass readout uses the remaining differences together with the original image-pair features to refine the edit mask. Across 600 test sources, ReferenceContrast achieved the highest intersection over union (IoU) among the evaluated methods on unperturbed full editor outputs in each of three domains, averaging 89.27% at a threshold of 0.5. With frozen calibrated thresholds, it achieved 95.26% IoU on the original CoCoGlide pairs and 87.82% on MagicBrush. Under local reference warping and query blur followed by JPEG compression, it improved full-output IoU over the matched same-input control by 2.90 and 2.74 percentage points, respectively, using the frozen calibrated thresholds. The corresponding gains on 120 independent sources were 2.93 and 3.34 points.
Create a lesson
Metadata
- Categories
- cs.CV, cs.CR
- Comments
- 12 pages, 6 figures, 6 tables
Related papers
Agent2Figure: Evidence-Grounded Scientific Figure Generation via Geometry Compilation to Editable Vectors
Shared title terminologycs.CVGuian Fang, Mengsha Liu, Mike Zheng Shou
Code-based Image Generation: Benchmarking, Baselines, and Improved Rewards
Shared title terminologycs.CVNicole Wang, Zhanhao Liang, Xingjian Leng et al.
VersoGS: Editing the Hidden Side of a 3D Gaussian Scene from a Single Image
Shared title terminologycs.CVBoyu Wei, Chuanzhi Xu, Xuanhua Yin et al.
CalliCanvas: Geometry-Constrained Full-Page Chinese Calligraphy Generation from Visual References
Shared title terminologycs.CVJunming Chen, Yuxuan Luo, Zhouhui Lian
Guiding Unified Multimodal Models to Generate Images from Long Prompts
Shared title terminologycs.CVHao Zhang, Jiaxin Qi, Jianqiang Huang
Use What Helps, Ignore What Doesn't: Utility-Aware One-Step Diffusion for Reference-Based Super-Resolution
Shared title terminologycs.CVJiachen Jiang, Tianyu Ding, Jinxin Zhou et al.