Contextual Attention Mechanism, SRGAN Based Inpainting System for Eliminating Interruptions from Images

04/06/2022
by   Narayana Darapaneni, et al.
0

The new alternative is to use deep learning to inpaint any image by utilizing image classification and computer vision techniques. In general, image inpainting is a task of recreating or reconstructing any broken image which could be a photograph or oil/acrylic painting. With the advancement in the field of Artificial Intelligence, this topic has become popular among AI enthusiasts. With our approach, we propose an initial end-to-end pipeline for inpainting images using a complete Machine Learning approach instead of a conventional application-based approach. We first use the YOLO model to automatically identify and localize the object we wish to remove from the image. Using the result obtained from the model we can generate a mask for the same. After this, we provide the masked image and original image to the GAN model which uses the Contextual Attention method to fill in the region. It consists of two generator networks and two discriminator networks and is also called a coarse-to-fine network structure. The two generators use fully convolutional networks while the global discriminator gets hold of the entire image as input while the local discriminator gets the grip of the filled region as input. The contextual Attention mechanism is proposed to effectively borrow the neighbor information from distant spatial locations for reconstructing the missing pixels. The third part of our implementation uses SRGAN to resolve the inpainted image back to its original size. Our work is inspired by the paper Free-Form Image Inpainting with Gated Convolution and Generative Image Inpainting with Contextual Attention.

READ FULL TEXT

page 1

page 2

page 5

research
09/02/2020

Deep Generative Model for Image Inpainting with Local Binary Pattern Learning and Spatial Attention

Deep learning (DL) has demonstrated its powerful capabilities in the fie...
research
11/05/2020

Hyperrealistic Image Inpainting with Hypergraphs

Image inpainting is a non-trivial task in computer vision due to multipl...
research
05/22/2019

PEPSI++: Fast and Lightweight Network for Image Inpainting

Generative adversarial network (GAN)-based image inpainting methods whic...
research
01/15/2023

Inpainting borehole images using Generative Adversarial Networks

In this paper, we propose a GAN-based approach for gap filling in boreho...
research
10/30/2020

PIINET: A 360-degree Panoramic Image Inpainting Network Using a Cube Map

Inpainting has been continuously studied in the field of computer vision...
research
03/28/2021

Bridging the Visual Gap: Wide-Range Image Blending

In this paper we propose a new problem scenario in image processing, wid...
research
03/27/2023

Blind Inpainting with Object-aware Discrimination for Artificial Marker Removal

Medical images often contain artificial markers added by doctors, which ...

Please sign up or login with your details

Forgot password? Click here to reset