[Insight-users] Bug in ITK or Visual studio? Reading DICOM images

Bill Lorensen bill.lorensen at gmail.com
Fri Jun 12 08:39:45 EDT 2009


Looks like a bug. Please file a bug report following the procedure at:

http://www.itk.org/Wiki/ITK_Procedure_for_Contributing_Bug_Fixes

Bill

On Fri, Jun 12, 2009 at 3:57 AM, Patrik
Brynolfsson<patrik.brynolfsson at gmail.com> wrote:
> Hello,
> I'm running the example DicomSeriesReadImageWrite2.cxx and it compiles and
> works just fine, except for when there are no dicom images in the folder I
> supply. The program crashes and I get an "Output Window" with the text :
> "Warning: In ..\..\..\InsightToolkit 3.12.0\Code\IO\itkGDCMSeriesFileNames."
> "GDCMSeriesFileNames (018947A8): No Series were found"
> but also an error from Microsoft Visual C++ Debug Library:
> "Debug assertion failed!
> Program: DicomSeriesReadImageWrite2.exe
> File: C:\Program\MSVS 9.0\VC\include\vector
> Line: 98
> Expression: vector iterator not dereferencable"
> If I compile in Release mode and give the wrong path I get the usual error
> when a windows program hangs:
> "DicomSeriesReadImageWrite2.exe has encountered a problem and must close"
> How do I avoid this? I'm thinking this is a bug in ITK or Visual Studio? Any
> solutions?
> Thanks in advance
> //Patrik
> _____________________________________
> 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