[Insight-users] How to use itkCastImageFilter?
tsai
tsai at sjtu.edu.cn
Thu, 15 Apr 2004 17:16:17 +0800
Hello,Insight-users=A3=A1
How can i use itkCastImageFilter?when i use=
itkCastImageFilterUI2F2 like this:
caster=3DitkCastImageFilterUI2F2_New()
caster.SetInput(image)
it returns error msg:
File "E:\Bin\ITK\bin\release\itkCastImageFilter_2D.py", line=
4939, in <lambda>
__getattr__ =3D lambda self, name: _swig_getattr(self,=
itkCastImageFilterUI2F2
_Pointer, name)
File "E:\Bin\ITK\bin\release\itkCastImageFilter_2D.py", line=
21, in _swig_geta
ttr
raise AttributeError,name
AttributeError: SetInput
Did i use it in a wrong way?
Best Regards,
tsai
tsai at sjtu.edu.cn