ImageView

class pyqtgraph.ImageView(parent=None, name='ImageView', *args)
__init__(parent=None, name='ImageView', *args)
jumpFrames(n)

If this is a video, move ahead n frames

setImage(img, autoRange=True, autoLevels=True, levels=None, axes=None, xvals=None, pos=None, scale=None)

Set the image to be displayed in the widget. Options are:

img: ndarray; the image to be displayed. autoRange: bool; whether to scale/pan the view to fit the image. autoLevels: bool; whether to update the white/black levels to fit the image. levels: (min, max); the white and black level values to use. axes: {‘t’:0, ‘x’:1, ‘y’:2, ‘c’:3}; Dictionary indicating the interpretation for each axis.

This is only needed to override the default guess.
timeIndex(slider)

Return the time and frame index indicated by a slider

Previous topic

PlotWidget

Next topic

DataTreeWidget

This Page