Turns out edge detection works differently than we thought.