<br><font size=2 face="sans-serif">Dear ITK user,</font>
<br>
<br><font size=2 face="sans-serif">I want to use the LBFGS for centered
2D registration, instead of gradient descent, hoping for a little speed-up.
&nbsp;</font>
<br>
<br><font size=2 face="sans-serif">I exchanged the optimizer in one of
the multi-res examples.</font>
<br>
<br><font size=2 face="sans-serif">(The regular step gradient optimization
works fine. )</font>
<br>
<br><font size=2 face="sans-serif">The LBFGS version complains though:
</font>
<br>
<br><font size=2 face="sans-serif">&quot;All points mapped to outside of
the moving image&quot; </font>
<br>
<br><font size=2 face="sans-serif">I assume, I have made two possible errors:
</font>
<br>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 1.
Scales are not passed correctly to the LBFGS and back, so that the floating
image is indeed way off course </font>
<br>
<br>
<br><font size=2 face="sans-serif">and /or</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 2.
Transform and/or Metric do not deliver derivatives as the optimizer expects
it, and the registration method assumes that these values are zero</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">The exeception is thrown before any
optimizer positions are printed.</font>
<br>
<br><font size=2 face="sans-serif">Can you point me in the right direction?</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif"><br>
Felix. </font>