mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
Renamed scikits.image to skimage
This commit is contained in:
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
if __name__ == "__main__":
|
||||
from skimage.scripts import scivi
|
||||
scivi.main()
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
"""skimage viewer"""
|
||||
def main():
|
||||
import skimage.io as io
|
||||
import sys
|
||||
|
||||
if len(sys.argv) != 2:
|
||||
print "Usage: scivi <image-file>"
|
||||
sys.exit(-1)
|
||||
|
||||
io.use_plugin('qt')
|
||||
io.imshow(io.imread(sys.argv[1]), fancy=True)
|
||||
io.show()
|
||||
|
||||
Reference in New Issue
Block a user