Closedown

This commit is contained in:
gac-x04sa
2018-10-30 18:01:33 +01:00
parent e80afad377
commit a3faacdde9
2 changed files with 2 additions and 2 deletions

View File

@@ -21,5 +21,5 @@ 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
return img.flat