title: how to achieve the alpha matting algorithm using python
body: <p>I want to extract the foreground in image. I know that the grabcut can achieve it. But I want to use the alpha matting method. I'm searching the code that alpha matting algorithm by python and I can't find it. Can you help me? Thank you</p>