mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-03 01:09:26 +08:00
14 lines
222 B
Python
14 lines
222 B
Python
import os
|
|
|
|
import skimage as si
|
|
import skimage.io as sio
|
|
|
|
sio.use_plugin('matplotlib', 'imshow')
|
|
sio.use_plugin('freeimage', 'imread')
|
|
|
|
img = sio.imread(os.path.join(si.data_dir, 'color.png'))
|
|
|
|
sio.imshow(img)
|
|
sio.show()
|
|
|