[vtkusers] How to convert vtkImageData to Numpy Array?

Jothybasu K Selvaraj jothybasu at gmail.com
Mon Apr 19 07:20:42 EDT 2010


Hi all,

I want to convert a vtkImageData to Numpy array.The built in numpy support
only seem to support linear array.

Is there any other method to do this? If not, I have to create by getting
the scalarComponet one by one to create the 3D array.

Thanks,

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100419/7ded2d98/attachment.htm>


More information about the vtkusers mailing list