View source: R/antsTransformPoints.r
a handy wrapper for antsApplyTransformsToPoints
1 2 3 4 5 6 7 8 9 10 | antsTransformPoints(mat, transformlist, IJK2RAS = diag(c(-1, -1, 1, 1)),
...)
## S3 method for class 'matrix'
antsTransformPoints(mat, transformlist,
whichtoinvert = NA, IJK2RAS = diag(c(-1, -1, 1, 1)), ...)
## S3 method for class 'mesh3d'
antsTransformPoints(mat, transformlist,
whichtoinvert = NA, IJK2RAS = diag(c(-1, -1, 1, 1)), ...)
|
mat |
a matrix or mesh3d |
IJK2RAS |
4x4 matrix containing the transform between image and pointspace. For 2D pointclouds this must be the transformation for cbind(mat,0) - the z-coordinate supplemented with zeros. |
affine |
path to affine transformation |
warp |
path to warp |
antsdir |
path to directory containing antsApplyTransformsToPoints |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.