[vtkusers] vtkImageImportFromArray for numpy?

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Mar 18 06:34:46 EDT 2009


VTK/Wrapping/Python/vtk/util/numpy_support.py

On Wed, Mar 18, 2009 at 10:54 AM, Mathias Franzius
<Mathias.Franzius at web.de> wrote:
> Dear ng,
>
> I noticed that the python bindings for vtk have a utils.vtkImageImportFromArray and utils.vtkImageExportToArray.
> Problem is that these functions use Numeric, which has long since evolved into numpy.
> Has anyone ported the functions to numpy yet?
>
> Thx!
>   Mathias
>
> PS: The two functions are by default not available in the vtk name space (they are omitted in the utils.__init__.py. That seems like a bug - or did I miss sth?
> _______________________________________________________________________
> DSL zum Nulltarif + 20 Euro Extraprämie bei Online-Bestellung über die
> DSL Freundschaftswerbung! http://dsl.web.de/?ac=OM.AD.AD008K15279B7069a
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Mathieu



More information about the vtkusers mailing list