View source: R/antsrTransform_class.R
applyAntsrTransformToPoint | R Documentation |
Apply transform to spatial point
applyAntsrTransformToPoint(transform, points)
transform |
antsrTransform |
points |
a matrix which each row is a spatial point |
array of coordinates
tx <- new("antsrTransform")
params <- getAntsrTransformParameters(tx)
setAntsrTransformParameters(tx, params * 2)
pt2 <- applyAntsrTransformToPoint(tx, c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.