Patent Description:
<CIT> discloses color management and color-managed workflow concepts being applied to lighting apparatus configured to generate multi-colored light, including lighting apparatus based on LED sources. <CIT> discloses a method involving emitting light of specific color or predetermined wavelength from light sources such as LEDs of an illumination device. A camera is arranged in the illumination device, in order to detect the reflection properties of the object. The light emitted from the light sources is controlled based on the reflection properties of the object, and color rendering value of the illumination device is adjusted to minimum value.

Examples of different lighting, tunable lighting, sensor, and/or light emitting diode ("LED") implementations will be described more fully hereinafter with reference to the accompanying drawings.

It will be understood that when an element such as a layer, region or substrate is referred to as being "on" or extending "onto" another element, it can be directly on or extend directly onto the other element or intervening elements may also be present. It will be understood that these terms are intended to encompass different orientations of the element in addition to any orientation depicted in the figures.

Relative terms such as "below" or "above" or "upper" or "lower" or "horizontal" or "vertical" may be used herein to describe a relationship of one element, layer or region to another element, layer or region as illustrated in the figures. It will be understood that these terms are intended to encompass different orientations of the device in addition to the orientation depicted in the figures.

Tunable lighting arrays, including those with primary light sources, may support applications that benefit from distributed intensity, spatial, and temporal control of light distribution. Primary light sources may be light emitting devices such as LEDs that emit a given color. Tunable lighting array based applications may include, but are not limited to, precise spatial patterning of emitted light from pixel blocks or individual pixels. Depending on the application, emitted light may be spectrally distinct, adaptive over time, and/or environmentally responsive. The light emitting arrays may provide scene based light distribution in various intensity, spatial, or temporal patterns. The emitted light may be based at least in part on received sensor data, as disclosed herein. Associated optics may be distinct at a pixel, pixel block, or device level. Common applications supported by light emitting arrays include architectural and area illumination, professional lighting, retail lighting and/or exhibition lighting, and the like.

Use of a tunable light system, including primary light sources, may provide controlled illumination of portions of a scene for a determined amount of time. This may allow the array to, for example, emphasize certain colors or color properties within a scene, emphasize white backgrounds, emphasize moving objects and/or the like. Architectural and area illumination may also benefit from the lighting disclosed herein.

In various applications where tunable lighting systems are used, an optimal lighting spectrum may vary based on the illuminated scene. The variation may be a result of the objects, colors, and angles presented in the scene and may also vary based on one or more intended desired output parameters. As manual adjustment of the lighting spectrum with each scene change may not be practical, as disclosed herein, a tunable lighting system may automatically adjust the lighting spectrum based on the scene to be illuminated and/or one or more desired output parameters.

According to implementations disclosed herein, as shown in <FIG> via flow chart <NUM>, a first subset of a plurality of primary light sources is activated to emit a first sensing spectrum onto a scene at <NUM>. As described herein, the sensing spectrum may refer to the light emitted by a subset of the plurality of primary light sources while image data is collected via an image sensor. The sensing spectrum may include light that is not visible to a human viewing the scene. At <NUM>, first image data is sensed from the scene while the first subset of the plurality of primary light sources are activated. At <NUM> a second subset of the plurality of primary light sources is activated to emit a second sensing spectrum onto a scene. At <NUM>, second image data is sensed from the scene while the second subset of the plurality of primary light sources are activated. Notably, the plurality of light sources may be activated in subsets such that a subset is activated, image data is collected while that subset is activated, and then another subset is activated and additional image data is collected. This process may be repeated such that each subset of the plurality of primary light sources corresponds to a primary light source and image data is collected as each primary light source is activated. Preferably, at least four or five primary light sources may be provided in a lighting system disclosed herein.

At <NUM>, reference information for the scene may be determined based on combined image data where combined image data is a combination of the first image data and the second image data. This combined image data may be collected by combining image data while different subsets of the plurality of primary light sources are activated. It should be noted that combined image data does not necessarily refer to different image data that is added together as combined image data may simply be the collection of a number of different image data. At <NUM>, spectrum optimization criteria for the plurality of primary light sources may be determined based on the reference information and one or more desired output parameters. The desired output parameters may be input by a user or a component or may be determined based on the scene, as further disclosed herein. At <NUM>, the plurality of primary light sources may be activated to emit a lighting spectrum based on the spectrum optimization criteria. As described herein, the lighting spectrum may refer to the light emitted by the plurality of primary light sources based on the spectrum optimization criteria such that the lighting spectrum is visible to a human viewing the scene.

<FIG> shows an example diagram of a lighting system <NUM> as disclosed herein. A substrate <NUM> may be a mount or housing on which the components of the lighting system <NUM> are attached to or placed on. A plurality of primary light sources <NUM> are provided and emit light as disclosed herein. The plurality of primary light sources <NUM> are separately addressable channels such that a first channel may correspond to a first primary light source (e.g., LEDs that emit red light) and a second channel may correspond to a second primary light source (e.g., LEDs that emit royal blue light). A first optic lens <NUM> may be proximate to the primary light sources <NUM> such that all or a part of the light emitted by the primary light sources <NUM> may pass through the first lens <NUM> and may be shaped or adjusted by the first optic lens <NUM>. It should be noted that although the first optic lens <NUM> is shown as one component, it may be a combination of multiple components and multiple components may be configured such that one or a subset of the components are aligned with one or a subset of the plurality of primary light sources.

Additionally, an image sensor <NUM> is provided and may be in connection with the substrate <NUM> or generally within the same housing as the plurality of primary light sources <NUM>. Alternatively, the image sensor <NUM> may be separate from the plurality of primary light sources <NUM> and may be provided in a separate housing. A second optic lens <NUM> may be proximate to the image sensor <NUM> such that all or a part of the image data sensed or gathered by the image sensor <NUM> may pass through the second optic lens <NUM> and may be shaped or adjusted by the second optic lens <NUM>.

Additionally, a controller <NUM> is provided and may be in connection with the substrate <NUM> or generally within the same housing as the plurality of primary light sources <NUM> and image sensor <NUM>. Alternatively, the controller <NUM> may be separate from the plurality of primary light sources <NUM> and/or image sensor <NUM> and may be provided in a separate housing. The controller <NUM> may be configured to receive data from the image sensor <NUM> and/or the plurality of primary light sources <NUM> and may also provide control or other information to the plurality of primary light sources <NUM> and/or image sensor <NUM>.

According to an implementation of the disclosed subject matter, as shown in <FIG> at <NUM>, a first subset of a plurality of primary light sources is activated to emit a first sensing spectrum onto a scene. The first subset of the plurality of primary light sources may correspond to a channel that activates one or more light sources that correspond to a primary color (e.g., red). As an example, at <NUM>, the red light emitting diodes (LEDs) of a plurality of primary light sources <NUM> of <FIG> may be activated. The light sources that correspond to a primary color may be grouped together or, preferably, may be spread out across an array of light sources. For example, as shown in <FIG>, primary light sources <NUM> include a plurality of light sources. The red LEDs may be spread out throughout the light sources <NUM> such that they can reach various sections of a scene. At <NUM> of <FIG>, the first subset of the plurality of light sources may be activated such that their activation is not visible to a human viewing the scene due to, for example, a high frequency, short duration, and/or low amplitude modulation at which the activation occurs. As shown in <FIG>, the light from the first subset of primary light sources <NUM> may emit via the first optic lens <NUM>.

The primary light sources <NUM> may include, for example, primary colors royal blue, cyan, lime, amber, and red. Properties of the primary light sources <NUM>, used in accordance with the subject matter disclosed herein, may be known to the system, and specifically, for example, may be known to the controller <NUM>. As an example, the primary light sources <NUM> may have chromaticities as shown in <FIG> and wavelength spectra as shown in <FIG>. Each of the dots in <FIG> including <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> may correspond to one of the five primaries of the primary light sources <NUM>, in this example. The dotted line may correspond to a single wavelength. As shown, by using at least three primaries, a curved blackbody locus <NUM> may be followed more closely, for example, in a tunable white system. According to an implementation, the color output by the primary light sources <NUM> of <FIG> may have chromaticity corresponding to the area enclosed by the dots in <FIG> including <NUM>, <NUM>, <NUM>, <NUM>, and <NUM>. Further, <FIG> shows the spectra <NUM>, <NUM>, <NUM>, <NUM>, and <NUM>, corresponding to the five primaries in this example.

Further, <FIG> shows a graphical depiction of the spectral power distribution <NUM> of spectra generated by activating multiple of the primary light sources in different ratios, in order to create different color rendering modes according to implementations of this disclosure. The spectral power distribution <NUM> corresponds to a color rendering mode that gives the maximum color fidelity within the range of the primaries, specifically the five primaries in this example. <FIG> shows a graphical depiction <NUM> of the gamut index Rg and fidelity index Rf where the gamut index Rg is the TM-<NUM> measure for average relative gamut and the fidelity index Rf is the TM-<NUM> measure for average color fidelity. As shown, the points <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> corresponds to the different color rendering modes and the square <NUM> corresponds to a maximum color fidelity mode. <FIG> shows a graphical depiction <NUM> of Rf values as a function of the sixteen hue bins of TM-<NUM>. As shown, data lines <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> correspond to the Rf values for the corresponding hue bins for the different color rendering modes. Data line <NUM> corresponds to a maximum color fidelity mode. <FIG> shows a graphical depiction <NUM> of Rcs values as a function of the sixteen hue bins of TM-<NUM>. As shown, data lines <NUM>, <NUM>, <NUM>, <NUM>, and <NUM> correspond to the RCS values for the corresponding hue bins for the different color rendering modes. Data line <NUM> corresponds to a maximum color fidelity mode.

At <NUM> of <FIG>, first image data is sensed from the scene while the first subset of the plurality of primary light sources are activated. As shown in <FIG>, the first image data is sensed using an image sensor <NUM> and the first image data sensed by the image sensor <NUM> reaches the image sensor <NUM> via the second optic lens <NUM>. As further disclosed herein, image data includes characteristics about the scene that enables the controller <NUM> to approximate the reflectance spectrum for each pixel of the image sensor and/or create a color map of the scene.

The image sensor <NUM> may be a light sensor with spatial resolution such that the image sensor <NUM> and/or controller <NUM> may avoid averaging out the different colors present in a scene illuminated by the process described by step <NUM> of <FIG>. Notably, because the controller <NUM> controls the subsets of a plurality of primary light sources as they are activated to emit sensing spectrums onto a scene, the image sensor does not need to have wavelength-resolving capability in order to obtain information. To clarify, the controller <NUM> may utilize the known information about the primary light sources <NUM>, as subsets of the primary light sources <NUM> emit light onto a scene, in order to obtain color information about the scene. Accordingly, by modulating the subsets of the primary light sources <NUM>, and by sensing the reflected image, as further disclosed herein, spectral information about the scene may be obtained without using a spectrally selective sensor. It should be noted that because the spectral information, via the image data, is obtained based on the light emitted by the subsets of primary light sources <NUM>, the resolution of the spectral information is limited by the bandwidth of the primary light sources <NUM>. However, it should be noted that such spectral information is sufficient to optimize color rendering by the primary light sources <NUM> because the primary light sources <NUM> will have the same limitation in spectral rendering when emitting a lighting spectrum as they have when emitting the sensing spectrum.

At <NUM>, a second subset of the plurality of primary light sources is activated to emit a second sensing spectrum onto the scene. The second subset of the plurality of primary light sources may correspond to a channel that activates one or more light sources that correspond to a different color (e.g., royal blue) than the first subset of the plurality of primary light sources. As an example, at <NUM>, the royal blue light emitting diodes (LEDs) of a plurality of primary light sources <NUM> of <FIG> may be activated. The light sources that correspond to the royal blue color may be grouped together or, preferably, may be spread out across an array of primary light sources <NUM>. For example, as shown in <FIG>, primary light sources <NUM> include a plurality of light sources. The royal blue LEDs may be spread out throughout the primary light sources <NUM> such that they can reach various sections of a scene. At <NUM> of <FIG>, similar to <NUM>, the second subset of the plurality of light sources may be activated such that their activation is not visible to a human viewing the scene due to, for example, a high frequency, short duration, and/or low amplitude modulation at which the activation occurs. As shown in <FIG>, the light from the second subset of primary light sources <NUM> may emit via the first optic lens <NUM>.

At <NUM> of <FIG>, second image data is sensed from the scene while the second subset of the plurality of primary light sources <NUM> of <FIG> are activated. The second image data is sensed using an image sensor <NUM> and the second image data sensed by the image sensor <NUM> reaches the image sensor <NUM> via the second optic lens <NUM>. As further disclosed herein, image data includes characteristics about the scene that enables the controller <NUM> to approximate the reflectance spectrum for each pixel of the image sensor and/or create a color map of the scene.

The controller <NUM>, which may be factory programmed or user programmable to provide the desired response, as further disclosed herein, modulates the primary light sources <NUM> such that the first subset is activated and the image sensor <NUM> collects first image data and then the second subset is activated and then the image sensor <NUM> collects second image data. It will be understood that although the disclosure references a first and second image data corresponding to a first spectrum and second spectrum respectively, image data may be sensed for additional available primary light sources. Preferably, four or more and more preferably, five or more primary light sources may be available. Accordingly, third, fourth and fifth image data corresponding to third, fourth and fifth spectrums, respectively, may be sensed and provided to a controller such as controller <NUM> of <FIG>.

At <NUM> of <FIG>, reference information for the scene may be determined based on combined image data where combined image data is a combination of the available image data such as the first image data and the second image data. A controller, such as controller <NUM> of <FIG>, may determine the reference information based on combined image data such as the combination of the first image data and the second image data. Additionally, according to an implementation, the controller may also have sensing spectrum information regarding the primary light sources <NUM>. <FIG>, as described herein, provide example graphical depictions of spectra and corresponding TM-<NUM> indices that the controller may have or have access to and that can be realized with the primary light sources of <FIG> and <FIG>.

The reference information may correspond to an estimate of an approximate reflectance spectrum for each pixel of the image sensor and, thus, corresponds to a color map of the scene. According to an implementation, the color map may be expressed as the relative response of each pixel to each of the subsets of the primary light sources <NUM> of <FIG>. As an example, Table <NUM> includes the relative reflected intensities sensed by a single pixel of an image sensor, for four different example reflectance spectra. The relative intensities are sensed for the five primary light sources, as shown in Table <NUM>, such that a relative reflected intensity for a given primary source (i.e., channel) is sensed when that primary source emits light onto the scene. In this example, the four example reflectance spectra correspond to four Color Evaluation Samples (CES) as defined in TM-<NUM> and correspond to CES <NUM> (approximately maroon), CES <NUM> (approximately teal), CES <NUM> (approximately mustard), and CES <NUM> (approximately purple). As a specific example, Table <NUM> shows that the relative reflected intensity sensed by the image sensor <NUM> sensing a maroon portion of a scene while a royal blue primary light source is emitting royal blue light onto that part of the scene is. Similarly, as shown in Table <NUM>, the relative reflected intensity sensed by the image sensor <NUM> sensing a maroon portion of a scene while a red primary light source is emitting red light onto that part of the scene is. Because the color red is closer to the approximate maroon of the scene, the relative reflected intensity sensed when the red primary light source is activated is higher (i.e.,. <NUM>) than when the royal blue primary light sources is activated (i.e.,. Using this technique, in accordance with this implementation, the controller may develop a color map of the scene based on the data gathered via the pixel(s) of the image sensor.

According to another implementation, a color map may be expressed in a standardized color space such as CIE1931, CIE1976, CAM02-UCS, or the like. Expressing the color map in such a standardized color space may allow more advanced spectral optimization algorithms and/or more intuitive programming of the desired response. The reflectance spectrum of each pixel of an image sensor may be estimated and, subsequently the associated color coordinates for the pixel may be calculated based on the estimated reflectance spectrum. <FIG> shows an example implementation including reflectance spectra of CES <NUM>, CES <NUM>, CES <NUM> and CES <NUM> colors from TM-<NUM> represented by solid lines <NUM>, <NUM>, <NUM> and <NUM> respectively. Dashed lines <NUM>, <NUM>, <NUM>, and <NUM> show the respective estimated reflectance spectra using the five primary light sources of <FIG> and <FIG>.

The dashed lines <NUM>, <NUM>, <NUM>, and <NUM> are estimated based on the image data collected by an image sensor. As a specific example, as shown in <FIG>, the royal blue primary channel emits a peak wavelength at <NUM> shown by <NUM>. Accordingly, <FIG> shows that the relative reflected intensity sensed by an image sensor, such as image sensor <NUM> of <FIG>, senses four different CES color points <NUM>, <NUM>, <NUM>, and <NUM> while the royal blue primary channel is activated, and emits a peak wavelength at <NUM> shown by <NUM>. The four different CES color points in this example correspond to the maroon (CES <NUM>) <NUM>, the teal (CES <NUM>) <NUM>, the mustard (CES <NUM>) <NUM>, and the purple (CES <NUM>) <NUM>. The five wavelengths corresponding to the five primary light sources are shown by <NUM> for the royal blue, <NUM> for the cyan, <NUM> for the lime, <NUM> for the amber, and <NUM> for the red. As a specific example, while the royal blue primary light source is activated to emit sensing light at <NUM>, shown by <NUM>, the image sensor may register a relative reflectance intensity of roughly. <NUM> corresponding to the maroon CES <NUM>, as shown by point <NUM> in <FIG>, and a relative reflectance intensity of roughly. <NUM> corresponding to the teal CES <NUM>, as shown by point <NUM>. Similarly, in the example shown in <FIG>, the image sensor <NUM> may capture four CES color points at the peak wavelength for each of the five primary light sources of <FIG> and <FIG>, for a total of <NUM> SPD data points, in this example. To summarize, by cycling through the five primaries and recording the reflected intensity via the image sensor, SPD data points are obtained at the centroid wavelength of each primary. An approximate reflectance spectrum can subsequently be estimated based on these data points via polynomial fits such as those shown by the dashed lines <NUM>, <NUM>, <NUM>, and <NUM>. Each dashed line <NUM>, <NUM>, <NUM>, and <NUM> represents a best polynomial fit for a respective CES color based on data points collected at peak wavelengths of the five primary sources, with conditions defined at <NUM> and <NUM>. It should be noted that other interpolation methods may also be used such as a linear interpolation, spline interpolation, or moving average interpolation.

Generally, the accuracy of the approximation may improve with an increasing number of primary light sources and may be the highest when the primary light sources have narrow bandwidth and are spread out evenly over the visible spectrum. As a reference, <FIG> shows an analysis of the polynomial fit with the five primaries of <FIG> and <FIG> where data points for all <NUM> CES colors from TM-<NUM> were calculated by sequentially activating each of the five primaries. <FIG> shows a graph <NUM> where of the <NUM> CES from TM-<NUM>, <NUM> CES colors are identified by their correct TM-<NUM> hue bin (<NUM>-<NUM>), and <NUM> CES colors are identified correctly within plus or minus one hue bin. In <FIG>, the circles represent the original CES color point and the corresponding diamond represent the estimated color point as determined by using the five primary light sources.

At <NUM> of <FIG>, the spectrum optimization criteria for primary light sources is determined based on the reference information and one or more desired output parameters. As further discussed herein, the spectrum optimization criteria may be the criteria that the primary light sources are operated based on when emitting a lighting spectrum onto a scene. Accordingly, the spectrum optimization criteria are the criteria that achieve the desired output based on the reference information of the scene. The reference information may be determined based on combined image data as disclosed herein in reference to <NUM> of <FIG>. The desired output parameters may be generated via any applicable manner such as based on user input, based the location of a device or component, based on the image data, based on predetermined criteria, or the like. A user may provide input via a wireless signal such as via Bluetooth, WiFi, RFID, infrared, or the like. Alternatively, a user may provide input via a keyboard, mouse, touchpad, haptic response, voice command, or the like. A controller, such as controller <NUM> of <FIG>, may utilize the reference information and the desired output parameter(s) to generate the spectrum optimization criteria.

According to an implementation, spectrum optimization criteria may be precalculated offline based on potential image data and output parameters and may be stored via an applicable technique, such as a lookup table, on a controller or a memory accessible by the controller. Such pre-calculation and storing may reduce the need for complex calculations by an on-board controller that may be limited in its computational ability. <FIG> shows an example flowchart diagram of such an implementation. As shown, factory input data <NUM> may be provided to an on-board processing system <NUM>. Specifically, the factory input data <NUM> may be provided to a scene color mapping module <NUM> to generate spectral data points based on for example, image data collected while primary light sources emit a sensing spectrum as well as intensity values and factory input data <NUM>. The factory input data <NUM> may also be provided to a source spectrum optimization module <NUM> which may calculate desired indices/spectrum optimization criteria based on: the output from the scene color mapping module <NUM> and specified response behavior (output parameters) from the user programming module <NUM>. The spectrum optimization module <NUM> may also set the channel drive currents based on the determined spectrum optimization criteria.

At <NUM> of <FIG>, the plurality of primary light sources are activated to emit a lighting spectrum based on the spectrum optimization criteria. The spectrum optimization criteria may be provided to the plurality of primary light sources by the controller either directly or via applicable communication channels, such as a wired or wireless communication channel as further disclosed herein.

According to an implementation of the disclosed subject matter, the spectrum optimization criteria may result in different color rendering modes to be emitted. For example, the desired output parameters may be to maximize the saturation or fidelity of the most contrasting dominant colors in a scene. A controller may utilize the image data to determine the most contrasting dominant colors in a given scene and generate spectrum optimization criteria for the light sources to emit such that the saturation or fidelity of those colors is maximized. As an example, the five primary light sources of <FIG> may be used for color saturation. <FIG> shows chart <NUM> that includes estimated and actual color points of several CES colors in each of the TM-<NUM> hue bins <NUM>, <NUM>, <NUM>, and <NUM>. As shown in <FIG> via chart <NUM>, color saturation may primarily be achieved in either of two directions: along the red to cyan axis (e.g., TM-<NUM> hue bins <NUM> and <NUM>) shown along the horizontal axis in <FIG> or the green-yellow to purple axis (e.g., bins <NUM> and <NUM>) shown along the vertical axis in <FIG>. Accordingly, as a specific example, as shown in <FIG>, a controller may select spectrum optimization criteria based on one of three color rendering modes where the bins correspond to TM-<NUM> hue bins and <NUM> corresponds to a perfect TM-<NUM> circle: (<NUM>) bin <NUM> and bin <NUM> oversaturation if mainly red and/or cyan are detected as represented by trace <NUM>, (<NUM>) bin <NUM> and bin <NUM> oversaturation if mainly green-yellow and/or purple are detected as represented by trace <NUM>, and (<NUM>) a high fidelity spectrum if there is no dominant color detected in one of these hue bins as represented by trace <NUM>.

According to an implementation, a controller may, based on output parameters, select optimization criteria for a spectrum that maximizes oversaturation of the dominant color detected, or a spectrum that maximizes oversaturation of all detected colors weighted by their occurrence. In some implementations, slightly oversaturated colors may be subjectively preferred, as may be indicated by the output parameters. Further, according to an implementation, oversaturation may be quantified by chroma shift such as, for example, the Rcs indices in TM-<NUM>. A typical preferred range for Rcs may be <NUM>-<NUM>%, and a more preferred range may be <NUM>-<NUM>%.

Further, according to an implementation, image data may be compared to a previously recorded image data to determine the colors of a moving or new object of interest such that the spectrum can be optimized for this object. Alternatively, the average reflectance spectrum of the image may be used to optimize the spectrum for the average color. In the optimization of the spectrum, the chromaticity may be kept constant or allowed to change.

According to an implementation, the output parameters may correspond to targeting a certain chromaticity of the emitted light, based on a given scene as determined based on the image data. For example, a cool white may be desirable when the scene contains cool hues such as blue, cyan and green, whereas a warm white may illuminate yellow, orange and red hues. Such a scheme may enhance color gamut and visual brightness of the scene. According to this example, a controller may provide spectrum optimization criteria corresponding to three or more primaries.

According to an implementation, the output parameters may correspond to achieving a desired color point. According to this implementation, a controller may utilize the reflected light information within the image to determine the spectrum optimization criteria for the emitted spectrum that is needed to achieve a desired overall color point. For example, in a space where a colored object or wall is illuminated near a white background, the light reflected off the colored object or wall may cause the white background to appear non-white, may be undesirable, as indicated by the output parameters. Accordingly, a controller may generate spectrum optimization criteria such that the primary light sources emit a lighting spectrum that maintains the white background as white.

According to an implementation, the lighting system disclosed herein may include a communication interface that may enable communication to an external component or system. The communication may be facilitated by wired or wireless transmissions and may incorporate any applicable modes including Bluetooth, WiFi, cellular, infrared, or the like. According to an implementation, the controller may be external to the lighting system such that image data is provided to the external controller and spectrum optimization criteria is determined and/or provided by the external controller. Additionally or alternatively, output criteria may be provided via an external input device (e.g., a mobile phone) and/or may be provided to an external component such as an external controller.

Claim 1:
A method comprising:
illuminating (<NUM>) a scene with a first sensing spectrum emitted by a first subset of a plurality of primary light sources, wherein a light emitting array comprises said plurality of primary light sources, by modulating a light output from the first subset of the plurality of primary light sources;
sensing (<NUM>) first image data of the scene for a plurality of pixels while the scene is illuminated with the first sensing spectrum;
after sensing (<NUM>) the first image data, illuminating (<NUM>) 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;
sensing (<NUM>) second image data of the scene for the plurality of pixels while the scene is illuminated with the second sensing spectrum; the method characterised by comprising:
generating (<NUM>) a color map of the scene assigning a color point in a color space to each of the pixels based on the first sensing spectrum, the first image data, the second sensing spectrum, and the second image data;
determining (<NUM>) spectrum optimization criteria for the plurality of primary light sources from the color map and a desired output parameter; and
activating (<NUM>) the plurality of the primary light sources to emit a lighting spectrum based on the spectrum optimization criteria, wherein the first subset has a first primary color, and the second subset has a second primary color different from the first primary color.