Files
scikit-image/viewer_examples/plugins/lineprofile.py
T
Tony S Yu 41ea3ba7fd Add line profile plugin back in.
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.
2012-09-01 15:42:52 -04:00

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()