Script execution

This commit is contained in:
gac-x04sa
2019-07-04 14:30:44 +02:00
parent 809d176b76
commit 246790ff4c

View File

@@ -16,10 +16,10 @@ class ImageIntensity(DeviceBase, Readable):
AUTO_THRESH2_COUNT=thresh2_count
AUTO_THRESH3_COUNT=thresh3_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
AUTO_THRESH1 = self.getParent().pixel.threshold1
AUTO_THRESH2 = self.getParent().pixel.threshold2
AUTO_THRESH3 = self.getParent().pixel.threshold3
AUTO_THRESH4 = self.getParent().pixel.threshold4
ret = I_sum
#if area_bgr > 0: