chiark / gitweb /
Fix max aa channel deviation [-iwj]
authorClare <clareb@harley.(none)>
Sat, 4 Jul 2009 18:18:40 +0000 (19:18 +0100)
committerClare <clareb@harley.(none)>
Sat, 4 Jul 2009 18:18:40 +0000 (19:18 +0100)
pctb/structure.c

index 3a29760..2bb6429 100644 (file)
@@ -502,7 +502,7 @@ static void find_table_entry(Rect commod, int colno, Rect *cell) {
       alpha_mean += alpha_chan * (1/3.0);
     }
 
-    double thresh= 1.0/AAMAXVAL;
+    double thresh= 1.5/AAMAXVAL;
     double alpha_min= alpha_mean - thresh;
     double alpha_max= alpha_mean + thresh;
     for (i=0; i<3; i++)