diff options
author | Nick White <git@njw.name> | 2020-07-23 23:09:43 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-07-23 23:09:43 +0100 |
commit | 1ef9df29fb2d5bb6585e0d0ed99e13a900289e7b (patch) | |
tree | 124ddc2d71e3090fa131468cdf22af076a177063 /testdata | |
parent | 6a36400351bea5052431bb1feace358fa67a5cf9 (diff) |
Update to v0.2.1 of integralimg, and improve various things
- Improve integral sauvola by rounding threshold correctly
- The Sauvola functions can now process any image.Image, not
just an image.Gray
- Add ImageWindower interface and use it to generalise
wipesides.go
- Rely on Bounds() for image bounds rather than implementation-
specific stuff in integralimg
Note that a couple of the wipesides tests are now failing. It's
possible that this is due to fixed or introduced bugs (let's hope
the former) changing sensible thresholds. Will need to look into
this and sort it.
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/pg1_integralsauvola_k0.3_w19.png | bin | 19456 -> 19618 bytes |
-rw-r--r-- | testdata/pg1_integralsauvola_k0.5_w19.png | bin | 18241 -> 18439 bytes |
-rw-r--r-- | testdata/pg1_integralsauvola_k0.5_w41.png | bin | 18260 -> 18284 bytes |
3 files changed, 0 insertions, 0 deletions
diff --git a/testdata/pg1_integralsauvola_k0.3_w19.png b/testdata/pg1_integralsauvola_k0.3_w19.png Binary files differindex bdf5712..00aa1d8 100644 --- a/testdata/pg1_integralsauvola_k0.3_w19.png +++ b/testdata/pg1_integralsauvola_k0.3_w19.png diff --git a/testdata/pg1_integralsauvola_k0.5_w19.png b/testdata/pg1_integralsauvola_k0.5_w19.png Binary files differindex 5db2d9a..77a7194 100644 --- a/testdata/pg1_integralsauvola_k0.5_w19.png +++ b/testdata/pg1_integralsauvola_k0.5_w19.png diff --git a/testdata/pg1_integralsauvola_k0.5_w41.png b/testdata/pg1_integralsauvola_k0.5_w41.png Binary files differindex 050d037..5ddc854 100644 --- a/testdata/pg1_integralsauvola_k0.5_w41.png +++ b/testdata/pg1_integralsauvola_k0.5_w41.png |