Human upper body segmentation based on skeleton