<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Marie,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">an obvious thing to ask: are you running it in debug or release mode? The difference is usually huge.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">B-spline registration for your image could take a few minutes - 20 minutes for a single iteration sounds too long. A classic trick for speeding up registration is using multi-resolution approach. It usually involves more code and a lot more testing, though.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default"><font face="verdana, sans-serif">Dženan Zukić, PhD, Senior R&D Engineer, Kitware (Carrboro, N.C.)</font></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 5, 2017 at 4:00 PM, CocoM <span dir="ltr"><<a href="mailto:cgo_2113@hotmail.com" target="_blank">cgo_2113@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks a lot it's almost working now!<br>
<br>
I have another question, about the running time.<br>
I don't know anything about it but I'm surprised by the time needed for the<br>
algorithm to be done. I'm using the example DeformableRegistration5 (level<br>
set PDE solving), but I changed it to use B-spline interpolation. The<br>
running time is huge for 3D ; for 2D it takes a little less than 3 minutes<br>
and for 3D, I need approximately 20 minutes by iteration, so imagine the<br>
time needed by the whole process... My test image is 512x512x43, the<br>
algorithm is multi threads. I'm working on a six years old Asus laptop<br>
(X53S), nothing extraordinary. I couldn't say exactly what my CPU is but<br>
it's a Intel core i5. I know it's not great material but still, I feel like<br>
it's very slow. So could someone tell me if it's normal?<br>
<br>
The thing is I didn't change much, so I guess it is, but I wanted to ask<br>
anyway.<br>
<br>
Plus, if anyone has any idea to speed up the process, except buying a better<br>
computer, it would be really great!<br>
<span class=""><br>
Thanks a lot,<br>
Marie<br>
<br>
<br>
<br>
--<br>
</span>View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/3D-registration-with-level-set-motion-tp7590137p7590155.html" rel="noreferrer" target="_blank">http://itk-insight-users.<wbr>2283740.n2.nabble.com/3D-<wbr>registration-with-level-set-<wbr>motion-tp7590137p7590155.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>