This is our implementation of Texture Synthesis and Texture Transfer using Image Quilting. It is based on the paper of the same name by authors Alexei Efros and William Freeman.
First, clone this repository using git clone https://github.com/shubhlohiya/image-quilting-texture-synthesis.git
To use the CLI tool associated with our project do the following:
cd code/
- To perform Texture Synthesis use:
python main.py --synthesis -i <texture_img> -b <block_size> -o <overlap_size> -tol <tolerance>
- To perform Texture Transfer use:
python main.py --transfer -i <target_img> -t <texture_img> -b <block_size> -o <overlap_size> -tol <tolerance> -a <alpha>
For more details, use python main.py -h
Input Image | Synthesized Texture |
---|---|
Target Image | Texture Image | Result |
---|---|---|
For more results, please check the report.
Created with ❤️ by Shubham Lohiya, Latika Patel & Prathmesh Bele