CVT, a Computer Vision Toolkit.
Source Code for KNN Matting, CVPR 2012 / TPAMI 2013. MATLAB code ready ...