1. A method for determining data embedded into a light output of a light source with an image acquisition device comprising at least a first color channel comprising a plurality of first pixels configured to detect light in a first wavelength range and a second color channel comprising a plurality of second pixels configured to detect light in a second wavelength range, the method comprising the steps of: adjusting an initial gain of the first color channel and/or an initial gain of the second color channel so that the distribution of a histogram of pixel values for the first color channel is substantially different from the distribution of a histogram of pixel values for the second color channel according to one or more measures of distribution; obtaining one or more images of a scene acquired with the image acquisition device configured with the adjusted gains for the first and second color channels, the scene containing the light output of the light source; and processing pixel values of at least some of the plurality of first pixels and the plurality of second pixels in the one or more of the acquired images to determine the data embedded into the light output.