mymesh.register.symmetric_closest_point_MSE#

mymesh.register.symmetric_closest_point_MSE(points1, points2, tree1=None, tree2=None)[source]#

Mean squared error of the closest point distances between two point sets. Unlike closest_point_MSE(), this is a symmetric measure, i.e. closest_point_MSE(points1, points2) == closest_point_MSE(points2, points1).

Parameters:
  • points1 (array_like) – Coordinates of the first point set

  • points2 (array_like) – Coordinates of the second point set

  • tree1 (scipy.spatial.KDTree, optional) – Optional pre-computed KDTree structure of points1, by default None. (tree1 = scipy.spatial.KDTree(points1))

  • tree2 (scipy.spatial.KDTree, optional) – Optional pre-computed KDTree structure of points2, by default None (tree2 = scipy.spatial.KDTree(points2))

Returns:

MSE – Mean squared error of closest points

Return type:

float