Hide
Stay up to dateembedded code automagically updates, each snippet and article has a feed Join Siafoo Now or Learn More

Load NumPy Array into a VTK image Atom Feed 0

In Brief The version of vtkImageImportFromArray that ships with VTK (5.2 and earlier) does not work with NumPy arrays. This, [hopefuly] improved version should be compatible with NumPy.

The version of vtkImageImportFromArray that ships with VTK (5.2 and earlier) does not work with NumPy arrays. This, [hopefuly] improved version should be compatible with NumPy.