[Insight-users] How to Use ItkImportImageFilter?
tsai
tsai@sjtu.edu.cn
Thu May 20 15:26:46 EDT 2004
Hello,Insight-users=A3=A1
i programmed with itk/python.but when i use=
itkImportImageFilter i get some trouble.
I can't invoke the function SetImportPointer() correctly.My code=
is like that:
itkimport=3DitkImportImageFilterUS2_New()
itkimport.SetImportPointer(imArray,len(imArray),1)
but there is always an error:
def SetImportPointer(*args): return=
_itkImportImageFilter.itkImportImageFil
erUS2_Pointer_SetImportPointer(*args)
TypeError: Expected a pointer
Best Regards,
tsai
tsai@sjtu.edu.cn
More information about the Insight-users
mailing list