[Insight-users] Question about file I/O

Luis Ibanez luis.ibanez at kitware.com
Fri Jan 27 16:50:34 EST 2006


Hi Warren,

Thanks for letting us know that writing the
image in VTK format solved the problem.

Please let us know if you encounter any other
difficulties.


    Thanks


      Luis


-----------------
Warren Liu wrote:
> Hi Luis,
> 
> Thanks for the quick response.  It seems that storing the matrix in Analyze
> format was giving me problems, so I switched over to the vtk format and it's
> working fine.  Thanks again.
> 
> -whl-
> 
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez at kitware.com] 
> Sent: Friday, January 27, 2006 2:55 PM
> To: Warren Liu
> Cc: insight-users at itk.org
> Subject: Re: [Insight-users] Question about file I/O
> 
> 
> 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