<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Everyone,<br><br>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). <br><br>I am using an exhaustive optimizer (itk::ExhaustiveOptimizerv4) to explore the parametric space using VersorTranfrom (only 3D rotations). <br><br>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)). <br><br>//*******************************Here is my code*********<br>typedef itk::ExhaustiveOptimizerv4< double > ExOptimizerType;<br>ExOptimizerType::StepsType stepsLevel8( initialTransformCOM->GetParameters() );<br> stepsLevel8[0] = 3;<br> stepsLevel8[1] = 3;<br> stepsLevel8[2] = 3;<br> optimizerLevel8->SetNumberOfSteps( stepsLevel8 );<br> optimizerLevel8->SetStepLength( 10 );<br>//*******************************Here is my code*********<br><br>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?<br><br>Any help would be appreciated.<br><br>Thanks,<br>Sam<br> </div></body>
</html>