/alpha-matting

Primary LanguagePythonMIT LicenseMIT

Alpha Matting

Description

Implementation of the Alpha Matting algorithm that uses the Compositing Equation to combine foreground and background images.

Usage

python alpha_matting.py -f GT04.png -b background.png -a GT04_alpha.png