[Insight-users] about point set registration

Yixun Liu yxliu at fudan.edu.cn
Fri Sep 9 05:28:24 EDT 2005


Hi,
I use the PointSetToPointSetRegistrationMethod to register two point sets. 
The transform is Bspline, the Metric is ICP and the Optimizer is LBFGSBOptimizer.
However, the error appear in the code:  
registration->SetOptimizer(     optimizer     );

The error is:
cannot convert parameter 1 from 'class itk::SmartPointer<class itk::LBFGSBOptimizer>' to 'class itk::MultipleValuedNonLinearOptimizer *'

As I know the ICP is a single value function, so the optimizer should be SingleValuedNonLinearOptimizer. 
Why does PointSetToPointSetRegistrationMethod use the MultiValuesNonLinearOptimizer as its optimizer?
Which optimizer should I use?

Regards,
Yixun Liu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050909/82a97529/attachment.html


More information about the Insight-users mailing list