ENH: Add color histogram plugin

This commit is contained in:
Tony S Yu
2012-12-13 18:02:40 -05:00
parent cfe9e7def9
commit 8e4f24af00
2 changed files with 77 additions and 0 deletions
@@ -0,0 +1,9 @@
from skimage.viewer import ImageViewer
from skimage.viewer.plugins.color_histogram import ColorHistogram
from skimage import data
image = data.load('color.png')
viewer = ImageViewer(image)
viewer += ColorHistogram()
viewer.show()