-
Notifications
You must be signed in to change notification settings - Fork 228
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
b-value is 0 for 6 different slices #394
Comments
You are not giving me much to work with here. Can you tell me the vendor (Siemens, Philips or GE) and confirm you are running the latest release (v1.0.20200331)? Also, can you report the output generated during conversion. There seem to be two options:
In brief, I expect this reflects inherent properties of the DICOM data. Each vendor uses its own tags to report diffusion gradients, but I suspect that if you look at the combination of reported b-value and diffusion direction it will explain the behavior of dcm2niix. |
Sorry for the lack of information, I wrote this issue quickly before leaving the office. Vendor is Siemens, I am running version v1.0.20200331 Conversion output is as follows : Compression will be faster with 'pigz' installed
Chris Rorden's dcm2niiX version v1.0.20200331 (JP2:OpenJPEG) (JP-LS:CharLS) GCC5.5.0 (64-bit Linux)
Saving defaults file /home/user/.dcm2nii.ini
Found 220 DICOM file(s)
Image Decompression is new: please validate conversions
Warning: Slice timing appears corrupted (range 0..0, TR=4210 ms)
Convert 20 DICOM as anfdata/dcm_11b_20001a (144x144x20x1)
Warning: Slice timing appears corrupted (range 109465..109465, TR=4210 ms)
Convert 20 DICOM as anfdata/dcm_11b_20003a (144x144x20x1)
Warning: Slice timing appears corrupted (range 126305..126305, TR=4210 ms)
Convert 20 DICOM as anfdata/dcm_11b_20005a (144x144x20x1)
Warning: Slice timing appears corrupted (range 143148..143148, TR=4210 ms)
Warning: This diffusion series does not have a B0 (reference) volume
Convert 20 DICOM as anfdata/dcm_11b_20007a (144x144x20x1)
Warning: Slice timing appears corrupted (range 117885..117885, TR=4210 ms)
Convert 20 DICOM as anfdata/dcm_11b_20004a (144x144x20x1)
Warning: Slice timing appears corrupted (range 269452..269452, TR=4210 ms)
Warning: This diffusion series does not have a B0 (reference) volume
Convert 20 DICOM as anfdata/dcm_11b_20010a (144x144x20x1)
Warning: Slice timing appears corrupted (range 134725..134725, TR=4210 ms)
Convert 20 DICOM as anfdata/dcm_11b_20006a (144x144x20x1)
Warning: Slice timing appears corrupted (range 244190..244190, TR=4210 ms)
Warning: This diffusion series does not have a B0 (reference) volume
Convert 20 DICOM as anfdata/dcm_11b_20009a (144x144x20x1)
Warning: Slice timing appears corrupted (range 185248..185248, TR=4210 ms)
Warning: This diffusion series does not have a B0 (reference) volume
Convert 20 DICOM as anfdata/dcm_11b_20008a (144x144x20x1)
Warning: Slice timing appears corrupted (range 294712..294712, TR=4210 ms)
Warning: This diffusion series does not have a B0 (reference) volume
Convert 20 DICOM as anfdata/dcm_11b_20011a (144x144x20x1)
Warning: Slice timing appears corrupted (range 101045..101045, TR=4210 ms)
Convert 20 DICOM as anfdata/dcm_11b_20002a (144x144x20x1)
Conversion required 5.807106 seconds (0.963896 for core code). This is my first time using the tool, I may not be using it at 100% of it's possibilities, and I might be missing an option. (Sidenote, is it possible to join all the nifti files into one 4D file ?)
It might be the "Unknown tag" though, but it is so for all the files, and the last 5have no problem beeing read... What does seem strange to me is that for b-values over 80, it works fine, but not the first six files |
Given that the private tag 0019,100c stores the B-Value I am going assume your data is from a Siemens system. For your B=10 image, Is the gradient direction tag 0019,100e present and reporting a unit vector?
If not, this explains the behavior of dcm2niix. Regardless, the output makes me concerned that the DICOM data is insufficient for conversion.
Both of these scenarios suggest a limitation of the DICOM images, not of dcm2niix. Feel free to send a sample dataset to me via Box, DropBox, Google drive to the email in my avatar. |
The data is from a Siemens XA11 series system, I'll have to see with the physicist to reexport the data if that is the problem. For the B=10 image, I get this in the dicom dump :
I don't have a vector for b=0 though (sorry if this feels like stupid, it's my first time handling dicom and nii files) |
In brief, you will want to reacquire this dataset. When you export the data, save it as Enhanced format. Ensure that every user at your center is advised (as I document here and here):
Even when you follow all these rules, be aware that the Siemens X-series DICOMs contain much less meta information than the Siemens V-series DICOMs. Sequence details and software stepping is not provided. The resulting BIDS JSON files will therefore be impoverished. This reflects inherent limitations of the DICOM images, not my software. |
Excellent summary @neurolabusc. As a suggestion, it might be helpful if you mentioned this fundamental problem on the README of the main landing page, and linked to this comment, or the other similar comments that you have embedded over time as part of other "Issues". That would make it more prominent, and make it easier to find for those that want to refer back to your summary of the situation. |
Future releases of dcm2niix will alert users for all Siemens XA conversions:
Data stored from the console in classic, anonymized or mosaic formats can not be salvaged. Data stored in the enhanced data will have impoverished BIDS data. This reflects limitations of the Siemens DICOM data, not my software. |
…to debian * upstream/development: Discrepant uses for TriggerTime (rordenlab#395) Developmental version bump Great and desperate Siemens XA classic kludge (rordenlab#394)
This issue persists in Siemens XA70 data. The DICOM standard suggests that all images in a series should share a StudyInstanceUID (0020,000d), SeriesNumber (0020,0011), SeriesTime (0008,0031), and StudyInstanceUID (0020,000d). However, Siemens XA systems creating interoperable (e.g. classic) DICOMs generate a separate StudyInstanceUID for each volume in the series. The easy kludge for users is to export data in enhanced mode (which saves one 3D volume per file, rather than one 2D slice dramatically reducing demands on PACS transfers). While dcm2niix extends a kludge to combine these images to XA70, this may lead to unintended consequences and will impact other tools that assume valid and truthful DICOM images. Users who experience these issues should lobby their Siemens Research Collobration Manager to fix this problem. This is a limitation of the images created by the scanner, not dcm2niix. |
I am running into a slight problem using the program.
I tried converting a 20x11 dicom folder, each series with a different b-value
The b-values should be 0 10 20 30 40 50 80 100 200 400 800
What I get in bval files is 0 0 0 0 0 0 80 100 200 400 800
The files don't seem to be the problem here, I've double checked, and I can't find a missing fields in the incriminated files
The text was updated successfully, but these errors were encountered: