Closedown

This commit is contained in:
gac-x04sa
2018-10-30 16:24:18 +01:00
parent 7dfa99b1ab
commit 7adaad6530

View File

@@ -1,7 +1,6 @@
import numpy
def img_get_int(fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 ):
print "X", fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2
def img_get_int(fname, thres1, thres2, thres3, thres4, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 ):
# read actual image file
img = numpy.fromfile(fname, dtype=numpy.uint32)
img.shape = height, width