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

View source: R/mghheader.R

mghheader.is.conformedR Documentation

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)

Arguments

header

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

Value

logical, whether the volume is *conformed*.


freesurferformats documentation built on May 29, 2024, 5:29 a.m.