Skip to contents

Print an fs.transform instance.

Usage

# S3 method for class 'fs.transform'
print(x, ...)

Arguments

x

an fs.transform instance.

...

ignored, only present for consistency with the generic.

Value

the transform x, invisibly.

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.