On Wed, Mar 30, 2011 at 5:27 PM, Max Cantor <[email protected]> wrote:
> Yes. I've had great experience with sauvola binarize from leptonica. Gamer 
> works too but is much much slower
>
> On Mar 31, 2011, at 0:02, cong nguyenba <[email protected]> wrote:
>
>> I have another approach for you here: try to apply binarization using
>> adaptive threshold! Delving into engine by following apdaptive
>> classification in source code for speedup! I think it is enough for
>> your expectation!

Here's links to the relevant Leptonica API source files:

adaptmap.c - local adaptive grayscale quantization; mostly
gray-to-gray in preparation
(http://tpgit.github.com/Leptonica/adaptmap_8c.html#_details)

binarize.c - Special binarization methods, locally adaptive: Otsu and
Sauvola (http://tpgit.github.com/Leptonica/binarize_8c.html#_details)

grayquant.c - Standard, simple, general grayscale quantization
(http://tpgit.github.com/Leptonica/grayquant_8c.html#_details)

See also:

Grayscale Mapping and Binarization
(http://tpgit.github.com/UnOfficialLeptDocs/leptonica/binarization.html)

Document Image Analysis
(http://tpgit.github.com/UnOfficialLeptDocs/leptonica/document-image-analysis.html)
which refers to
http://tpgit.github.com/Leptonica/livre__adapt_8c_source.html and
http://tpgit.github.com/Leptonica/livre__tophat_8c_source.html.

          -- TP

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tesseract-ocr?hl=en.

Reply via email to