summaryrefslogtreecommitdiff
path: root/sauvola.go
diff options
context:
space:
mode:
Diffstat (limited to 'sauvola.go')
-rw-r--r--sauvola.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sauvola.go b/sauvola.go
index c512098..bea78ce 100644
--- a/sauvola.go
+++ b/sauvola.go
@@ -59,8 +59,8 @@ func IntegralSauvola(img *image.Gray, ksize float64, windowsize int) *image.Gray
}
// PreCalcedSauvola Implements Sauvola's algorithm using precalculated Integral Images
-// TODO: have this be the root function that the other two reference
func PreCalcedSauvola(integrals integralimg.WithSq, img *image.Gray, ksize float64, windowsize int) *image.Gray {
+ // TODO: have this be the root function that the other two reference
b := img.Bounds()
new := image.NewGray(b)