skimage 0.17.2

AttributesParametersBackRef

Attributes

canvas, fig, ax : Matplotlib canvas, figure, and axes

Matplotlib canvas, figure, and axes used to display image.

image : array

Image being viewed. Setting this value will update the displayed frame.

original_image : array

Plugins typically operate on (but don't change) the original image.

plugins : list

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.

Parameters

image : array

Image being viewed.

Viewer for displaying images.

Examples

This example is valid syntax, but we were not able to check execution
>>> from skimage import data
... image = data.coins()
... viewer = ImageViewer(image) # doctest: +SKIP
... viewer.show() # doctest: +SKIP
See :

Back References

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

Local connectivity graph

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


File: /skimage/viewer/viewers/core.py#48
type: <class 'type'>
Commit: