[Insight-users] OpenMP itk

Vikash Gupta vikash.gupta at inria.fr
Thu Mar 21 14:09:44 EDT 2013


Hi itk Users, 
I want to do parallel operations on a series of images and then add the results of each individual thread. I am using openmp for parallelizing my for-loop as 

#pragma omp parallel for private() shared() 
for () 
{ 
} 

But I do not understand how to add the results from individual threads. 

Any help will be much appreciated 

Thanks 
Vikash 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130321/4673928e/attachment.htm>


More information about the Insight-users mailing list