[ITK-users] ICB BSpline

Matt McCormick matt.mccormick at kitware.com
Wed Feb 18 10:38:20 EST 2015


Hi Leonardo,

Yes, this means you cannot use the LBFGS optimizer.

Examing the doxygen inheritance diagram from the
MultipleValuedNonLinearOptimizer class, it shows that the
LevenbergMarquardtOptimizer or the CumulativeGaussianOptimizer.

HTH,
Matt

On Wed, Feb 18, 2015 at 5:20 AM, Leonardo Onofri <l.onofri at outlook.com> wrote:
> Hi Matt,
>
> Thank you for your answer.
>
> This means that I cannot use the LBFGS optimizer, right?
>
> If so, which are good alternatives?
>
> Regards,
> Leonardo
>
>> Date: Tue, 17 Feb 2015 11:16:46 -0500
>> Subject: Re: [ITK-users] ICB BSpline
>> From: matt.mccormick at kitware.com
>> To: l.onofri at outlook.com
>> CC: insight-users at itk.org
>
>>
>> Hi Leonardo,
>>
>> When investigating the PointSetToPointSetRegistrationMethod [1],
>> doxygen or the source code shows that OptimizerType
>> MultipleValuedNonLinearOptimizer [2], and LBFGS does not inherit from
>> MultipleValuedNonLinearOptimizer [3] (click the Inheritance diagram
>> tab).
>>
>> HTH,
>> Matt
>>
>> [1]
>> http://www.itk.org/Doxygen/html/classitk_1_1PointSetToPointSetRegistrationMethod.html
>>
>> [2]
>> http://www.itk.org/Doxygen/html/classitk_1_1MultipleValuedNonLinearOptimizer.html
>>
>> [3] http://www.itk.org/Doxygen/html/classitk_1_1LBFGSOptimizer.html
>>
>> On Tue, Feb 17, 2015 at 6:38 AM, Leonardo Onofri <l.onofri at outlook.com>
>> wrote:
>> > Dear users,
>> >
>> >
>> >
>> > I would like to use ICP registration with BSpline transform.
>> >
>> >
>> >
>> > The problem is that I cannot use the LBFGS optimizer since I get this
>> > error:
>> >
>> >
>> >
>> > 'void
>> >
>> > itk::PointSetToPointSetRegistrationMethod<PointSetType,PointSetType>::SetOptimizer(itk::PointSetToPointSetRegistrationMethod<PointSetType,PointSetType>::OptimizerType
>> > *)' : cannot convert argument 1 from 'itk::LBFGSOptimizer::Pointer' to
>> >
>> > 'itk::PointSetToPointSetRegistrationMethod<PointSetType,PointSetType>::OptimizerType
>> > *'
>> >
>> >
>> >
>> > Regards,
>> >
>> >
>> > _____________________________________
>> > 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.php
>> >
>> > 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://public.kitware.com/mailman/listinfo/insight-users
>> >


More information about the Insight-users mailing list