[Insight-users] (no subject)

shoosh moosh babygirl_25 at hotmail.com
Wed Jul 9 16:09:31 EDT 2008


Guys,
Is there a way to cast from MultiResRegistrationFilterType to TransformType?
I'm trying to set the transform here:

  typedef itk::BSplineDeformableTransform < CoordinateRepType, SpaceDimension, SplineOrder>     TransformType;
  TransformType::Pointer  transform = TransformType::New();
  ...
  ...
  ...
  typedef itk::MultiResolutionPDEDeformableRegistration < InternalImageType, InternalImageType, DeformationFieldType> MultiResRegistrationFilterType;
  MultiResRegistrationFilterType::Pointer multires = MultiResRegistrationFilterType::New();
 
  multires->SetTransform( transform );

The last line give me an error because SetTransform is not a member function of the object multires's class.


_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline


More information about the Insight-users mailing list