A pgm image manipulation tool that performs multiple tasks, including region detection and classification.