summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/pggraph/main.go4
-rw-r--r--cmd/preprocmulti/main.go6
2 files changed, 5 insertions, 5 deletions
diff --git a/cmd/pggraph/main.go b/cmd/pggraph/main.go
index c7909b5..2da5c57 100644
--- a/cmd/pggraph/main.go
+++ b/cmd/pggraph/main.go
@@ -21,7 +21,7 @@ import (
"sort"
chart "github.com/wcharczuk/go-chart"
- "rescribe.xyz/integralimg"
+ "rescribe.xyz/integral"
"rescribe.xyz/preproc"
)
@@ -173,7 +173,7 @@ func main() {
img = sideways(gray)
b = img.Bounds()
}
- intImg := integralimg.NewImage(b)
+ intImg := integral.NewImage(b)
draw.Draw(intImg, b, img, b.Min, draw.Src)
points := make(map[int]float64)
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 {