The road to wisdom? -- Well, it's plain and simple to express: Err and err and err again but less and less and less. --Piet Hein (Grooks)
You will also find basic utilities for the safe and efficient handling of arrays (of strings, numbers, number pairs and image-related geometrical objects), byte queues, generic stacks, generic lists, and endian-independent indexing into 32-bit arrays.
There is a very high-level summary of the functions in the library. You can use this to quickly get an idea of where you may find a needed function.
Documentation external to the source code is provided for the following operations and applications:
Be sure to download the README as well.
If you are building the library and applications on Windows, the sw package is available on the github repository. There you can obtain the latest release and build the library using cmake.
Tom Powers has also built the Unofficial Leptonica Documentation using Sphinx. It covers most of the information in these pages and is more easily navigated. Note, however, that all information about releases (README, builds, version notes, etc) relates to version 1.68, which is about 7 years out of date and is not supported.
You may also find these pages useful:
Here are some references to selected papers on image processing and image analysis that you might find interesting.
Luc Vincent and I wrote a chapter on
Document image analysis, in Mathematical morphology: theory and applications, published by ISTE-Wiley in June 2010.
The book is is a compendium on topics in morphology, edited
by Laurent Najman and Hugues Talbot.
Here is a page
that provides information, including the location of source code for running
the applications and generating the figures for this chapter.