Hi Motes,<br><br><br> This is a trace of the evolution of the code.<br><br><br>In its early versions, the itk::ImageRegistrationMethod<br>was not deriving from the itk::ProcessObject, and therefore<br>it did not behave as a typical ITK Filter.<br>
<br>The method<br><br> StartRegistration()<br><br>is what we used to call in order to trigger the starting<br>of the registration process, in those early days.<br><br>Around 2004 we converted the ImageRegistrationMethod<br>
into a filter, by adopting the use of Decorated objects<br>in order to produce a Transform as output.<br><br>At that point, the class was enriched with the Update()<br>method, (as well as GetOutput() method), and some <br>
examples were modified in order to illustrate how to use<br>the registration class as a filter.<br><br>You will find however many examples that still use calls<br>to StartRegistration().<br><br>At this point, <br>both methods are equivalent, <br>
and you can use either one.<br><br><br>In fact, <br>if you look at the code inside StartRegistration(),<br>it simply calls the this->Update() method.<br><br><br><br> Please let us know if you have further questions,<br>
<br><br> Thanks<br><br><br> Luis<br><br><br><br>-------------------------------------------------------------------------------------<br><div class="gmail_quote">On Tue, Jun 30, 2009 at 2:47 AM, motes motes <span dir="ltr"><<a href="mailto:mort.motes@gmail.com">mort.motes@gmail.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;">In the itkSoftwareGuide page 376 the registration process is started using the registration->StartRegistration() call.<br>
<br>But actually it says before the code snippet that its started using the update() function.<br>
<br>have used the update() function before and was wondering why in this example StartRegistration() is used. And what are the difference?<br>
<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>
Please keep messages on-topic and check the ITK FAQ at: <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></blockquote></div><br>