From: Clare Date: Sat, 4 Jul 2009 18:18:40 +0000 (+0100) Subject: Fix max aa channel deviation [-iwj] X-Git-Tag: 1.9.2~27^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.web-live.git;a=commitdiff_plain;h=56d11c1917498e42c476e0ef47f0cd013575dd56;hp=d32fcf987a920a1e2eb90ffe7741d2da60496761 Fix max aa channel deviation [-iwj] --- diff --git a/pctb/structure.c b/pctb/structure.c index 3a29760..2bb6429 100644 --- a/pctb/structure.c +++ b/pctb/structure.c @@ -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++)