Similarity and affine invariant distances between 2D point sets | Synapse