Dear Luis,<br><br>thank you, instead of going to the binary directory, I went to the source directory,<br>then built ITK and then did a build install. Compiling and building went okay after a few tries.<br><br>1) I did however see some comment in the build about having to use adjusted function calls<br>
in order to profit from the improved registration methods. <br> "add some new calls to these components." There are two examples in the /review directory,<br> but I couldn't really find anything useful there. Is there some more documentation available<br>
somewhere?<br><br>2) Are there any other interesting options that come available when "use_review" is enabled?<br> Is there documentation about that somewhere? <br><br>3) Now that optimization comes up, are there any options for GPU use in ITK?<br>
<br>cheers,<br><br>Michael<br><br><div class="gmail_quote">On Sat, Mar 6, 2010 at 7:19 PM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Michiel,<br>
<br>
<br>
1) You enable this variable by rerunning CMake in the<br>
binary directory of ITK, and going to the "Advanced"<br>
mode.<br>
<br>
<br>
2) You must first enable the variable<br>
<br>
ITK_USE_REVIEW<br>
<br>
Then you will see the option<br>
<div class="im"><br>
ITK_USE_OPTIMIZED_REGISTRATION_METHODS<br>
<br>
<br>
</div>3) This flag enables the use of Multi-Threaded metrics,<br>
that will take advantage of your multi-processor, and<br>
multi-core machines. In principle, your registrations<br>
will run N-times faster, where N is equal to the number<br>
of physical cores in your computer.<br>
<br>
<br>
4) One of the pitfalls is increased memory consumption.<br>
<br>
You should monitor your memory use as your use<br>
these classes.<br>
<br>
<br>
<br>
Regards,<br>
<br>
<br>
Luis<br>
<br>
<br>
---------------------------------------------------------------<br>
<div><div></div><div class="h5">On Thu, Mar 4, 2010 at 11:38 AM, michiel mentink<br>
<<a href="mailto:michael.mentink@st-hughs.ox.ac.uk">michael.mentink@st-hughs.ox.ac.uk</a>> wrote:<br>
><br>
> Browsing through a registration example, I found the variable<br>
> ITK_USE_OPTIMIZED_REGISTRATION_METHODS<br>
> that enables multithreading.<br>
><br>
> Where is that variable set? In CMakeLists.txt?<br>
> The advantage I presume is increased speed. Are there any pitfalls?<br>
><br>
> cheers, Michael<br>
><br>
</div></div><div><div></div><div class="h5">> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" 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" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
><br>
</div></div></blockquote></div><br>