diff options
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) } |