[Insight-users] how to dynamic choose different method?
wavelethe at pku.org.cn
wavelethe at pku.org.cn
Wed, 17 Mar 2004 14:04:50 +0800 (CST)
i want to use different method for registration, and maybe make the dicision in runtime.
i had tried such as:
typedef itk::Optimizer OptimizerType;
typedef itk::RegularStepGradientDescentOptimizer GradientOptimizerType;
OptimizerType::Pointer optimizer = GradientOptimizerType::New();
registration->SetOptimizer( optimizer );
unluckily, these codes produce many errors.
what should i do? please help me!
best regards!
---------------------------------------------------------------
欢迎使用北京大学校友网(PKUAA)电子邮件系统 http://www.pku.org.cn