From 1ef9df29fb2d5bb6585e0d0ed99e13a900289e7b Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 23 Jul 2020 23:09:43 +0100 Subject: 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. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'go.mod') diff --git a/go.mod b/go.mod index cd9d133..b2c2c0c 100644 --- a/go.mod +++ b/go.mod @@ -7,5 +7,5 @@ require ( github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect github.com/wcharczuk/go-chart v2.0.2-0.20191206192251-962b9abdec2b+incompatible golang.org/x/image v0.0.0-20200618115811-c13761719519 // indirect - rescribe.xyz/integralimg v0.1.1 + rescribe.xyz/integralimg v0.2.1 ) -- cgit v1.2.1-24-ge1ad