[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-511995-105":59,"doc-detail-511995-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","relightful-harmonization-lighting-aware-portrait-background-replacement","Relightful Harmonization: Lighting-aware Portrait Background Replacement","","Portrait harmonization composites a subject into a new background by adjusting lighting and color to achieve visual harmony. Existing approaches often match global brightness and color while ignoring illumination cues from the background, such as lighting direction and shadows, which leads to unrealistic results. Relightful Harmonization introduces a lighting-aware diffusion model with a lighting representation module, a lighting alignment network using environment maps, and a data simulation pipeline to refine photorealism. The method improves visual fidelity and lighting coherence and generalizes well in real-world tests.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/relightful-harmonization-lighting-aware-portrait-background-replacement/511995/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/relightful-harmonization-lighting-aware-portrait-background-replacement/511995.png","ImageObject",300,407,{"name":92,"@type":93},"Cart","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-16","2026-10-06",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does Relightful Harmonization address in portrait harmonization?","Question",{"text":112,"@type":113},"It targets unrealistic composites caused by harmonization methods that ignore crucial background illumination cues like lighting direction and shadows.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the approach incorporate lighting information into the diffusion model?",{"text":117,"@type":113},"It uses a lighting representation module to derive lighting conditions from the selected background image, then integrates this information into the diffusion UNet backbone to guide generation.",{"name":119,"@type":110,"acceptedAnswer":120},"What are the main stages of the proposed training pipeline?",{"text":121,"@type":113},"The pipeline has three stages: Lighting-aware Diffusion Training, Lighting Representation Alignment, and Finetuning for Photorealism using an expanded dataset and a data synthesis pipeline.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},511995,1791414950,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},18829141979164,"https://eur-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","This CVPR paper is the Open Access version, provided by the Computer Vision Foundation.  \nExcept for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore.  \nRelightful Harmonization: Lighting-aware Portrait Background Replacement  \nMengwei Ren 12 􀀃 Wei Xiong2 Jae Shin Yoon2 Zhixin Shu2  \nJianming Zhang2 HyunJoon Jung2 Guido Gerig 1 He Zhang2  \n1New York University 2Adobe  \nFigure 1 . Relightful Harmonization on four real-world images. Each set shows a direct composition (upper left) of the foreground subject onto a new backgound (lower left), and our harmonized result (right) that accounts for both lighting and color.  \nAbstract  \nPortrait harmonization aims to composite a subject into a new background, adjusting its lighting and color to ensure harmony with the background scene. Existing harmonization techniques often only focus on adjusting the global color and brightness of the foreground and ignore crucial illumination cues from the background such as apparent lighting direction, leading to unrealistic compositions. We introduce Relightful Harmonization, a lighting-aware diffusion model designed to seamlessly harmonize sophisticated lighting effect for the foreground portrait using any background image. Our approach unfolds in three stages. First, we introduce a lighting representation module that allows our diffusion model to encode lighting information from target image background. Second, we introduce an alignment network that aligns lighting features learned from image background with lighting features learned from panorama  \n* Work done during an internship at Adobe.  \nenvironment maps, which is a complete representation for scene illumination. Last, to further boost the photorealism of the proposed method, we introduce a novel data simulation pipeline that generates synthetic training pairs from a diverse range of natural images, which are used to re􀀂ne the model. Our method outperforms existing benchmarksin visual 􀀂delity and lighting coherence, showing superior generalization in real-world testing scenarios, highlighting its versatility and practicality.  \n1. Introduction  \nPortrait harmonization [59, 63] stands as a crucial element in both photography and creative image editing, seeking to seamlessly composite a subject into a new background while maintaining realism and aesthetic uniformity in terms of lighting and color. The process initiates with the segmentation of the subject from its original image, followed by the composition into a new background. To enhance visual consistency, the subsequent step entails meticulous ad-  \njustments to the foreground, aligning it with the new background—considering factors such as color, brightness, saturation, and lighting conditions. The manual effort could be labor-intensive, particularly when dealing with intricate lighting scenarios in portraiture.  \nThere are two principal sets of methods that could automatically adjust the foreground to match the background for human portraits: (1) image harmonization techniques, and (2) portrait relighting methods. Harmonization-based methods [5, 7, 8, 14–16, 22, 26, 29, 30, 56, 61, 67, 68] aim to match the color statistics of the foreground with those of the background, by adjusting the foreground color tone, contrast, and illumination. Yet, they often overlook the lighting characteristics and leave the foreground illumination effects unchanged, such as the lighting direction and shadows, potentially resulting in an unnatural appearance when the background has distinct lighting conditions. For instance, compositing a person photographed under a top-down light into a sunset scene might make the composite non-realistic to the human eye. On the other hand, recent work on portrait relighting [33, 38, 42, 55, 64, 69, 72, 76, 79] are designed for matching the lighting of the subject towards a new environment by using the paired training data acquired with the ","cbCaiih9MCewRw4Y","https://ap.wps.com/l/cbCaiih9MCewRw4Y","pdf",9918518,11,"English","# Abstract\n## Introduction\n## Method Overview\n## Lighting-aware Diffusion Training\n## Lighting Representation Alignment\n## Finetuning for Photorealism","[{\"question\":\"What problem does Relightful Harmonization address in portrait harmonization?\",\"answer\":\"It targets unrealistic composites caused by harmonization methods that ignore crucial background illumination cues like lighting direction and shadows.\"},{\"question\":\"How does the approach incorporate lighting information into the diffusion model?\",\"answer\":\"It uses a lighting representation module to derive lighting conditions from the selected background image, then integrates this information into the diffusion UNet backbone to guide generation.\"},{\"question\":\"What are the main stages of the proposed training pipeline?\",\"answer\":\"The pipeline has three stages: Lighting-aware Diffusion Training, Lighting Representation Alignment, and Finetuning for Photorealism using an expanded dataset and a data synthesis pipeline.\"}]","Relightful Harmonization: Lighting-aware Portrait Background Replacement | PDF",1791263108,28,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/2cbdfa4883c7e6f9708881e3af5c8c8e.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/5358dfaa1c982e44dd93c57be430fc79.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ac09146ecb8308c11ce858af7ed5f4d3.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9fde7459e16f68ad3449bcdbe9afabdb.webp",980,1268]