paper-with-me

Papers

Painterly Image Harmonization using Diffusion Model

2023-08-04 · Lingxiao Lu, Jiangtong Li, Junyan Cao, Li Niu, Liqing Zhang

Painterly image harmonization aims to insert photographic objects into paintings and obtain artistically coherent composite images. Previous methods for this task mainly rely on inference optimization or generative adversarial network, but they are either very time-consuming or struggling at fine control of the foreground objects (e.g., texture and content details). To address these issues, we propose a novel Painterly Harmonization stable Diffusion model (PHDiffusion), which includes a lightweight adaptive encoder and a Dual Encoder Fusion (DEF) module. Specifically, the adaptive encoder and the DEF module first stylize foreground features within each encoder. Then, the stylized foreground features from both encoders are combined to guide the harmonization process. During training, besides the noise loss in diffusion model, we additionally employ content loss and two style losses, i.e., AdaIN style loss and contrastive style loss, aiming to balance the trade-off between style migration and content preservation. Compared with the state-of-the-art models from related fields, our PHDiffusion can stylize the foreground more sufficiently and simultaneously retain finer content. Our code and model are available at https://github.com/bcmi/PHDiffusion-Painterly-Image-Harmonization.

📄 PDF Abstract BibTeX arXiv:2308.02228

Code (1)

bcmi/phdiffusion-painterly-image-harmonization 공식 구현 pytorch

Tasks

Generative Adversarial NetworkImage HarmonizationInference Optimizationmodel

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Painterly Image Harmonization by Learning from Painterly Objects

2023-12-15 · Li Niu, Junyan Cao, Yan Hong, Liqing Zhang

Given a composite image with photographic object and painterly background, painterly image harmonization targets at stylizing the composite object to be compatible with the background. Despite the competitive performance…

Image HarmonizationObject

Painterly Image Harmonization in Dual Domains

2022-12-17 · Junyan Cao, Yan Hong, Li Niu

Image harmonization aims to produce visually harmonious composite images by adjusting the foreground appearance to be compatible with the background. When the composite image has photographic foreground and painterly bac…

Image Harmonization

FreePIH: Training-Free Painterly Image Harmonization with Diffusion Model

2023-11-25 · Ruibin Li, Jingcai Guo, Song Guo, Qihua Zhou 외

This paper provides an efficient training-free painterly image harmonization (PIH) method, dubbed FreePIH, that leverages only a pre-trained diffusion model to achieve state-of-the-art harmonization results. Unlike exist…

DenoisingImage HarmonizationStyle Transfer

Progressive Painterly Image Harmonization from Low-level Styles to High-level Styles

2023-12-15 · Li Niu, Yan Hong, Junyan Cao, Liqing Zhang

Painterly image harmonization aims to harmonize a photographic foreground object on the painterly background. Different from previous auto-encoder based harmonization networks, we develop a progressive multi-stage harmon…

Image Harmonization

Training-and-Prompt-Free General Painterly Harmonization via Zero-Shot Disentenglement on Style and Content References

2024-04-19 · Teng-Fang Hsiao, Bo-Kai Ruan, Hong-Han Shuai

Painterly image harmonization aims at seamlessly blending disparate visual elements within a single image. However, previous approaches often struggle due to limitations in training data or reliance on additional prompts…

Image Harmonization