Dear Experts,
I am using SCT version: git-master-7dfb515728f5ba702df1dabdd9a33f00c085e224.
The following is my data:
data1.nii.gz (1.1 MB)
How can I prepare my data (*.nii files) for SCA segmentation?
Should I have to convert my data to *.nii.gz?
If yes, how can I do it?
when I use “sct_propseg -i data1.nii.gz -c t2” commands, I see this error:
IndexError: string index out of range.
Hi,
How can I prepare my data (*.nii files) for SCA segmentation?
Should I have to convert my data to *.nii.gz?
both .nii and .nii.gz are nifti formats. See: https://nifti.nimh.nih.gov/nifti-2: “* will support the existing file formats and naming: a .nii single-file, a .hdr/.img file-pair and their gzipped versions”
moreover, there is a problem with your data:
**julien-macbook:** ~/Desktop $ fslhd data1.nii.gz
Error: file does not appear to be a valid NIFTI image
I recommend you use dcm2niix for creating nifti files.
It seems that you are not familiar enough with the basics of neuroimaging data, so i recommend you go through the latest SCT course before you attempt to process your own data.
Best,
Julien