[vtkusers] Re: [Insight-users] Streaming large datasets with itk-vtk

Kevin H. Hobbs hobbsk at ohiou.edu
Fri Jan 12 16:40:19 EST 2007


On Fri, 2007-01-12 at 14:05 +0100, Jesús Spí­nola wrote:

> My first question is, given that pipeline, can I apply streaming to
> it? 
> second is, if i can, which filter is better to apply: the itk or the
> vtk one, and where? 
> if it's not possible to apply streaming this way, what can I do to
> solve the problem? Change the pipeline?

None of the ITK readers and writers support streaming right now. As a
result the readers read the whole image into memory. If there isn't
enough memory for one copy of the image this is a problem. Many of the
VTK readers DO support streaming, and only read enough of the file for
whatever filter is downstream. If you clip your image to show a slice,
or if you only want a VOI I'd use a VTK reader.

Most of the ITK filters support streaming, so you can do things like
VTKRead -> ITKFilter -> VTKWriter. Watch out for iterative filters
though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070112/2df8db5c/attachment.pgp>


More information about the vtkusers mailing list