1. A method for determining a matching score between a first set of n 1 feature points, and a second set of n 2 feature points, the method comprising the procedures of: producing a triple-wise affinity tensor, including the affinity score of assignments of triplets of feature points of said first set of feature points and triplets of feature points of said second set of feature points; determining a leading eigenvector of said triple-wise affinity tensor; iteratively producing a binary optimal assignment vector by discretization of said leading eigenvector; and determining a matching score between said first set of feature points and said second set of feature points according to said triple-wise affinity tensor and according to said optimal assignment vector.