From aa5bd02bd5ed5a6a8d371f953ef128fce64e61a7 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 4 Aug 2020 16:19:01 +0100 Subject: Update to replace integralimg package with integral package --- wipesides_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wipesides_test.go') diff --git a/wipesides_test.go b/wipesides_test.go index 660cb16..c23a290 100644 --- a/wipesides_test.go +++ b/wipesides_test.go @@ -16,7 +16,7 @@ import ( "os" "testing" - "rescribe.xyz/integralimg" + "rescribe.xyz/integral" ) func TestWipeSides(t *testing.T) { @@ -79,7 +79,7 @@ func TestWipeSides(t *testing.T) { t.Fatalf("Could not open file %s: %v\n", c.filename, err) } b := img.Bounds() - integral := integralimg.NewImage(b) + integral := integral.NewImage(b) draw.Draw(integral, b, img, b.Min, draw.Src) leftedge, rightedge := findedges(*integral, c.wsize, c.thresh) if leftedge < c.minleft { @@ -119,7 +119,7 @@ func TestWipeSides(t *testing.T) { b := img.Bounds() rotimg := sideways(img) b = rotimg.Bounds() - intImg := integralimg.NewImage(b) + intImg := integral.NewImage(b) draw.Draw(intImg, b, rotimg, b.Min, draw.Src) topedge, bottomedge := findedges(*intImg, c.wsize, c.thresh) if topedge < c.mintop { -- cgit v1.2.1-24-ge1ad