Closed junxiant closed 1 year ago
@junxiant
Apologies for the slow reply!
Those should in fact be DICOM files, but the .dcm
extension is missing. You can confirm by opening them in a tool such as ITK Snap, 3D Slicer, etc. Alternatively, you could use PyDicom or DCMTK and examine the headers of the files to confirm.
Ah then the quick fix would be to just add the .dcm extension in the code too, thanks
@junxiant – it's quite common in medical imaging software for the .dcm
suffix to be omitted. But I agree, it would be good to have an option to save with/without the suffix.
Thanks for raising (and closing) issue :)
Hello,
I am trying to convert .nii files into dicoms file and i ran the code using
But the output files in the output_dir are not in .dcm format/with no .dcm extensions
eg.