rarora7777 / image-quilting

An implementation of the the paper "Image Quilting for Texture Synthesis and Transfer" by Alexei A. Efros and William T. Freeman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

An implementation of the the paper "Image Quilting for Texture Synthesis and Transfer" by Alexei A. Efros and William T. Freeman

License:MIT License


Languages

Language:MATLAB 100.0%