[Insight-developers] TCL Wrapping

Vincent A. Magnotta vincent-magnotta at uiowa.edu
Wed, 11 Feb 2004 11:09:48 -0600


I was getting some strange behavior with wrapping. I am working on a
couple of TCL scripts that use the TCL wrapping. I have been trying to
use the itkCastImageFilter. Here is the problem that I am seeing. If I
create a cast filter from F3 to F3 I have an SetInput method. If I
create a cast filter from UC3 to F3 I do not have a SetInput method.

I looked at the wrapping for the ImageToImageFilter and this has been
wrapped for only a very tiny subset of types. Actually  it is only
wrapped for float to float and unsigned short to unsigned short and some
potential conversion between 2D and 3D. I believe that we may want to
expand greatly the types in this file to match all of the types and
conversions between the valid image types wrapped for itkImage. If we
don't, this is going to repeatedly be an issue. 


Vince


-- 
Assistant Professor
Department of Radiology
0437 JCP
E-mail: vincent-magnotta at uiowa.edu
Phone: 319-356-8255
Fax: 319-353-6275
Website: http://www.radiology.uiowa.edu