amine0110 / nifti2dicom

MIT License
54 stars 18 forks source link

SimpleITK error #8

Open RauzeNNN opened 1 year ago

RauzeNNN commented 1 year ago

I exactly created nifti file from pngs like this video: https://www.youtube.com/watch?v=RkzsgS-sGFw Then I tried to convert this to dicom then I get this error. https://prnt.sc/EkHk8c_ekzrC

Additionally, After created dicom slices how can I connect them and get 1 dicom file. (Like an MRI)

jakesun113 commented 10 months ago

Add this line and it should be fine: https://github.com/amine0110/Medical-Conversions/blob/main/functions.py#L58

amine0110 commented 10 months ago

You can check our latest library that handles most of the issues you can face with this repo.

Here is the link to the library: https://github.com/amine0110/pycad