------------------------------------------------------------------------------- IMG* Image Processing Toolset and C Library Version 1.1 (Nov 1994) Copyright 1994 Simon A.J. Winder sajw@maths.bath.ac.uk All Rights Reserved ------------------------------------------------------------------------------- Contents -------- 1. Installation 2. Contents of this Directory 3. Introduction 4. List of Image Processing Tools 5. ImgStar C Library 6. File Formats 7. Known Bugs 8. Update History ------------------------------------------------------------------------------- 1.Installation -------------- After down-loading the package and unpacking, type "make" in this directory to build the C library in LibSrc and the image processing toolset in ToolsSrc. Problems that may require attention: 1. You may need to use a different compiler than gcc. If this is the case then change the CC line in the top level Makefile. You may also have to change the compile flags by editing the CFLAGS line. 2. All the code uses ANSI declarations, so you need to use a compiler that can handle this or you will immediately get a lot of compile errors. 3. The tool named imgSurfacePlot is linked with the X11 libraries for the Athena Widget set. Check your local X configuration to find out which X library files are necessary and in what order they must be linked. Edit the XAW line in ToolsSrc/Makefile to change this. 4. If you have trouble compiling imgCrop then it may be that your preprocessor does not understand the ## directive, so edit the CAT macro in ToosSrc/tools.h to be #define CAT(a,b) a/**/b instead of #define CAT(a,b) a##b This will fix the problem providing your preprocessor leaves no space when replacing /**/. ------------------------------------------------------------------------------- 2. Contents of this Directory ----------------------------- Makefile Makefile to build the package copyright.txt Copyright notice introduction.txt This introduction file lib_manual.txt Documentation for the image processing C library tools_manual.ps Postscript image processing tools manual (80 pages) example.c Example program to introduce the C library venice.pgm A monochrome image to test the tools with Bin Directory in which the binaries are placed LibSrc Source code for the C library ToolsSrc Source code for all 70 tools ------------------------------------------------------------------------------- 3. Introduction --------------- The ImgStar Image Processing Tools are intended as a complete environment for image processing to compliment Jef Poskanzer's pbmplus toolkit which mostly provides conversion between different standard file formats. All 70 ImgStar tools use a similar UNIX command line invocation style which includes a self documenting "-h" option. Images are piped between operators, each of which provides some filtering transformation. A floating point image format is introduced in order to allow image processing operations to be cascaded usefully. Conversion tools are included to convert between this and the PBM-type formats. Both binary and ASCII floating point formats are supported so that image data can be edited and transferred between hosts having different architectures. Tools are included that implement arithmetic and logical operations; magnify, crop and subsample; implement edge detection (e.g. Canny); allow custom space-domain or frequency-domain convolution; include high-pass, low-pass, band-pass, rank-value, difference-of-Gaussians and Gabor filtering; generate test images and implement differential or vector operations e.g. gradient, derivatives, Laplacian. There are also a variety of miscellaneous tools e.g. thresholding, zero-crossing detection, and calculation of image statistics. For example, the following implements Canny's edge detection scheme: imgPnmToFlt