Next: blockFinder
Up: Modules API
Previous: Creating your own image
  Contents
  Index
It my be interesting to apply some filters to the image, to remove
dust, etc. The functions of this module will get the image and apply
the filter to it.
Prototype is
-
- int gocr_imageFilterFunction ( gocrImage *image, void *v );
You can work freely with the image, and apply any filters you desire;
remember that modules that were not written by you may be used too,
so do not apply a filter that changes the image data (gradient, laplacian,
Fourier transform, etc). As a special note, do not create (complete)
copies of the data, since it's likely to be big (expect a few megabytes
for the image size).
todo: document application of filters to blocks
of data, which may be transformations, etc.
root
2002-02-17