So, if I use, for example, vtkDICOMImageReader instead of itk::ImageSeriesReader my new pipeline<br>vtkDICOMImageReader -> vtkImageData -> vtkImageViewer2<br>will be streamed or I have to put vtkImageDataStreamer in the pipeline? if i have, where it's the right place for the streamer class? before vtkImageData or after?
<br><br><div><span class="gmail_quote">2007/1/12, Kevin H. Hobbs <<a href="mailto:hobbsk@ohiou.edu">hobbsk@ohiou.edu</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 2007-01-12 at 14:05 +0100, Jesús Spínola wrote:<br><br>> My first question is, given that pipeline, can I apply streaming to<br>> it?<br>> second is, if i can, which filter is better to apply: the itk or the
<br>> vtk one, and where?<br>> if it's not possible to apply streaming this way, what can I do to<br>> solve the problem? Change the pipeline?<br><br>None of the ITK readers and writers support streaming right now. As a
<br>result the readers read the whole image into memory. If there isn't<br>enough memory for one copy of the image this is a problem. Many of the<br>VTK readers DO support streaming, and only read enough of the file for
<br>whatever filter is downstream. If you clip your image to show a slice,<br>or if you only want a VOI I'd use a VTK reader.<br><br>Most of the ITK filters support streaming, so you can do things like<br>VTKRead -> ITKFilter -> VTKWriter. Watch out for iterative filters
<br>though.<br><br><br></blockquote></div><br>