Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Context-Consistent Semantic Image Editing with Style-Preserved Modulation

About

Semantic image editing utilizes local semantic label maps to generate the desired content in the edited region. A recent work borrows SPADE block to achieve semantic image editing. However, it cannot produce pleasing results due to style discrepancy between the edited region and surrounding pixels. We attribute this to the fact that SPADE only uses an image-independent local semantic layout but ignores the image-specific styles included in the known pixels. To address this issue, we propose a style-preserved modulation (SPM) comprising two modulations processes: The first modulation incorporates the contextual style and semantic layout, and then generates two fused modulation parameters. The second modulation employs the fused parameters to modulate feature maps. By using such two modulations, SPM can inject the given semantic layout while preserving the image-specific context style. Moreover, we design a progressive architecture for generating the edited content in a coarse-to-fine manner. The proposed method can obtain context-consistent results and significantly alleviate the unpleasant boundary between the generated regions and the known pixels.

Wuyang Luo, Su Yang, Hong Wang, Bo Long, Weishan Zhang• 2022

Related benchmarks

TaskDatasetResultRank
Semantic Image EditingCityscapes
FID11.9
21
Semantic Image EditingADE20K-Room
FID18.83
21
Object AdditionCityscapes (test)
FID6.59
7
Object AdditionADE20K Room (test)
FID17.21
7
Showing 4 of 4 rows

Other info

Follow for update