Learn R Programming

freesurferformats (version 0.1.18)

mghheader.is.conformed: Determine whether an MGH volume is conformed.

Description

In the FreeSurfer sense, *conformed* means that the volume is in coronal primary slice direction, has dimensions 256x256x256 and a voxel size of 1 mm in all 3 directions. The slice direction can only be determined if the header contains RAS information, if it does not, the volume is not conformed.

Usage

mghheader.is.conformed(header)

Value

logical, whether the volume is *conformed*.

Arguments

header

Header of the mgh datastructure, as returned by read.fs.mgh.