transform2mat: write an affine transform matrix to ITK mat format

Description Usage Arguments Value

View source: R/landmarkTransform.R

Description

write an affine transform matrix to ITK mat format

Usage

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

Arguments

affinemat

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

file

filename

IJK2RAS

transform from point to image space.

Value

returns the character of the filename


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