vamsi3 / image-quilting

An implementation of the the paper "Image Quilting for Texture Synthesis and Transfer" by Alexei A. Efros and William T. Freeman
MIT License
18 stars 3 forks source link
digital-image-processing image-quilting texture-synthesis texture-transfer

Image Quilting for Texture Synthesis and Transfer

This project implements a texture synthesis and transfer technique as described in the paper - Image Quilting for Texture Synthesis and Transfer by Alexei A. Efros and Willian T. Freeman

You may want to check out the presentation.pdf file for more details on this project. It was made as the final project for CS 663 - Digital Image Processing course in Autumn 2018 at Indian Institute of Technology (IIT) Bombay, India.

Getting Started

Follow the instructions below to get our project running on your local machine.

  1. Run /src/synthesis.m file for texture synthesis and /src/transfer.m file for texture transfer.
  2. Replace the first line/lines with respective input image paths to generate the output images.

Results

Synthesis

Input Texture Output (Quilted Texture) Input Texture Output (Quilted Texture)
apples.png apples.png bricks.png bricks.png
cans.png cans.png chocolate.png chocolate.png
jute.png jute.png mat.png mat.png
rice.png rice.png spots.png spots.png
stones.png stones.png text.png text.png
tomatoes.png tomatoes.png windows.png windows.png

Transfer

Input Texture Input Image Output
rice.png bill.png bill-rice.png
fabric.png girl.png girl-fabric.png
orange.png potato.png potato-orange.png

Authors

Acknowledgements

License

This project is licensed under the MIT License - see the LICENSE file for details.