-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script/instructions to convert DICOM data to BIDS #3
Comments
@andrewsm8 can you provide @alexfoias with a description of how your DICOM data are organized. |
Hello @kennethaweberii and @alexfoias, I have the axial T2-weighted images organized as follows: AxialDICOMs Project folder -> Each participant has a subfolder labeled using their 4-digit code -> ~30 axial DICOMs for each participant. I can certainly organize in a different manner if necessary. |
@alexfoias is currently on vacation, coming back in September 6th, and he will contact you right away to get this done |
@jcohenadad I have contacted @andrewsm8 by email for more details since we are dealing with confidential information. |
Hello @alexfoias, I met with @kennethaweberii and we successfully installed dcm2bids. Within a Conda environment, the following to activate that environment: source activate dcm2bids. We then ran the following: python curate_bids_ucd.py -i /Users/asmith034/desktop/R03/data -o OUTPUT_PATH -c config_file_ucd.txt It appears the script gives us the .json files and .tsv, but it is not converting the DICOM files into NIFTI. We get the following error message: INFO:dcm2bids.dcm2bids:--- dcm2bids start --- |
Hi @andrewsm8 , I had that type of issue in the past. Please see here: UNFmontreal/Dcm2Bids#139 I will right down a procedure on the PR so you can have all the dependencies properly configure. Could you please let me know what OS are you using ? Thank you. |
@alexfoias, @kennethaweberii, yes I am using macOS Big Sur Version 11.6. Thank you! |
Okay. Perfect. I will reach back to you with more details. |
@andrewsm8 I have added some instructions on the PR. Please check them out. If you still have issues, please feel free to contact me. |
@alexfoias could you please cross-reference the PR you are referring to? |
Yes, I have added the link to the latest comment on the PR. |
@jcohenadad @alexfoias We are exporting our spinal cord and lesion segmentations for our axial T2w images. Should the spinal cord segmentation contain the lesion segmentation? In other words, should the lesioned tissue be considered as part of the spinal cord? Thanks, Ken |
yes |
The Stanford site needs a script with instructions to convert their data to BIDS format. I suggest using dcm2bids and add the custom JSON config file in this repository.
In terms of organization, I suggest creating a
bids_conversion/
folder, with all JSON files enclosed and a README.md file with instructions.The first step would be for @alexfoias to get in touch with the Stanford group to understand how their DICOM data are organized.
The text was updated successfully, but these errors were encountered: