1. A method for identifying light sources in an image, comprising: obtaining a first image having a first set of spectral components; obtaining a second image that corresponds to the first image, the second image having a second set of spectral components that differs from the first set of spectral components; and segmenting the first image into one or more regions that are illuminated by different light sources by: applying a plurality of sets of two or more pre-computed mappings to the first image; and determining which of the plurality of sets most closely maps pixels in the first image to corresponding pixels in the second image.