Open sarbabi opened 3 years ago
I am having the same issue. Did you ever solve this I am having the same problem? Also the cast image filter seems to truncate the float to an integer so all pixels take on an integer value loosing alot of information.
Hi, Actually I was trying to save the results of a registration task, to a DICOM series. This piece of code on SimpleITK should do the job, but it's not working returning the error message:
I was wondering what would be the workaround for that?
I tried casting to avoid the type error like:
but it's still has another issue, that the saved DICOM folder when opened in a DICOM viewer shows as a number of single slice images and not as one multi-slice image.
Best wishes, Saeed