compose multiple transforms

composeAntsrTransforms(transformList)

Arguments

transformList

a list of antsrTransforms in the reverse order they should be applied

Value

antsrTransform of type "CompositeTransform"

Examples

tx <- new("antsrTransform", precision = "float", type = "AffineTransform", dimension = 2)
setAntsrTransformParameters(tx, c(0, -1, 1, 0, 0, 0))
tx2 <- new("antsrTransform", precision = "float", type = "AffineTransform", dimension = 2)
setAntsrTransformParameters(tx2, c(0, -1, 1, 0, 0, 0))
tx3 <- composeAntsrTransforms(list(tx, tx2))