Spatial-Separated Curve Rendering Network for Efficient and High-Resolution Image Harmonization

09/13/2021
by   Jingtang Liang, et al.
9

Image harmonization aims to modify the color of the composited region with respect to the specific background. Previous works model this task as a pixel-wise image-to-image translation using UNet family structures. However, the model size and computational cost limit the performability of their models on edge devices and higher-resolution images. To this end, we propose a novel spatial-separated curve rendering network (S^2CRNet) for efficient and high-resolution image harmonization for the first time. In S^2CRNet, we firstly extract the spatial-separated embeddings from the thumbnails of the masked foreground and background individually. Then, we design a curve rendering module (CRM), which learns and combines the spatial-specific knowledge using linear layers to generate the parameters of the pixel-wise curve mapping in the foreground region. Finally, we directly render the original high-resolution images using the learned color curve. Besides, we also make two extensions of the proposed framework via the Cascaded-CRM and Semantic-CRM for cascaded refinement and semantic guidance, respectively. Experiments show that the proposed method reduces more than 90 compared with previous methods but still achieves the state-of-the-art performance on both synthesized iHarmony4 and real-world DIH test set. Moreover, our method can work smoothly on higher resolution images in real-time which is more than 10× faster than the existing methods. The code and pre-trained models will be made available and released at https://github.com/stefanLeong/S2CRNet.

READ FULL TEXT

page 1

page 3

page 5

page 7

page 10

page 11

page 12

page 13

research
03/15/2022

Multi-Curve Translator for Real-Time High-Resolution Image-to-Image Translation

The dominant image-to-image translation methods are based on fully convo...
research
11/16/2022

Hierarchical Dynamic Image Harmonization

Image harmonization is a critical task in computer vision, which aims to...
research
09/27/2022

Im2Oil: Stroke-Based Oil Painting Rendering with Linearly Controllable Fineness Via Adaptive Sampling

This paper proposes a novel stroke-based rendering (SBR) method that tra...
research
07/15/2019

Improving the Harmony of the Composite Image by Spatial-Separated Attention Module

Image composition is one of the most important applications in image pro...
research
07/04/2022

Harmonizer: Learning to Perform White-Box Image and Video Harmonization

Recent works on image harmonization solve the problem as a pixel-wise im...
research
03/15/2023

CoordFill: Efficient High-Resolution Image Inpainting via Parameterized Coordinate Querying

Image inpainting aims to fill the missing hole of the input. It is hard ...
research
12/05/2020

Spatially-Adaptive Pixelwise Networks for Fast Image Translation

We introduce a new generator architecture, aimed at fast and efficient h...

Please sign up or login with your details

Forgot password? Click here to reset