-
Notifications
You must be signed in to change notification settings - Fork 96
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
ENH: set Siemens MeasurementFrame #387
ENH: set Siemens MeasurementFrame #387
Conversation
Confirmed with large rotation test data from dcm2nii website: https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Diffusion_Tensor_Imaging Specifically, the 'dtitest_Siemens_GSU_GT/ep2d_DTI_30_ax_roll_4' dataset. See principal eigenvalue images in the PR.
By the way, this makes the output bvec file in FSL mode match well with output from dcm2niix:
|
@ihnorton Please be careful here. I am not convinced that this is correct. My recollection is that Siemens and Phillips are quite different. Perhaps is scanner version or scanner model dependent. I would like to see more testing before this is committed. |
I'm going to close this. After closely reading through Gordon's document, this figure and related pages on the NA-MIC wiki -- I agree the current behavior is correct. (which makes sense, of course... someone would have noticed it in all these years) I've been working a lot with FSL Nifti<->NRRD, and have had issues with incorrect glyphs from rotated acquisitions. A source of confusion was my misunderstanding that Currently DWIConvert makes the same assumption, which I think should be changed -- e.g. the code behavior for FSLToNRRD matches this comment in issue 342 and sets the output NHDR
I'll close this and re-open that issue to discuss. |
Also thanks for pushing back on this. |
@ihnorton Thank you for working through this. I greatly appreciate your careful evaluation. Hans |
Per this page:
https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Diffusion_Tensor_Imaging
Siemens and Philips report gradient direction with respect to the scanner bore.
DWIConvert does already account for this in the Philips converter, so I believe we should do so for Siemens as well.
I tested this change with one of the large rotation test datasets linked there,
specifically, the 'dtitest_Siemens_GSU_GT/ep2d_DTI_30_ax_roll_4' dataset.
Example DTI image in Slicer, with direction-coded colors (left: current, right: with this patch):