Paper:

Z. Yin and R. Collins, "Shape Constrained Figure-Ground Segmentation and Tracking," accepted by IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2009

Demo videos (click images for videos):

Motorcycle:

MRI zebrafish slices:

Human gait shape learning:

Human body segmentation:

       

Video editing by replacing foreground: