This is a texture snythesis project based on the texture quilting algorithm invented by Alexei Efros and William Freeman.
The basic idea behind this algorithm is to choose random patches from the original texture, paste them next to each other in a way that they overlap with a fixed amount and finally cut those two patches that the resulting pixel error is minimal. This cut is called ‘Minimal Boundary Cut’.
Efros, A. A. and W. T. Freeman (2001). Image Quilting for Texture Synthesis and Transfer. Siggraph 2001, Los Angeles, California.