Hello everyone, I am trying to write a python script (using ITK Python wrappers generated using CSwig) to replicate the task done by ResampleVolumesToBeIsotropic.cxx in the Examples/Filtering folder. I was unsuccessful and the problem comes down to the fact that I am not able to set a the tranform object to the resampling filter. The problem can be reproduced by the following few commands in the Python prompt: >>> import InsightToolkit as ITK >>> a = ITK.itkResampleImageFilterF3F3_New() >>> b = ITK.itkIdentityTransform3_New() >>> a.SetTransform(b) The error I obtain is as follows: Traceback (most recent call last): File "", line 1, in File "D:/Adarsh/Insight/bin/bin/Release\itkResampleImageFilter.py", line 299, in SetTransform def SetTransform(*args): return _itkResampleImageFilter.itkResampleImageFilterF3F3_Pointer_SetTransform(*args) TypeError: Type error. Got _p_itk__SmartPointerTitk__IdentityTransformTdouble_3u_t_t, expected _p_itk__TransformTdouble_3u_3u_t. Can someone help me identify the problem? Thank you, Adarsh K. Ramasubramonian, Rensselaer Polytechnic Institute, Troy NY 12180