fitTransformToPairedPointsTF: Fit transform to points with tensorflow

View source: R/patchMatch.R

fitTransformToPairedPointsTFR Documentation

Fit transform to points with tensorflow

Description

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.

Usage

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.


stnava/patchMatchR documentation built on March 23, 2022, 6:47 a.m.