The sum of all gray values from channel 1, divided by the total number of pixels in this channel: