ColeLab / ColeAnticevicNetPartition

Public release of The Cole-Anticevic Brain-wide Network Partition (CAB-NP)
Other
65 stars 20 forks source link

Not valid .nii files? #1

Closed kauttoj closed 6 years ago

kauttoj commented 6 years ago

Thanks for the parcellations, great work!

What files exactly are these?

CortexSubcortex_ColeAnticevic_NetPartition_wSubcorGSR_netassignments_LR.dlabel.nii 
CortexSubcortex_ColeAnticevic_NetPartition_wSubcorGSR_parcels_LR.dlabel.nii

Despite the extension, they do not appears to be valid NIfTi's.

Error message by load_nii.m: "Error using load_nii_hdr (line 77) File "CortexSubcortex_ColeAnticevic_NetPartition_wSubcorGSR_parcels_LR.dlabel.nii" is corrupted."

Error message by MRIcron: "Warning: the header file is not in NIfTi format [the first 4 bytes do not have the value 348]. Assuming big-endian data."

sivcek commented 6 years ago

These are CIFTI files that can be read and used by Workbench. They are valid NIfTI v2 files, with multiple data segments that represent both left and right surface as well as volume data for subcortical structures and cerebellum. You won't be able to read and use them with "regular" nifti file viewers that only expect volume data, like MRIcron and many others.

kauttoj commented 6 years ago

Got it. Thanks!