ENH: Add image viewer based on Qt and Matplotlib

This commit is contained in:
Tony S Yu
2012-07-20 14:03:47 -05:00
parent 81764f693b
commit c27119b0cd
10 changed files with 281 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
from skimage import data
from skimage.viewer import ImageViewer
from skimage.viewer.plugins.canny import CannyPlugin
image = data.camera()
viewer = ImageViewer(image)
p = CannyPlugin(viewer)
p.show()
viewer.show()