mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-29 19:01:10 +08:00
14 lines
234 B
Python
14 lines
234 B
Python
import os
|
|
|
|
import scikits.image as si
|
|
import scikits.image.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()
|
|
|