Saving barycentric coordinates and triangle indices of keypoints in addition to dissimilarity matrices