The signal-to-noise ratio is defined as the standard deviation of a weighted average of the luminance and color of individual pixels.