numpy_to_texture#
- numpy_to_texture(image)[source]#
Convert a NumPy image array to a vtk.vtkTexture.
- Parameters
- image
numpy.ndarray
Numpy image array.
- image
- Returns
vtkTexture
VTK texture.
Convert a NumPy image array to a vtk.vtkTexture.
numpy.ndarray
Numpy image array.
vtkTexture
VTK texture.