1. A method comprising:illuminating a scene with a first sensing spectrum emitted by a first subset of a plurality of primary light sources, the plurality of primary light sources formed in an array, by modulating a light output from the first subset of the plurality of primary light sources;
capturing a first image of the scene while the scene is illuminated with the first sensing spectrum;
after capturing the first image, illuminating the scene with a second sensing spectrum emitted by a second subset of the plurality of primary light sources different than the first subset, by modulating a light output from the second subset of the plurality of primary light sources;
capturing a second image of the scene while the scene is illuminated with the second sensing spectrum;
determining a lighting spectrum based on the first image and the second image; and
illuminating the scene with multiple of the primary light sources in a predetermined ratio defined by the lighting spectrum, the first subset and first sensing spectrum having a first primary color, and the second subset and second sensing spectrum having a second primary color different from the first primary color.