applyAntsrTransform.Rd
Apply transform to point, vector or antsImage data
applyAntsrTransform(transform, data, dataType = "point", reference = NULL, ...)
transformed data
tx <- createAntsrTransform(dimension = 2, precision = "float", type = "AffineTransform")
params <- getAntsrTransformParameters(tx)
setAntsrTransformParameters(tx, params * 2)
pt2 <- applyAntsrTransform(tx, c(1, 2, 3))