1. A method of automatically white balancing an image, the method comprising: capturing a first image using a first camera associated with an electronic device and capturing a second image using a second camera associated with the electronic device, the first image and the second image being temporally related; determining one or more white balance correction values for the first image by analyzing the first image and the second image, the white balance correction value representing the effect of lighting conditions on the first image and the second image; and correcting one or more images captured by the first camera based on the white balance correction value.