MantisBT - ITK
View Issue Details
0003205ITKpublic2006-05-05 10:212010-12-06 11:28
Tom Vercauteren 
Ziv Yaniv 
lowfeaturealways
assignedopen 
 
 
0003205: Record the best value visited by an optimizer
It is possible for several optimizers in ITK not to optimize the metric value at each step. Hence the last position might not be the best position visited by the optimizer.

The "disturbing" thing is that the optimizers (and registration methods) only allow to directly query for the last position (using optimizer->GetCurrentPosition() or registration->GetLastTransformParameters() ).

I know it is possible to keep the best position by using observers, but it would be nice if the optimizers could keep this best position and if we could simply call something like optimizer->GetBestPosition() or registration->->GetBestTransformParameters().

Of course some optimizers (e.g. Powell, LBFGS, FRPR etc.) do not need to store this position as they can only optimize the metric value. In such a case GetBestPosition() could simply call GetCurrentPosition().
No tags attached.
related to 0003606assigned brian avants RegularStepGradientDescentOptimizer reports current position out of sync in iteration event 
Issue History
2007-09-19 12:31Luis IbanezStatusacknowledged => assigned
2007-09-19 12:31Luis IbanezAssigned ToLydia Ng => Luis Ibanez
2007-09-19 12:31Luis IbanezNote Added: 0009147
2007-09-19 12:31Luis IbanezAssigned ToLuis Ibanez => Stephen Aylward
2010-10-21 12:59Hans JohnsonNote Added: 0022613
2010-10-21 12:59Hans JohnsonAssigned ToStephen Aylward => Luis Ibanez
2010-11-05 00:26Cory W QuammenRelationship addedrelated to 0003606
2010-11-07 03:01Luis IbanezAssigned ToLuis Ibanez => brian avants
2010-12-06 11:28brian avantsAssigned Tobrian avants => Ziv Yaniv

Notes
(0009147)
Luis Ibanez   
2007-09-19 12:31   
To be solved in WA10.
(0022613)
Hans Johnson   
2010-10-21 12:59   
Brian Avants to consider this during the ITKv4 image registration refactoring.