Matches the argument to pass to getMNISegPath
,
then reads the NIfTI image of the segmetation into R
readMNISeg(..., reorient = FALSE, verbose = TRUE)
... | Arguments to pass to |
---|---|
reorient | Should the image be reoriented?
Passed to |
verbose | Print diagnostic messages of the labels |
Object of class nifti
readMNISeg(res = "2mm")
#> Label 0: Background
#> Label 1: CSF
#> Label 2: GM
#> Label 3: WM
#> NIfTI-1 format
#> Type : nifti
#> Data Type : 8 (INT32)
#> Bits per Pixel : 32
#> Slice Code : 0 (Unknown)
#> Intent Code : 0 (None)
#> Qform Code : 4 (MNI_152)
#> Sform Code : 4 (MNI_152)
#> Dimension : 91 x 109 x 91
#> Pixel Dimension : 2 x 2 x 2
#> Voxel Units : mm
#> Time Units : sec