diff options
author | Nick White <git@njw.name> | 2020-08-04 16:19:01 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-08-04 16:19:01 +0100 |
commit | aa5bd02bd5ed5a6a8d371f953ef128fce64e61a7 (patch) | |
tree | e6512607ffc22727ea6cd3cb25bc7db9a4054976 /cmd/preprocmulti/main.go | |
parent | b26cb9182b566acac884627d790b0660c4766b62 (diff) |
Update to replace integralimg package with integral package
Diffstat (limited to 'cmd/preprocmulti/main.go')
-rw-r--r-- | cmd/preprocmulti/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/preprocmulti/main.go b/cmd/preprocmulti/main.go index b99909a..f5612cf 100644 --- a/cmd/preprocmulti/main.go +++ b/cmd/preprocmulti/main.go @@ -19,7 +19,7 @@ import ( "os" "rescribe.xyz/preproc" - "rescribe.xyz/integralimg" + "rescribe.xyz/integral" ) // TODO: do more testing to see how good this assumption is @@ -70,9 +70,9 @@ func main() { var clean, threshimg image.Image log.Print("Precalculating integral images") - intImg := integralimg.NewImage(b) + intImg := integral.NewImage(b) draw.Draw(intImg, b, img, b.Min, draw.Src) - intSqImg := integralimg.NewSqImage(b) + intSqImg := integral.NewSqImage(b) draw.Draw(intSqImg, b, img, b.Min, draw.Src) for _, k := range ksizes { |