<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Hi,</DIV>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV> </DIV>
<DIV>I try to register two brains.</DIV>
<DIV>I’ve tried the rigid methode and that works but I want better
results.</DIV>
<DIV>So I've tried the affine one...</DIV>
<DIV> </DIV>
<DIV>I’ve a scaling problem : at the beginning the size of the two brains are
quiet equal but, for example, at the iteration number 10 the size of the moving
brain is little compered to the fixed one !</DIV>
<DIV> </DIV>
<DIV>I think the problem could be here in my code : </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>double translationScale = 1.0 / 1000.0;</DIV>
<DIV>typedef OptimizerType::ScalesType
OptimizerScalesType;</DIV>
<DIV>OptimizerScalesType optimizerScales( transform->GetNumberOfParameters()
);</DIV>
<DIV> </DIV>
<DIV>optimizerScales[0] = 1.0;</DIV>
<DIV>optimizerScales[1] = 1.0;</DIV>
<DIV>optimizerScales[2] = 1.0;</DIV>
<DIV>optimizerScales[3] = 1.0;</DIV>
<DIV>optimizerScales[4] = 1.0;</DIV>
<DIV>optimizerScales[5] = 1.0;</DIV>
<DIV>optimizerScales[6] = 1.0;</DIV>
<DIV>optimizerScales[7] = 1.0;</DIV>
<DIV>optimizerScales[8] = 1.0;</DIV>
<DIV>optimizerScales[9] = translationScale;</DIV>
<DIV>optimizerScales[10] = translationScale;</DIV>
<DIV>optimizerScales[11] = translationScale;</DIV>
<DIV> </DIV>
<DIV>optimizer->SetScales( optimizerScales );</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I take it from <FONT face="Courier New">ImageRegistration20.</FONT></DIV>
<DIV>Do someone know the ScalesType order ? Translation then rotation the
scaling ? I didn’t find it...</DIV>
<DIV>Do someone know why the size of the moving image decrease ? :(</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV> </DIV>
<DIV>Guibs</DIV></DIV></DIV></DIV></DIV></DIV></BODY></HTML>