[Insight-users] Problem with DeformableRegistration4.cxx example

Luis Ibanez luis.ibanez at kitware.com
Tue Jul 7 17:13:36 EDT 2009


Hi Motes,

We have seen this error message before but we have not narrow
down its real origin.

This is one of the problems of using FORTRAN libraries that are
no longer maintained and that do not have a support community
around them.   :-/


Hopefully one day,
Somebody will rewrite all this FORTRAN code.


In the meantime,

Please not that we have found that you can equally well use
the RegularStepGradientDescent optimizer in order to run
this type of registration.


If the LBFGSB optimizer is giving you trouble, I suggest you
replace the optimizer with another one.


See for example:

    DeformableRegistration15.cxx



    Regards,



         Luis



-------------------------
motes motes wrote:
> I am trying to run the
> 
> DeformableRegistration4.cxx
> 
> example. But after iteration 13 I get this error:
> 
>  IFLAG= -1  LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH 
> ERROR RETURN OF LINE SEARCH: INF
> O= 3 POSSIBLE CAUSES: FUNCTION OR GRADIENT ARE INCORRECT OR INCORRECT 
> TOLERANCESvnl_lbfgs: Error. Netlib routine lbfgs failed.
> Last Transform Parameters
> [0.0110048, 0.0479857, -0.109326, -0.00180805, 0.012474....
> 
> Any ideas?
> 
> 
> ------------------------------------------------------------------------
> 
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list