Fix display of overlay plugin when original image is updated

This commit is contained in:
Tony S Yu
2013-06-08 19:24:50 -05:00
parent a6293fd84b
commit afd1b1b835
5 changed files with 50 additions and 11 deletions
@@ -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()
+3 -3
View File
@@ -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.