ENH: Add rectangle tool and crop plugin example

This commit is contained in:
Tony S Yu
2012-12-12 23:59:40 -05:00
parent 36bc6da757
commit 631e97d973
5 changed files with 250 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
from skimage import data
from skimage.viewer import ImageViewer
from skimage.viewer.plugins.crop import Crop
image = data.camera()
viewer = ImageViewer(image)
viewer += Crop()
viewer.show()