REGISTERICP Fit affine transform by Iterative Closest Point algorithm.

   TRANS = registerICP(POINTS, TARGET)
   Computes the affine transform that maps the shape defines by POINTS
   onto the shape defined by the points TARGET. Both POINTS and TARGET are
   N-by-2 array of point coordinates, not necessarily the same size.
   The result TRANS is a 3-by-3 affine transform.

   TRANS = registerICP(POINTS, TARGET, NITER)
   Specifies the number of iterations for the algorithm.

   [TRANS, POINTS2] = registerICP(...)
   Also returns the set of transformed points.

   Example
   registerICP

   See also
     transforms2d, fitAffineTransform2d, registerPoints3dAffine

Package: matgeom