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, read the developer notes by Tom Powers and download his Microsoft Visual Studio package from here.
Another option for Windows is to obtain the latest release from github, which is currently 1.74.0, and build the library using cmake.
Tom Powers has also built the Unofficial Leptonica Documentation using Sphinx. It covers all the information in these pages and is more easily navigated. You are encouraged to use it instead.
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.