Hi all,<br><br> I found a small bug which can be annoying in some cases. If the same LBFGSBOptimizer is used for BSpline-based deformable registration twice (e.g. first in coarser grid and then in finer grid),<br>the initial output of the second registration will give the final iteration number of the first registration.<br>
<br> I am wondering if there is a way to reset m_CurrentIteration in itkLBFGSBOptimizer. Also, the variable m_InfinityNormOfProjectedGradient has the same issue.<br><br>Thanks,<br>Mengda<br>