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