summaryrefslogtreecommitdiff
path: root/binarize/sauvola.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-04-18 13:24:02 +0100
committerNick White <git@njw.name>2019-04-18 13:24:02 +0100
commit4eb86764539a99b0d7c843d4aa81bfb2955db13c (patch)
tree1af1349c34de6b31829867baf18e31fa218cd191 /binarize/sauvola.go
parent75173a030b1f3eb8a1e161ffd1732daa40a5e178 (diff)
Add basic cleanup tool; working, but more refinements planned.
This uses integral image calculations, so they have been exported in the binarization package
Diffstat (limited to 'binarize/sauvola.go')
-rw-r--r--binarize/sauvola.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/binarize/sauvola.go b/binarize/sauvola.go
index ee773ba..6d9c1af 100644
--- a/binarize/sauvola.go
+++ b/binarize/sauvola.go
@@ -35,7 +35,7 @@ func IntegralSauvola(img *image.Gray, ksize float64, windowsize int) *image.Gray
b := img.Bounds()
new := image.NewGray(b)
- integral := integralimg(img)
+ integral := Integralimg(img)
integralsq := integralimgsq(img)
for y := b.Min.Y; y < b.Max.Y; y++ {