You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Philips Multiframe diffusion images that have ADC, in convert_philips.py the function _create_bvals_bvecs() makes a call out to _fix_diffusion_images()for the purposes of removing the ADC, and a truncated nifti is returned.
However _create_bvals_bvecs() doesn't return this truncated file back up to_multiframe_to_nifti() which means the NIfTI that is saved will be one frame longer than the BVAL and BVEC files.
This could easily be fixed with the addition of nifti being returned at line 535 and an additional variable output_file to line 271.
Thanks,
Matthew
The text was updated successfully, but these errors were encountered:
ma-tripleT
added a commit
to ma-tripleT/dicom2nifti
that referenced
this issue
Jun 25, 2024
Hi Team,
For Philips Multiframe diffusion images that have ADC, in convert_philips.py the function
_create_bvals_bvecs()
makes a call out to_fix_diffusion_images()
for the purposes of removing the ADC, and a truncated nifti is returned.However
_create_bvals_bvecs()
doesn't return this truncated file back up to_multiframe_to_nifti()
which means the NIfTI that is saved will be one frame longer than the BVAL and BVEC files.This could easily be fixed with the addition of
nifti
being returned at line 535 and an additional variableoutput_file
to line 271.Thanks,
Matthew
The text was updated successfully, but these errors were encountered: