antsTransformPoints: a handy wrapper for antsApplyTransformsToPoints

Description Usage Arguments

View source: R/antsTransformPoints.r

Description

a handy wrapper for antsApplyTransformsToPoints

Usage

 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)), ...)

Arguments

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


zarquon42b/RANTs documentation built on Aug. 2, 2019, 6:46 p.m.