Bases: skimage.viewer.viewers.core.ImageViewer
Viewer for displaying image collections.
Select the displayed frame of the image collection using the slider or with the following keyboard shortcuts:
- left/right arrows
- Previous/next image in collection.
- number keys, 0–9
- 0% to 90% of collection. For example, “5” goes to the image in the middle (i.e. 50%) of the collection.
- home/end keys
- First/last image in collection.
Subclasses and plugins will likely extend the update_image method to add custom overlays or filter the displayed image.
Parameters: | image_collection : list of images
update_on : {‘move’ | ‘release’}
|
---|
Update displayed image.
This method can be overridden or extended in subclasses and plugins to react to image changes.
Select image on display using index into image collection.
Bases: PyQt4.QtGui.QMainWindow
Viewer for displaying images.
This viewer is a simple container object that holds a Matplotlib axes for showing images. ImageViewer doesn’t subclass the Matplotlib axes (or figure) because of the high probability of name collisions.
Parameters: | image : array
|
---|
Examples
>>> from skimage import data
>>> image = data.coins()
>>> viewer = ImageViewer(image)
>>> viewer.show()
Attributes