fitTransformToPairedPoints | R Documentation |
This function will use either the Kabsch algorithm or a least squares fitting algorithm to match the pairs of points that the user provides. An antsr transform is returned.
fitTransformToPairedPoints( movingPoints, fixedPoints, transformType = "Affine", lambda = 1e-06, domainImage, numberOfFittingLevels = 4, meshSize = 1, dataWeights )
movingPoints |
moving points matrix |
fixedPoints |
fixed points matrix |
transformType |
Rigid, Similarity, Affine and BSpline currently supported |
lambda |
ridge penalty in zero to one interval |
domainImage |
image defining the domain for deformation maps. |
numberOfFittingLevels |
integer specifying the number of fitting levels. |
meshSize |
vector defining the mesh size at the initial fitting level. |
dataWeights |
vector defining the individual weighting of the corresponding scattered data value. Default = NULL meaning all values are weighted the same. Currently, this is only relevant to BSpline fits but FIXME will be generalized. |
antsTransform that maps the moving image to the fixed image space. the inverse transform maps the moving points to the fixed space. Associated error is also returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.