Keypoint detection by wave propagation