numpy_to_texture#

numpy_to_texture(image)[source]#

Convert a NumPy image array to a vtk.vtkTexture.

Parameters
imagenumpy.ndarray

Numpy image array.

Returns
vtkTexture

VTK texture.