MATLAB library for alpha matting