rohitrango / Image-Quilting-for-Texture-Synthesis

An implementation of the Image Quilting for Texture Synthesis algorithm by Alexei A. Efros and Willian T. Freeman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Quilting for Texture Synthesis

This repository is an implementation of the image quilting algorithm for texture synthesis using Python. For more details on the algorithm, refer to the original paper by Alexei A. Efros and Willian T. Freeman here.

Usage

To run the code on a given texture, run the following code:

python main.py --image_path <image_path> --block_size <block_size> --overlap <overlap> --scale <scale> --num_outputs <num_outputs> --output_file <filename> --plot <plot> --tolerance <tolerance>

For more details, use python main.py -h

Results

Here are some results of the image quilting for texture synthesis algorithm.

References

This is the main paper.

Image Quilting for Texture Synthesis and Transfer Proceedings of SIGGRAPH 2001 (August 2001), pp. 341-346 by Alexei A. Efros, William T. Freeman edited by Eugene Fiume

About

An implementation of the Image Quilting for Texture Synthesis algorithm by Alexei A. Efros and Willian T. Freeman

License:MIT License


Languages

Language:Python 100.0%