<br>Hi Haiyong,<br><br>No, you can't use single value optimizers with the current<br><br> itkPointSetToPointSetRegistrationMethod<br> itkPointSetToPointSetMetric<br><br><br>However,<br><br>You can easily clone these two classes, by copy/pasting<br>
the files, renaming them, and replacing internally the string<br><br> "MultiValue" <br><br>with<br><br> "SingleValue"<br><br>It should take just some minutes to do so,<br><br>
Once you have those cloned classes, you should be <br>able to use them with single valued optimizers.<br><br>Note however, that a single valued optimizer works<br>on a resuded amount of information, and therefore<br>it may take longer to converge than a multi-valued one.<br>
<br><br>Please let us know if you run into any problem.<br><br><br><br>BTW: Once you are done, you may want to share<br>the resulting classes with the ITK community,<br>by posting them to the Insight Journal. :-)<br><br>
<br><br> Thanks<br><br><br> Luis<br><br><br><br>----------------------------------------------------------------------------------------------<br><div class="gmail_quote">On Fri, Sep 10, 2010 at 11:34 AM, Haiyong Xu <span dir="ltr"><<a href="mailto:haiyeong@gmail.com">haiyeong@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi there,<br>
<br>
I noticed that both optimizer and metric in<br>
itk::PointsetToPointsetRegistration are multiple valued. Is there any<br>
way to utilized single valued optimizers, such as<br>
OnePlusOneEvolutionaryOptimizer, in the registration method? The same<br>
question has been raised to this list in 2007,<br>
<a href="http://public.kitware.com/pipermail/insight-users/2007-April/021755.html" target="_blank">http://public.kitware.com/pipermail/insight-users/2007-April/021755.html</a>,<br>
but there is no answer yet. Thanks.<br>
<br>
--Haiyong Xu<br>
_____________________________________<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>
</blockquote></div><br>