learning-based-matting icon indicating copy to clipboard operation
learning-based-matting copied to clipboard

Python implementation of Zheng, Yuanjie, and Chandra Kambhamettu. "Learning based digital matting." Computer Vision, 2009 IEEE 12th International Conference on. IEEE, 2009.

learning-based-matting

Python implementation of Zheng, Yuanjie, and Chandra Kambhamettu. "Learning based digital matting." Computer Vision, 2009 IEEE 12th International Conference on. IEEE, 2009.

Requirements

  • python 3.5+ (Though it should run on 2.7)
  • scipy
  • numpy
  • matplotlib

Running the demo

  • 'python learning_based_matting.py'

Results

Original image Trimap image Result image

More Information

For more information see the orginal paper pdf
The original matlab code is here https://uk.mathworks.com/matlabcentral/fileexchange/31412-learning-based-digital-matting

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])

Original authors:
Yuanjie Zheng