This function will use either the Kabsch algorithm or a least squares fitting algorithm to match the pairs of points that the user provides. A tensorflow tensor is returned.

fitTransformToPairedPointsTF(
  movingPoints,
  fixedPoints,
  numberOfPoints,
  dimensionality,
  transformType = c("Rigid", "Similarity", "Affine"),
  batch_size = 1,
  preventReflection = TRUE
)

Arguments

movingPoints

moving points matrix

fixedPoints

fixed points matrix

numberOfPoints

per sample in batch

dimensionality

of the point set

transformType

Rigid, Similarity or Affine currently supported

batch_size

the batch size

preventReflection

boolean

Value

tensorflow tensor objects containing the transformation matrices as the first entry in the list and the error term as the second.