PixMix-Inpainting
PixMix-Inpainting copied to clipboard
PixMix inpainting using OpenCV (C++)
A C++ implementation of PixMix inpainting.
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
- The code requires a C++ complier and OpenCV (2.X or heigher) only
- 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 |
---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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