Practical medial axis filtering for occlusion-aware contours