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

Description Usage Arguments Value

View source: R/mghheader.R

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

1

Arguments

header

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

Value

logical, whether the volume is *conformed*.


freesurferformats documentation built on Feb. 11, 2022, 5:06 p.m.