mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-28 23:42:02 +08:00
41ea3ba7fd
I saved a copy of the line profile plugin in a branch and then deleted the plugin from the main qtmpl-viewer branch. Unfortunately, I forgot that rebasing off the main branch would erase the plugin. This commit just adds the plugin back.
10 lines
213 B
Python
10 lines
213 B
Python
from skimage import data
|
|
from skimage.viewer import ImageViewer
|
|
from skimage.viewer.plugins.lineprofile import LineProfile
|
|
|
|
|
|
image = data.camera()
|
|
viewer = ImageViewer(image)
|
|
viewer += LineProfile()
|
|
viewer.show()
|