A method comprising determining an optimal color correction matrix
accounting for both total noise variance and color reproduction error for
a captured image; and correcting the colors of said captured image using
said optimal color correction matrix.