automatically find a clipping border for a sequence of pgm images
http://www.lallafa.de/bp/pgmfindclip.html