diff options
author | Nick White <git@njw.name> | 2019-05-13 17:41:30 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2019-05-13 17:41:30 +0100 |
commit | 778fc08e5d4b58d457e1754325eb0ff4127ccf1d (patch) | |
tree | 89edf66fd153b3a3bf2c04fe5337d593a39e5a57 /preproc/wipesides_test.go | |
parent | a931288d3e813d069a2b6b010e5af4d73d308cf2 (diff) |
Rename cleanup to wipe, and only export main function
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() |