summaryrefslogtreecommitdiff
path: root/preprocmulti.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-08-04 16:19:01 +0100
committerNick White <git@njw.name>2020-08-04 16:19:01 +0100
commitaa5bd02bd5ed5a6a8d371f953ef128fce64e61a7 (patch)
treee6512607ffc22727ea6cd3cb25bc7db9a4054976 /preprocmulti.go
parentb26cb9182b566acac884627d790b0660c4766b62 (diff)
Update to replace integralimg package with integral package
Diffstat (limited to 'preprocmulti.go')
-rw-r--r--preprocmulti.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/preprocmulti.go b/preprocmulti.go
index 25d35ea..187206e 100644
--- a/preprocmulti.go
+++ b/preprocmulti.go
@@ -13,7 +13,7 @@ import (
"os"
"strings"
- "rescribe.xyz/integralimg"
+ "rescribe.xyz/integral"
)
func autowsize(bounds image.Rectangle) int {
@@ -59,9 +59,9 @@ func PreProcMulti(inPath string, ksizes []float64, binType string, binWsize int,
binWsize++
}
- 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)
var clean, threshimg image.Image