Read and Write 'FreeSurfer' Neuroimaging File Formats

Provides functions to read and write neuroimaging data in various file formats, with a focus on 'FreeSurfer' formats. This includes, but is not limited to, the following file formats: 1) MGH/MGZ/NIFTI format files, which can contain multi-dimensional images or other data. Typically they contain time-series of three-dimensional brain scans acquired by magnetic resonance imaging (MRI). They can also contain vertex-wise measures of surface morphometry data. The MGH format is named after the Massachusetts General Hospital, and the MGZ format is a compressed version of the same format. 2) 'FreeSurfer' morphometry data files in binary 'curv' format. These contain vertex-wise surface measures, i.e., one scalar value for each vertex of a brain surface mesh. These are typically values like the cortical thickness or brain surface area at each vertex. 3) Annotation file format. This contains a brain surface parcellation derived from a cortical atlas. 4) Surface file format. Contains a brain surface mesh, given by a list of vertices and a list of faces.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("freesurferformats")

1.1.2 by Tim Schäfer, 4 days ago


https://github.com/dfsp-spirit/freesurferformats, https://dfsp-spirit.github.io/freesurferformats/


Report a bug at https://github.com/dfsp-spirit/freesurferformats/issues


Browse source code at https://github.com/cran/freesurferformats


Authors: Tim Schäfer [aut, cre] , Van Essen Lab [cph] (Copyright holder of the Conte69 template and HCP group-average data files that can OPTIONALLY be downloaded via download_opt_data().) , Montreal Neurological Institute (MNI) [cph] (Copyright holder of the MNI152/avg152T1 template that can OPTIONALLY be downloaded via download_opt_data().)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports utils, pkgfilecache, xml2

Suggests knitr, rmarkdown, curl, testthat, oro.nifti, gifti, cifti


Imported by VertexWiseR, fsbrain, ieegio, threeBrain, wal.

Suggested by ggseg.meshes, neuromapr, ravetools, scimesh.


See at CRAN