mghheader.tkreg2scanner | R Documentation |
This is also known as the 'tkreg2scanner' matrix. Note that this is a RAS-to-RAS matrix. It is the inverse of the 'scanner2tkreg' matrix, see mghheader.scanner2tkreg
.
mghheader.tkreg2scanner(header)
header |
the MGH header |
4x4 numerical matrix, the transformation matrix
Other header coordinate space:
mghheader.is.ras.valid()
,
mghheader.ras2vox.tkreg()
,
mghheader.ras2vox()
,
mghheader.scanner2tkreg()
,
mghheader.vox2ras.tkreg()
,
mghheader.vox2ras()
,
read.fs.transform.dat()
,
read.fs.transform.lta()
,
read.fs.transform.xfm()
,
read.fs.transform()
,
sm0to1()
,
sm1to0()
brain_image = system.file("extdata", "brain.mgz",
package = "freesurferformats",
mustWork = TRUE);
vdh = read.fs.mgh(brain_image, with_header = TRUE);
mghheader.tkreg2scanner(vdh$header);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.