Closedown

This commit is contained in:
gac-x04sa
2019-02-26 15:00:54 +01:00
parent 7e8db179cd
commit 9995f168d0
2 changed files with 2 additions and 2 deletions

View File

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