All Projects → MarcoForte → poisson-matting

MarcoForte / poisson-matting

Licence: other
Python implementation of Poisson matting method

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to poisson-matting

jwql
The James Webb Space Telescope Quicklook Application
Stars: ✭ 42 (+2.44%)
Mutual labels:  numpy
Python-TensorFlow-WebApp
Emerging Technologies Project - 4th Year 2017
Stars: ✭ 16 (-60.98%)
Mutual labels:  numpy
wquantiles
weighted quantiles with Python
Stars: ✭ 28 (-31.71%)
Mutual labels:  numpy
Data-Scientist-In-Python
This repository contains notes and projects of Data scientist track from dataquest course work.
Stars: ✭ 23 (-43.9%)
Mutual labels:  numpy
Scipy-Bordeaux-2017
Course taught at the University of Bordeaux in the academic year 2017 for PhD students.
Stars: ✭ 16 (-60.98%)
Mutual labels:  numpy
Numscrypt
A port of a small but relevant part of Numpy to Transcrypt, simplified for the sake of speed
Stars: ✭ 53 (+29.27%)
Mutual labels:  numpy
shallow-water
Python model solving the shallow water equations (linear momentum, nonlinear continuity)
Stars: ✭ 78 (+90.24%)
Mutual labels:  numpy
gaia
Gaia is a geospatial analysis library jointly developed by Kitware and Epidemico.
Stars: ✭ 29 (-29.27%)
Mutual labels:  numpy
P3M
[ACM MM 2021] Privacy-Preserving Portrait Matting
Stars: ✭ 81 (+97.56%)
Mutual labels:  matting
gcpy
Python toolkit for GEOS-Chem.
Stars: ✭ 34 (-17.07%)
Mutual labels:  numpy
Machine-Learning-in-Python-Workshop
My workshop on machine learning using python language to implement different algorithms
Stars: ✭ 89 (+117.07%)
Mutual labels:  numpy
Exploratory Data Analysis Visualization Python
Data analysis and visualization with PyData ecosystem: Pandas, Matplotlib Numpy, and Seaborn
Stars: ✭ 78 (+90.24%)
Mutual labels:  numpy
Cat-vs.-Dog-Classifier
Image Classifier with Flask and Keras CNN
Stars: ✭ 27 (-34.15%)
Mutual labels:  numpy
cnn np
使用numpy构建cnn复习深度学习知识
Stars: ✭ 33 (-19.51%)
Mutual labels:  numpy
numpy-data-augmentation
Data Augmentation using NumPy
Stars: ✭ 50 (+21.95%)
Mutual labels:  numpy
py-image-search-engine
Python Image Search Engine with OpenCV
Stars: ✭ 37 (-9.76%)
Mutual labels:  numpy
molml
A library to interface molecules and machine learning.
Stars: ✭ 57 (+39.02%)
Mutual labels:  numpy
numpyeigen
Fast zero-overhead bindings between NumPy and Eigen
Stars: ✭ 75 (+82.93%)
Mutual labels:  numpy
hypothesis-gufunc
Extension to hypothesis for testing numpy general universal functions
Stars: ✭ 32 (-21.95%)
Mutual labels:  numpy
ml
经典机器学习算法的极简实现
Stars: ✭ 130 (+217.07%)
Mutual labels:  numpy

poisson-matting

Python implementation of poisson matting method described in
Jian Sun, Jiaya Jia, Chi-Keung Tang, and Heung-Yeung Shum. 2004. Poisson matting. ACM Trans. Graph. 23, 3 (August 2004), 315-321. DOI=http://dx.doi.org/10.1145/1015706.1015721 http://www.cs.virginia.edu/~gfx/courses/2006/DataDriven/bib/matting/sun04.pdf

This implementation only covers the global poisson matting part of the paper at present.

Requirements

  • python 3.5 or 2.7
  • scipy
  • numpy
  • matplotlib
  • opencv
  • numba (optional for speed up)

Running the demo

  • '''python poisson_matting.py'''

Results

Original image

Trimap image

Result image

More Information

The jupyter notebook contains more explanation with nice formatting and pretty pictures, also a numpy version of the poisson solve.

Disclaimer

The code is free for academic/research purpose. Use at your own risk and we are not responsible for any loss resulting from this code. Feel free to submit pull request for bug fixes.

Contact

Marco Forte ([email protected])

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].