[Insight-users] Bug in MultiResolutionPDEDeformableRegistration
Lodron, Gerald
Gerald.Lodron at joanneum.at
Wed Mar 3 03:33:26 EST 2010
Hello
The itk::MultiResolutionPDEDeformableRegistration can only handle itk::Images, no itk::OrientedImages:
My test:
typedef itk::OrientedImage<float,2> TestImageType;//itk::Image instead of itk::Oriented image will work
typedef itk::Vector<float,2> TestVectorPixelType;
typedef itk::OrientedImage<TestVectorPixelType,2> TestDeformationFieldType;//itk::Image instead of itk::Oriented image will work
typedef itk::DemonsRegistrationFilter<TestImageType, TestImageType, TestDeformationFieldType> TestRegistrationFilterType;
TestRegistrationFilterType::Pointer oTestFilter = TestRegistrationFilterType::New();
typedef itk::MultiResolutionPDEDeformableRegistration< TestImageType, TestImageType, TestDeformationFieldType >TestMultiResRegistrationFilterType;
TestMultiResRegistrationFilterType::Pointer oTestMultires = TestMultiResRegistrationFilterType::New();
oTestMultires->SetRegistrationFilter( oTestFilter ); //Compile error if OrientedImages are used
More information about the Insight-users
mailing list