mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-20 12:50:52 +08:00
Fix display of overlay plugin when original image is updated
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
==============================================
|
||||
``CollectionViewer`` with an ``OverlayPlugin``
|
||||
==============================================
|
||||
|
||||
Demo of a CollectionViewer for viewing collections of images with an
|
||||
overlay plugin.
|
||||
|
||||
"""
|
||||
from skimage import data
|
||||
|
||||
from skimage.viewer import CollectionViewer
|
||||
from skimage.viewer.plugins.canny import CannyPlugin
|
||||
|
||||
|
||||
img_collection = [data.camera(), data.coins(), data.text()]
|
||||
|
||||
viewer = CollectionViewer(img_collection)
|
||||
viewer += CannyPlugin()
|
||||
|
||||
viewer.show()
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
=================
|
||||
Collection plugin
|
||||
=================
|
||||
==================================
|
||||
``CollectionViewer`` with a plugin
|
||||
==================================
|
||||
|
||||
Demo of a CollectionViewer for viewing collections of images with the
|
||||
`autolevel` rank filter connected as a plugin.
|
||||
|
||||
Reference in New Issue
Block a user