Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This uses integral image calculations, so they have been exported in the binarization package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
processed
|
|
|
|
|
|
|
|
the filename extension to determine how to process the lines
|
|
|
|
|
|
|
|
good shape now, just a few small todos left
|
|
|
|
|
|
Working now, but needs more consolidation to be worth it.
|
|
|
|
line-conf-buckets easily and well
|
|
to do, see TODO in hocr.go
|