Movement segmentation using a primitive library | IEEE Conference Publication | IEEE Xplore