From 20881484d92f138aba6766bac14dc8c0a16b190e Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Tue, 30 Oct 2018 18:07:35 +0100 Subject: [PATCH] Closedown --- script/cpython/image_functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/cpython/image_functions.py b/script/cpython/image_functions.py index b8598a5..480cd47 100644 --- a/script/cpython/image_functions.py +++ b/script/cpython/image_functions.py @@ -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) \ No newline at end of file