Phantom dataset - overview of sequences, between-site consistency #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While investigating the generalizability of BIDS conversion, I looked at DICOM groupings (dicom series found) produced by Heudiconv for each dataset, and how they would map onto a BIDS dataset. Based on DICOMs alone (protocol names, series descriptions), I believe that the following describes the intended content of a BIDS dataset:
For completeness, here is a table of SeriesDescriptions from each site (almost identical to ProtocolName, but sometimes more detail). Note that the issue is not intended to compare the exact names (these can be easily managed with separate heuristics or additional conditional statements) but to track and discuss presence or absence of given acquisitions.
Click to show / hide the table
Note:
diff_*names for Heidelberg extracted with dicom-dump; all others taken from heudiconv's dicominfo.tsv.Below is an overview of how each phantom dataset maps onto the BIDS scheme above -- mostly in terms of things that a BIDS validator would flag as inconsistent subject / missing acquisition warnings. I did not compare the acquisition parameters.
Aachen
https://hub.trr379.de/q01/phantom-mri-dicom-aachen
Only one fMRI run (rest), and only one field map pair.
Frankfurt
https://hub.trr379.de/q02/phantom-mri-dicom-frankfurt
Matches the scheme above.
Heidelberg
https://hub.trr379.de/q01/phantom-mri-dicom-heidelberg
Mannheim
https://hub.trr379.de/q01/phantom-mri-dicom-mannheim
Matches the scheme above.
Apart from checking overlap of the sequence types (runs), as discussed above, I also checked the number of volumes in the (rs)fMRI runs - as reported from the converted NIfTI files by
nib-ls sub-?/func/*nii.gz:It seems none of those match the protocol printout (PDF) shared by @mih which suggests 325 / 490 / 490 (Kontrast - Dynamisch / Messungen).
Stacking with Heudiconv (see
.heudiconv/a/info/dicominfo.tsvincluded in this repository) finds 740 DICOM files belonging to the series (7-Q01_func_task-rest) and reportsdim4=740. However, dcm2niix produces a NIfTI file withdim4=470. I don't know why that happens, but I'm inclined to trust dcm2niix. For other sites, the dimensions reported from DICOM stacking match those found in NIfTI. ↩︎Following up on my footnote from the comment above, regarding DICOM file count in Aachen rsfMRI:
Running
dcm2niixindicates that some of these DICOMs are classified as duplicates:Coincidentally, this also shows a warning related to Syngo XA60, which points to dcm2niix issue 870. Note to self: the output above is from the latest dcm2niix release, while the repository contains files created with v1.0.20240202; reading the issue suggests that both version account for this issue, but it would be nice to use the latest.
Filling back some information from August:
A re-scan has been provided by Aachen (not published because I don't have repository permissions, and it's 6.4 GB extracted). A conversion is in https://hub.trr379.de/q02/tmp-phantom-bids (separate from this repo because can't formally declare dependency). Here's my observations, initially shared by e-mail:
There are now three (rs)fMRI sessions with the expected number of volumes. In the previous dataset some rsfMRI DICOMs were duplicates -- this is no longer the case. All OK kere.
The T2w is missing.
There are 7104 and 9984 DICOM files for the DWI acquisitions, is that number expected (I know very little about DWI)?
dcm2niix (latest release) prints the following warning for most if not all series, e.g. this one for task-rest (these are warnings (not errors) and I am not able to tell if they are concerning or not):
Warning: 4D Siemens XA images should be exported as enhanced not classic DICOM. Slice times and other properties may be inaccurate.
Convert 325 DICOM as /tmp/hdc/rsfmri_Q01_func_task-rest_acq-2mm_20250527131333_6 (104x104x72x325)