External Email - Use Caution Dear Dr Doug Greeve, For each participant in my dataset, I have 8 mosaic volumes with 36 slices each. I am trying to convert the DICOM files to Nifti format using the mri_convert command in FreeSurfer version 7.3.2. However, the conversion process fails even when using this latest dev version. To resolve this issue, I attempted to use the --nslices-override option. It seems working, however, I am unsure if I used it correctly, and I was not able to find any relevant examples or guidance on how to use this option in the FreeSurfer documentation or other websites.
n=({-1..7}) unpacksdcmdir -src ./dicoms/ -targ ./ -scanonly log for i in $(cat dicomdir.sumfile | awk '{print $2}'); do n=$(($n + 1)) mri_convert ./dicoms/$i ASL_$n.nii -odt float --nslices-override 36 -f $n done Thanks for guidance, John
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.