-
Notifications
You must be signed in to change notification settings - Fork 81
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
Dcm2bids cannot differentiate between non-normalized MRI data and normalized MRI data #69
Comments
Hi @uriartel, I've also run into protocols with non-normalized T1w images. For me, I use
In this protocol example, a localizer was run first, followed by the T1w scan. So in terms of Hopefully this provides some assistance. |
Hi, In case anyone else lands on this page looking for help, I found another solution for distinguishing between normalised and non-normalised data. The problem with @dlevitas solution is that it relies on the sidecar filenames being in a consistent and predictable order. In their example, 002 corresponding to the non-normalised data and 003 corresponding to the normalised data. In SIEMENS sequences, the ImageType field contains the field "NORM" when the image is normalised. So, when I specify my .json configuration file, I use:
Where the contents of ImageType matches the normalised images, but not the non-normalised images, which read:
|
Dear @IvanAlvarez. |
I'm attempting to convert dicoms to niftis using the dcm2bids command.
In the config.json file, I added a custom label to ensure that only normalized data is being converted to niftis.
If the subject only has one run of normalized data but multiple non-normalized T1 runs, the dcm2bids command will still convert all T1's into niftis regardless of the custom label. This issue occurs both for the T1's and the T2's.
Other than manually deleting all non-normalized data, is there way to exclude them in the config.json file to prevent this error from occuring?
Here is the original format, and I want to exclude the ORIGINAL, PRIMARY, M, and ND categories.
Thanks in advance!
The text was updated successfully, but these errors were encountered: