[Insight-users] registration->Update() or registration->StartRegistration()?
Luis Ibanez
luis.ibanez at kitware.com
Tue Jun 30 10:57:28 EDT 2009
Hi Motes,
This is a trace of the evolution of the code.
In its early versions, the itk::ImageRegistrationMethod
was not deriving from the itk::ProcessObject, and therefore
it did not behave as a typical ITK Filter.
The method
StartRegistration()
is what we used to call in order to trigger the starting
of the registration process, in those early days.
Around 2004 we converted the ImageRegistrationMethod
into a filter, by adopting the use of Decorated objects
in order to produce a Transform as output.
At that point, the class was enriched with the Update()
method, (as well as GetOutput() method), and some
examples were modified in order to illustrate how to use
the registration class as a filter.
You will find however many examples that still use calls
to StartRegistration().
At this point,
both methods are equivalent,
and you can use either one.
In fact,
if you look at the code inside StartRegistration(),
it simply calls the this->Update() method.
Please let us know if you have further questions,
Thanks
Luis
-------------------------------------------------------------------------------------
On Tue, Jun 30, 2009 at 2:47 AM, motes motes <mort.motes at gmail.com> wrote:
> In the itkSoftwareGuide page 376 the registration process is started using
> the registration->StartRegistration() call.
>
> But actually it says before the code snippet that its started using the
> update() function.
>
> have used the update() function before and was wondering why in this
> example StartRegistration() is used. And what are the difference?
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090630/dbcc5ee4/attachment.htm>
More information about the Insight-users
mailing list