diff options
Diffstat (limited to 'preproc/wipesides_test.go')
-rw-r--r-- | preproc/wipesides_test.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/preproc/wipesides_test.go b/preproc/wipesides_test.go index 76151fb..b0ada4e 100644 --- a/preproc/wipesides_test.go +++ b/preproc/wipesides_test.go @@ -11,8 +11,6 @@ import ( "image/png" "os" "testing" - - "rescribe.xyz/go.git/binarize" ) var update = flag.Bool("update", false, "update golden files") @@ -79,9 +77,7 @@ func TestWipeSides(t *testing.T) { if err != nil { t.Fatalf("Could not open file %s: %v\n", c.orig, err) } - integral := binarize.Integralimg(orig) - lowedge, highedge := Findedges(integral, c.wsize, c.thresh) - actual = Wipesides(orig, lowedge, highedge) + actual = Wipe(orig, c.wsize, c.thresh) if *update { f, err := os.Create(c.golden) defer f.Close() |