Fundamental bounds on edge detection: learning and evaluating edge cues