1. A method performed by at least one device for enhancing white balance of an image, the method comprising: in response to the image, estimating a likelihood of flicker within the image; in response to the estimated likelihood, selecting references from among first and second sets of references, wherein the first set of references are responsive to a first set of reference images captured under particular illumination, and wherein the second set of references are responsive to a second set of reference images captured under fluorescent illumination; and in response to the selected references, generating one or more gains for enhancing white balance of the image.