<DIV>Some questions related to BSpline Registration</DIV>  <DIV>&nbsp;</DIV>  <DIV>Parameters of Deformableregistration6.cxx&nbsp;are in the form </DIV>  <DIV><BR>&nbsp; I(Iteration) NFN&nbsp; FUNC GNORM STEPLENGTH.</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>Can someone tell me what these parameters represent?</DIV>  <DIV>&nbsp;</DIV>  <DIV>  <DIV><U>About LBFGS:</U></DIV>  <DIV><!--StartFragment -->At each iteration a limited memory BFGS approximation to the Hessian is updated. This limited memory matrix is used to define a quadratic model of the objective function .A search direction is then computed using a two-stage approach: first, the gradient projection method is used to identify a set of active variables, i.e. variables that will be held at their bounds; then the quadratic model is approximately minimized with respect to the free variables. The search direction is defined to be the vector leading from the current iterate to this approximate minimizer. Finally a line
 search is performed along the search direction&nbsp;. A novel feature of the algorithm is that the limited memory BFGS matrices are represented in a compact formthat is efficient for bound constrained problems. </DIV>  <DIV>&nbsp;</DIV></DIV>  <DIV><U>Input parameters</U></DIV>  <DIV>-max number. L-BFGS iterations</DIV>  <DIV>-max. no. of linesearch iterations-not used in my stoping criterion</DIV>  <DIV>-Step size stopping tolerance</DIV>  <DIV>-Gradient stopping tolerance</DIV>  <DIV>&nbsp;</DIV>  <DIV>I belive they represent something like this:</DIV>  <DIV>&nbsp;</DIV>  <DIV>I=the number of iterations for&nbsp; LBFGS-</DIV>  <DIV>At each iteration ' I ' the next values are computed:</DIV>  <DIV>NFN-number of&nbsp; cost functional and gradient evaluation&nbsp;per iteration</DIV>  <DIV>FUNC=&nbsp;values of cost functional-calculated based on Steplenght and initial cost func</DIV>  <DIV>GNROM&nbsp;-<!--StartFragment -->values of gradient-calculated based on StepLenght and initial
 cost func</DIV>  <DIV>STEPLENGHT= Quasi Newton&nbsp;step-computed by applying&nbsp;inverse of approximate Hessian to negative gradient </DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>Stoping criterion for LBFGS:</DIV>  <DIV>1)I&gt;=max number. L-BFGS iterations</DIV>  <DIV>2)STEPLENGHT_new/STEPLENGHT_old computed&nbsp;in the same iteration&lt;Step size stopping tolerance</DIV>  <DIV>3)GNROM_new/GNROM_old computed&nbsp;in the same iteration&lt;Gradient stopping tolerance</DIV>  <DIV>4)Maybe: NFN=max. no. of linesearch iterations not sure</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>Based on:http://www.math.montana.edu/~vogel/Courses/M591_2000/M591_codes/lbfgs/lbfgs.m</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>Teo</DIV><p>
                <hr size=1>Yahoo! for Good - 
<a href="http://us.rd.yahoo.com/mail_us/taglines/charity/*http://brand.yahoo.com/cybergivingweek2005/">Make a difference this year.</a>