Understanding keypoint matching