under construction.
Demo of Stereo Vision-based FG Segmentation and Compositing with Alpha Matting
1. Stereo disparity estimation (enhanced with spatial guided filter and temporal median filter);
2. Thresholding disparity map;
3. Superpixel from RGB image;
4. Refine the FG mask by Superpixel;
5. Refine the FG mask by GrabCut;
6. Dilate/erode to get trimap;
7. Apply Global Sampling Matting to get alpha;
8. Apply alpha and FG mask to composite with a new BG.
Note: Use MSR Cambridge's stereo video data (QVGA size).
Demo 1.
Demo 2.