[Insight-users] Is there a way to stop a registration?
Luis Ibanez
luis.ibanez at kitware.com
Wed, 14 Apr 2004 17:53:56 -0400
Hi Pablo,
You can stop the registration at the level of the
Optimizer since it is the one driving the registration
process.
I you are using any of the GradientDescentOptimizers
you simply call
optimizer->StopOptimization();
http://www.itk.org/Insight/Doxygen/html/classitk_1_1GradientDescentOptimizer.html
http://www.itk.org/Insight/Doxygen/html/classitk_1_1RegularStepGradientDescentBaseOptimizer.html
You will probably do this from the Execute() method
of one Command/Observer....
Regards,
Luis
-------------------------
Pablo D. Burstein wrote:
> Hi,
>
> Is there a way to (asynchronously) stop a registration process after
> calling ImageRegistrationMethod::StartRegistration?
>
> Thanks,
> Pablo
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>