Have a Cookie

Cookie

My website uses cookies to personalize content and ads, to show you social media features, and to analyze website traffic. I might share information about your use of the website with my social media partners, advertising partners, and analysis partners, who may combine the data with other information about you, provided to them from your prior use of their services. Please note that you can change your cookie settings at any time.

PGM to positions

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 Ada Programming wikibook.

To do:

  • (nothing?)

2001.02.10:

First published edition.