Improving the Harmony of the Composite Image by Spatial-Separated Attention Module
arXiv:1907.06406 · doi:10.1109/TIP.2020.2975979
Abstract
Image composition is one of the most important applications in image processing. However, the inharmonious appearance between the spliced region and background degrade the quality of the image. Thus, we address the problem of Image Harmonization: Given a spliced image and the mask of the spliced region, we try to harmonize the "style" of the pasted region with the background (non-spliced region). Previous approaches have been focusing on learning directly by the neural network. In this work, we start from an empirical observation: the differences can only be found in the spliced region between the spliced image and the harmonized result while they share the same semantic information and the appearance in the non-spliced region. Thus, in order to learn the feature map in the masked region and the others individually, we propose a novel attention module named Spatial-Separated Attention Module (S2AM). Furthermore, we design a novel image harmonization framework by inserting the S2AM in the coarser low-level features of the Unet structure in two different ways. Besides image harmonization, we make a big step for harmonizing the composite image without the specific mask under previous observation. The experiments show that the proposed S2AM performs better than other state-of-the-art attention modules in our task. Moreover, we demonstrate the advantages of our model against other state-of-the-art image harmonization methods via criteria from multiple points of view. Code is available at https://github.com/vinthony/s2am
arXiv commentAccepted by IEEE Transactions on Image Processing (TIP) 2020
References in corpus (10)
- Adam: A Method for Stochastic Optimization
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Rethinking Atrous Convolution for Semantic Image Segmentation
- Generative Adversarial Networks
- Squeeze-and-Excitation Networks
- Deep Bilateral Learning for Real-Time Image Enhancement
- Unsupervised Attention-guided Image to Image Translation
- GP-GAN: Towards Realistic High-Resolution Image Blending
- Learning a Discriminative Model for the Perception of Realism in Composite Images
- Temporally Coherent Video Harmonization Using Adversarial Networks
Cited by in corpus (14)
- Attention-Based 3D Seismic Fault Segmentation Training by a Few 2D Slice Labels
- Making Images Real Again: A Comprehensive Survey on Deep Image Composition
- Deep Image Harmonization in Dual Color Spaces
- Painterly Image Harmonization using Diffusion Model
- Dense Pixel-to-Pixel Harmonization via Continuous Image Representation
- DoveNet: Deep Image Harmonization via Domain Verification
- Region-aware Adaptive Instance Normalization for Image Harmonization
- WaveNets: Wavelet Channel Attention Networks
- Deep Image Harmonization by Bridging the Reality Gap
- High-Resolution Image Harmonization via Collaborative Dual Transformations
- Spatial-Separated Curve Rendering Network for Efficient and High-Resolution Image Harmonization
- BargainNet: Background-Guided Domain Translation for Image Harmonization
- TransFill: Reference-guided Image Inpainting by Merging Multiple Color and Spatial Transformations
- HYouTube: Video Harmonization Dataset