Statistics for The design and implementation of an image processing system