[Insight-users] Problem with wrapping itk

alex sando yejun.alex at gmail.com
Mon Nov 30 22:50:30 EST 2009


        hi all, i was trying the registration examples of ITK using WrapITK,
but i got a problem....
       Here is my code:

        registration_object =
itk.ImageRegistrationMethod[itk.Image.F2,itk.Image.F2].New()
        #...registration codes...
        resampler = itk.ResampleImageFilter[itk.Image.F2,
itk.Image.F2].New()
        resampler.SetInput(i1)
        resampler.SetTransform(registration_object.GetOutput().Get())

~~~~~~~AttributeError: 'str' object has no attribute 'Get'
        Any suggestions? thanks in advance~~

        alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091201/311903c3/attachment.htm>


More information about the Insight-users mailing list