This link is to a 3rd-party and improved implementation of the CVPR 11 paper "A Global Sampling Method for Alpha Matting".