Back to FabImage Studio website

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

AdjustPointArrays


Module: FoundationPro

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

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