transform2antsTrafo: convert an affine transform from matrix to antsrTransform

Description Usage Arguments Value

View source: R/landmarkTransform.R

Description

convert an affine transform from matrix to antsrTransform (implementation of itk::Transform

Usage

1
2
transform2antsTrafo(affinemat, IJK2RAS = diag(c(-1, -1, 1,
  1)[seq_len(nrow(affinemat))]))

Arguments

affinemat

a 4x4 (3D case) or 3x3 (2D case) homogenous transform matrix

IJK2RAS

transform from point to image space.

file

filename

Value

returns object of class antsrTransform


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