How to get raw averages?

Hi

The method described here gives lone pixel values. Any way to get averages for whole image or part of it?