Example implementation of PatchMatch. Not the best .. but an implementation.