Closedown
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user