np-csu

Results 2 comments of np-csu

one way to generate trimap is to use `erode` and `dilate` function in opencv.

sorry this is a c++ implementation. For the real-time performance, you had better refer to the CUDA version released by ufrgs(http://www.inf.ufrgs.br/~eslgastal/SharedMatting/).