sct-pipeline / ukbiobank-spinalcord-csa

Measure of the averaged cross-sectional area (cord CSA) between C2 and C3 of the spinal cord with UK Biobank Brain MRI dataset.
MIT License
3 stars 1 forks source link

Various comments on the process_data.sh script and README #4

Closed jcohenadad closed 3 years ago

jcohenadad commented 3 years ago

README:

process_data:

sandrinebedard commented 3 years ago

@jcohenadad The native resolution of T1w is 2.4x2.4x2.4 mm and for T2w is resolution: 1.05x1x1 mm. For resampling, I wasn't sure if I have to put the native resolution in the parameter -m , in this line for T1w :

https://github.com/sandrinebedard/Projet3/blob/4ef8afeeb8a1081a269373d59cc458bee41c59c5/process_data.sh#L98

and in this line in T2w: https://github.com/sandrinebedard/Projet3/blob/4ef8afeeb8a1081a269373d59cc458bee41c59c5/process_data.sh#L132

jcohenadad commented 3 years ago

The native resolution of T1w is 2.4x2.4x2.4 mm

where did you get that information? it seems wrong. E.g.:

julien-macbook:~ $ fslhd /Users/julien/data/ukbank/1000032/T1/T1_orig_defaced.nii.gz 
filename    /Users/julien/data/ukbank/1000032/T1/T1_orig_defaced.nii.gz
size of header  348
data_type   FLOAT32
dim0        3
dim1        208
dim2        256
dim3        256
dim4        1
dim5        1
dim6        1
dim7        1
vox_units   mm

suggesting 1mm iso for the T1w. Maybe you looked at the DWI scan?

For resampling, I wasn't sure if I have to put the native resolution in the parameter -m , in this line for T1w :

it's the parameter -mm (not -m), and yes, you could put a fixed resolution close to the native, so in this case 1mm iso

sandrinebedard commented 3 years ago

Yes! You are right, I checked the wrong image for T1w, I also verified with UK biobank brain MRI documentation and for T1w, the resolution is 1x1x1mm.

https://biobank.ctsu.ox.ac.uk/crystal/crystal/docs/brain_mri.pdf (section 2.4) Thank you!