[Insight-users] InsightToolkit-3.12.0 problem reading Structure DCM
Bradley Lowekamp
blowekamp at mail.nih.gov
Mon Aug 31 21:26:18 EDT 2009
Are you using an ImageFileReader, with an image type tempted over 3d?
Did you try using a 2D image type?
Also I think this should work and maybe produce a warning saying it
read an invalid spacing or something... not completely sure. Could you
please enter this in the the bug tracker:
http://public.kitware.com/Wiki/ITK_Procedure_for_Contributing_Bug_Fixes
Brad
On Aug 31, 2009, at 1:38 PM, Maximilien Renard wrote:
> Hi there,
>
> I'm having the same problem. Did you found the solution to this
> problem ? Can someone please explain me what to do ?
>
> Thank you very much,
>
> Regards,
>
>
> Maximilien Renard
>
> 2009/5/12 Benhacene Boudan Mustafa <m.benhacene.boudan at umontreal.ca>:
>>
>> 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
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list