A light intensity compensation method and system based on pixel response correlation
Patent Information
- Application Number
- CN202611231707.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-14
- Publication Date
- 2026-10-27
AI Technical Summary
[0003]然而,在多个光源单元共同照射同一目标照明平面的场景中,各光源的实际光强响应容易受到安装位置、光学器件差异、光路衰减及光源性能差异等因素影响,预设模型或固定照射范围难以准确反映各光源单元对各像素位置的实际作用程度
[0057]通过对各光源单元施加可区分检测调制并建立包括响应程度和响应方向的像素响应关联关系,为光强异常像素及候选补偿光源单元的确定提供实际响应依据;通过区分候选补偿光源单元对光强异常像素的补偿响应和对其他像素的连带响应,建立补偿冲突关系并排除冲突光源组合,减少多光源联合调节时连带影响的同向叠加;通过预测候选补偿参数组合的补偿后整体空间光强分布,并结合预设光强分布条件和光源调节约束进行筛选,提高空间光强分布与目标空间光强分布的匹配性和补偿准确性。
Smart Images

Figure CN122994974A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of lighting intensity control technology, specifically to a light intensity compensation method and system based on pixel response correlation. Background Technology
[0002] Existing lighting systems typically compensate for the light intensity distribution in the target illumination area by adjusting the driving current, driving power, or duty cycle of each light source unit. Some solutions select and adjust corresponding light sources based on the deviation between the collected light intensity distribution and the target light intensity distribution, or estimate the impact of each light source on different areas based on a preset optical model, light source position, and illumination range.
[0003] However, in scenarios where multiple light source units jointly illuminate the same target illumination plane, the actual light intensity response of each light source is easily affected by factors such as installation location, differences in optical components, optical path attenuation, and differences in light source performance. Preset models or fixed illumination ranges cannot accurately reflect the actual effect of each light source unit on each pixel position. Furthermore, adjusting one light source unit may affect other pixels while compensating for pixels with abnormal light intensity; when multiple light source units are adjusted jointly, the cascading effects of different light sources on other pixels may also be superimposed on the same pixel in the same direction. If the joint adjustment parameters are determined solely based on the light intensity deviation of abnormal pixels and the response degree of each light source, it may increase the light intensity deviation of other pixels while reducing local light intensity deviation, affecting the uniformity of spatial light intensity distribution and the accuracy of compensation. To solve these problems, this invention designs a light intensity compensation method and system based on pixel response correlation. Summary of the Invention
[0004] To address the shortcomings of existing technologies, the present invention aims to provide a light intensity compensation method and system based on pixel response correlation. This method applies distinguishable detection modulation to multiple independently adjustable light source units, establishing pixel response correlations between each light source unit and each pixel on the target illumination plane. Based on pixel light intensity deviations, it identifies pixels with abnormal light intensity and candidate compensation light source units. Furthermore, it establishes compensation conflict relationships based on the compensation responses of each candidate compensation light source unit to pixels with abnormal light intensity and their associated responses to other pixels. It eliminates light source combinations with compensation conflicts and generates candidate compensation parameter combinations. The method predicts and filters the overall spatial light intensity distribution after compensation for each combination, determines and executes the target compensation parameter combination, thereby reducing the unidirectional superposition of associated effects during multi-light source joint compensation, improving the matching and compensation accuracy between the spatial light intensity distribution and the target spatial light intensity distribution.
[0005] To achieve the above objectives, the present invention provides the following technical solution:
[0006] A light intensity compensation method based on pixel response correlation, the method comprising:
[0007] Acquire the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units;
[0008] Differentiable detection modulation is applied to each light source unit, and a pixel response correlation relationship including response degree and response direction is established based on the pixel light intensity change;
[0009] Pixels with abnormal light intensity are identified based on pixel light intensity deviation, and candidate compensation light source units are determined based on the correlation between compensation direction and pixel response.
[0010] Based on the compensation response of each candidate compensation light source unit to the pixel with abnormal light intensity and the associated response to other pixels, the compensation conflict relationship between light sources with associated responses superimposed in the same direction on the same pixel is determined.
[0011] Eliminate light source combinations with compensation conflicts, determine the driving adjustment amount based on pixel light intensity deviation and response degree, and generate candidate compensation parameter combinations;
[0012] Based on the pixel response correlation, the overall spatial light intensity distribution after compensation for each candidate compensation parameter combination is predicted. Target compensation parameter combinations that meet the preset light intensity distribution conditions and light source adjustment constraints are selected and executed to obtain the light intensity compensation result.
[0013] Further, acquiring the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units on the target illumination plane includes:
[0014] While maintaining the current driving parameters of each light source unit, the light intensity distribution image of the target illumination plane is acquired to obtain the current spatial light intensity distribution image;
[0015] The target light intensity corresponding to each pixel position on the target illumination plane is obtained to form the target spatial light intensity distribution;
[0016] Based on the spatial position of the target illumination plane, pixel registration is performed between the current spatial light intensity distribution image and the target spatial light intensity distribution.
[0017] Furthermore, applying distinguishable detection modulation to each light source unit includes:
[0018] Based on the current driving parameters and allowable illumination disturbance range of each light source unit, determine the corresponding detection modulation amount;
[0019] According to a preset detection sequence, or according to at least one of the detection timing, modulation amplitude, and modulation frequency, each light source unit is configured with a detection modulation signal that can be distinguished from each other;
[0020] Adjust the corresponding light source unit according to the detection modulation signal, and obtain the light intensity distribution image of the target illumination plane during the detection modulation period.
[0021] Furthermore, the step of establishing a pixel response correlation based on pixel light intensity changes, including response degree and response direction, includes:
[0022] Extract the light intensity change sequence of each pixel from the light intensity distribution image during the detection modulation period;
[0023] Based on the correspondence between the light intensity change sequence and each detection modulation signal, the pixel light intensity change caused by each light source unit is determined;
[0024] Based on the pixel light intensity change and the corresponding detection modulation amount, the response degree and response direction of each light source unit to each pixel are determined;
[0025] The pixel response correlation is established by associating each light source unit, each pixel, and their corresponding response degree and response direction.
[0026] Further, the step of determining pixels with abnormal light intensity based on pixel light intensity deviation includes:
[0027] The current light intensity of each pixel in the current spatial light intensity distribution image is compared with the target light intensity of the corresponding pixel in the target spatial light intensity distribution to obtain the pixel light intensity deviation, including the deviation direction and the deviation amount.
[0028] Pixels whose light intensity deviation exceeds the preset allowable deviation range are identified as pixels with abnormal light intensity.
[0029] Alternatively, when the light intensity distribution in the target space is uniform, pixels that are located within a continuous pixel region that does not meet the preset light intensity uniformity condition and whose pixel light intensity deviation is not zero are identified as pixels with abnormal light intensity.
[0030] Further, determining the candidate compensation light source unit based on the compensation direction and the pixel response correlation includes:
[0031] The required compensation direction is determined based on the direction of pixel light intensity deviation of the pixel with abnormal light intensity.
[0032] Based on the pixel response correlation, determine the light source unit that has a response correlation with the pixel with abnormal light intensity;
[0033] Based on the response direction and remaining adjustment range of each light source unit, candidate light source units that can make the light intensity abnormal pixel change along the corresponding compensation direction and whose remaining adjustment range meets the preset adjustment range conditions are selected.
[0034] The candidate light source units whose response to the light intensity aberration pixels meets the preset response conditions are determined as candidate compensation light source units.
[0035] Furthermore, compensation conflict relationships are established based on the compensation responses and associated responses of each candidate compensation light source unit, and candidate compensation parameter combinations are generated, including:
[0036] Based on the response degree and response direction of each pixel when each candidate compensation light source unit is adjusted along the corresponding compensation direction, the compensation response that reduces the deviation of the pixel with abnormal light intensity and the associated response that increases the deviation of other pixels are determined.
[0037] Determine whether the associated responses of different candidate compensation light source units act on the same pixel and have the same response direction, and determine the candidate compensation light source units that meet this condition as having a compensation conflict relationship;
[0038] By excluding light source combinations that simultaneously contain candidate compensation light source units with compensation conflict relationships, we obtain composable light source combinations;
[0039] Based on the pixel intensity deviation of each pixel with abnormal light intensity and the response degree of each candidate compensation light source unit in the combinable light source combination, the corresponding driving adjustment amount is determined within the detected adjustment range covered by the detection modulation of each candidate compensation light source unit, and a candidate compensation parameter combination is generated.
[0040] Further, predicting the overall spatial intensity distribution after compensation for each candidate compensation parameter combination based on the pixel response correlation includes:
[0041] For each candidate compensation parameter combination, the predicted light intensity change generated by each candidate compensation light source unit for each pixel is determined based on the driving adjustment amount of each candidate compensation light source unit and the corresponding response degree and response direction in the pixel response correlation.
[0042] The predicted light intensity changes of the same pixel produced by different candidate compensation light source units are superimposed to obtain the predicted light intensity change of the corresponding pixel.
[0043] The predicted light intensity is determined based on the predicted light intensity change and the current light intensity of the corresponding pixel, and the overall spatial light intensity distribution after compensation is formed based on the predicted light intensity of each pixel.
[0044] Furthermore, the selection of target compensation parameter combinations that satisfy preset light intensity distribution conditions and light source adjustment constraints includes:
[0045] The overall spatial light intensity distribution after compensation corresponding to each candidate compensation parameter combination is compared with the target spatial light intensity distribution to determine the corresponding overall pixel light intensity deviation, and when the target spatial light intensity distribution is a uniform light intensity distribution, the predicted light intensity uniformity is determined.
[0046] Candidate compensation parameter combinations that satisfy the preset pixel deviation condition and the light source adjustment constraint are selected; when the target space light intensity distribution is a uniform light intensity distribution, the predicted light intensity uniformity also satisfies the preset light intensity uniformity condition.
[0047] When there are multiple candidate compensation parameter combinations that meet the conditions, the target compensation parameter combination is determined based on at least one of the following: overall pixel light intensity deviation, number of light source units involved in compensation, total driving adjustment amount, and compensation energy consumption.
[0048] The light source adjustment constraints include at least one of the following: upper and lower limits of driving parameters, allowable adjustment range per operation, and total power limit of multiple light source units.
[0049] A light intensity compensation system based on pixel response correlation, the system comprising:
[0050] The distribution acquisition module is used to acquire the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units on the target illumination plane;
[0051] The response correlation module is used to apply distinguishable detection modulation to each light source unit and establish pixel response correlation relationship including response degree and response direction based on pixel light intensity changes.
[0052] The compensation object determination module is used to determine pixels with abnormal light intensity based on pixel light intensity deviation, and to determine candidate compensation light source units based on the correlation between the compensation direction and the pixel response.
[0053] The conflict relationship determination module is used to determine the compensation conflict relationship between light sources whose associated responses are superimposed in the same direction on the same pixel, based on the compensation response of each candidate compensation light source unit to the pixel with abnormal light intensity and the associated response to other pixels.
[0054] The parameter combination generation module is used to exclude light source combinations with compensation conflicts, determine the driving adjustment amount based on pixel light intensity deviation and response degree, and generate candidate compensation parameter combinations.
[0055] The prediction compensation module is used to predict the overall spatial light intensity distribution after compensation for each candidate compensation parameter combination based on the pixel response correlation, select target compensation parameter combinations that meet the preset light intensity distribution conditions and light source adjustment constraints, and execute them to obtain the light intensity compensation result.
[0056] Compared with the prior art, the beneficial effects of the present invention are:
[0057] By applying distinguishable detection modulation to each light source unit and establishing pixel response correlations including response degree and response direction, practical response basis is provided for determining pixels with abnormal light intensity and candidate compensation light source units. By distinguishing the compensation response of candidate compensation light source units to pixels with abnormal light intensity and their associated responses to other pixels, compensation conflict relationships are established and conflicting light source combinations are eliminated, reducing the unidirectional superposition of associated effects when multiple light sources are jointly adjusted. By predicting the overall spatial light intensity distribution after compensation of candidate compensation parameter combinations and combining it with preset light intensity distribution conditions and light source adjustment constraints for screening, the matching and compensation accuracy between the spatial light intensity distribution and the target spatial light intensity distribution are improved. Attached Figure Description
[0058] Figure 1 This is a schematic diagram of a light intensity compensation application scenario provided by an embodiment of the present invention;
[0059] Figure 2 This is a flowchart illustrating the light intensity compensation method based on pixel response correlation provided in an embodiment of the present invention.
[0060] Figure 3 This is a schematic diagram of the structure of a light intensity compensation system based on pixel response correlation provided in an embodiment of the present invention. Detailed Implementation
[0061] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are all within the protection scope of the present invention.
[0062] In this document, the reference to "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this reference in various places throughout the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. The different embodiments described herein can be combined with each other.
[0063] The light intensity disclosed in the embodiments of this invention can be represented by illuminance, luminance, or other optical quantities that can characterize the light output intensity of the target illumination plane; the light source unit can be an independent LED light source, an LED driving channel, an independent light-emitting unit in a light source array, or a light source zone whose output can be adjusted individually. The driving parameters of each light source unit may include at least one of driving current, driving power, or pulse width modulation duty cycle, and the specific form does not constitute a limitation on the scope of protection of this invention.
[0064] This invention is applicable to lighting scenarios where multiple independently adjustable light source units collectively form a spatial light intensity distribution. It is particularly suitable for scenarios where the illumination ranges of multiple light source units overlap on the target lighting plane, and where high uniformity of overall spatial light intensity is required. The target lighting plane can be a lighting detection plane, an imaging lighting plane, a processing work surface, a display backlight surface, or other spatial areas requiring a predetermined light intensity distribution.
[0065] In the aforementioned application scenarios, a pixel location is typically affected by multiple light source units simultaneously, and a change in the output of one light source unit may also alter the light intensity at multiple pixel locations on the target illumination plane. Due to differences in the installation location, light emission characteristics, optical device status, propagation distance, and optical path attenuation of each light source unit, even if different light source units use the same driving adjustment amount, the actual light intensity changes they produce at different pixel locations may differ.
[0066] Existing solutions typically determine the effective range of each light source unit on the target illumination area based on the spatial location, nominal illumination range, or preset optical model of the light source unit, and adjust the corresponding light source unit according to the deviation between the current light intensity and the target light intensity. However, preset effective ranges or theoretical models are difficult to fully reflect the response differences of each light source unit to each pixel in the actual lighting environment, which can easily lead to a mismatch between the compensation effect of the selected light source unit and the actual abnormal light intensity location.
[0067] Furthermore, when multiple light source units jointly affect the same pixel with abnormal light intensity, determining the adjustment amount for each light source unit separately can easily lead to problems such as redundant distribution of compensation or insufficient compensation. Different light source units may also have a cascading effect on other pixels while compensating for the pixel with abnormal light intensity. When the cascading responses of multiple candidate compensation light source units act on the same pixel in the same direction, these cascading responses may superimpose in the same direction at that pixel, causing a new light intensity deviation in a pixel that originally met the light intensity requirements. Therefore, determining the adjustment amount of each light source unit solely based on the pixel with abnormal light intensity makes it difficult to balance the local compensation effect with the impact of the joint adjustment of multiple light source units on the overall spatial light intensity distribution.
[0068] To address the aforementioned issues, this invention does not simply adjust adjacent or corresponding light source units based on the location of light intensity anomalies. Instead, it first applies distinguishable detection modulation to each light source unit. Based on the pixel light intensity changes caused by the detection modulation, it determines the actual response degree and direction of each light source unit to each pixel on the target illumination plane, establishing a pixel response correlation. This pixel response correlation characterizes the actual interaction between the light source unit and the pixel, and serves as the common processing basis for subsequent determination of compensation objects, analysis of compensation and consequential responses, generation of compensation parameters, and prediction of compensation results.
[0069] Subsequently, the current spatial light intensity distribution image is compared with the target spatial light intensity distribution to obtain the pixel light intensity deviation, including the deviation direction and the deviation amount, and the pixels with abnormal light intensity are identified accordingly. The corresponding compensation direction is determined based on the pixel light intensity deviation direction of the pixels with abnormal light intensity, and the light source units with response correlation to the pixels with abnormal light intensity are determined based on the pixel response correlation. Combining the response direction, remaining adjustment range, and response degree of each light source unit, candidate compensation light source units that can cause the pixels with abnormal light intensity to change along the corresponding compensation direction are screened, thereby mapping the light intensity compensation requirement at the pixel location inversely to the light source object capable of performing compensation adjustment.
[0070] After determining the candidate compensation light source units, based on the response degree and direction of each candidate compensation light source unit to each pixel when adjusted along the corresponding compensation direction, the compensation response generated to pixels with abnormal light intensity and the associated response generated to other pixels are distinguished. When the associated responses of different candidate compensation light source units act on the same pixel and have the same response direction, the corresponding candidate compensation light source units are determined to have a compensation conflict relationship, and light source combinations that simultaneously contain candidate compensation light source units with the aforementioned compensation conflict relationship are excluded. On this basis, based on the pixel light intensity deviation of each pixel with abnormal light intensity and the response degree of each candidate compensation light source unit in the combinable light source combination, the corresponding driving adjustment amount is determined within the detected adjustment range covered by the detection modulation, generating candidate compensation parameter combinations. Each candidate compensation parameter combination corresponds to a joint adjustment scheme of multiple light source units, rather than performing independent local adjustments on each light source unit.
[0071] Furthermore, for each candidate compensation parameter combination, based on the driving adjustment amount of each candidate compensation light source unit and the response degree and direction in the pixel response correlation, the predicted light intensity change generated by each candidate compensation light source unit for each pixel is determined, and the predicted light intensity changes acting on the same pixel are superimposed to obtain the overall spatial light intensity distribution after compensation. The overall spatial light intensity distribution after compensation is compared with the target spatial light intensity distribution, and the target compensation parameter combination is selected in combination with preset light intensity distribution conditions and light source adjustment constraints. Thus, the compensation effect of pixels with abnormal light intensity and the impact of the joint adjustment of multiple light source units on other pixels and the overall spatial light intensity distribution can be considered simultaneously before compensation is performed.
[0072] Therefore, this invention obtains the actual response degree and response direction of each light source unit to each pixel of the target illumination plane by distinguishable detection modulation, and determines the light intensity abnormal pixels and corresponding candidate compensation light source units based on the established pixel response correlation; further analyzes the compensation response and cascading response of each candidate compensation light source unit, eliminates conflicting light source combinations that may produce cascading effects, and generates candidate compensation parameter combinations; by predicting the overall spatial light intensity distribution after compensation corresponding to each candidate compensation parameter combination, determines and executes the target compensation parameter combination that satisfies the preset light intensity distribution conditions and light source adjustment constraints, thereby realizing the joint adjustment between multiple light source units.
[0073] refer to Figure 1 As shown, Figure 1 This is a schematic diagram of a light intensity compensation application scenario provided by an embodiment of the present invention. The application scenario includes multiple independently adjustable light source units 1, 2, 3, ..., n, a light source driving device, a target illumination plane, a light intensity image acquisition device, a light intensity compensation processor, a current spatial light intensity distribution image, and a target spatial light intensity distribution.
[0074] Multiple light source units are arranged facing the target illumination plane to form a spatial light intensity distribution by superposition on the target illumination plane. The illumination ranges of different light source units can partially overlap, allowing the same pixel position on the target illumination plane to be jointly illuminated by one or more light source units. Each light source unit is driven by an independently adjustable driving channel, ensuring that changes in the driving parameters of one light source unit do not alter the driving parameters of other light source units, thereby enabling the determination of the detection modulation response and compensation adjustment amount for each light source unit.
[0075] The light source driving device is connected to multiple light source units respectively, and is used to adjust the driving current, driving power or pulse width modulation duty cycle of the corresponding light source unit according to the detection modulation parameters or compensation adjustment parameters.
[0076] The target illumination plane is used to support the spatial light intensity distribution formed by the superposition of multiple light source units. Pixels P1 and P2 in the figure are example pixels in the target illumination plane, used to illustrate that pixel positions on the target illumination plane can be illuminated by one or more light source units, and the degree of influence of different light source units on different pixel positions can be different. Pixels P1 and P2 are merely exemplary markers and do not constitute a limitation on the number, position, or type of pixels.
[0077] The light intensity image acquisition device is positioned facing the target illumination plane to acquire an image of the light intensity distribution on the target illumination plane and sends the acquired image data to a light intensity compensation processor. The light intensity image acquisition device can be an industrial camera, a light intensity imaging device, or an array-type acquisition device composed of multiple optical detection units.
[0078] The light intensity compensation processor is connected to the light intensity image acquisition device and the light source driving device, respectively. It is used to acquire the current spatial light intensity distribution image and the target spatial light intensity distribution, perform detection modulation on each light source unit and establish a pixel response correlation including response degree and response direction, determine the light intensity abnormal pixels according to the pixel light intensity deviation, and determine the candidate compensation light source units according to the compensation direction and the pixel response correlation; determine the compensation conflict relationship according to the compensation response and associated response of each candidate compensation light source unit, eliminate the light source combination with compensation conflict relationship and generate the candidate compensation parameter combination; predict the overall spatial light intensity distribution after compensation corresponding to each candidate compensation parameter combination according to the pixel response correlation, and screen the target compensation parameter combination.
[0079] The current spatial light intensity distribution image is used to characterize the current light intensity at each pixel position on the target illumination plane, while the target spatial light intensity distribution is used to characterize the target light intensity at each pixel position on the target illumination plane. The light intensity compensation processor determines the target compensation parameter combination and generates corresponding control commands based on the current spatial light intensity distribution image, the target spatial light intensity distribution, and the light intensity distribution image acquired during detection modulation. It then adjusts the driving parameters of the corresponding light source units through the light source driving device, causing multiple light source units to form a compensated spatial light intensity distribution on the target illumination plane, thus obtaining the light intensity compensation result.
[0080] It should be noted that, Figure 1 The structure shown is only used to illustrate exemplary application scenarios of the present invention and does not constitute a limitation on the number of light source units, the shape of the target illumination plane, the pixel position distribution, the light source arrangement method, the component connection method, or the specific device model.
[0081] Example 1:
[0082] refer to Figure 2 As shown, this embodiment provides a light intensity compensation method based on pixel response correlation, including:
[0083] S1. Acquire the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units.
[0084] In this embodiment, multiple light source units each have independently adjustable driving parameters, and together form a spatial light intensity distribution on the target illumination plane. The current spatial light intensity distribution image is used to characterize the actual light intensity of each pixel position under the current driving state, and the target spatial light intensity distribution is used to characterize the target light intensity expected to be achieved at each pixel position.
[0085] The current spatial light intensity distribution image corresponds to the pixel positions in the target spatial light intensity distribution, enabling comparison between the current light intensity and the target light intensity at the same pixel position. This step establishes the current light field reference and the target light field reference, serving as the basis for subsequent processing to determine pixel light intensity deviations and predict the overall spatial light intensity distribution after compensation.
[0086] S2. Apply distinguishable detection modulation to each light source unit, and establish a pixel response correlation relationship including response degree and response direction based on the pixel light intensity change.
[0087] In this embodiment, the distinguishable detection modulation refers to the detection modulation that can identify the corresponding light source unit based on the pixel light intensity change. After applying detection modulation to each light source unit, the light intensity distribution change of the target illumination plane is collected, and the light intensity change of each pixel is correlated with the detection modulation of the corresponding light source unit, thereby determining the response degree and response direction of each light source unit to each pixel.
[0088] The response degree characterizes the extent to which the driving change of the light source unit affects the light intensity of the corresponding pixel, and the response direction characterizes the direction of the increase or decrease in pixel light intensity caused by the corresponding driving change. The pixel response correlation characterizes the actual interaction relationship between each light source unit and each pixel of the target illumination plane, and serves as the basis for determining candidate compensation light source units, analyzing compensation response and associated response, generating candidate compensation parameter combinations, and predicting the overall spatial light intensity distribution after compensation.
[0089] S3. Determine pixels with abnormal light intensity based on pixel light intensity deviation, and determine candidate compensation light source units based on the correlation between compensation direction and pixel response.
[0090] In this embodiment, the current light intensity at each pixel location is compared with the corresponding target light intensity to obtain the pixel light intensity deviation. The pixel light intensity deviation is used to characterize the direction and amount of deviation of the current light intensity of the corresponding pixel relative to the target light intensity, and based on this, pixels with abnormal light intensity that need to be compensated are identified.
[0091] Based on the direction of pixel intensity deviation of the pixel with abnormal intensity, the corresponding compensation direction is determined. Then, based on the pixel response correlation, a light source unit capable of causing an intensity change in the pixel with abnormal intensity along the corresponding compensation direction is identified, and candidate compensation light source units are determined. Thus, the compensation requirements of the pixel with abnormal intensity are mapped to a light source unit that can produce a compensation effect through adjustment of driving parameters.
[0092] S4. Based on the compensation response of each candidate compensation light source unit to the pixel with abnormal light intensity and the associated response to other pixels, determine the compensation conflict relationship between light sources with associated responses superimposed in the same direction as the same pixel.
[0093] In this embodiment, when the candidate compensation light source unit is adjusted along the corresponding compensation direction, its output change can not only affect the pixel with abnormal light intensity to be compensated, but may also simultaneously affect other pixels in the target illumination plane. The response that reduces the pixel light intensity deviation of the pixel with abnormal light intensity is called the compensation response, and the light intensity change caused by the adjustment and acting on other pixels is called the incident response.
[0094] Based on the analysis of pixel response correlation, the associated responses generated by different candidate compensation light source units are identified. When the associated responses of multiple candidate compensation light source units act on the same pixel and have the same response direction, the corresponding associated responses may form a unidirectional superposition at that pixel. Therefore, the corresponding candidate compensation light source units are identified as having a compensation conflict relationship. Through this step, the concentrated associated effects that may occur when multiple candidate compensation light source units are jointly adjusted are identified before generating specific compensation parameter combinations.
[0095] S5. Eliminate light source combinations with compensation conflicts, determine the driving adjustment amount based on pixel light intensity deviation and response degree, and generate candidate compensation parameter combinations.
[0096] In this embodiment, based on the compensation conflict relationship determined in step S4, the combination of candidate compensation light source units is restricted, light source combinations that simultaneously contain candidate compensation light source units with compensation conflict relationships are excluded, and a combination of light source units for joint compensation is determined from the remaining light source combinations.
[0097] Based on the pixel intensity deviation of each pixel with abnormal light intensity and the response degree of the corresponding candidate compensation light source unit, the driving adjustment amount corresponding to each candidate compensation light source unit is determined, and the candidate compensation light source units participating in the compensation and their driving adjustment amounts are combined to form multiple candidate compensation parameter combinations.
[0098] Each candidate compensation parameter combination is used to characterize a multi-source joint adjustment scheme. By eliminating light source combinations with compensation conflicts before generating parameter combinations, the situation where the cascading responses of multiple light source units are superimposed in the same direction at the same pixel can be reduced. Then, the corresponding driving adjustment amount is allocated according to the pixel light intensity deviation and response degree.
[0099] S6. Based on the pixel response correlation, predict the overall spatial light intensity distribution after compensation for each candidate compensation parameter combination, select the target compensation parameter combination that meets the preset light intensity distribution conditions and light source adjustment constraints, and execute it to obtain the light intensity compensation result.
[0100] In this embodiment, for each candidate compensation parameter combination, based on the driving adjustment amount of each candidate compensation light source unit and the corresponding response degree and response direction in the pixel response correlation, the light intensity change generated by each candidate compensation light source unit on each pixel of the target illumination plane after adjustment is predicted, and the overall spatial light intensity distribution after compensation of the corresponding candidate compensation parameter combination is determined accordingly.
[0101] The compensated overall spatial light intensity distribution covers all pixels of the target illumination plane, not just pixels with abnormal light intensity, so that the light intensity impact of the candidate compensation light source unit on other pixels can also be included in the evaluation scope of the compensation result.
[0102] The overall spatial light intensity distribution after compensation corresponding to each candidate compensation parameter combination is compared with the target spatial light intensity distribution. Combined with light source adjustment constraints, a target compensation parameter combination that satisfies the preset light intensity distribution conditions and light source adjustment constraints is selected from the candidate compensation parameter combinations. Subsequently, the driving parameters of the corresponding light source units are adjusted according to the target compensation parameter combinations, so that multiple light source units form a compensated spatial light intensity distribution on the target illumination plane, thus obtaining the light intensity compensation result.
[0103] Before going into the specific technical details of each step, it should be noted that the core problem faced by this invention is not simply determining which pixels in the target illumination plane have light intensity deviations, but rather how to determine the joint adjustment parameters of multiple light source units when the illumination ranges of multiple light source units overlap, the same pixel is affected by multiple light source units, and one light source unit affects multiple pixels simultaneously, and how to reduce the adverse cascading effects of the joint adjustment of multiple light source units on other pixels, so that the overall spatial light intensity distribution after compensation meets the target requirements.
[0104] If the relationship between a light source unit and a pixel is determined solely based on the position, nominal illumination range, or theoretical optical model of the light source unit, the response differences formed by each light source unit under actual installation conditions and optical path conditions are difficult to accurately reflect. When selecting a compensation light source based on this relationship, there may be issues such as insufficient actual compensation for abnormal pixels by the selected light source, or the impact of light source adjustment on other pixels not being fully considered.
[0105] Therefore, this invention first distinguishably detects and modulates the output changes of each light source unit, and then determines the corresponding response degree and direction based on the actual light intensity changes of each pixel on the target illumination plane, establishing a pixel response correlation. This pixel response correlation not only indicates whether there is a spatial correspondence between the light source unit and the pixel, but also reflects the actual effect and direction of the driving changes of the light source unit on different pixels, thus providing a practical response basis for subsequent compensation object determination and joint adjustment.
[0106] Based on the pixel response correlation, the current spatial light intensity distribution is compared with the target spatial light intensity distribution. Pixels with abnormal light intensity are identified based on the obtained pixel light intensity deviation, and a corresponding compensation direction is determined based on the deviation direction. Candidate compensation light source units are determined by combining the compensation direction and the pixel response correlation, ensuring that the determination of candidate compensation objects is based on the actual effect of the light source unit on the abnormal pixels, rather than solely on spatial distance or a preset illumination area.
[0107] Since candidate compensation light source units may alter the light intensity of other pixels while adjusting pixels with abnormal light intensity, the associated responses generated by different candidate compensation light source units may also affect the same pixel. Therefore, this invention analyzes the compensation response and associated response of candidate compensation light source units, and determines that there is a compensation conflict relationship between corresponding light sources when the associated responses of different candidate compensation light source units act on the same pixel and the response directions are the same.
[0108] When generating candidate compensation parameter combinations, light source combinations with the aforementioned compensation conflict are excluded. Then, the corresponding driving adjustment amount is determined based on the pixel intensity deviation of the pixels with abnormal light intensity and the response level of the candidate compensation light source units. Thus, an adjustment scheme that can be implemented jointly among multiple candidate compensation light source units is determined, rather than performing independent local adjustments on each light source unit separately.
[0109] Furthermore, before actually performing light source adjustment, this invention predicts the overall spatial light intensity distribution after compensation corresponding to each candidate compensation parameter combination based on pixel response correlation, so that the compensation effect of pixels with abnormal light intensity and the light intensity influence of candidate compensation light source units on other pixels can be included in the evaluation scope. The overall light intensity distribution corresponding to each candidate compensation parameter combination is evaluated by preset light intensity distribution conditions, and the light source adjustment constraints are used to determine whether the corresponding parameter combination can be actually executed, thereby determining and executing the target compensation parameter combination.
[0110] The process involves several steps: Step S1 provides the current spatial light intensity distribution and the target spatial light intensity distribution; Step S2 establishes pixel response correlations based on actual detection and modulation results; Step S3 determines candidate compensation light source units using pixel light intensity deviation, compensation direction, and pixel response correlations; Step S4 analyzes the compensation response and associated response of the candidate compensation light source units and determines compensation conflict relationships; Step S5 eliminates light source combinations with compensation conflicts and generates candidate compensation parameter combinations; Step S6 predicts the overall spatial light intensity distribution corresponding to each candidate compensation parameter combination, and determines and executes the target compensation parameter combination based on the prediction results and light source adjustment constraints. The processing results of each step are interconnected, enabling the selection of candidate light sources, the combination of multiple light sources, and the specific driving adjustment amounts to be determined in conjunction with the actual response of the light source unit to the pixels on the target illumination plane.
[0111] Furthermore, acquiring the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units includes:
[0112] S1.1. While maintaining the current driving parameters of each light source unit, acquire the light intensity distribution image of the target illumination plane to obtain the current spatial light intensity distribution image.
[0113] Specifically, before performing detection modulation and light intensity compensation, multiple light source units maintain their current driving parameters, and after the illumination state of the target illumination plane stabilizes, a light intensity distribution image of the target illumination plane is acquired by a light intensity image acquisition device.
[0114] The current driving parameters refer to the driving current, driving power, or pulse width modulation duty cycle used by each light source unit under the current illumination state. The pixel values in the current spatial light intensity distribution image are used to characterize the current light intensity at the corresponding location on the target illumination plane.
[0115] In one example, multiple frames of light intensity distribution images can be continuously acquired within a preset acquisition period. The current light intensity of a pixel is determined based on the light intensity value of the corresponding pixel in the multiple frames, thereby reducing the impact of instantaneous light intensity fluctuations and image acquisition noise on the current spatial light intensity distribution image. The specific number of frames and the processing method can be set according to the light source stabilization time and the sampling frequency of the light intensity image acquisition device.
[0116] When acquiring the current spatial light intensity distribution image and detecting the light intensity distribution image during modulation, the light intensity image acquisition device uses the same exposure time, gain and image processing parameters, and keeps the acquisition results within a preset linear response range, so that the pixel values acquired at different acquisition times are comparable and can reflect the actual light intensity changes at the corresponding pixel positions.
[0117] S1.2 Obtain the target light intensity corresponding to each pixel position of the target illumination plane to form the target spatial light intensity distribution.
[0118] In this embodiment, the target spatial light intensity distribution can be pre-stored in the light intensity compensation processor, or it can be generated according to the target lighting task, lighting area type, or preset lighting requirements. Each target light intensity in the target spatial light intensity distribution corresponds to a corresponding position on the target lighting plane.
[0119] The target spatial light intensity distribution can be a uniform light intensity distribution, meaning that each pixel position on the target illumination plane uses the same or a target light intensity within the same allowable range; or it can be a non-uniform light intensity distribution, meaning that different pixel positions use different target light intensities according to preset illumination requirements. Regardless of the distribution form, the target spatial light intensity distribution is used to provide a light intensity comparison benchmark for each pixel position.
[0120] S1.3. Based on the spatial position of the target illumination plane, perform pixel registration between the current spatial light intensity distribution image and the target spatial light intensity distribution.
[0121] Specifically, the correspondence between each image pixel in the current spatial light intensity distribution image and its spatial position on the target illumination plane is determined, and based on this correspondence, the pixels in the current spatial light intensity distribution image are made to correspond to the pixels in the target spatial light intensity distribution.
[0122] In one example, multiple calibration positions can be pre-set on the target illumination plane, and the spatial transformation relationship can be determined based on the imaging position of each calibration position in the light intensity distribution image. Subsequently, coordinate transformation, resampling, or size adjustment can be performed on the current spatial light intensity distribution image or the target spatial light intensity distribution according to the spatial transformation relationship, so that the two form a unified pixel coordinate system.
[0123] When the current spatial light intensity distribution image and the target spatial light intensity distribution have the same image size and spatial acquisition range, a correspondence can be directly established based on the same pixel coordinates. Through pixel registration, the pixel positions in the current spatial light intensity distribution image are made to correspond to the corresponding pixel positions in the target spatial light intensity distribution.
[0124] To enable comparison between the current light intensity and the target light intensity at a corresponding pixel location, the pixel values in the current spatial light intensity distribution image can be converted to the same light intensity dimension and calibration scale as the target light intensity in the target spatial light intensity distribution, based on the calibration relationship of the light intensity image acquisition device; or, the target light intensity can be converted to the same light intensity representation scale as the pixel values in the current spatial light intensity distribution image. When both have adopted the same light intensity dimension and calibration scale, they can be directly compared. This allows the current light intensity at each pixel location to be compared with the corresponding target light intensity under the same light intensity representation scale, providing a data basis for determining the pixel light intensity deviation in step S3.
[0125] Next, the technical content of the method of the present invention regarding distinguishable detection modulation will be further elaborated.
[0126] Furthermore, applying distinguishable detection modulation to each light source unit includes:
[0127] S2.1 Determine the corresponding detection modulation amount based on the current driving parameters and allowable illumination disturbance range of each light source unit.
[0128] The purpose of setting the detection modulation amount is to enable the detection modulation of the light source unit to produce a recognizable pixel light intensity change on the target illumination plane, while avoiding excessive disturbance to the normal illumination state caused by the detection modulation.
[0129] In this embodiment, the current driving parameters of each light source unit are first obtained, and its adjustable range is determined based on the upper and lower limits of the driving parameters of that light source unit. Subsequently, the detection modulation amount of the corresponding light source unit is determined by combining the allowable light intensity variation range of the target illumination scene.
[0130] The detected modulation quantity can be expressed as a change in drive current, a change in drive power, or a change in pulse width modulation duty cycle. For a light source unit whose current drive parameters are close to the upper limit, a detection modulation with reduced output can be used; for a light source unit whose current drive parameters are close to the lower limit, a detection modulation with increased output can be used; for a light source unit that has both up-modulation and down-modulation space, detection modulation can be performed in either direction.
[0131] For example, the lower limit of the detection modulation amount can be determined based on the light intensity resolution capability of the light intensity image acquisition device, and the upper limit of the detection modulation amount can be determined based on the allowable illumination disturbance range, so that the pixel light intensity change caused by the detection modulation can be identified and does not exceed the allowable range.
[0132] S2.2 Configure each light source unit with a detection modulation signal that can be distinguished from each other, according to a preset detection sequence or according to at least one of detection timing, modulation amplitude and modulation frequency.
[0133] In one example, each light source unit can be detected and modulated sequentially according to a preset detection order. While any light source unit is being detected and modulated, the other light source units maintain their current driving parameters unchanged. Thus, based on the pixel light intensity changes generated during the corresponding detection period, the effect of that light source unit on each pixel can be identified.
[0134] In another example, different detection time periods can be assigned to different light source units, so that multiple light source units are modulated according to different detection sequences; different modulation amplitudes or modulation frequencies can also be configured for different light source units, and the responses generated by different light source units can be distinguished according to the change components in the pixel light intensity that correspond to the corresponding modulation amplitudes or modulation frequencies.
[0135] The distinguishable detection modulation signal is not limited to a single signal form. As long as a clear correspondence can be established between the pixel light intensity change and the corresponding light source unit based on the light intensity distribution image obtained during the detection modulation period, it is acceptable.
[0136] S2.3 Adjust the corresponding light source unit according to the detection modulation signal, and obtain the light intensity distribution image of the target illumination plane during the detection modulation period.
[0137] In this embodiment, the light intensity compensation processor sends the detection modulation signal corresponding to each light source unit to the light source driving device, and the light source driving device changes the driving parameters of the corresponding light source unit according to the detection modulation signal.
[0138] During the detection modulation period, the light intensity image acquisition device continuously acquires light intensity distribution images of the target illumination plane at a preset sampling frequency, and associates each image with its corresponding acquisition time. The resulting light intensity distribution images are used to reflect the light intensity changes at each pixel location under different detection modulation periods or different detection modulation signals.
[0139] After the detection modulation is completed, the corresponding light source unit can be restored to its current driving parameters before detection modulation to avoid the superposition of detection modulation results from different light source units. The restoration process after detection modulation is only used to maintain the consistency of the light source state during the detection process and does not constitute feedback correction of the light intensity compensation result.
[0140] Furthermore, the step of establishing a pixel response correlation based on pixel light intensity changes, including response degree and response direction, includes:
[0141] S2.4 Extract the light intensity change sequence of each pixel from the light intensity distribution image during the detection modulation period.
[0142] Specifically, the multiple light intensity distribution images acquired during the detection modulation period are arranged according to the image acquisition time, and for each pixel position in the target illumination plane, the light intensity value of that pixel in each image is extracted to form a corresponding light intensity change sequence.
[0143] The light intensity change sequence is used to characterize the light intensity change of the corresponding pixel over time during detection modulation. To reduce the influence of image noise, a reference light intensity can be determined based on the pixel light intensity before detection modulation, and the reference light intensity can be subtracted from the light intensity change sequence to obtain the pixel light intensity change sequence relative to the state before detection modulation.
[0144] S2.5. Based on the correspondence between the light intensity change sequence and each detection modulation signal, determine the pixel light intensity change caused by each light source unit.
[0145] When using a sequential detection method, the light intensity change within the corresponding detection period is extracted from the pixel light intensity change sequence according to the detection period corresponding to each light source unit, and the light intensity change is determined as the pixel light intensity change amount caused by the corresponding light source unit.
[0146] When different detection timing, modulation amplitude, or modulation frequency are used for differentiation, the pixel light intensity change sequence can be matched with the detection modulation signal of each light source unit. Based on the degree of correspondence between the two in terms of time position, change amplitude, or frequency components, the pixel light intensity change caused by each light source unit can be separated.
[0147] If the pixel light intensity change does not reach the range that the light intensity image acquisition device can recognize, the corresponding light source unit and the pixel can be determined as not having formed an effective response association, or the corresponding pixel light intensity change can be set to a preset invalid response state.
[0148] S2.6. Based on the pixel light intensity change and the corresponding detection modulation amount, determine the response degree and response direction of each light source unit to each pixel.
[0149] In this embodiment, the response level is used to characterize the degree to which the light intensity of the corresponding pixel changes when the driving parameters of the light source unit change. The response level can be determined based on the proportional relationship between the pixel light intensity change and the corresponding detection modulation amount, wherein the magnitude of the proportional relationship can be used to characterize the response strength of the corresponding light source unit to that pixel.
[0150] When the same light source unit is used for detection multiple times with different detection modulation amounts, the relationship between the two can be determined based on the detection modulation amounts and pixel light intensity changes corresponding to the multiple detections, and the response degree of the light source unit to the corresponding pixel can be obtained accordingly.
[0151] The range of driving parameter changes corresponding to the same light source unit when implementing detection modulation is defined as the detected adjustment range of that light source unit. When multiple different detection modulation amounts are used for detection, the detected adjustment range can be determined based on the range of driving parameter changes corresponding to each detection modulation amount. The detected adjustment range is used to limit the value range of the corresponding driving adjustment amount when subsequently determining candidate compensation parameter combinations, and serves as an effective adjustment range for predicting pixel light intensity changes based on pixel response correlation.
[0152] The response direction characterizes the relationship between the direction of change in the driving parameters of the light source unit and the direction of change in pixel light intensity. When the direction of change in the driving parameters caused by the detected modulation is the same as the direction of change in pixel light intensity, it is determined to be a co-directional response; when the direction of change in the driving parameters caused by the detected modulation is opposite to the direction of change in pixel light intensity, it is determined to be a reverse response. Therefore, when subsequently determining candidate compensation light source units or predicting pixel light intensity changes caused by driving adjustments, the direction of pixel light intensity change caused by the corresponding driving parameter change can be determined based on the response direction.
[0153] S2.7. Associate each light source unit, each pixel and its corresponding response degree and response direction to establish the pixel response association relationship.
[0154] The pixel response relationships can be represented using a response matrix, an association table, or a set of association records. When using a response matrix, the rows of the matrix can correspond to light source units, the columns can correspond to pixels on the target illumination plane, and the matrix elements are used to represent the degree and direction of response of the corresponding light source unit to the corresponding pixel. For example, the magnitude of the matrix elements can be used to characterize the degree of response, and the numerical sign or corresponding direction identifier can be used to characterize the direction of response.
[0155] When using an association table or a set of association records, each association record includes at least a light source unit identifier, a pixel identifier, a response level, and a response direction, and may also include at least one of the following: detected modulation amount, pixel light intensity change amount, and detected adjustment range.
[0156] The pixel response correlation allows for querying the light source units that respond to any pixel, along with their corresponding response levels and directions. It also allows querying the pixels that any light source unit can influence, along with their response levels and directions. This pixel response correlation serves as the basis for subsequent processing, including determining candidate compensation light source units, analyzing compensation and consequential responses, determining driving adjustment amounts, and predicting the overall spatial light intensity distribution after compensation.
[0157] Next, the technical content of the method of the present invention regarding the determination of pixels with abnormal light intensity will be further elaborated.
[0158] Furthermore, based on the pixel intensity deviation between the current spatial light intensity distribution image and the target spatial light intensity distribution, pixels with abnormal light intensity are identified, including:
[0159] S3.1. Compare the current light intensity of each pixel in the current spatial light intensity distribution image with the target light intensity of the corresponding pixel in the target spatial light intensity distribution to obtain the pixel light intensity deviation, including the deviation direction and the deviation amount.
[0160] In this embodiment, for each pixel position after pixel registration, the current light intensity of that pixel is compared with the corresponding target light intensity. The deviation amount is used to characterize the degree of difference between the current light intensity and the target light intensity, and the deviation direction is used to characterize the relationship between the current light intensity and the target light intensity.
[0161] When the current light intensity is lower than the target light intensity, the pixel is identified as having a light intensity deviation in the direction below the target light intensity, and the difference between the target light intensity and the current light intensity is used as the deviation amount. When the current light intensity is higher than the target light intensity, the pixel is identified as having a light intensity deviation in the direction above the target light intensity, and the difference between the current light intensity and the target light intensity is used as the deviation amount. The deviation direction is used to subsequently determine the compensation direction for the corresponding pixel with abnormal light intensity.
[0162] Pixel light intensity deviation can be represented as an absolute light intensity difference, or it can be obtained by normalizing the light intensity difference according to the target light intensity to obtain a relative light intensity deviation. The specific representation method can be determined according to the light intensity range of the target illumination plane and the compensation accuracy requirements.
[0163] Pixel light intensity deviation can be represented as an absolute light intensity difference, or it can be obtained by normalizing the light intensity difference according to the target light intensity to obtain a relative light intensity deviation. The specific representation method can be determined according to the light intensity range of the target illumination plane and the compensation accuracy requirements.
[0164] S3.2. Pixels whose pixel light intensity deviation exceeds the preset allowable deviation range are identified as pixels with abnormal light intensity.
[0165] The preset allowable deviation range is used to characterize the permissible range of variation of the current light intensity relative to the target light intensity. The preset allowable deviation range can be a fixed light intensity difference range, or the corresponding relative deviation range can be determined separately according to the target light intensity of different pixels.
[0166] When the pixel light intensity deviation does not exceed the preset allowable deviation range, it indicates that the current light intensity of the pixel is in an allowable state, and the pixel is not identified as a light intensity abnormal pixel; when the pixel light intensity deviation exceeds the preset allowable deviation range, the pixel is identified as a light intensity abnormal pixel that needs to be compensated.
[0167] S3.3 Alternatively, when the light intensity distribution in the target space is a uniform light intensity distribution, pixels that are located in a continuous pixel area that does not meet the preset light intensity uniformity condition and whose pixel light intensity deviation is not zero are identified as pixels with abnormal light intensity.
[0168] This method is applicable when the pixel intensity deviation of a single pixel does not exceed the preset allowable deviation range, but multiple consecutive pixels together form a local area of uneven light intensity.
[0169] In this embodiment, it can be determined whether the corresponding continuous pixel region meets the preset light intensity uniformity condition based on the light intensity difference between adjacent pixels, the difference between the maximum and minimum light intensity within a continuous pixel region, or the degree of deviation of each pixel within a continuous pixel region from the average light intensity of the region.
[0170] When the target space light intensity distribution is uniform and the continuous pixel area does not meet the preset light intensity uniformity condition, the pixels with non-zero deviation are further determined based on the pixel light intensity deviation between the current light intensity of each pixel in the continuous pixel area and the corresponding target light intensity, and the determined pixels are regarded as light intensity abnormal pixels.
[0171] For pixels whose current light intensity is lower than the corresponding target light intensity, their pixel light intensity deviation is in the direction of being lower than the target light intensity; for pixels whose current light intensity is higher than the corresponding target light intensity, their pixel light intensity deviation is in the direction of being higher than the target light intensity; for pixels whose current light intensity is equal to the corresponding target light intensity and whose deviation is zero, they are not identified as pixels with abnormal light intensity. Thus, the pixels with abnormal light intensity identified in this step have corresponding pixel light intensity deviation directions, providing a basis for subsequently determining the corresponding compensation direction.
[0172] Step S3.2 can be used to determine pixels with abnormal light intensity based on the degree of deviation of a single pixel relative to the target light intensity. When the target space light intensity distribution is uniform, the method described in step S3.3 can also be used to determine pixels with abnormal light intensity based on the light intensity uniformity of continuous pixel areas and the pixel light intensity deviation of each pixel within the area. The specific determination method can be determined according to the target space light intensity distribution form and the corresponding light intensity evaluation requirements.
[0173] Next, the technical content of the method of the present invention regarding the determination of candidate compensation light source units will be further elaborated.
[0174] Further, determining the candidate compensation light source unit based on the compensation direction and the pixel response correlation includes:
[0175] S3.4 Determine the corresponding required compensation direction based on the pixel light intensity deviation direction of the pixel with abnormal light intensity.
[0176] When the current light intensity of a pixel with abnormal light intensity is lower than the target light intensity (i.e., the pixel light intensity deviation is in the direction of being lower than the target light intensity), the corresponding compensation direction is determined as the light intensity increasing direction. When the current light intensity is higher than the corresponding target light intensity (i.e., the pixel light intensity deviation is in the direction of being higher than the target light intensity), the corresponding compensation direction is determined as the light intensity decreasing direction. The compensation direction is used to determine whether a light source unit with a response associated with the pixel with abnormal light intensity can adjust its driving parameters to cause the pixel with abnormal light intensity to change its light intensity along the direction of reducing the pixel light intensity deviation.
[0177] S3.5. Based on the pixel response correlation, determine the light source unit that has a response correlation with the pixel with abnormal light intensity.
[0178] Specifically, based on the pixel identifier of the pixel with abnormal light intensity, the light source unit associated with it is queried in the pixel response association relationship, and the response degree and response direction of each light source unit to the pixel with abnormal light intensity are obtained.
[0179] If a pixel with abnormal light intensity has a response association with multiple light source units, then the multiple light source units are regarded as the corresponding associated light source units; if a light source unit has a response association with multiple pixels with abnormal light intensity at the same time, then the response relationship between the light source unit and each pixel with abnormal light intensity is retained so as to jointly determine its adjustment amount in the future.
[0180] S3.6. Based on the response direction and remaining adjustment range of each light source unit, select candidate light source units that can make the light intensity abnormal pixel change along the corresponding compensation direction and whose remaining adjustment range meets the preset adjustment range conditions.
[0181] Specifically, based on the response direction of the light source unit to the corresponding pixel with abnormal light intensity, and the remaining adjustment range of the current driving parameters of the light source unit relative to the upper and lower limits of the driving parameters, it is determined whether the light source unit can cause the pixel with abnormal light intensity to change along the corresponding compensation direction by changing the driving parameters. When the compensation direction of the pixel with abnormal light intensity is the direction of increasing light intensity, a light source unit that can increase the light intensity of the pixel by adjusting the driving parameters is selected; when the compensation direction is the direction of decreasing light intensity, a light source unit that can decrease the light intensity of the pixel by adjusting the driving parameters is selected.
[0182] The remaining adjustment range refers to the adjustable range between the current driving parameters of the light source unit and the upper or lower limit of the corresponding driving parameters. The preset adjustment range condition is used to determine whether the light source unit has the remaining adjustment capability to meet the corresponding compensation requirements; for example, the preset adjustment range condition can be set according to the deviation of the light intensity abnormal pixel and the response degree of the corresponding light source unit to exclude light source units that have a response correlation with the light intensity abnormal pixel but have insufficient remaining adjustment range.
[0183] S3.7. Determine the candidate compensation light source unit based on the response degree of each candidate light source unit to the light intensity abnormal pixel.
[0184] In this embodiment, the candidate light source units can be screened according to their response to pixels with abnormal light intensity, and the candidate light source units whose response meets the preset response conditions can be determined as candidate compensation light source units.
[0185] The preset response condition can be either that the response level reaches a preset response threshold, or that a preset number of candidate light source units are selected after sorting the response levels from high to low. The preset response condition can be set according to the light intensity compensation accuracy, the number of candidate light sources, and the compensation requirements of corresponding light intensity aberration pixels.
[0186] When a candidate light source unit meets the corresponding preset response conditions for the response of multiple pixels with abnormal light intensity, it can be identified as a candidate compensation light source unit corresponding to multiple pixels with abnormal light intensity. Therefore, based on meeting the requirements for compensation direction and remaining adjustment range, the candidate compensation object is further determined according to the actual response of the light source unit to the pixels with abnormal light intensity.
[0187] Next, the technical content of the present invention regarding the determination of compensation conflict relationships and the generation of candidate compensation parameter combinations will be further elaborated.
[0188] Furthermore, the step of establishing compensation conflict relationships based on the compensation responses and associated responses of each candidate compensation light source unit, and generating candidate compensation parameter combinations, includes:
[0189] S4.1. Based on the response degree and response direction of each pixel when each candidate compensation light source unit is adjusted along the corresponding compensation direction, determine the compensation response that reduces the deviation of the pixel with abnormal light intensity, and the associated response that increases the deviation of other pixels.
[0190] In this embodiment, based on the response direction of each candidate compensation light source unit to the pixel with abnormal light intensity, the light intensity change generated by the candidate compensation light source unit when it is adjusted along the corresponding compensation direction is determined. A response that causes the current light intensity of the pixel with abnormal light intensity to change towards the corresponding target light intensity, thereby reducing the pixel light intensity deviation, is determined as the compensation response of the candidate compensation light source unit to the corresponding pixel with abnormal light intensity.
[0191] When the candidate compensation light source unit is adjusted along the corresponding compensation direction, it may also act on other pixels in the target illumination plane based on pixel response correlation. The pixel intensity change caused by the corresponding adjustment is determined based on the degree and direction of the candidate compensation light source unit's response to other pixels; when the pixel intensity change increases the deviation of the corresponding pixel relative to the target intensity, this response is determined as a consequential response.
[0192] Therefore, for each candidate compensation light source unit, its compensation effect on pixels with abnormal light intensity and its adverse synergistic effect on other pixels can be determined according to the pixel response correlation, providing a basis for judging the combination relationship between different candidate compensation light source units.
[0193] S4.2 Determine whether the associated responses of different candidate compensation light source units act on the same pixel and have the same response direction, and determine the candidate compensation light source units that meet this condition as having a compensation conflict relationship.
[0194] Specifically, for different candidate compensation light source units, the pixel positions affected by their associated responses and the corresponding response directions are compared. When the associated responses generated by two or more candidate compensation light source units act on the same pixel, and the response directions of the associated responses on that pixel are the same, it indicates that when these candidate compensation light source units perform compensation adjustment simultaneously, the light intensity changes of the corresponding pixels may be superimposed in the same direction. Therefore, the corresponding candidate compensation light source units are determined to have a compensation conflict relationship.
[0195] If the associated responses of different candidate compensation light source units do not act on the same pixel, or although they act on the same pixel, the response directions are different, then the corresponding candidate compensation light source units are not determined to have a compensation conflict relationship based on this condition.
[0196] The compensation conflict relationship is used to limit the combination of subsequent candidate compensation light source units, so as to reduce the situation where multiple candidate compensation light source units have the same directional synergistic effect on the same pixel when they are jointly adjusted.
[0197] After determining the compensation conflict relationship between candidate compensation light source units, the compensation conflict relationship is used as a limiting condition for the combination of candidate compensation light source units to screen light source combinations that can jointly participate in compensation adjustment.
[0198] S5.1. Eliminate light source combinations that simultaneously contain candidate compensation light source units with compensation conflict relationships to obtain combinable light source combinations.
[0199] In this embodiment, different light source combinations are formed based on the candidate compensation light source units, and it is determined whether each light source combination contains candidate compensation light source units with compensation conflict relationships based on the compensation conflict relationship determined in step S4.2.
[0200] For light source combinations that simultaneously contain candidate compensation light source units with compensation conflict relationships, they are excluded from the light source combinations used to generate candidate compensation parameter combinations; for light source combinations that do not contain the aforementioned compensation conflict relationships, they are retained as composable light source combinations.
[0201] The combinable light source combination is used to limit the candidate compensation light source units that can jointly participate in the same candidate compensation scheme, so that the determination of the subsequent driving adjustment amount is carried out on the basis of eliminating the compensation conflict.
[0202] S5.2. Based on the pixel intensity deviation of each pixel with abnormal light intensity and the response degree of each candidate compensation light source unit in the combinable light source combination, determine the corresponding driving adjustment amount within the detected adjustment range covered by the detection modulation of each candidate compensation light source unit, and generate a candidate compensation parameter combination.
[0203] In this embodiment, the amount of light intensity compensation required for each pixel is determined based on the pixel light intensity deviation of each pixel with abnormal light intensity. Combined with the response degree of each candidate compensation light source unit in the combinatorial light source combination to the corresponding pixel with abnormal light intensity, the amount of change in driving parameters required for the candidate compensation light source unit to reduce the pixel light intensity deviation is determined.
[0204] For pixels with abnormal light intensity caused by the combined action of multiple candidate compensation light source units, the corresponding light intensity compensation amount can be allocated among the multiple candidate compensation light source units according to their response levels. Candidate compensation light source units with higher response levels can produce corresponding pixel light intensity changes with smaller changes in driving parameters, while candidate compensation light source units with lower response levels require larger changes in driving parameters.
[0205] When the same candidate compensation light source unit acts on multiple light intensity aberration pixels simultaneously, the driving adjustment amount that can act on the multiple light intensity aberration pixels is determined based on the response degree of the candidate compensation light source unit to each light intensity aberration pixel and the pixel light intensity deviation of each light intensity aberration pixel, so as to avoid forming inconsistent driving parameter adjustment requirements for the same candidate compensation light source unit.
[0206] The driving adjustment amount is determined within the detected adjustment range covered by the detection modulation implemented by the corresponding candidate compensation light source unit. When the change in driving parameters obtained based on pixel light intensity deviation and response degree exceeds the detected adjustment range, the change in driving parameters exceeding the detected adjustment range is not used as the current candidate driving adjustment amount. One or more discrete driving adjustment amounts can be set within the detected adjustment range to form the selectable driving adjustment amount for the corresponding candidate compensation light source unit.
[0207] For each combinable light source combination, the corresponding driving adjustment amount is determined from the selectable driving adjustment amounts corresponding to each candidate compensation light source unit, and the candidate compensation light source units participating in the compensation and their corresponding driving adjustment directions and driving adjustment amounts are combined to generate a candidate compensation parameter combination.
[0208] Each candidate compensation parameter combination is used to characterize a compensation adjustment scheme that can be jointly executed by multiple candidate compensation light source units, and serves as a candidate for subsequent prediction of the overall spatial light intensity distribution after compensation.
[0209] Next, the technical content of the method of the present invention regarding the prediction of the overall spatial light intensity distribution after compensation will be further elaborated.
[0210] Further, the step of predicting the overall spatial intensity distribution after compensation for each candidate compensation parameter combination based on pixel response correlation includes:
[0211] S6.1 For each candidate compensation parameter combination, based on the driving adjustment amount of each candidate compensation light source unit and the corresponding response degree and response direction in the pixel response correlation, determine the predicted light intensity change generated by each candidate compensation light source unit for each pixel.
[0212] In this embodiment, for any candidate compensation light source unit in the candidate compensation parameter combination, the response degree and response direction of the light source unit to each pixel of the target illumination plane are obtained from the pixel response correlation, and the predicted light intensity change generated by the adjustment to each pixel is determined according to the driving adjustment direction and driving adjustment amount of the candidate compensation light source unit.
[0213] The response degree is used to determine the degree of change in pixel light intensity caused by the change in the corresponding driving parameter, and the response direction is used to determine the direction of change in the corresponding pixel light intensity in combination with the driving adjustment direction. When the driving adjustment amount of the candidate compensation light source unit is within the corresponding detected adjustment range, and the change in driving parameter is approximately proportional to the change in pixel light intensity, the magnitude of the predicted light intensity change can be determined based on the response degree and the driving adjustment amount, and the direction of the predicted light intensity change can be determined based on the driving adjustment direction and the response direction.
[0214] When the response relationship of the light source unit changes nonlinearly within the detected adjustment range, a response correspondence can be established based on the changes in multiple sets of driving parameters and pixel light intensity obtained during the detection modulation process, and the predicted light intensity change of the corresponding pixel can be determined by searching or interpolation based on the corresponding driving adjustment amount.
[0215] S6.2. The predicted light intensity changes of different candidate compensation light source units on the same pixel are superimposed to obtain the predicted light intensity change of the corresponding pixel.
[0216] In this embodiment, the light intensity image acquisition device used to establish pixel response correlation operates within a preset linear response range and uses the same exposure time, gain, and image processing parameters during the acquisition of images with different light intensity distributions; each light source unit is driven through an independently adjustable drive channel, so that the drive adjustment of any light source unit does not change the drive parameters of other light source units.
[0217] Under the above conditions, for each pixel of the target illumination plane, the predicted light intensity change of each candidate compensation light source unit in the candidate compensation parameter combination for that pixel is obtained, and the predicted light intensity change is superimposed according to the light intensity increase direction or light intensity decrease direction corresponding to each predicted light intensity change to obtain the predicted light intensity change amount corresponding to that pixel.
[0218] The direction of the predicted light intensity change generated by each candidate compensation light source unit for the corresponding pixel is determined based on its driving adjustment direction and the response direction in the pixel response correlation relationship. The predicted light intensity change that increases the pixel light intensity is taken as the light intensity increase, and the predicted light intensity change that decreases the pixel light intensity is taken as the light intensity decrease. This comprehensively reflects the light intensity change generated by the joint adjustment of multiple candidate compensation light source units for the same pixel.
[0219] S6.3. Determine the predicted light intensity after compensation based on the predicted light intensity change and the current light intensity of the corresponding pixel, and form the overall spatial light intensity distribution after compensation based on the predicted light intensity of each pixel.
[0220] In this embodiment, the predicted light intensity change of each pixel on the target illumination plane is combined with the current light intensity of that pixel in the current spatial light intensity distribution image according to the corresponding change direction to obtain the predicted compensated light intensity of the corresponding pixel.
[0221] The predicted compensated light intensity is arranged according to the spatial position of each pixel in the target illumination plane to form the overall spatial light intensity distribution after compensation corresponding to the combination of candidate compensation parameters.
[0222] It should be noted that the predicted range of the overall spatial light intensity distribution after compensation includes all pixels on the target illumination plane, and not just the light intensity anomalous pixels identified in step S3. For pixels not identified as light intensity anomalous pixels, the corresponding predicted light intensity change is also determined based on the response degree and response direction of the candidate compensation light source unit to determine whether executing the candidate compensation parameter combination will cause a new light intensity deviation in that pixel.
[0223] Next, the technical content of the target compensation parameter combination screening method of the present invention will be further elaborated.
[0224] Furthermore, the selection of target compensation parameter combinations that satisfy preset light intensity distribution conditions and light source adjustment constraints includes:
[0225] S6.4. Compare the overall spatial light intensity distribution after compensation corresponding to each candidate compensation parameter combination with the target spatial light intensity distribution to determine the corresponding overall pixel light intensity deviation, and determine the predicted light intensity uniformity when the target spatial light intensity distribution is a uniform light intensity distribution.
[0226] Specifically, for each pixel in the overall spatial light intensity distribution after compensation, the predicted compensated light intensity is compared with the corresponding target light intensity to obtain the predicted pixel light intensity deviation, and the overall pixel light intensity deviation is determined based on the predicted pixel light intensity deviation of each pixel in the target illumination plane.
[0227] The overall pixel light intensity deviation can be determined based on the sum of the predicted pixel light intensity deviations of each pixel, the average deviation, the maximum deviation, or other statistical measures that can reflect the degree of deviation between the overall spatial light intensity distribution after compensation and the target spatial light intensity distribution.
[0228] When the target spatial light intensity distribution is a uniform light intensity distribution, the predicted light intensity uniformity corresponding to the compensated overall spatial light intensity distribution is further determined. The predicted light intensity uniformity is used to characterize the consistency of the light intensity of each pixel in the compensated overall spatial light intensity distribution, and can be determined based on at least one of the maximum light intensity, minimum light intensity, average light intensity, and dispersion of all pixels or pixels within a preset evaluation area.
[0229] When the target spatial light intensity distribution is non-uniform, the candidate compensation parameter combination is evaluated based on the deviation between the predicted compensated light intensity of each pixel and the corresponding target light intensity, and the uniformity of the predicted light intensity is not taken as a necessary evaluation condition.
[0230] S6.5. Select candidate compensation parameter combinations that satisfy the preset pixel deviation condition and the light source adjustment constraint for the overall pixel light intensity deviation; when the target space light intensity distribution is a uniform light intensity distribution, the predicted light intensity uniformity also satisfies the preset light intensity uniformity condition.
[0231] The preset pixel deviation condition is used to limit the allowable deviation of the overall spatial light intensity distribution after compensation relative to the target spatial light intensity distribution after the candidate compensation parameter combination is executed.
[0232] When the target spatial light intensity distribution is a uniform light intensity distribution, the preset light intensity uniformity condition is used to limit the degree of uniformity that the overall spatial light intensity distribution should achieve after compensation; when the target spatial light intensity distribution is a non-uniform light intensity distribution, the preset light intensity uniformity condition is not used as a necessary screening condition for candidate compensation parameter combinations.
[0233] The light source adjustment constraints include at least one of the following: upper and lower limits of driving parameters, allowable adjustment range per operation, and total power limit of multiple light source units.
[0234] When determining the upper and lower limits of the driving parameters, the current driving parameters of the candidate compensation light source unit are combined with the corresponding driving adjustment amount to determine whether the adjusted driving parameters are within the allowable range. When determining the single allowable adjustment range, the driving adjustment amount is compared with the single adjustment upper limit of the corresponding light source unit. When determining the total power limit, the total power of multiple light source units is determined based on the adjusted driving power of each light source unit in the candidate compensation parameter combination to determine whether the total power of multiple light source units is within the allowable range.
[0235] For uniform light intensity distribution, candidate compensation parameter combinations that simultaneously satisfy preset pixel deviation conditions, preset light intensity uniformity conditions, and light source adjustment constraints are retained; for non-uniform light intensity distribution, candidate compensation parameter combinations that simultaneously satisfy preset pixel deviation conditions and light source adjustment constraints are retained.
[0236] S6.6 When there are multiple candidate compensation parameter combinations that meet the conditions, the target compensation parameter combination is determined based on at least one of the following: overall pixel light intensity deviation, number of light source units participating in compensation, total drive adjustment amount, and compensation energy consumption.
[0237] In this embodiment, multiple candidate compensation parameter combinations that meet the conditions can be compared in order of increasing overall pixel light intensity deviation, and the combination with smaller overall pixel light intensity deviation can be selected first.
[0238] When the overall pixel light intensity deviation of multiple candidate compensation parameter combinations is the same or within the same allowable range, the number of light source units involved in the compensation, the total driving adjustment amount, or the compensation energy consumption can be further compared, and the combination with fewer light source units involved in the compensation, smaller total driving adjustment amount, or lower compensation energy consumption can be selected first.
[0239] The specific evaluation objects and their priority order can be set according to the target lighting task and the operating requirements of the light source. For example, if the priority is to ensure compensation accuracy, the overall pixel light intensity deviation can be compared first; if the number of light source adjustments is reduced, the number of light source units involved in compensation can be compared further; if the adjustment range or operating energy consumption is limited, the total driving adjustment amount or compensation energy consumption can be compared further.
[0240] After determining the target compensation parameter combination, the light intensity compensation processor converts the driving adjustment direction and driving adjustment amount corresponding to each candidate compensation light source unit into driving control parameters and sends them to the light source driving device. The light source driving device then adjusts the driving parameters of the corresponding light source unit so that multiple light source units can jointly form a compensated spatial light intensity distribution, thus obtaining the light intensity compensation result.
[0241] Example 2:
[0242] refer to Figure 3 As shown, this embodiment provides a light intensity compensation system based on pixel response correlation, used to implement the light intensity compensation method based on pixel response correlation described in Embodiment 1. The system includes:
[0243] The distribution acquisition module is used to acquire the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units.
[0244] In this embodiment, the distribution acquisition module can acquire the current spatial light intensity distribution image captured by the light intensity image acquisition device, and acquire the target spatial light intensity distribution that is pre-stored or generated according to lighting requirements. The distribution acquisition module can also perform pixel registration between the current spatial light intensity distribution image and the target spatial light intensity distribution based on the spatial position of the target illumination plane, so that the current light intensity at each pixel position corresponds to the target light intensity.
[0245] The response correlation module is used to apply distinguishable detection modulation to each light source unit and establish pixel response correlation relationships including response degree and response direction based on pixel light intensity changes.
[0246] In this embodiment, the response association module determines the detection modulation amount based on the current driving parameters and allowable illumination disturbance range of each light source unit, and outputs the corresponding detection modulation signal to the light source driving device; it acquires the light intensity distribution image of the target illumination plane during the detection modulation period, determines the response degree and response direction of each light source unit to each pixel based on the correspondence between the detection modulation signal and the pixel light intensity change, and associates each light source unit, each pixel, and the corresponding response degree and response direction to establish a pixel response association relationship. The pixel response association relationship is used to provide subsequent modules with the actual response information between the light source unit and each pixel of the target illumination plane.
[0247] The compensation object determination module is used to determine pixels with abnormal light intensity based on pixel light intensity deviation, and to determine candidate compensation light source units based on the correlation between the compensation direction and the pixel response.
[0248] In this embodiment, the compensation object determination module determines the pixel light intensity deviation, including the deviation direction and the deviation amount, based on the current light intensity and the target light intensity of the corresponding pixel, and determines the light intensity abnormal pixel accordingly; it determines the corresponding compensation direction based on the pixel light intensity deviation direction of the light intensity abnormal pixel, and determines the light source unit that has a response association with the light intensity abnormal pixel from the pixel response association relationship; and it determines the candidate compensation light source unit that can make the corresponding light intensity abnormal pixel change along the compensation direction by combining the response direction, remaining adjustment range and response degree of each light source unit.
[0249] The conflict relationship determination module is used to determine the compensation conflict relationship between light sources whose associated responses are superimposed in the same direction on the same pixel, based on the compensation response of each candidate compensation light source unit to the pixel with abnormal light intensity and the associated response to other pixels.
[0250] In this embodiment, the conflict relationship determination module determines the compensation response that reduces the pixel light intensity deviation of the pixel with abnormal light intensity and the associated response that increases the pixel light intensity deviation of other pixels, based on the response degree and response direction of each candidate compensation light source unit to each pixel when adjusted along the corresponding compensation direction.
[0251] For the associated responses generated by different candidate compensation light source units, the pixel positions they affect and the corresponding response directions are compared. When the associated responses of different candidate compensation light source units affect the same pixel and have the same response direction, the corresponding candidate compensation light source units are determined to have a compensation conflict relationship. The determined compensation conflict relationship is used to limit the combination of subsequent candidate compensation light source units.
[0252] The parameter combination generation module is used to exclude light source combinations with compensation conflicts, determine the driving adjustment amount based on pixel light intensity deviation and response degree, and generate candidate compensation parameter combinations.
[0253] In this embodiment, the parameter combination generation module determines the compensation conflict relationship based on the conflict relationship determination module, excludes light source combinations that simultaneously contain candidate compensation light source units with compensation conflict relationships, and obtains combinable light source combinations.
[0254] For each combinable light source combination, based on the pixel intensity deviation of each pixel with abnormal light intensity and the response degree of each candidate compensation light source unit to the corresponding pixel with abnormal light intensity, the driving adjustment amount is determined within the detected adjustment range covered by the detection modulation of the corresponding candidate compensation light source unit. The candidate compensation light source units participating in the compensation and their corresponding driving adjustment directions and driving adjustment amounts are combined to generate a candidate compensation parameter combination.
[0255] The prediction compensation module is used to predict the overall spatial light intensity distribution after compensation for each candidate compensation parameter combination based on the pixel response correlation, select target compensation parameter combinations that meet the preset light intensity distribution conditions and light source adjustment constraints, and execute them to obtain the light intensity compensation result.
[0256] In this embodiment, for each candidate compensation parameter combination, the prediction compensation module determines the predicted light intensity change of each candidate compensation light source unit on each pixel of the target illumination plane based on the driving adjustment amount of each candidate compensation light source unit and the corresponding response degree and response direction in the pixel response correlation. The prediction light intensity changes of different candidate compensation light source units on the same pixel are superimposed to obtain the predicted light intensity change of the corresponding pixel. The predicted light intensity after compensation is determined based on the predicted light intensity change and the current light intensity of the corresponding pixel, and a corresponding overall spatial light intensity distribution after compensation is formed.
[0257] The prediction compensation module further compares the compensated overall spatial light intensity distribution corresponding to each candidate compensation parameter combination with the target spatial light intensity distribution to determine the corresponding overall pixel light intensity deviation, and filters the target compensation parameter combination based on preset light intensity distribution conditions and light source adjustment constraints. When the target spatial light intensity distribution is a uniform light intensity distribution, filtering can also be performed based on the predicted light intensity uniformity and preset light intensity uniformity conditions; when there are multiple candidate compensation parameter combinations that meet the conditions, the target compensation parameter combination can be determined based on at least one of the following: overall pixel light intensity deviation, number of light source units participating in compensation, total drive adjustment amount, and compensation energy consumption.
[0258] After determining the target compensation parameter combination, the prediction compensation module converts the driving adjustment direction and driving adjustment amount corresponding to each candidate compensation light source unit into a corresponding driving control signal and sends it to the light source driving device. The light source driving device adjusts the driving current, driving power or pulse width modulation duty cycle of the corresponding light source unit so that multiple light source units form a compensated spatial light intensity distribution on the target illumination plane, and obtains the light intensity compensation result.
[0259] In some embodiments, the system further includes a processor and a memory. The memory stores the current spatial light intensity distribution image, the target spatial light intensity distribution, pixel response correlations, compensation conflict relationships, candidate compensation parameter combinations, light source adjustment constraints, and program instructions for implementing the functions of the aforementioned modules. The processor executes the program instructions in the memory to implement the corresponding functions of the distribution acquisition module, response correlation module, compensation object determination module, conflict relationship determination module, parameter combination generation module, and prediction compensation module.
[0260] The light intensity image acquisition device and the light source driving device can be connected to the processor respectively. The light intensity image acquisition device is used to acquire the light intensity distribution image of the target illumination plane and send the acquisition result to the processor; the light source driving device is used to receive the detection modulation signal or driving control signal output by the processor and adjust the driving parameters of the corresponding light source unit.
[0261] The modules mentioned above can be functional modules formed when the processor executes program instructions, or they can be implemented by corresponding hardware circuits, software components, or a combination of hardware and software. These modules can be centrally located in the same processing device, or they can be located in different communicating processing devices according to system deployment requirements.
[0262] The above description is merely a specific embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art can make corresponding modifications, equivalent substitutions, or improvements to the above embodiments without departing from the principles of the present invention, and all such modifications, equivalent substitutions, or improvements should be included within the protection scope of the present invention.
Claims
1. A light intensity compensation method based on pixel response correlation, characterized in that, include: Acquire the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units; Differentiable detection modulation is applied to each light source unit, and a pixel response correlation relationship including response degree and response direction is established based on the pixel light intensity change; Pixels with abnormal light intensity are identified based on pixel light intensity deviation, and candidate compensation light source units are determined based on the correlation between compensation direction and pixel response. Based on the compensation response of each candidate compensation light source unit to the pixel with abnormal light intensity and the associated response to other pixels, the compensation conflict relationship between light sources with associated responses superimposed in the same direction on the same pixel is determined. Eliminate light source combinations with compensation conflicts, determine the driving adjustment amount based on pixel light intensity deviation and response degree, and generate candidate compensation parameter combinations; Based on the pixel response correlation, the overall spatial light intensity distribution after compensation for each candidate compensation parameter combination is predicted. Target compensation parameter combinations that meet the preset light intensity distribution conditions and light source adjustment constraints are selected and executed to obtain the light intensity compensation result.
2. The light intensity compensation method based on pixel response correlation according to claim 1, characterized in that, The acquisition of the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units includes: While maintaining the current driving parameters of each light source unit, the light intensity distribution image of the target illumination plane is acquired to obtain the current spatial light intensity distribution image; The target light intensity corresponding to each pixel position on the target illumination plane is obtained to form the target spatial light intensity distribution; Based on the spatial position of the target illumination plane, pixel registration is performed between the current spatial light intensity distribution image and the target spatial light intensity distribution.
3. The light intensity compensation method based on pixel response correlation according to claim 1, characterized in that, The application of distinguishable detection modulation to each light source unit includes: Based on the current driving parameters and allowable illumination disturbance range of each light source unit, determine the corresponding detection modulation amount; According to a preset detection sequence, or according to at least one of the detection timing, modulation amplitude, and modulation frequency, each light source unit is configured with a detection modulation signal that can be distinguished from each other; Adjust the corresponding light source unit according to the detection modulation signal, and obtain the light intensity distribution image of the target illumination plane during the detection modulation period.
4. The light intensity compensation method based on pixel response correlation according to claim 3, characterized in that, The process of establishing a pixel response correlation based on pixel light intensity changes, including response degree and response direction, includes: Extract the light intensity change sequence of each pixel from the light intensity distribution image during the detection modulation period; Based on the correspondence between the light intensity change sequence and each detection modulation signal, the pixel light intensity change caused by each light source unit is determined; Based on the pixel light intensity change and the corresponding detection modulation amount, the response degree and response direction of each light source unit to each pixel are determined; The pixel response correlation is established by associating each light source unit, each pixel, and their corresponding response degree and response direction.
5. The light intensity compensation method based on pixel response correlation according to claim 1, characterized in that, The step of determining pixels with abnormal light intensity based on pixel light intensity deviation includes: The current light intensity of each pixel in the current spatial light intensity distribution image is compared with the target light intensity of the corresponding pixel in the target spatial light intensity distribution to obtain the pixel light intensity deviation, including the deviation direction and the deviation amount. Pixels whose light intensity deviation exceeds the preset allowable deviation range are identified as pixels with abnormal light intensity. Alternatively, when the light intensity distribution in the target space is uniform, pixels that are located within a continuous pixel region that does not meet the preset light intensity uniformity condition and whose pixel light intensity deviation is not zero are identified as pixels with abnormal light intensity.
6. The light intensity compensation method based on pixel response correlation according to claim 1, characterized in that, The step of determining candidate compensation light source units based on the compensation direction and the pixel response correlation includes: The corresponding compensation direction is determined based on the direction of pixel light intensity deviation of the pixel with abnormal light intensity; Based on the pixel response correlation, determine the light source unit that has a response correlation with the pixel with abnormal light intensity; Based on the response direction and remaining adjustment range of each light source unit, candidate light source units that can make the light intensity abnormal pixel change along the corresponding compensation direction and whose remaining adjustment range meets the preset adjustment range conditions are selected. The candidate light source units whose response to the light intensity aberration pixels meets the preset response conditions are determined as candidate compensation light source units.
7. The light intensity compensation method based on pixel response correlation according to claim 1, characterized in that, Based on the compensation response and associated response of each candidate compensation light source unit, a compensation conflict relationship is established, and candidate compensation parameter combinations are generated, including: Based on the response degree and response direction of each pixel when each candidate compensation light source unit is adjusted along the corresponding compensation direction, the compensation response that reduces the deviation of the pixel with abnormal light intensity and the associated response that increases the deviation of other pixels are determined. Determine whether the associated responses of different candidate compensation light source units act on the same pixel and have the same response direction, and determine the candidate compensation light source units that meet this condition as having a compensation conflict relationship; By excluding light source combinations that simultaneously contain candidate compensation light source units with compensation conflict relationships, we obtain composable light source combinations; Based on the pixel intensity deviation of each pixel with abnormal light intensity and the response degree of each candidate compensation light source unit in the combinable light source combination, the corresponding driving adjustment amount is determined within the detected adjustment range covered by the detection modulation of each candidate compensation light source unit, and a candidate compensation parameter combination is generated.
8. The light intensity compensation method based on pixel response correlation according to claim 7, characterized in that, Based on the pixel response correlation, the overall spatial intensity distribution after compensation for each candidate compensation parameter combination is predicted, including: For each candidate compensation parameter combination, the predicted light intensity change generated by each candidate compensation light source unit for each pixel is determined based on the driving adjustment amount of each candidate compensation light source unit and the corresponding response degree and response direction in the pixel response correlation. The predicted light intensity changes of the same pixel produced by different candidate compensation light source units are superimposed to obtain the predicted light intensity change of the corresponding pixel. The predicted light intensity is determined based on the predicted light intensity change and the current light intensity of the corresponding pixel, and the overall spatial light intensity distribution after compensation is formed based on the predicted light intensity of each pixel.
9. The light intensity compensation method based on pixel response correlation according to claim 8, characterized in that, The selection of target compensation parameter combinations that satisfy preset light intensity distribution conditions and light source adjustment constraints includes: The overall spatial light intensity distribution after compensation corresponding to each candidate compensation parameter combination is compared with the target spatial light intensity distribution to determine the corresponding overall pixel light intensity deviation, and when the target spatial light intensity distribution is a uniform light intensity distribution, the predicted light intensity uniformity is determined. Candidate compensation parameter combinations that satisfy the preset pixel deviation condition and the light source adjustment constraint are selected; when the target space light intensity distribution is a uniform light intensity distribution, the predicted light intensity uniformity also satisfies the preset light intensity uniformity condition. When there are multiple candidate compensation parameter combinations that meet the conditions, the target compensation parameter combination is determined based on at least one of the following: overall pixel light intensity deviation, number of light source units involved in compensation, total driving adjustment amount, and compensation energy consumption. The light source adjustment constraints include at least one of the following: upper and lower limits of driving parameters, allowable adjustment range per operation, and total power limit of multiple light source units.
10. A light intensity compensation system based on pixel response correlation, used to implement the light intensity compensation method based on pixel response correlation as described in any one of claims 1 to 9, characterized in that, The system includes: The distribution acquisition module is used to acquire the current spatial light intensity distribution image and the target spatial light intensity distribution formed by multiple independently adjustable light source units; The response correlation module is used to apply distinguishable detection modulation to each light source unit and establish pixel response correlation relationship including response degree and response direction based on pixel light intensity changes. The compensation object determination module is used to determine pixels with abnormal light intensity based on pixel light intensity deviation, and to determine candidate compensation light source units based on the correlation between the compensation direction and the pixel response. The conflict relationship determination module is used to determine the compensation conflict relationship between light sources whose associated responses are superimposed in the same direction on the same pixel, based on the compensation response of each candidate compensation light source unit to the pixel with abnormal light intensity and the associated response to other pixels. The parameter combination generation module is used to exclude light source combinations with compensation conflicts, determine the driving adjustment amount based on pixel light intensity deviation and response degree, and generate candidate compensation parameter combinations. The prediction compensation module is used to predict the overall spatial light intensity distribution after compensation for each candidate compensation parameter combination based on the pixel response correlation, select target compensation parameter combinations that meet the preset light intensity distribution conditions and light source adjustment constraints, and execute them to obtain the light intensity compensation result.