wiki

Convert Dicom to NIFTII for FSL

The data comes off of the scanner in the format DICOM (.dcm), and FSL likes it to be in NIFTII (.nii). You can do this manually, OR use these scripts to convert one or many subject(s) dicom files into niftis. These scripts / instructions utilize the BIAC XCEDE Tools!

Manual Conversion

First, Connect to Your Cluster, or wherever your cluster/data is located (the unix environment). At Duke this involved starting win-32 to handle the display, connecting to the VPN, and opening up the F-Secure Shell. Full instructions for that entire process are available if you click the link above. If you have everything installed, click “Quick Connect” and navigate to wherever your anatomical and functional data is located.

bxhreorient --orientation=LAS input.bxh Outpre.bxh
bxh2analyze --nii -b input.bxh Outpre

You must then run the BET Brain Extraction on the anatomical that will be the “Main Structural Image” in the FEAT FMRI analysis (under the Registration tab), and the functional nifti will be specified under “4D data,” also under FEAT FMRI, the Data tab.

To get an explanation of what everything means (or all options), just type “bxh2analyze” or “bxhabsorb” or “bxhreorient” followed by -help into the terminal, and it spits it out.

Script Conversion