Average color of a bitmap?

Is there a way to determing the ‘average’ color of an image.

i know how to pick the color of each pixel of an image using BitmapData,
now is there a way to average all of the colors of each pixel efficiantly?
thanks, any help would be greatly appreciated.