Learn R Programming

threeBrain (version 1.0.1)

read_fs_m3z: Read `FreeSurfer` m3z file

Description

Read `FreeSurfer` m3z file

Usage

read_fs_m3z(filename)

Value

registration data

Arguments

filename

file location, usually located at `mri/transforms/talairach.m3z`

Details

An `m3z` file is a `gzip` binary file containing a dense vector field that describes a 3D registration between two volumes/images. This implementation follows the `Matlab` implementation from the `FreeSurfer`. This function is released under the `FreeSurfer` license: https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSoftwareLicense.