Robust feature matching via support-line voting and affine-invariant ratios