No subject


Wed May 9 12:08:04 EDT 2012


pipeline will be able to handle this case, and it will not cause an
error or warning.

>
> - To enable streaming in practice, is using the StreamingImageFilter
> necessary? or can I just modify one of the filters in the pipeline, e.g. by
> calling the ImageFileWriter -> SetNumerOfStreamDivision(n) with n>1 ?

StreamingImageFilter can be applied.  ImageFilterWriter also works if
you are writing a MetaImage (.mha or .mhd file).  Most other file
formats are not streamable at this time.

HTH,
Matt

On Tue, Nov 27, 2012 at 6:41 PM, Jack Lee <jack.lee at kcl.ac.uk> wrote:
> Dear all,
>
> I have some general questions regarding streaming and multi-threading in itk
> that I couldn't easily figure out from the web searches:
>
> - If threadedGenerateData() implemented for a filter, does it mean it's both
> streamable & multithreaded? Or is there another independent mechanism for a
> filter to be streamable?
>
> - Generally itk will try to use all available cores, but it appears that the
> number of streams has to be manually set. Does this mean that each stream
> will be multi-threaded?
>
> - In a pipeline, if just one filter isn't streamable, would that mean the
> whole pipeline isn't streamable? Will such a pipeline simply cause an error,
> or does itk have some mechanism for detecting and warning these cases?
>
> - To enable streaming in practice, is using the StreamingImageFilter
> necessary? or can I just modify one of the filters in the pipeline, e.g. by
> calling the ImageFileWriter -> SetNumerOfStreamDivision(n) with n>1 ?
>
> Many thanks,
>
> Jack
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list