Apply transform to spatial point

applyAntsrTransformToPoint(transform, points)

Arguments

transform

antsrTransform

points

a matrix which each row is a spatial point

Value

array of coordinates

Examples

tx <- new("antsrTransform")
params <- getAntsrTransformParameters(tx)
setAntsrTransformParameters(tx, params * 2)
pt2 <- applyAntsrTransformToPoint(tx, c(1, 2, 3))