Laser Sensing Display for UI interfaces in the real world

Dependencies:   mbed

Fork of skinGames_forktest by Alvaro Cassinelli

Revision:
22:d87317d7ca91
Parent:
19:228430f1350e
Child:
24:4e52031a495b
--- a/classLaserSensingTrajectory.h	Sun May 06 14:40:19 2012 +0000
+++ b/classLaserSensingTrajectory.h	Sat Jun 02 06:38:12 2012 +0000
@@ -5,7 +5,7 @@
 using namespace std;
 
 // CONTRAST RATIO to compute autoThreshold:
-#define MIN_CONTRAST_RATIO 1.5 // 3 seems good when lookup table does not work // This is the minimum contrast between max and min intensity necessary to "accept" a black and white zone
+#define MIN_CONTRAST_RATIO 1.6 // 3 seems good when lookup table does not work // 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 {