diff options
author | Nick White <git@njw.name> | 2022-11-17 13:02:42 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2022-11-17 13:02:42 +0000 |
commit | b0c91593e0419abbaa6b61eaba95d4934de9a0dc (patch) | |
tree | ce702d541154555f0deb979846e63f79d3ed662f /sauvola.go | |
parent | 109aa8b02ed63a4fe3054972f4c79d5c5328f610 (diff) | |
parent | 3475f12095dec658fc2cc86f171d6cfa5cab6f21 (diff) |
Diffstat (limited to 'sauvola.go')
-rw-r--r-- | sauvola.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,5 +80,5 @@ func PreCalcedSauvola(intImg integral.Image, intSqImg integral.SqImage, img imag func centeredRectangle(x, y, size int) image.Rectangle { step := size / 2 - return image.Rect(x - step - 1, y - step - 1, x + step, y + step) + return image.Rect(x-step-1, y-step-1, x+step, y+step) } |