Closedown

This commit is contained in:
gac-x04sa
2018-10-30 18:07:35 +01:00
parent 642a482660
commit 20881484d9
+2 -1
View File
@@ -21,5 +21,6 @@ def img_get_int(fname, thres1, thres2, thres3, thres4, header, width, height, d
def img_read(fname, header, width, height, depth):
img = numpy.fromfile(fname, dtype=numpy.uint32)
img.shape = height, width
return img.flatten().astype(int)
#return img.flatten().astype(int)
return img.astype(int)