This is a program for extracting particle positions from a grey-scale image.
The program reads ASCII coded PGM (portable graymap) data from standard input, identifies clusters of high-intensity pixels as particles, calculates the centre of intensity for each particle, and writes these positions to standard output.
The program is written in Ada. You can learn about Ada in the
First published edition.