questions
questions > Extracting dicom "header" information with -t option
Jun 11, 2020 04:06 PM | chris hemond
Extracting dicom "header" information with -t option
Hello Chris and other DCM2niix experts,
I am trying to organize a large dataset for BIDS conversion, but in order to properly do so I need to extract the subject name and other information from the dicom header in order to match/assign proper (anonymized) identifiers. The information I need is available from the "-t" option text file, but I don't want to convert everything to NIFTI just yet. Is there a way to produce just a single informational text file without converting the whole dataset? I've tried -n -1 option which works okay but is sometimes slow and I don't need the JSON files. I'd prefer not to have to use Matlab or other scripts to read dicom headers if possible.
Thank you!
I am trying to organize a large dataset for BIDS conversion, but in order to properly do so I need to extract the subject name and other information from the dicom header in order to match/assign proper (anonymized) identifiers. The information I need is available from the "-t" option text file, but I don't want to convert everything to NIFTI just yet. Is there a way to produce just a single informational text file without converting the whole dataset? I've tried -n -1 option which works okay but is sometimes slow and I don't need the JSON files. I'd prefer not to have to use Matlab or other scripts to read dicom headers if possible.
Thank you!
Threaded View
Title | Author | Date |
---|---|---|
chris hemond | Jun 11, 2020 | |
Chris Rorden | Jun 11, 2020 | |
chris hemond | Jun 11, 2020 | |