[Insight-users] Bug in MultiResolutionPDEDeformableRegistration

Bill Lorensen bill.lorensen at gmail.com
Wed Mar 3 14:46:47 EST 2010


itkImage now behaves exactly as itkOrientedImage. In other words, you
no longer need to use itkOrientedImage.
This happened in release 3.10. There is a cmake option:
ITK_IMAGE_BEHAVES_AS_ORIENTED_IMAGE to control this behaviour, but the
default is ON. Check your CMakeCache.txt to make sure this cmake
variable is ON.

Bill

On Wed, Mar 3, 2010 at 3:33 AM, Lodron, Gerald
<Gerald.Lodron at joanneum.at> wrote:
>
> 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
>
>
>
>
>
> _____________________________________
> 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