summaryrefslogtreecommitdiff
path: root/binarize/sauvola.go
AgeCommit message (Collapse)Author
2019-05-13Reorganise image manipulation to separate integral image partsNick White
Also unify everything else under preproc/ Note that the UsefulImg interface should be used by the main functions, to simplify things, but this hasn't been done yet.
2019-04-18Add basic cleanup tool; working, but more refinements planned.Nick White
This uses integral image calculations, so they have been exported in the binarization package
2019-03-26Add zeroinv option for binarize commandNick White
2019-02-15Separate out binarize into a package, and start adding tests for itNick White
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
2019-01-29Switch binarization to Sauvola algorithmNick White