As a project in Alan Jepson's vision course, I implemented the technique described in Chuang et al's of "A Bayesian Approach to Digital Matting".
Source
Report