Extract statistics

Extracts statistical data from images