Skip to content

Mugichoko445/PixMix-Inpainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A C++ implementation of PixMix inpainting.

Jan Herling and Wolfgang Broll, "High-Quality Real-Time Video Inpaintingwith PixMix," IEEE TVCG, Vol. 20, Issue 6, pp. 866 - 879, 2014.

Features

  • Inpainting only
    • No object selection and tracking
    • Only the basic spatial and appearance cost minimization (i.e., eq. 2 to 6)
  • Portable and compatible implementation
  • A collaborative work of Shohei Mori and Mariko Isogawa.
  • Lisence
    • Lisence free but limited to research purpose only
    • Note that the code is NOT the original implementation (i.e., results may be different from the ones in the original paper)
    • We, therefore, assume no responsibility if a problem occurs
    • BUT we are pleased to have any kinds of feedback from you!!

Usage

  • Inputs
    • 3ch color image
    • 1ch black and white mask image
  • Output
    • 3ch inpainted image

Example Results

color mask result
birds birds_mask birds_res
colosseum colosseum_mask colosseum_res
firenze firenze_mask firenze_res
frog frog_mask frog_res
graffiti graffiti_mask graffiti_res
graz graz_mask graz_res
graz_wall graz_wall_mask graz_wall_res
schlossberg_statue schlossberg_statue_mask schlossberg_statue_res
schlossberg_tower schlossberg_tower_mask schlossberg_tower_res
venice_roof venice_roof_mask venice_roof_res
venice_river venice_river_mask venice_river_res
venice_wall venice_wall_mask venice_wall_res

Tested Environment List

  • Win 10 64bit + VS2019 + OpenCV 4.5.1
  • Win 10 64bit + VS2015 + OpenCV 3.3.1
  • maxOS 10.13.3 + OpenCV3.3.1