Laser Sensing Display for UI interfaces in the real world

Dependencies:   mbed

Fork of skinGames_forktest by Alvaro Cassinelli

Revision:
14:0fc33a3a7b4b
Parent:
11:62f7183a03e7
Child:
18:d72935b13858
--- a/classLaserSensingTrajectory.h	Thu Apr 12 09:50:47 2012 +0000
+++ b/classLaserSensingTrajectory.h	Thu Apr 12 13:02:59 2012 +0000
@@ -5,7 +5,7 @@
 using namespace std;
 
 // CONTRAST RATIO to compute autoThreshold:
-#define MIN_CONTRAST_RATIO 1.3//2.4 // This is the minimum contrast between max and min intensity necessary to "accept" a black and white zone
+#define MIN_CONTRAST_RATIO 3 // This is the minimum contrast between max and min intensity necessary to "accept" a black and white zone
 #define THRESHOLD_FACTOR 0.5//0.75 // 2/3 or 1/2 are good values 
 
 struct laserSensingPoint {