mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-08 11:26:12 +08:00
Add LineProfile plugin.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from skimage import data
|
||||
from skimage.viewer import ImageViewer
|
||||
from skimage.viewer.plugins.lineprofile import LineProfile
|
||||
|
||||
|
||||
image = data.camera()
|
||||
viewer = ImageViewer(image)
|
||||
p = LineProfile(viewer)
|
||||
p.show()
|
||||
viewer.show()
|
||||
Reference in New Issue
Block a user