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.
This commit is contained in:
Tony S Yu
2012-09-01 15:42:52 -04:00
parent f500ed0b8f
commit 41ea3ba7fd
3 changed files with 300 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
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()