summaryrefslogtreecommitdiff
path: root/sauvola.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-04-14 11:37:57 +0100
committerNick White <git@njw.name>2020-04-14 11:37:57 +0100
commit014af190c64b2fecbf5d69e9a13e45858e830e81 (patch)
treec8398b8b2b224f13309156b0554c7aa80bccfdc8 /sauvola.go
parent822ce40a7d708ed44d6e638e2e25db9261254d13 (diff)
Improve documentation throughout
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)