[ITK] amoeba optimizer

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Nov 9 11:27:42 EST 2015


Hello,

I think there is some confusion between number of function evaluations and the current iteration with in the ITK to VNL wrapping. As I recall the iteration event occurs during an evaluation, not necessarily when the algorithm changed iteration.

Brad

On Nov 9, 2015, at 11:05 AM, Luigi Riba <ribaluigi at gmail.com> wrote:

> Hi Dženan,
> 
> thank you very much for your quick and informative reply. 
> 
> This could explain my problem. In fact, my registration process took 28 iteration to complete instead of 10 and all of them took almost the same time. Nevertheless, the optimizer knew the maximum number of iterations. In fact, this is the message I've got at the end:
> Optimizer stop condition: AmoebaOptimizerv4: Maximum number of iterations exceeded. Number of iterations is 10
> 
> By the way, I think it could be worth to add this info to the AmoebaOptimizer page description.
> 
> Best,
> 
> Luigi
> 
> 
> 2015-11-09 16:55 GMT+01:00 Dženan Zukić <dzenanz at gmail.com>:
> Hi Luigi,
> 
> I think that Amoeba optimizer does not count some initial iterations towards that limit. I use it for something and set iterations to 200, but it stops at 216 iterations or something like that. Tracing the code (for other reasons) I realized that its internal initialization procedure does some iterations before the main loop.
> 
> Regards
> 
> On Mon, Nov 9, 2015 at 10:12 AM, Luigi Riba <ribaluigi at gmail.com> wrote:
> Dear all,
> 
> I am registering a couple of volumes with ITK 4 on windows 7 64 bit.
> 
> I am trying to use the AmoebaOptimizerV4.
> 
> Unfortunately, the method 
> optimizer->SetNumberOfIterations(numberOfIterations);
> does not work and the registration continues after the numberOfIterations I choose.
> Is this known? Are there other methods in order to stop the registration process?
> 
> Best,
> 
> Luigi
> 
> 
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
> 
> 
> 
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20151109/91942b1d/attachment.html>


More information about the Community mailing list