Closedown

This commit is contained in:
gac-x04sa
2019-07-04 16:15:48 +02:00
parent 246790ff4c
commit 16d3f6ccf1
9 changed files with 151 additions and 16 deletions

View File

@@ -1,6 +1,6 @@
import numpy
def img_get_int(fname, thres1, thres2, thres3, thres4, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 ):
def img_get_int(fname, thres1, thres2, thres3, thres4, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 , filter_median = False, filter_nsigma = 0):
# read actual image file
img = numpy.fromfile(fname, dtype=numpy.uint32)
img.shape = height, width