Obstacle boundary extraction