[Insight-users] How to use itkCastImageFilter?

Luis Ibanez luis.ibanez at kitware.com
Thu, 15 Apr 2004 12:24:23 -0400


Hi Tsai,

This was due to the lack of wrapping in one of
the superclasses of the CastImageFilter, the
ImageToImageFilter.

This has been solved now. You should simply
update your CVS checkout in order to get
these modifications.

Note that Readers and Writers for several image
pixel types were also missing. They were added today.

Please let us know if you find any further
problems.


  Thanks


     Luis


--------------------
tsai wrote:
> Hello,Insight-usersŁĄ
>      How can i use itkCastImageFilter?when i use itkCastImageFilterUI2F2 like this:
> 
> caster=itkCastImageFilterUI2F2_New()
> caster.SetInput(image)
> 
>     it returns error msg:
>   File "E:\Bin\ITK\bin\release\itkCastImageFilter_2D.py", line 4939, in <lambda>
> 
>     __getattr__ = 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
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>