Closedown

This commit is contained in:
gac-x04sa
2019-02-26 15:36:00 +01:00
parent b73b7b5e50
commit 27b2a1601e
4 changed files with 28 additions and 74 deletions

View File

@@ -3,7 +3,6 @@ import numpy
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)
print (str(len(img)) + " - " + str(height) + " x " + str( width))
img.shape = height, width
# signal roi
area_I = ( x2 - x1 + 1) * ( y2 - y1 + 1)