diff --git a/script/device/Image.py b/script/device/Image.py index f5bb1a7..10798fc 100644 --- a/script/device/Image.py +++ b/script/device/Image.py @@ -15,7 +15,12 @@ class ImageIntensity(DeviceBase, Readable): AUTO_THRESH1_COUNT=thresh1_count AUTO_THRESH2_COUNT=thresh2_count AUTO_THRESH3_COUNT=thresh3_count - AUTO_THRESH4_COUNT=thresh4_count + AUTO_THRESH4_COUNT=thresh4_count + AUTO_THRESH1 = self.pixel.threshold1 + AUTO_THRESH2 = self.pixel.threshold2 + AUTO_THRESH3 = self.pixel.threshold3 + AUTO_THRESH4 = self.pixel.threshold4 + ret = I_sum #if area_bgr > 0: # ret = ret - ((I_sum_bgr / area_bgr) * area_I)