Matches the argument to pass to getMNISegPath, then reads the NIfTI image of the segmetation into R

readMNISeg(..., reorient = FALSE, verbose = TRUE)

Arguments

...

Arguments to pass to getMNISegPath

reorient

Should the image be reoriented? Passed to readNIfTI

verbose

Print diagnostic messages of the labels

Value

Object of class nifti

Examples

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