Converting DICOM files into BIDS
Last updated
Last updated
Screenshot 23. Patient file - DICOM
Select the patient that you want to convert from the main Lead DBS GUI.
From the Import section, select "Import DICOM to BIDS dataset."
Select the DICOM conversion tool you'd like to use.
Click RUN.
Lead will convert DICOM into NIfTI files, and a new window will appear. This is a new step we have not seen when converting NIfTI to BIDS (Screenshot 25)
What you need to do here is to fill out the table using the drop-down menu and choose from the options (Screenshot 25B).
In the Session column, choose whether the data are post-operative or pre-operative.
The Type column is anat for both pre-and post-operative data.
The Modality column is T1w and T2w for pre-operative data, and for post-operative data, you use CT (in this case) or MRI.
The Acquisition section is filled automatically.
Screenshot 24. Import Section of the Main Lead DBS GUI
Screenshot 25. Lead-DBS to BIDS conversion
Screenshot 26. Lead-DBS to BIDS conversion
This time, three folders appeared in the output directory. (Screenshot 26)
Source data contain the original DICOM files.
Raw data contain raw NIfTI files with pre-operative and post-operative data.
Derivatives folder – contains the main output from the processing tool.
Original patient imaging data are usually stored in the DICOM format. In the following steps, we will convert DICOM files into BIDS. The process is essentially similar to converting NIfTI to BIDS. However, DICOM files are first converted to NIfTI and then to BIDS.
Make sure that one folder stores all of your patient data, and the file names do not contain any spaces or special characters.
Your patient’s folder should contain all the images in DICOM format (pre-operative structural T1-weighted and T2-weighted MRI and post-operative CT or MRI) (Screenshot 23).