{"title":"Self-Supervised Image Harmonization via Region-Aware Harmony Classification","authors":"Chenyang Tian, Xinbo Wang, Qing Zhang","doi":"10.1111/cgf.70157","DOIUrl":null,"url":null,"abstract":"<p>Image harmonization is a widely used technique in image composition, which aims to adjust the appearance of the composited foreground object according to the style of the background image so that the resulting composited image is visually natural and appears to be photographed. Previous methods are mostly trained in a fully supervised manner, while demonstrating promising results, they do not generalize well to complex unseen cases involving significant style and semantic difference between the composited foreground object and the background image. In this paper, we present a self-supervised image harmonization framework that enables superior performance on complex cases. To do so, we first synthesize a large amount of data with wide diversity for training. We then develop an attentive harmonization module to adaptively adjust the foreground appearance by querying relevant background features. To allow more effective image harmonization, we develop a region-aware harmony classifier to explicitly judge whether an image is harmonious or not. Experiments on several datasets show that our method performs favourably against previous methods. Our code will be made publicly available.</p>","PeriodicalId":10687,"journal":{"name":"Computer Graphics Forum","volume":"44 6","pages":""},"PeriodicalIF":2.9000,"publicationDate":"2025-05-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Graphics Forum","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/cgf.70157","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
Image harmonization is a widely used technique in image composition, which aims to adjust the appearance of the composited foreground object according to the style of the background image so that the resulting composited image is visually natural and appears to be photographed. Previous methods are mostly trained in a fully supervised manner, while demonstrating promising results, they do not generalize well to complex unseen cases involving significant style and semantic difference between the composited foreground object and the background image. In this paper, we present a self-supervised image harmonization framework that enables superior performance on complex cases. To do so, we first synthesize a large amount of data with wide diversity for training. We then develop an attentive harmonization module to adaptively adjust the foreground appearance by querying relevant background features. To allow more effective image harmonization, we develop a region-aware harmony classifier to explicitly judge whether an image is harmonious or not. Experiments on several datasets show that our method performs favourably against previous methods. Our code will be made publicly available.
期刊介绍:
Computer Graphics Forum is the official journal of Eurographics, published in cooperation with Wiley-Blackwell, and is a unique, international source of information for computer graphics professionals interested in graphics developments worldwide. It is now one of the leading journals for researchers, developers and users of computer graphics in both commercial and academic environments. The journal reports on the latest developments in the field throughout the world and covers all aspects of the theory, practice and application of computer graphics.