The PAPIA image analysis system