mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-16 11:27:48 +08:00
Update Canny examples
This commit is contained in:
@@ -6,4 +6,4 @@ from skimage.viewer.plugins.canny import CannyPlugin
|
||||
image = data.camera()
|
||||
viewer = ImageViewer(image)
|
||||
viewer += CannyPlugin()
|
||||
viewer.show()
|
||||
canny_edges = viewer.show()[0][0]
|
||||
|
||||
@@ -21,4 +21,4 @@ plugin += SaveButtons(name='Save overlay to:')
|
||||
# Finally, attach the plugin to an image viewer.
|
||||
viewer = ImageViewer(image)
|
||||
viewer += plugin
|
||||
viewer.show()
|
||||
canny_edges = viewer.show()[0][0]
|
||||
|
||||
Reference in New Issue
Block a user