I have a deformation field calculated by a different software in dcm format and I want to import it using simpleITK.
When I use:
dis = sitk.ReadImage(‘dvf.dcm’, sitk.sitkVectorFloat64)
Throws the error:
RuntimeError: Exception thrown in SimpleITK ReadImage: C:\d\VS14-Win64-pkg\SimpleITK\Code\IO\src\sitkImageFileReader.cxx:248:
sitk::ERROR: The file has unsupported 5 dimensions.
Even if I tried also with 3D Slicer, I woud like to import and save the file just with simpleITK.
Is it possible?