landmarkTransform: Create an itk transform from landmarks (rigid, similarity and...

Description Usage Arguments Details Value

View source: R/landmarkTransform.R

Description

Create an itk transform from landmarks (rigid, similarity and affine) to transform an image

Usage

1
2
3
landmarkTransform(lmFix, lmMoving, type = c("rigid", "similarity",
  "affine"), IJK2RAS = diag(c(-1, -1, 1, 1)[seq_len(ncol(lmFix) + 1)]),
  file = NULL, ...)

Arguments

lmFix

fix landmarks

lmMoving

moving landmarks

type

of transform (can be "rigid","similarity" or "affine")

IJK2RAS

transform from point to image space.

file

filename to save the transform to.

...

additional parameters (such as landmark weights) to be passed to rotonto, in case type != affine.

Details

lmMoving are landmarks placed on the image to be transformed to the position of lmFix

Value

writes a transform to a tempfile and returns the path to that transform


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