Identifying contours from occlusion events