[Insight-users] how can i cast an unsigned long image to float
image?
Luis Ibanez
luis.ibanez at kitware.com
Tue, 20 Apr 2004 13:55:11 -0400
Hi Tsai,
Are you using Tcl wrapping ?
This filter is not being wrapped for Unsinged Long to Float.
The current combinations are:
http://www.itk.org/cgi-bin/cvsweb.cgi/~checkout~/Insight/Wrapping/CSwig/BasicFiltersA/wrap_itkCastImageFilter_2D.cxx?rev=1.1&content-type=text/plain&cvsroot=Insight&only_with_tag=HEAD
If you really want to use this type instantiation (UL2 to F2),
then simply add the corresponding line to the file:
Insight/Wrapping/CSwig/BasicFiltersA/
wrap_itkCastImageFilter_2D.cxx
and rebuild ITK. (it doesn't have to be a clean build,
just "make" will do it).
Regards,
Luis
-------------------
tsai wrote:
> Hello,insight-usersŁĄ
> how can i cast an unsigned long image to float image?
> Can i use itkCastImageFilter?
> i didn't find a class like itkCastImageFilterUL2F2
>
>
>
> 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
>