An edge tells you a boundary exists, but a long straight edge looks the same everywhere along its length, so it cannot tell you where you are. A corner does not have that problem. At a corner, brightness changes sharply in two different directions at once, so the local pattern is distinctive and hard to confuse with a nearby patch. This is the property that makes corners useful as keypoints: small image locations that can be found reliably and matched between two photographs of the same scene. The reason corners survive comparison is that they are stable under several transformations. Shift the image slightly and the corner is still a corner, just moved. Rotate the image and the two-direction change is still there. Scale it moderately and the corner remains locally distinctive, though very large scale changes eventually break it. A flat region fails all of these tests because every patch looks identical, and a straight edge fails because patches along it are indistinguishable from one another. Keypoint detectors therefore look for locations where the local pattern changes strongly in more than one direction, then attach a small descriptor — a compact summary of the surrounding patch — so that two keypoints can be compared numerically. Matching two images then becomes a problem of finding keypoints whose descriptors agree.
How AI Sees: A Conceptual Guide to Image and Video Understanding
From Pixels to Patterns: Features
Corners and Keypoints: Spots That Stay Identifiable
3 / 4
Compare the three regions. In the flat area, slide the small window anywhere and it looks the same, so you cannot tell where you are. Along the straight edge, sliding sideways changes nothing either — every patch along the edge is identical. Only at the corner does the window change in two directions at once, which makes that spot unique. That uniqueness is what lets a system find the same corner in two different photos, even after a small shift or rotation, and then compare the surrounding patch to confirm the match.
0:00 / 0:00