date: | Nov 9, 2010 |
---|
The road to wisdom? – Well, it’s plainand simple to express:Errand errand err againbut lessand lessand less.–Piet Hein (Grooks)
This site contains well-tested C code for some basic image processing operations, along with a description of the functions and some design methods. A full set of affine transformations (translation, shear, rotation, scaling) on images of all depths is included, with the exception that some of the scaling methods do not work at all depths. There are also implementations of binary morphology, grayscale morphology, convolution and rank order filters, and applications such as jbig2 image processing and color quantization.
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 sortable and searchable categorized list of all the functions available in Leptonica at Leptonica API (Warning: this page may take a long time to load). There are also summaries of the files in the src and prog directories with short descriptions of each file. You can use these to quickly get an idea of where you may find a needed function or see how to use it.
See Image Processing Operations and Image Processing Applications for more detailed information that expands on what’s present in the source files.
Click here to download the source. [update: Nov 9, 2010]
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. [–new: Jan 5, 2010]
You may also find these pages useful:
brief notes on the version history
information on the library contents and usage
an explanation of the byte-ordering conventions used in the Leptonica library