-
[pdf]
[supp]
[bibtex]@InProceedings{Wen_2025_CVPR, author = {Wen, Dongchao and Chen, Zijian and Deng, Weihong and Tian, Yujiang and Shi, Hongzhi and Zhang, Yingjie and Cui, Xingchen and Zhao, Jian and Liang, Lingyan and Wang, Mei}, title = {Semantic-Aware Local Image Editing with a Single Mask Operation}, booktitle = {Proceedings of the Computer Vision and Pattern Recognition Conference (CVPR) Workshops}, month = {June}, year = {2025}, pages = {6216-6225} }
Semantic-Aware Local Image Editing with a Single Mask Operation
Abstract
We introduce a user-friendly method for controllable image editing, where users simply draw an imprecise mask on the reference image to adaptively transfer its stylistic elements to the target image. Our approach, Adaptive Paste-GAN, is an optimization-based method that relies on intermediate feature maps of GANs for supervision. The method consists of two stages: ROI detection and local editing. In the ROI detection stage, deformable feature matching identifies the optimal editing region within the StyleGAN feature maps. In the editing stage, the latent code is optimized to align the target image's ROI features with those of the reference, while applying regularization to minimize changes outside the ROI. Experimental results demonstrate the precision of ROI detection and show that our method effectively balances locality and global consistency during optimization, and aligns well with user intent across various image categories. The code will be made available upon publication.
Related Material