chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix max aa channel deviation [-iwj]
[ypp-sc-tools.db-test.git]
/
pctb
/
structure.c
diff --git
a/pctb/structure.c
b/pctb/structure.c
index 3a29760547565cc1e391c929d7f3f438f8f017e1..2bb6429602fdc790f6fb76a87c5a23e47c06f638 100644
(file)
--- 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++)