GLImageItem

class pyqtgraph.opengl.GLImageItem(data, smooth=False, glOptions='translucent')[source]

Bases: GLGraphicsItem

Displays image data as a textured quad.

__init__(data, smooth=False, glOptions='translucent')[source]

Arguments:

data

Volume data to be rendered. Must be 3D numpy array (x, y, RGBA) with dtype=ubyte. (See functions.makeRGBA)

smooth

(bool) If True, the volume slices are rendered with linear interpolation