[ITK-users] [ITK] ExhaustiveOptimizerv4 not working as expected

Matt McCormick matt.mccormick at kitware.com
Thu Apr 30 08:43:13 EDT 2015


Hi Jan,

>     steps[1] = 10;
>     steps[2] = 50;

> When I run this code, the number of iterations are 21. I would expect them
> to be 10*50 = 500, but the second steps entry seems to have no effect.

C++ arrays index from zero, so this should be:

  steps[0] = 10;
  steps[1] = 50;

HTH,
Matt


More information about the Insight-users mailing list