[Insight-users] Multithreading - Before / After
Vikash Gupta
vikash.gupta at inria.fr
Sat Mar 23 16:38:58 EDT 2013
> How do I input the outputRegionForThread to an ITK filter in the
> Before call, send it to the ThreadedGenerateData call and afterwards
> send the result to the After call and output the filter?
Hi ,
As far as I understand you do not need to do anything special to do the pre and post multi-core operation. Just write the operations you want to do pre multi-core in BeforeThreadedGenerateData() and post multi-core in the AfterTHreadedGenerateData().
ITK takes care of the rest.
Hope this helps
Vikash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130323/425b8685/attachment.htm>
More information about the Insight-users
mailing list