Print an fs.transform instance.
Usage
# S3 method for class 'fs.transform'
print(x, ...)See also
Other header coordinate space:
invert.fs.transform(),
is.fs.transform(),
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.fslmat(),
read.fs.transform.itk(),
read.fs.transform.lta(),
read.fs.transform.xfm(),
sm0to1(),
sm1to0(),
summary.fs.transform(),
transform2lps(),
transform2ras(),
transform2voxel(),
transform2world(),
write.fs.transform(),
write.fs.transform.dat(),
write.fs.transform.fslmat(),
write.fs.transform.itk(),
write.fs.transform.lta(),
write.fs.transform.xfm()
Examples
tf <- read.fs.transform(system.file("extdata", "talairach.lta",
package = "freesurferformats", mustWork = TRUE
))
print(tf)
#> <fs.transform> of format 'lta', loaded from '/home/runner/work/_temp/Library/freesurferformats/extdata/talairach.lta'
#> Maps voxel coordinates (0-based) to voxel coordinates (0-based).
#> Source: 'nu.mgz', 256x256x256 voxels, voxelsize 1x1x1
#> Target: '/Applications/freesurfer/average/RB_all_2016-05-10.vc700.gca', 256x256x256 voxels, voxelsize 1x1x1
#> [,1] [,2] [,3] [,4]
#> [1,] 1.054775715 0.007081697 -0.05151368 -2.029556
#> [2,] 0.005556736 1.116058946 0.33849043 -5.882306
#> [3,] 0.060359493 -0.274788439 0.85348159 37.464622
#> [4,] 0.000000000 0.000000000 0.00000000 1.000000
#> Determinant 1.10648.
#> Translation part: -2.02956, -5.88231, 37.46462.