mymesh.register.closest_point_MSE#

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

Mean squared error of the closest point distances between two point sets. This is a non-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

Returns:

MSE – Mean squared error of closest points

Return type:

float