[ITK] Cost Function Evaluations at MultiResolutions

Bill Lorensen bill.lorensen at gmail.com
Wed Jun 15 11:47:58 EDT 2016


This example may help:
https://itk.org/Wiki/ITK/Examples/Registration/ExhaustiveOptimizer


On Wed, Jun 15, 2016 at 11:04 AM, wassim bouzeid
<abou_zeid_wassim at hotmail.com> wrote:
> Hi Everyone,
>
> I want to determine the rotational transformations corresponding to the
> extrema of the cost function at the first level of resolution (both images
> are subsampled by a factor of 8 and interpolated).
>
> I am using an exhaustive optimizer (itk::ExhaustiveOptimizerv4) to explore
> the parametric space using VersorTranfrom (only 3D rotations).
>
> The parametric space is explored using large rotation angles (coarse grid)
> with large step size . For example, If I have three values per dimension,
> there is 125 possible configurations  for my parameter settings
> ((-20,-20,-10),(-20,-20,-10)...(-20,-20,10)).
>
> //*******************************Here is my code*********
> typedef itk::ExhaustiveOptimizerv4< double > ExOptimizerType;
> ExOptimizerType::StepsType stepsLevel8( initialTransformCOM->GetParameters()
> );
>   stepsLevel8[0] = 3;
>   stepsLevel8[1] = 3;
>   stepsLevel8[2] = 3;
>   optimizerLevel8->SetNumberOfSteps( stepsLevel8 );
>   optimizerLevel8->SetStepLength( 10 );
> //*******************************Here is my code*********
>
> I am feeling that I am missing something such the range that the optimizer
> has to explore. Is this the correct way to do it?
>
> Any help would be appreciated.
>
> Thanks,
> Sam
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Community mailing list