mymesh.register.ICP#
- mymesh.register.ICP(points1, points2, T0=None, tol=1e-08, maxIter=100)[source]#
Iterative Closest Point (ICP) algorithm for registering two point sets
- Parameters:
points1 (array_like) – Fixed points that points2 will be registered to
points2 (array_like) – Moving points that will be registered to points1
- Returns:
new_points (np.ndarray) – Transformed coordinate array of points2 registered to points1.
T (np.ndarray) – Affine transformation matrix (shape=(4,4)) to transform points2 to new_points.
new_points = transform_points(points2, T)