[Insight-users] ImageReadDicomSeriesWrite crash
Luis Ibanez
luis.ibanez at kitware.com
Thu Sep 14 11:27:02 EDT 2006
Hi Lori,
Yeap, I misunderstood your question.
I though you were reading a DICOM series and writing
an image out of it.
My apologies for the confusion.
--
Can you send us your file "image.vtk" ?
or at least tell us the number of pixels that this
image has along every dimension ?
Is it really a 3D volume ? not a 2D image ?
Please let us know,
Thanks
Luis
-----------------------
Loris Vosilla wrote:
> Hi Luis,
>
> these are the command line arguments:
> C:\Temp\Resampled>ImageReadDicomSeriesWrite.exe image.vtk
> C:\Temp\Resampled\output\
>
> The messages printed during crash are
> reported in the typical message box:
> Debug Assertion Failed!
> Program C:\Temp\Resampled>ImageReadDicomSeriesWrite.exe
> File:C:\program files\Microsoft visual studio 8\VC\include\vector
> LINE: 756
>
> Expression: vector subscript out of range
>
>
> By the way I think there is a misunderstanding becauseHi
> in my application the first parameter is the name of the
> full dicom volume (one file only) and the second parameter is the
> destination directory.
> Reading the code I can't see any parameter regarding
> the serie.
>
> Thanks a lot
> -Loris Vosilla
>
>
> On 9/14/06, *Luis Ibanez* <luis.ibanez at kitware.com
> <mailto:luis.ibanez at kitware.com>> wrote:
>
> Hi Loris,
>
> We use this example regularly without problems.
>
> Could you please post the command line arguments
> that you are using for running the example ?
>
> Note that the first argument is a directory,
> the second argument is the output filename
> and the third (optional) argument is the series.
>
> It will also help if you post to the list any
> messages that the application may have printed
> out before crashing.
>
>
> Thanks
>
>
> Luis
>
>
> ----------------------
> Loris Vosilla wrote:
> > Hi All,
> >
> > I'm trying to use the itk example ImageReadDicomSeriesWrite
> > to save a vtk volume composed by 19 slices in a stack of
> > dicom images.
> >
> > The problem I reported is an application crash.
> > Using the debugger it crashes in itkgdcmimageio.cxx at line 782.
> > The problem seems to be related to the size of the 'm_Origin' array.
> > My configuration is itk 2.8.1 and visual studio 2005.
> >
> > How can I solve that to make it works ?
> >
> > thanks in advance
> > -Loris Vosilla
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org <mailto:Insight-users at itk.org>
> > http://www.itk.org/mailman/listinfo/insight-users
>
>
>
More information about the Insight-users
mailing list