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
There are two patchmatch code: PatchMatch.py and PatchMatch_Bidirectional.py. The last one serves for the code DeepImageAnalogy
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 |
|
|
|