I got a similar issue with the following toy example
import itk
from pydicom.data import get_testdata_files
filename = get_testdata_files('CT_small.dcm')[0]
img = itk.imread(filename)
KeyError: 'itkTemplate : No template (<itkCType unsigned int>, 3) for the itk::Image class'
When opening with pydicom, the type is recognized as short (np.int16). What would be the reason to not support this type when opening with imread
?