TextureQuilting is a student project done in 2017-2018, based on Image Quilting for Texture Synthesis and Transfer from Alexei A. Efros and William T. Freeman.
Made by fonspa, Hyanaki, biscotteman and me.
A short video to explain the process of the algorithm was realized: https://www.youtube.com/watch?v=BAO97-96f84
- OpenCV version > 3.4
$ git clone https://github.com/nealith/texture-quilting.git
$ cd texture-quilting
$ mkdir build
$ cd build
$ cmake ..
$ make
Both Texture Synthesis and Generation are executable for testing program. To change parameters, code modification is necessary.
From a sample image, a texture 1024x1024 is generated.
$ ./testWeathering <image path>
Transfer a generated texture from a sample on an element of the image.
To test this program, a function is required as a parameter. This function is used to create a mask from two images, the input texture and the image containing the object we want to transfer the texture on. Currently the function is used to transfer a grass texture on the red metal of a ferrari.
See results folder.