All Projects → Tengfei-Wang → external-internal-inpainting

Tengfei-Wang / external-internal-inpainting

Licence: other
[CVPR 2021] EII: Image Inpainting with External-Internal Learning and Monochromic Bottleneck

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to external-internal-inpainting

CSA pytorch
Pytorch implementation of Coherent Semantic Attention Image Inpainting
Stars: ✭ 25 (-73.68%)
Mutual labels:  image-inpainting, inpainting
Video Object Removal
Just draw a bounding box and you can remove the object you want to remove.
Stars: ✭ 2,283 (+2303.16%)
Mutual labels:  image-inpainting, inpainting
Generative inpainting
DeepFill v1/v2 with Contextual Attention and Gated Convolution, CVPR 2018, and ICCV 2019 Oral
Stars: ✭ 2,659 (+2698.95%)
Mutual labels:  image-inpainting
Sketch2Color-anime-translation
Given a simple anime line-art sketch the model outputs a decent colored anime image using Conditional-Generative Adversarial Networks (C-GANs) concept.
Stars: ✭ 90 (-5.26%)
Mutual labels:  image-synthesis
gpuvmem
GPU Framework for Radio Astronomical Image Synthesis
Stars: ✭ 27 (-71.58%)
Mutual labels:  image-synthesis
gan-ensembling
Invert and perturb GAN images for test-time ensembling
Stars: ✭ 93 (-2.11%)
Mutual labels:  image-synthesis
Depth-Guided-Inpainting
Code for ECCV 2020 "DVI: Depth Guided Video Inpainting for Autonomous Driving"
Stars: ✭ 50 (-47.37%)
Mutual labels:  image-inpainting
Edge Connect
EdgeConnect: Structure Guided Image Inpainting using Edge Prediction, ICCV 2019 https://arxiv.org/abs/1901.00212
Stars: ✭ 2,163 (+2176.84%)
Mutual labels:  image-inpainting
awesome-generative-deep-art
A curated list of generative deep learning tools, works, models, etc. for artistic uses
Stars: ✭ 172 (+81.05%)
Mutual labels:  inpainting
Seg2Eye
Official implementation of "Content-Consistent Generation of Realistic Eyes with Style", ICCW 2019
Stars: ✭ 26 (-72.63%)
Mutual labels:  image-synthesis
colnet
🖌️ Automatic Image Colorization with Simultaneous Classification – based on "Let there be Color!"
Stars: ✭ 37 (-61.05%)
Mutual labels:  colorization
GazeCorrection
Unsupervised High-Resolution Portrait Gaze Correction and Animation (TIP 2022)
Stars: ✭ 174 (+83.16%)
Mutual labels:  image-inpainting
NovelViewSynthesis-TensorFlow
A TensorFlow implementation of a simple Novel View Synthesis model on ShapeNet (cars and chairs), KITTI, and Synthia.
Stars: ✭ 47 (-50.53%)
Mutual labels:  image-synthesis
inpainting FRRN
Progressive Image Inpainting (Kolmogorov Team solution for Huawei Hackathon 2019 summer)
Stars: ✭ 30 (-68.42%)
Mutual labels:  inpainting
ImageInpainting.jl
Image inpainting algorithms in Julia
Stars: ✭ 24 (-74.74%)
Mutual labels:  image-inpainting
PanoDR
Code and models for "PanoDR: Spherical Panorama Diminished Reality for Indoor Scenes" presented at the OmniCV workshop of CVPR21.
Stars: ✭ 22 (-76.84%)
Mutual labels:  image-inpainting
vim-modusline
🌈 Mode-specific statusline colors
Stars: ✭ 39 (-58.95%)
Mutual labels:  colorization
CoCosNet-v2
CoCosNet v2: Full-Resolution Correspondence Learning for Image Translation
Stars: ✭ 312 (+228.42%)
Mutual labels:  image-synthesis
deepfillv2-pylightning
Clean minimal implementation of Free-Form Image Inpainting with Gated Convolutions in pytorch lightning. Inspired from pytorch implementation by @avalonstrel.
Stars: ✭ 13 (-86.32%)
Mutual labels:  image-inpainting
glcic.pytorch
This is a implement of the Siggraph2017 paper: "Globally and Locally Consistent Image Completion"
Stars: ✭ 15 (-84.21%)
Mutual labels:  inpainting

EII: Image Inpainting with External-Internal Learning and Monochromic Bottleneck

Image Inpainting with External-Internal Learning and Monochromic Bottleneck
Tengfei Wang*, Hao Ouyang*, Qifeng Chen
CVPR 2021

paper | project website | video

Introduction

The proposed method can be applied to improve the color consistency of leaning-based image inpainting results. The progressive internal color propagation shows strong performance even with large mask ratios.

Prerequisites

  • Python 3.6
  • Pytorch 1.6
  • Numpy

Installation

git clone https://github.com/Tengfei-Wang/external-internal-inpainting.git
cd external-internal-inpainting

Quick Start

Colorization

To try our internal colorization method:

python main.py  --img_path images/input2.png --gray_path images/gray2.png  --mask_path images/mask2.png  --pyramid_height 3

The colorization results are placed in ./results.
In case the colorization results are unsatisfactory, you may consider changing the pyramid_height (2~5 work well for most cases).

Reconstruction

For the monochromic reconstruction stage, multiple inpainting networks can be applied as backbones by modifying the original input image, like:

input_new = torch.concat([input_RGB, input_gray],1) #input_new is 4-channel
output = backbone_model(input_new, mask) #output is single-channel
loss = criterion(output, input_gray)

Citation

If you find this work useful for your research, please cite:

@inproceedings{wang2021image,
  title={Image Inpainting with External-internal Learning and Monochromic Bottleneck},
  author={Wang, Tengfei and Ouyang, Hao and Chen, Qifeng},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={5120--5129},
  year={2021}
}

Contact

Please send emails to [email protected] if there is any question

Acknowledgement

We thank the authors of DIP for sharing their codes.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].