summaryrefslogtreecommitdiff
path: root/cmd/pggraph/main.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 /cmd/pggraph/main.go
parentb26cb9182b566acac884627d790b0660c4766b62 (diff)
Update to replace integralimg package with integral package
Diffstat (limited to 'cmd/pggraph/main.go')
-rw-r--r--cmd/pggraph/main.go4
1 files changed, 2 insertions, 2 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)