<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000">
<TITLE>Iteration Monitoring for LBFGSB optimization method</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">Hi all,</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">I</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">am learning how to</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">use LBFGSB (itk::LBFGSOptimizer.h).</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">I ran the example "DeformableRegistration8.cxx" and</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">found all current value of the cost function are zero (shown below).</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">T</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">he three values correspond to iteration number, current cost</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">function value, and</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">InfinityNormOfProjectedGradient</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">.</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">Starting Registration</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">0 0 0</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">0 0 0</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">0 0 0.000960382</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">1 0 0.000960382</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">1 0 0.00139707</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">2 0 0.00139707</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">2 0 0.00139707</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">2 0 0.00139707</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">2 0 0.00100493</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">3 0 0.00100493</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">3 0 0.00100493</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">3 0 0.00100493</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">3 0 0.00100493</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">3 0 0.00100493</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">3 0 0.00100493</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">3 0 0.00100493</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">The itk version</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">I</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas"> used is</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">“</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">InsightToolkit_2_25_2008</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">”</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">, not the released version.</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">Is it caused by the itk version?</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">Could anyone give me some hints?</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas"></FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">Thanks!</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">Youbing</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>