No description, website, or topics provided.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
imgs
LICENSE
README.md
clone.py
result3.png

README.md

Gradient Domain Cloning

This is my implementation of Gradient Domain Cloning for Homework 2 for UVA CS 6501 Computation Photography with Prof. Connelly Barnes.

You can run it with:

python clone.py

My code has the following dependencies:

  • Python 2.7.5
  • Numpy 1.6.2
  • matplotlib 1.1.1
  • scikit-image 0.10.1

I've included some useful variables to set at the top of quilt.py, in the 'globals' section starting on line 18:

  • BACKGROUND_IMG - a string filepath to the background image you want to use
  • FOREGROUND_IMG - a string filepath to the foreground image you want to use
  • MATTE_IMG - a string filepath to the matte image you want to use