Matplotlib canvas, figure, and axes used to display image.
Image being viewed. Setting this value will update the displayed frame.
Plugins typically operate on (but don't change) the original image.
List of attached plugins.
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.
Subclasses and plugins will likely extend the update_image
method to add custom overlays or filter the displayed image.
Image being viewed.
Viewer for displaying images.
>>> from skimage import dataSee :
... image = data.coins()
... viewer = ImageViewer(image) # doctest: +SKIP
... viewer.show() # doctest: +SKIP
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.viewer.canvastools.recttool.RectangleTool
skimage.viewer.viewers.core.ImageViewer
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them