Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Geometry 2D Fitting » AdjustPointArrays

AdjustPointArrays


Aligns a point array to match best the input point array.

Name Type Range Description
inPoints Point2DArray Points to be aligned
inReferencePoints Point2DArray Points to align to
inAllowRotation Bool Flag indicating whether rotation is allowed as a part of output alignment
inAllowScale Bool Flag indicating whether scale is allowed as a part of output alignment
inMaxIterationCount Integer 1 - Maximal number of iteration for the algorithm
inMatchFraction Real 0.0 - 1.0 Defines fraction of input points that is being fitted in every iteration
inInitialTransformCount Integer 1 - Number of initial transforms to be tried out by the algorithm
outAlignment CoordinateSystem2D? The transform that aligns best the input points
outAlignedPoints Point2DArray? The aligned input points

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Input point array is empty in AdjustPointArrays.

Complexity Level

This filter is available on Advanced Complexity Level.