|
A series of algorithms has been developed for conversion of
grayscale to bitonal images. A configurable prefilter en-hances
the image quality.
Two binarization algorithms are
available:
 |
an algorithm using a configurable threshold for the entire
image
|
 |
an algorithm using an adaptive
threshold. The threshold is calculated from a 5x5 pixel window
around a center pixel
|
The algorithms consist of the following components:
|
 |
a control function handling an entire image with user supplied
parameters for the used filter and binarization
|
|
 |
optimized assembler functions for the individual algorithms
|
The algorithms use the C6400 EDMA controller to move the image
data from external to internal memory and vice versa.
|