[Insight-users] Resample an 2D RGB image in python

Matthias Seise mseise at gmx.de
Wed May 30 09:42:55 EDT 2012


Hi ITK users,

How can I resample an RGB image in python using either wrapITK or
SimpleITK. In C++ I used VectorResampleImageFilter and it worked fine.
In Python the Only instatiations of VectorResampleImageFilter are for
itk.Image[ itk.Vector[itk.F, 3], 3] and itk.Image[ itk.Vector[itk.F,
2], 2]. Both are not really usable for RGB images...

Any ideas/pointers?

Thanks,
Matthias


More information about the Insight-users mailing list