-
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
dcm2niix appending an extra _t4582 to my filenames for multiband epi scans #336
Comments
This is the intended behavior with disambiguation preventing file naming conflicts. You can always create a fork that behaves differently (at the risk of overwriting data). Alternatively, you can write a script in your favorite language to handle this. |
Thanks, that kind of makes sense. But! In my dataset, it looks like every slice has its own trigger time (0018,1060) value. How am I getting a single .nii file out? How is it choosing 4582? That's not the value from either the first or last dicom in the series; in fact, I don't think it appears in any of the dicoms, which is... surprising? I have a 4581. shrug Also I'm pretty sure we aren't using cardiac gating here, so I don't know what that trigger time is supposed to be indicating. Sigh. |
The methods dcm2niix uses are described here. The validation datasets used for the various forms of slice timing are provided here. Since I do not have access to any GE hardware, support depends on the community. I would suggest three ways forward (which are not mutually exclusive):
|
I aplogize; I'm super confused. That document says (0018,1060) is used for slice timing information (which is present and looks slice-timing-ish but is probably not doing the right thing; I'll work on getting some phantom data and digging further) but I think that's totally different from TriggerDelayTime and a _t suffix for file naming? |
Also! I know we're running a weird GE scanner with a weird headcoil; if the answer is just "this is what dcm2niix does, rename yo' files" that is totally okay, and I appreciate how well this program works given what it has to work with. Seriously: Thank you! |
Delightfully, it looks like we're also using a research sequence, so 'just hack around stuff' is probably the correct procedure for us. I'm still not sure where it's getting this particular suffix for this particular series, but... eh, it's fine, we can work around it in postprocessing. |
The filenaming page provides general guidelines. See the Philips multiple cardiac phases dataset for an example for standard usage of trigger times (eliciting the '_t***' postfix). The GE page describes vendor-specific kludges that attempt to extract relevant data. A major issue is that each vendor interprets DICOM differently. If your sequences and hardware are very unusual, your issues might be specific to your center. If not, many others may experience the same problems as you. I am unable to evaluate this. Many users have contributed public validation datasets. Our tools are only as robust as the available datasets. You can always use dcmdump or gdcmdump to view the DICOM headers. For GE this suffix should be elicited by 0018,1060 which the vendor seems to use for cardiac trigger times for some sequences and EPI acquisition times for others. |
Closing as this is a custom research sequence. Once GE supports multi-band images in their product sequences, it would be great to have validation datasets so we can understand how GE encodes these properties into DICOM and support retaining this information during NIfTI conversion. |
@njvack can you please test the latest developmental commit (v1.0.20190926). Thanks to Paul Morgan (Nottingham) for help on this. The private GE Protocol Data Block (0025,101B) is scanned for the field 'MBACCEL', with the resulting value inserted into the BIDS "MultibandAccelerationFactor" tag. There are two related changes:
|
Thanks for this! We'll give it a try. Yeah, the reported slice times are completely wrong, it's funny because you're right, we don't slice-time correct when processing multiband. Still irks me though. |
If its helpful, I can provide GE multiband data from the latest software release. Let me know. |
@mrgrist since this issue was closed, @mr-jaemin provided a validation dataset and we also provide C code for deriving timings. |
@mrgrist Thanks. Please let me know if you don't get |
@mr-jaemin nothing comes through for slice timing with either the development branch or the current release in the json file. I'm running MR29.1. I've had a look at the C++ code, but i'm not really sure how to use it... |
Could you please upload a sample DICOM (series as a tar/zip file)?https://gehealthcare.ent.box.com/f/3e5433ace5184a82850c6d00f8ca0d14 |
Hi folks,
I'm trying to convert some EPI images for a new study with dcm2niix. To my surprise, it's appending some extra characters to my filename, which I don't really want:
In my BIDS sidecar, we have
"TriggerDelayTime": 4582
so that's probably where this is coming from, but I haven't asked for trigger delay time in my filename. Is there a way I can not get it?The text was updated successfully, but these errors were encountered: