[Insight-users] DeformableRegistration4 example
Sara Rolfe
smrolfe at u.washington.edu
Sun Apr 18 19:06:33 EDT 2010
Thanks, I reverted to an older version of the example and that fixed
the problem.
Sara
On Apr 17, 2010, at 5:18 AM, Bill Lorensen wrote:
> Is the example from the same version of itk as the itk source code?
>
> The method: GetStopConditionDescription() exists in itkOptimizer which
> is a superclass of itkSingleValuesNonLinearOptimizer.
>
> Bill
>
> On Fri, Apr 16, 2010 at 8:04 PM, Sara Rolfe
> <smrolfe at u.washington.edu> wrote:
>> Hello,
>>
>> I'm working through the deformable registration examples. I'm
>> attempting to
>> use the DeformableRegistration4 example with the provided sample
>> images and
>> have run into some difficulties. First, when I try to compile, I
>> get the
>> error:
>>
>> ‘class itk::SingleValuedNonLinearOptimizer’ has no member named
>> ‘GetStopConditionDescription’
>>
>> I can get around this and compile by commenting out the line
>> referred to.
>> However, when I run I then get another error:
>>
>> THE SEARCH DIRECTION IS NOT A DESCENT DIRECTION
>> vnl_lbfgs: Error. Netlib routine lbfgs failed.
>> ExceptionObject caught !
>>
>> itk::ExceptionObject (0x3b82340)
>> Location: "virtual void itk::LBFGSOptimizer::StartOptimization()"
>> File:
>> /opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_graphics_InsightToolkit/work/
>> InsightToolkit-3.14/Code/Numerics/itkLBFGSOptimizer.cxx
>> Line: 263
>> Description: itk::ERROR: LBFGSOptimizer(0x3b7e7d0): Error occured in
>> optimization
>>
>>
>> IFLAG= -1 LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH
>> ERROR
>> RETURN OF LINE SEARCH: INFO= 0 POSSIBLE CAUSES: FUNCTION OR
>> GRADIENT ARE
>> INCORRECT OR INCORRECT TOLERANCES
>>
>> Since I'm working with an example using the provided images, I
>> assume this
>> is related to my itk installation? Please let me know if anyone
>> has any
>> leads.
>>
>> Thanks!
>> Sara
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.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