https://github.com/mingtaoguo/patchmatch
The algorithm of patch match implemented by python
https://github.com/mingtaoguo/patchmatch
patchmatch
Last synced: about 1 year ago
JSON representation
The algorithm of patch match implemented by python
- Host: GitHub
- URL: https://github.com/mingtaoguo/patchmatch
- Owner: MingtaoGuo
- License: mit
- Created: 2018-10-04T12:42:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-05T01:49:51.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T15:07:57.179Z (about 1 year ago)
- Topics: patchmatch
- Language: Python
- Size: 15.2 MB
- Stars: 257
- Watchers: 2
- Forks: 41
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Patch_Match_python
The algorithm of patch match implemented by python
# Introduction
This code mainly implement the algorithm of patch match, for details, please see the paper: [PatchMatch: A Randomized Correspondence Algorithm for Structural Image Editing](http://gfx.cs.princeton.edu/pubs/Barnes_2009_PAR/patchmatch.pdf)
There are two patchmatch code: PatchMatch.py and PatchMatch_Bidirectional.py. The last one serves for the code [DeepImageAnalogy](https://github.com/MingtaoGuo/Deep-image-analogy-TensorFlow)
### DeepImageAnalogy example
|Input|:|Output|::|Output|:|Input|
|-|-|-|-|-|-|-|
||:||::||:||

# Results
|image|reference|
|-|-|
|||
|Iteration 0|Iteration 1/6|Iteration 2/6|Iteration 3/6|Iteration 4/6|Iteration 5/6|Iteration 1|
|-|-|-|-|-|-|-|
||||||||
|image|reference|
|-|-|
|||
|Iteration 1|Iteration 2|Iteration 5|
|-|-|-|
||||