mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
ENH: Add color histogram plugin
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user