Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Image Inpainting Survey

Image Inpainting Survey

tanimutomo

May 17, 2020
Tweet

More Decks by tanimutomo

Other Decks in Research

Transcript

  1. What is Image Inpainting Image Inpainting is to fill missing

    parts of image. Important Point: Fill in the hole with visually reaslistic semantically plausible 2
  2. Two main approach Patch Pasting Search similar patches to hole-surrounding

    areas PatchMatch, Scene Completion, etc. Learning based Learn how to fill the hole using large scale dataset GLCIC, Gated Conv, etc. 3
  3. PatchMatch 1. Search Similar patch to the hole surrounding areas

    in an input image 2. Paste the searched patch to the hole 3. loop (1,2) 5
  4. 6

  5. 7

  6. 8

  7. Scene Completion Search the image similar to an input from

    large scale image database Search similar patch and paste it to the input's hole 9
  8. 10

  9. Patch Pasting Good at filling in the small size hole

    and the hole in a stationary image (specific pattern image, scene image, etc.) Can't fill the hole with semantically prosible contents, Not good at filling the hole in a non-stationary image (city, face, etc.) 11
  10. Learning based Recent popular approach Generate the contents of the

    hole using Convolutional Neural Networks (CNN) Input an image with hole to a model Model predict a contents in the hole 13
  11. Evolution of Learning based ImIn 1. CNN Encoder-Decoder + Reconstruction

    Loss + Adversarial Loss -> e.g. ContextEncoder, GLCIC 2. 1 + Additional Loss or Input -> e.g. GICA, EdgeConnect, StructureImIn 3. (1 + 2 +) Feature Gating -> e.g. PartialConv, GatedConv 14
  12. 1. CNN Encoder-Decoder 2016 - 2017 Initial Deep Learning based

    approach Use CNN and Adversarial Loss 15
  13. Context Encoder Context Encoders: Learning Features by Inpainting 1. Input

    the image with hole to CNN 2. CNN encode the input to feature vector, then decode to the input while predicting the hole 3. Update model parameter to minimize the difference between the decoded image and the original input 16
  14. Use ImIn as Representation Learning Use the encoder as feature

    extractor and test some vision tasks 18
  15. GLCIC Globally and Locally Image Completion Difference from Context Encoder

    Add dilated convolution Evaluate generated image with globally and locally discriminator 19
  16. Fill the hole with semantically prosible and visually realistic contents

    Effect of Globaly Discriminator Deal with high resolution image and non-stationary image 20
  17. CNN Encoder-Decoder Advance CNN and Adversarail Loss enable to learn

    to generate the semantically prosible contents using large scale dataset 21
  18. 2. Additional Loss and Input 2018 - 2019 Use additional

    information and module to improve ImIn performance 23
  19. EdgeConnect EdgeConnect: Generative Image Inpainting with Adversarial Edge Learning Use

    edge information to support image inpainting model Edge image with hole -> Model -> Completed edge image Completed Edge image, Color image with hole -> Model -> Completed color image 26
  20. 3. Feature Gating 2018 - 2019 Filter invalid pixel information

    to improve performance Get better performance with simple and reasonable extension 28
  21. Partial Convolution Image inpainting for irregular holes using partial convolutions

    Use pixel information other than holes Introduce Mask to filter pixel information 29
  22. More effective to irregular holes because of not using hole

    area pixel information Achieve good performance with a simple U-Net architecture 30
  23. Gated Convolution Free-form image inpainting with gated convolution Introduce soft

    mask feature gating with Learnable Mask Enable for user to sketch the guide to input 31
  24. How ImIn has evolved Patch Pasting Traditional Heuristic Approach (reasonable,

    but worse performance) Search patches similar to hole surroundings and paste CNN Encoder-Decoder with Adversarial Loss Appear Deep Learning! High Perfomance! CNN + GAN (discriminator) Additinal Loss or Input Attension or Some Extension Attension / Edge Information 35
  25. Feature Gating Improve More Fundemental Problem Use only valid pixel

    information (None) (Theoretical Analysis and Improvement) 36
  26. References PatchMatch: a randomized correspondence algorithm for structural image editing

    Scene Completion Using Millions of Photographs Context Encoders: Feature Learning by Inpainting Globally and locally consistent image completion Generative Image Inpainting with Contextual Attention EdgeConnect: Generative Image Inpainting with Adversarial Edge Learning Image Inpainting for Irregular Holes using Partial Convolution Free-form Image Inpainting with Gated Convolution 37