sm1to0: Adapt spatial transformation matrix for 0-based indices.

View source: R/mghheader.R

sm1to0R Documentation

Adapt spatial transformation matrix for 0-based indices.

Description

Adapt spatial transformation matrix for 0-based indices.

Usage

sm1to0(tf_matrix)

Arguments

tf_matrix

4x4 numerical matrix, the input spatial transformation matrix, suitable for 1-based indices.

Value

4x4 numerical matrix, adapted spatial transformation matrix, suitable for 0-based indices.

See Also

sm0to1 for the inverse operation

Other header coordinate space: mghheader.is.ras.valid(), mghheader.ras2vox(), mghheader.ras2vox.tkreg(), mghheader.scanner2tkreg(), mghheader.tkreg2scanner(), mghheader.vox2ras(), mghheader.vox2ras.tkreg(), read.fs.transform(), read.fs.transform.dat(), read.fs.transform.lta(), read.fs.transform.xfm(), sm0to1()


freesurferformats documentation built on Sept. 9, 2025, 5:44 p.m.