-
Notifications
You must be signed in to change notification settings - Fork 182
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
Incorrect transform after conversion from Philips Enhanced DICOM #2977
Comments
This issue is noted in dcm2niix issue 144 - Philips scanners often generate two different ImagePositionPatient (0020,0032) values for each slice. You want to use the one from the public sequence For the image you reference, the duplicates look like this:
|
Tested the suggestion of @neurolabusc by replacing mrtrix3/core/file/dicom/element.cpp Line 234 in d9ddbd4
with
which completely ignores anything within Philips PrivatePerFrameSq, and this indeed restores the correct @jdtournier how do we properly integrate this fix (not completely ignoring Philips PrivatePerFrameSq, but only certain tags)? |
I noticed a discrepancy in the
Transform
(shift of half a voxel along the in-plane dimensions) when converting a Philips DICOM data set usingmrconvert
vsdcm2niix
.@Lestropie suggested that it might be related to Enhanced DICOM, which turns out to be the case.
The issue seems to be specific to Philips Enhanced DICOM (other vendors and classic DICOM are fine) and can be reproduced using the dcm_qa_* datasets from @neurolabusc.
Using https://github.com/neurolabusc/dcm_qa_philips_enh.git which contains both a classic and an enhanced DICOM version of the same dataset, dcm2niix reports the same transform across DICOM versions, whereas mrconvert reports a shift of half a voxel along the in-plane dimensions for the enhanced DICOM dataset:
Using https://github.com/neurolabusc/dcm_qa_enh.git which contains Enhanced DICOMs from different vendors (Canon, Siemens, and Philips), dcm2niix and mrconvert agree on the Canon and Siemens data, but not on the Philips data (again half a voxel shift along the in-plane dimensions):
The text was updated successfully, but these errors were encountered: