summaryrefslogtreecommitdiff
path: root/binarize/integralimg.go
AgeCommit message (Collapse)Author
2019-01-30Add integral image functionality to enable massive speedup of SauvolaNick White
Note that there are some very small differences to the output compared to the basic algorithm, but this doesn't make much difference. This is due to minor differences with the standard deviation calculation throughout, and with mean calculation at edges, for reasons I'm unclear about. WIP integral image speedup. mean is working Very WIP, but mean is perfect once full window is used Integral version all working! Remove debugging info Organise code better