This commit is contained in:
2019-08-16 11:56:54 +02:00
parent 1e2478f578
commit 40244dd065

View File

@@ -12,7 +12,7 @@ def img_get_int(fname, thres1, thres2, thres3, thres4, header, width, height, d
thresh2_count = len(numpy.where(img>thres2)[0])
thresh3_count = len(numpy.where(img>thres3)[0])
thresh4_count = len(numpy.where(img>thres4)[0])
#time.sleep(1.0)
time.sleep(1.0)
# background roi
I_sum_bgr = img[by1:by2, bx1:bx2].sum()
area_bgr= (bx2 - bx1 + 1) * (by2 - by1 + 1)