Code Monkey home page Code Monkey logo

pypoi's Introduction

PyPoi

PyPoi is an image processing GUI program written in Python. It stands for "Python Program for Poisson Image Editing"

It enable you to try Poisson Image Editing method interactively. Some examples are already ready for you, but you can also load arbitrary images and try it.

demo gif

Get Started

Well... no worries! If you're using Windows or Mac OS, you simply need to download files and run it to try this program.

Simple installation

  1. Go to the release page
  2. From the latest version, download zip file (recommended) or executable file.
  3. If you download zip file, extract the file in any folder, and double click

Run from repository (for developer)

You need to have Python2.7 and pip installed before starting it. It is recommended to use virtualenv. Please refer to this guide to know how to install/use it if you're not familiar with it.

First of all, clone the repository

git clone https://github.com/fbessho/PyPoi.git
cd PyPoi

Then create a new virtualenv and install required packages.

mkvirtualenv pypoi

Install required packages

pip install -r requirements.txt

If you get error in pyamg installation, please install numpy first by the following command, and try the install command above again.

pip install $(grep numpy requirements.txt)
# or
# pip install numpy==1.8.1
# or
# pip install numpy

Alright, now you're ready to start. Try the following command. An old-fashioned tkinter GUI should appear in front of you 🍺.

python gui.py

What is Poisson Image Editing?

Poisson Image Editing is a technique to blend two images seamlessly.

This method is firstly introduced by Patrick Pérez and others in ACM SIGGRAPH 2003. The original theses is available here (pdf).

Resources

There are many resources about Poisson Image Editing and I'll leave explanations to them.

Implementation in other languages

There have already been several implementation in other language.

Found issues?

Please raise an issue from github issue page.

What's next?

I know there are a lot of space to improve. Main enhancements are listed in the issue tracker, for example,

It's more than welcome if you can pick up one/some of them.

Acknowledgement

The core function is from parosky/poissonblending/

pypoi's People

Contributors

fbessho avatar parosky avatar quamilek avatar

Watchers

Ray Leyva avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.