<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.
</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">"All points mapped to outside of
the moving image" </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"> 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"> 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>