[Insight-users] How to use multithreaded filters

Mª Dolores Villalobos Ortiz lolalobos17 at yahoo.es
Mon Mar 21 14:12:45 EDT 2011


>> I'd like to know how to run several threads when I use a multithreaded-filter (e.g., FlipImageFilter).

>Normally for multithreaded filters I do nothing extra and ITK
>automatically processes with more than 1 thread. Are you sure
>FlipImageFilter is multithreaded? It may not be since I believe in
>most cases more than 1 thread will not improve performance.

>>  ITK toolkit and my example are compiled in Debug mode.

>That will cause the calculation to take sometimes as much as 50 times
>as long to execute.

>John


Thanks John.

According to itk documentation (http://www.itk.org/Doxygen/html/group__Multithreaded.html), FlipImageFilter is a multithreaded filter.

So, ¿is there any way to force ITK to use several threads in filtering?. I really need to know how multhreaded-filtering works.

Thank you

  Maria Dolores



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110321/ee22b2a0/attachment.htm>


More information about the Insight-users mailing list