icometrix / dicom2nifti

MIT License
333 stars 78 forks source link

dicom_series_to_nifti with reorient_nifti=True loses 4th dimension zoom/Repetition_Time value #114

Open ruidc opened 2 years ago

ruidc commented 2 years ago

With False:

output.header.get_zooms()
Out[1]: (2.9729729, 2.9729729, 3.0, 3.71)

With True

output.header.get_zooms()
Out[2]: (2.9729729, 2.9729729, 3.0, 1.0)

It seems on recreating the image in the reorientation, that this information is not transferred to the new image. Is this expected?