<div>Tomash,</div>
<div> </div>
<div>This is a good idea. Please add a bug at: <a href="http://public.kitware.com/Bug/bug_report_advanced_page.php">http://public.kitware.com/Bug/bug_report_advanced_page.php</a> as a feature request and assign it to me,
</div>
<div> </div>
<div>Bill<br><br></div>
<div class="gmail_quote">On Nov 1, 2007 7:35 AM, Tomáš Kazmar <<a href="mailto:Tomash.Kazmar@seznam.cz">Tomash.Kazmar@seznam.cz</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br> I use LBFGS optimizer in 2D image registration, optimizer parameters are set<br>to reasonable values and work for almost all images I need it to. The problem is
<br>when optimization fails I would like to change parameters according to why<br>optimization failed. Is there any way how to get value of INFO variable that is<br>in the description of error?<br><br>vnl_lbfgs: ** EEEK **
<br> IFLAG= -1 LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH ERROR RETURN OF LINE SEARCH: INFO= 4 POSSIBLE CAUSES: FUNCTION OR GRADIENT ARE INCORRECT OR INCORRECT TOLERANCESExceptionObject caught !<br><br>itk::ExceptionObject (0x82bb5e8)
<br>Location: "virtual void itk::LBFGSOptimizer::StartOptimization()"<br>File: /afs/ms/u/k/kazmt1am/BIG/diplo/itk/Insight/Code/Numerics/itkLBFGSOptimizer.cxx<br>Line: 263<br>Description: itk::ERROR: LBFGSOptimizer(0x9976048): Error occured in optimization
<br><br>Than it would be possible to rerun the optimization, eg. with larger step, smaller<br>step or changed tollerances.<br><br>I would appreciate any help.<br><br>Tomash<br>_______________________________________________
<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users
</a><br></blockquote></div><br>