<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Mark Wyszomierski</b> &lt;<a href="mailto:markww@gmail.com">markww@gmail.com</a>&gt;<br>Date: Dec 14, 2005 1:01 PM
<br>Subject: Re: [Insight-users] dual processor<br>To: indian rock &lt;<a href="mailto:indianrock@gmail.com">indianrock@gmail.com</a>&gt;<br><br></span>
<div>No, I didn't find any open source methods.&nbsp;Did you check if&nbsp;specific registration methods are internally multithreaded through ITK? (Maybe</div>
<div>I'm getting mixed up with VTK). I thought some were though.</div>
<div>&nbsp;</div>
<div>What I did for myself though was to first create a thread pool with the number of processors available. Then simply start a loop registering your batch of images/volumes, letting registration threads that become free constantly be at work handling the next task in the batch. You only need 
</div>
<div>one thread procedure where the ITK registration code lives, and in fact the most difficult part is setting up the efficient control loop which parses out the registration threads as they become free. </div>
<div>&nbsp;</div>
<div>What platform are you using?</div>
<div><span class="e" id="q_1082a6f42e6c6221_1">
<div>&nbsp;</div>
<div><span class="gmail_quote">Mark</span></div>
<div><span class="gmail_quote"></span>&nbsp;</div>
<div><span class="gmail_quote"></span>&nbsp;</div>
<div><span class="gmail_quote">On 12/14/05, <b class="gmail_sendername">indian rock</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:indianrock@gmail.com" target="_blank">indianrock@gmail.com
</a>&gt; wrote:</span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Mark,<br><br>Thanks for the quick response.<br>Is the multithreaded reigstration code available open souce? 
<br><br>Thanks,<br><span>IR.</span> 
<div><span><br><br>
<div><span class="gmail_quote">On 12/14/05, <b class="gmail_sendername">Mark Wyszomierski</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:markww@gmail.com" target="_blank">markww@gmail.com</a>
 &gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>I've multithreaded my registration method to make use of multiple processors. As expected, the registration time is decreased by</div>
<div>just about the number of processors available. </div>
<div>&nbsp;</div>
<div>Mark<br><br>&nbsp;</div>
<div>
<div><span><span class="gmail_quote">On 12/14/05, <b class="gmail_sendername">indian rock</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:indianrock@gmail.com" target="_blank"> indianrock@gmail.com 
</a>&gt; wrote:</span> </span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div><span>Hi,<br><br>Currently, it takes around 4 minutes to do my registration using ITK. <br><br>Apart from optimizing the code (no. of iterations, step length, etc)... are there any other ways, to speed up the registration? 
<br>Does anyone know if ITK makes use of a dual processor? Will an additional processor impact the performance?<br><br>Also, has anyone had experience with hardware accelerators? Do those help in speeding up the registration? 
<br><br>Any help will be highly appreciated..<br>Thanks,<br><span>IR.<br></span><br></span></div>_______________________________________________<br>Insight-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org" target="_blank">
Insight-users@itk.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br><br>
<br></blockquote></div><br></blockquote></div><br></span></div></blockquote></div><br></span></div>