[Insight-users] Question about file I/O

Luis Ibanez luis.ibanez at kitware.com
Fri Jan 27 14:55:01 EST 2006


Hi Warren,

Using an itk::Image for storing a Matrix of [ 300,000 x 5 ] should
be possible.


Could you please let us know what file format were you attempting
to use when you encounter a core dump ?


BTW,

   IO operations would rarely produce core dumps in ITK, what you
   probably faced was an uncaught exception. You may want to make
   sure that you put the Update() method of your writer inside a
   try/catch block and print out the message returned by the eventual
   exception.



    Regards,



       Luis



----------------
Warren Liu wrote:
> Hi all,
> 
>  
> 
> I was wondering if anyone had any suggestions about how to write a 
> matrix using ITK I/O that is at least <300,000 x 5> to a file.  It seems 
> that storing this matrix as an ITK image and any matrix greater than 
> <30,000 x 5> (for that matter) results in a core dump.  Thanks for the help.
> 
>  
> 
> Regards,
> 
> Warren
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list