Skip to content

chwahaha/statistic-of-similar-patch-offset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Completion approaches using the statistics of Similar Patches"

参考了一些Github上的代码自己实现了何凯明大神的这个算法,算法思路比较简单,但是效果还不错。

第二个man的效果比paper中的效果差一些,可能是由于计算patch offset的时候使用的是PatchMatch,其精度速度都会更差一些。其他参数我都只做了一些简单的调整。

原图 label result

Implementation detail

  1. calculate the patch offsets histogram by PatchMatch
  2. get the k dominate offset
  3. multi-label by graph-cut
  4. gradient-domain fusion

Requires

  1. OpenCV
  2. Eigen to fullfill the possion fusion

developed by vs2017 community

tested only on win10

reference

About

A implementaion of the hekaiming's paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages