chiark
/
gitweb
/
~ijackson
/
ypp-sc-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d32fcf9
)
Fix max aa channel deviation [-iwj]
author
Clare
<clareb@harley.(none)>
Sat, 4 Jul 2009 18:18:40 +0000
(19:18 +0100)
committer
Clare
<clareb@harley.(none)>
Sat, 4 Jul 2009 18:18:40 +0000
(19:18 +0100)
pctb/structure.c
patch
|
blob
|
history
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++)