mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-30 10:33:37 +08:00
13 lines
308 B
Python
13 lines
308 B
Python
def imread(fname, as_grey=False, dtype=None):
|
|
assert fname == 'test.png'
|
|
assert as_grey == True
|
|
assert dtype == 'i4'
|
|
|
|
def imsave(fname, arr):
|
|
assert fname == 'test.png'
|
|
assert arr == [1, 2, 3]
|
|
|
|
def imshow(arr, plugin_arg=None):
|
|
assert arr == [1, 2, 3]
|
|
assert plugin_arg == (1, 2)
|