Skip to content

The algorithm of patch match implemented by python. The code is accelerated with Numba.

License

Notifications You must be signed in to change notification settings

SingleZombie/Fast-Python-PatchMatch

 
 

Repository files navigation

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

About

The algorithm of patch match implemented by python. The code is accelerated with Numba.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%