[Insight-users] InsightToolkit-3.12.0 problem reading Structure DCM
Benhacene Boudan Mustafa
m.benhacene.boudan at umontreal.ca
Tue May 12 17:36:13 EDT 2009
Hi all,
When i try to read a dicom structure with InsightToolkit-3.12.0 i get the error :
terminate called after throwing an instance of 'itk::ExceptionObject'
what(): /home/karim/InsightToolkit-3.12.0/Code/Common/itkImageBase.txx:183:
itk::ERROR: Image(0x703510): A spacing of 0 is not allowed: Spacing is [2.5, 2.5, 0]
Abandon
I know that it is due to a bad format of the structure dicom file that doesn't give z spacing.
With InsightToolkit-3.0.8 i can bypass that problem using the ChangeInformationImageFilter after reading the dicom (no error message) and then process it through the other filters. Any way to do something similar with InsightToolkit-3.12.0?
thank you
karim
More information about the Insight-users
mailing list