This commit is contained in:
gac-x04sa
2019-08-16 14:54:56 +02:00
parent 4a9cf08623
commit 74c54dff38
208 changed files with 40866 additions and 130 deletions

View File

@@ -92,7 +92,7 @@ class Image(DeviceBase, Readable):
try:
ret = img_get_int(tmp_file, threshold1, threshold2, threshold3, threshold4, \
self.pixel.image_header_length, self.pixel.PIX_XDIM, self.pixel.PIX_YDIM,self.pixel.PIX_COLOR_DEPTH, \
roi[0], roi[1], roi[2], roi[3], bkroi[0], bkroi[1], bkroi[2], bkroi[3])
roi[0], roi[1], roi[2], roi[3], bkroi[0], bkroi[1], bkroi[2], bkroi[3], filter_median = True, filter_nsigma = 30)
self.I_sum, self.area_I, self.thresh1_count, self.thresh2_count, self.thresh3_count, self.thresh4_count, self.I_sum_bgr, self.area_bgr = ret
except:
log("Error calculating intensity: " + str(filename) + " - " + str(sys.exc_info()[1]), False)