<div dir="ltr">Hi again Hana,<div><br></div><div>Sorry for the delay, I'm just catching up on missed emails from the U.S. holiday. I'm not quite sure what your issue with header files is, can you please clarify?</div>
<div><br></div><div>Thanks,</div><div>Brian</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 30, 2013 at 7:55 AM, Hana Cherif <span dir="ltr"><<a href="mailto:hanacherif62@gmail.com" target="_blank">hanacherif62@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span lang="en"><span>I get that my</span> <span>program does not take</span> <span>into account the</span> <span>header</span> <span>files from my</span> <span>optimizer</span><span> ,</span> <span>as</span> <span>when I tried</span> <span>to modify the</span> <span>header</span> <span>file</span> <span>optimizer</span> <span>so that it displays</span> <span>me</span> <span>an</span> <span>error</span> <span>!! when</span> <span>I did the</span> <span>compilation</span> <span>it works</span> <span>without any error !<br>
<br> Would you give me some hint of that please, thanks <br></span></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/28 Brian Helba <span dir="ltr"><<a href="mailto:brian.helba@kitware.com" target="_blank">brian.helba@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I would try some much larger maximum step values. You program appears to be spending iterations while not making very much progress at the start.</p>
<p dir="ltr">Also, when you're tuning things, it can be helpful to print the moving image parameters on each iteration, in addition to the cost function.</p>
<div class="gmail_quote"><div><div>On Nov 27, 2013 5:42 PM, "Hana Cherif" <<a href="mailto:hanacherif62@gmail.com" target="_blank">hanacherif62@gmail.com</a>> wrote:<br type="attribution"></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr"><div><div><br></div>Hello every body !<br><br><br></div><div>After execution of my images' registration program , using this components:<br><br></div><div>Regular Step Gradient Descent Optimizer,<br>Mean Squares Image To Image Metric<br>
</div><div>Bspline interpolator<br><br> I get this results::<br><br><br>Iteration number: Cost function value <br><br><br>0 2732.74 <br>1 2700.84 <br>
2 2699.27 <br>3 2701.48 <br>4 2703.19 <br>5 2700 <br>6 2704.12 <br>
7 2705.1 <br>8 2705.27 <br>9 2705.4 <br>10 2702.91 <br>11 2705.15 <br>
12 2713.1 <br>13 2720.48 <br>14 2720 <br>15 2715.81 <br>16 2704.64 <br>
17 2687.46 <br>18 2666.14 <br>19 2639.91 <br>20 2613.11 <br>21 2587.55 <br>
22 2564.89 <br>23 2546.22 <br><br></div><div>I use this parameters:<br> optimizer->SetMaximumStepLength(0.10 );<br> optimizer->SetMinimumStepLength( 0.05);<br>
optimizer->SetRelaxationFactor(0.5);<br><br></div><div>My question is : as you see i the results the value of the cost function increases i want to know why can be the reason of this results please!! is it just a probleme of parameters??<br>
<br></div><div>Thanks !<br></div><div><br></div><div><br></div></div>
<br></div></div>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br></blockquote></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Brian Helba<br>Medical Imaging<br>Kitware, Inc.<br>
</div>