Dimming methods, devices, and storage media based on dynamic gamma correction algorithms

CN117727257BActive Publication Date: 2026-08-14FOSHAN ELECTRICAL & LIGHTING
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

若采用简单的线性调光,在低亮度调光时的闪烁或抖动也不可完全避免,且存在高亮度调光时变化不明显,不符合人眼的视觉感受特性的问题

Benefits of technology

[0019]This invention introduces a unique dimming formula. When the dimming resolution (or dimming precision) is not high, by adjusting the dynamic gamma coefficient and gamma base value, an ideal dimming image that meets the actual needs can be obtained, so as to achieve a more ideal visual effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117727257B_ABST
    Figure CN117727257B_ABST
Patent Text Reader

Abstract

This invention discloses a dimming method, device, and storage medium based on a dynamic gamma correction algorithm, relating to the field of dimming technology. The method includes: acquiring the light information to be corrected from a target device; and adjusting the light information according to the dimming formula y = (x / d). γ The correction result is calculated using the formula ×d, where γ = b + ax / d, y is the correction result, γ is the dimming index, x is the light information to be corrected, d is the dimming degree, b is the gamma base value, and a is the dynamic gamma coefficient. The light information to be corrected of the target device is adjusted to the correction result for dimming. When the dimming degree (or dimming accuracy) is not high, this invention can obtain an ideal dimming image that meets the actual needs by adjusting the dynamic gamma coefficient and the gamma base value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of dimming technology, and in particular to a dimming method, device and storage medium based on a dynamic gamma correction algorithm. Background Technology

[0002] Currently, gamma correction algorithms are commonly used in the market to perform non-linear correction on the brightness and color of lighting, images, and screen displays. This reduces the impact of abrupt changes during dimming and color adjustment, making them closer to the visual perception characteristics of the human eye. Existing gamma correction algorithms generally use the following formula:

[0003] out = (in ÷ step) γ ×step

[0004] Where in is the input value, step is the dimming division, γ is the gamma value, and out is the output value.

[0005] Let the horizontal axis represent the input value in and the vertical axis represent the output value out. The dimming image is as follows: Figure 7 As shown.

[0006] Depend on Figure 7 It is known that when the dimming resolution (or dimming accuracy) is not high, if gamma correction dimming is used, the time spent at low brightness will be relatively long, resulting in visible flickering or jitter. If simple linear dimming is used, flickering or jitter at low brightness cannot be completely avoided, and there is also the problem that the change is not obvious at high brightness, which does not conform to the visual perception characteristics of the human eye. Summary of the Invention

[0007] The technical problem to be solved by the present invention is to provide a dimming method, device and storage medium based on dynamic gamma correction algorithm when the dimming resolution (or dimming accuracy) is not high. By adjusting the dynamic gamma coefficient and the gamma base value, an ideal dimming image that meets the actual needs can be obtained.

[0008] To address the aforementioned technical problems, this invention provides a dimming method based on a dynamic gamma correction algorithm, comprising: acquiring the light information to be corrected from the target device; and adjusting the light information according to the dimming formula y = (x / d). γ ×d calculates the correction result, where γ=b+ax / d, y is the correction result, γ is the dimming index, x is the light information to be corrected, d is the dimming division, b is the gamma base value, and a is the dynamic gamma coefficient; the light information to be corrected of the target device is adjusted to the correction result for dimming.

[0009] As an improvement to the above scheme, the dimming process is divided into low-brightness, medium-brightness, and high-brightness portions according to the brightness percentage from low to high; the gamma value b is used to control the dwell time of the low-brightness portion during the dimming process; and the dynamic gamma coefficient a is used to control the dwell time of the medium-brightness and high-brightness portions during the dimming process.

[0010] As an improvement to the above scheme, during the dimming process, the dimming index is gradually increased so that the slope of the dimming curve corresponding to the dimming formula first decreases and then increases.

[0011] As an improvement to the above scheme, a+b>1, a>0, b>0.

[0012] As an improvement to the above scheme, 0 < a < 10, 0 < b < 10.

[0013] As an improvement to the above scheme, the light information to be corrected includes grayscale information, brightness information, or color information.

[0014] As an improvement to the above solution, adjusting the light information to be corrected of the target device to the correction result for dimming specifically involves adjusting the light information to be corrected of the target device step by step to the correction result.

[0015] Accordingly, the present invention also provides a dimming device based on a dynamic gamma correction algorithm, comprising: an acquisition unit for acquiring light information to be corrected from a target device; and a calculation unit for calculating the light information to be corrected using the dimming formula y = (x / d). γ ×d calculates the correction result, where γ=b+ax / d, y is the correction result, γ is the dimming index, x is the light information to be corrected, d is the dimming division, b is the gamma base value, and a is the dynamic gamma coefficient; the dimming unit is used to adjust the light information to be corrected of the target device to the correction result for dimming.

[0016] Accordingly, the present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the dimming method based on the dynamic gamma correction algorithm described above.

[0017] Accordingly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the dimming method based on the dynamic gamma correction algorithm described above.

[0018] Implementing this invention has the following beneficial effects:

[0019] This invention introduces a unique dimming formula. When the dimming resolution (or dimming precision) is not high, by adjusting the dynamic gamma coefficient and gamma base value, an ideal dimming image that meets the actual needs can be obtained, so as to achieve a more ideal visual effect.

[0020] Accordingly, the present invention can be used to perform nonlinear computational correction on the process of adjusting the grayscale or tri-color stimulus values ​​of light in a film or video system; it can also be used to correct the brightness and color change process of common light-emitting devices in accordance with the characteristics of human visual perception. Attached Figure Description

[0021] Figure 1 This is a flowchart of the dimming method based on the dynamic gamma correction algorithm of the present invention;

[0022] Figure 2 This is the dimmed image with a dynamic gamma coefficient of 0.5 and a gamma base of 1.2;

[0023] Figure 3 This is the dimmed image with a dynamic gamma coefficient of 0.5 and a gamma base of 1.7;

[0024] Figure 4 This is the dimmed image with a dynamic gamma coefficient of 0.8 and a gamma base of 1.2;

[0025] Figure 5 This is the dimmed image with a dynamic gamma coefficient of 0.8 and a gamma base of 1.7;

[0026] Figure 6 This is a schematic diagram of the dimming system based on the dynamic gamma correction algorithm of the present invention;

[0027] Figure 7 It is a dimmed image based on existing technology. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings.

[0029] See Figure 1 , Figure 1 The flowchart of the dimming method based on the dynamic gamma correction algorithm of the present invention is shown, which includes:

[0030] S101, Obtain the optical information to be calibrated from the target device;

[0031] In practical applications, the light information to be calibrated can be directly input by the user or collected by a sensor and then uploaded. This light information includes grayscale, brightness, color, or color temperature information, but is not limited to these and can be adjusted according to actual needs.

[0032] S102, Based on the light information to be corrected, calculate the correction result using the dimming formula:

[0033] y = (x / d) γ ×d

[0034] Where γ = b + ax / d, y is the correction result, γ is the dimming index, x is the light information to be corrected, d is the dimming division, b is the gamma base value, a is the dynamic gamma coefficient, a + b > 1, a > 0, b > 0;

[0035] It should be noted that the dimming process is divided into low brightness, medium brightness and high brightness sections according to the brightness percentage from low to high. Specifically, the brightness range of 0% to 33% can be regarded as low brightness, the brightness range of 34% to 66% as medium brightness, and the brightness range of 67% to 100% as high brightness.

[0036] In this invention, the gamma base value b is used to control the dwell time of the low brightness portion during dimming; the dynamic gamma coefficient a is used to control the dwell time of the medium brightness portion and the high brightness portion during dimming.

[0037] Furthermore, 0 < a < 10, 0 < b < 10. It should be noted that if a > 10 or b > 10, the slope of the dimming curve is too large, and the resulting dimming curve is too steep, which does not conform to the visual perception characteristics of the human eye and cannot achieve the ideal visual effect.

[0038] Unlike existing technologies, in the dimming process, this invention sets the gamma base value and dynamic gamma coefficient to gradually increase the dimming index, so that the slope of the dimming curve (i.e. the function curve of the dimmed image) corresponding to the dimming formula first decreases and then increases.

[0039] Therefore, when the dimming resolution (or dimming accuracy) is not high, an ideal dimming image that meets the actual needs can be obtained by adjusting the dynamic gamma coefficient a and the gamma base value b.

[0040] S103, adjust the light information of the target device to be calibrated to the calibration result for dimming.

[0041] Specifically, according to the dimming formula, continuously changing data can be used as the light information to be calibrated as input, thereby adjusting the light information to be calibrated of the target device step by step to the calibration result. For example, if the light information to be calibrated of the target device is 0 and needs to be increased to 100, then the light information to be calibrated is input in sequence as 0, 1...n...100, that is, the target device is adjusted to y(0), y(1)...y(n)...y(100) in sequence to achieve step-by-step adjustment.

[0042] The present invention will be further described in detail below with reference to specific embodiments:

[0043] Let the horizontal axis of the coordinate system represent the light information to be corrected (x), and the vertical axis represent the correction result (y). If the light adjustment division d = 100, then:

[0044] When the dynamic gamma coefficient a = 0.5 and the gamma base value b = 1.2, the dimming image is as follows: Figure 2 As shown;

[0045] When the dynamic gamma coefficient a = 0.5 and the gamma base value b = 1.7, the dimming image is as follows: Figure 3 As shown;

[0046] When the dynamic gamma coefficient a = 0.8 and the gamma base value b = 1.2, the dimming image is as follows: Figure 4 As shown;

[0047] When the dynamic gamma coefficient a = 0.8 and the gamma base value b = 1.7, the dimming image is as follows: Figure 5 As shown;

[0048] comprehensive Figures 2-5 It can be seen that the gamma value b mainly controls the dwell time in the low brightness part of the dimming process. When the dimming degree is not high, it can improve the flickering or jittering problem when dimming at low brightness. On the other hand, the dynamic gamma coefficient a mainly controls the dwell time in the medium and high brightness parts of the dimming process, making the brightness change more obvious, making the whole dimming process smoother and more sensitive, and achieving a more ideal visual effect.

[0049] Therefore, this invention can be used to perform nonlinear computational correction on the process of adjusting the grayscale or tri-color stimulus values ​​of light in a film or video system; it can also correct the brightness and color change process of common light-emitting devices in accordance with the characteristics of human visual perception.

[0050] like Figure 6 As shown, the present invention also discloses a dimming device 100 based on a dynamic gamma correction algorithm, which includes an acquisition unit 1, a calculation unit 2, and a dimming unit 3 connected in sequence, specifically:

[0051] The acquisition unit 1 is used to acquire the light information to be calibrated of the target device, wherein the light information to be calibrated includes grayscale information, brightness information or color information.

[0052] Calculation unit 2 is used to calculate the light information to be corrected using the dimming formula y = (x / d). γThe correction result is calculated using the formula ×d, where γ = b + ax / d, y is the correction result, γ is the dimming index, x is the light information to be corrected, d is the dimming division, b is the gamma base value, a is the dynamic gamma coefficient, and a + b > 1, a > 0, b > 0. It should be noted that the gamma base value is used to control the dwell time of the low-brightness portion during dimming; the dynamic gamma coefficient is used to control the dwell time of the medium-brightness and high-brightness portions during dimming. During dimming, by setting the gamma base value and dynamic gamma coefficient, the index is gradually increased so that the slope of the dimming curve corresponding to the dimming formula first decreases and then increases.

[0053] Furthermore, 0 < a < 10, 0 < b < 10. It should be noted that if a > 10 or b > 10, the slope of the dimming curve is too large, and the resulting dimming curve is too steep, which does not conform to the visual perception characteristics of the human eye and cannot achieve the ideal visual effect.

[0054] The dimming unit 3 is used to adjust the light information to be corrected of the target device to the correction result for dimming. In practical applications, the light information to be corrected of the target device can be adjusted to the correction result, allowing the light information to achieve a more ideal visual effect change.

[0055] Accordingly, the present invention also discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the dimming method based on the dynamic gamma correction algorithm described above. Simultaneously, the present invention also discloses a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of the dimming method based on the dynamic gamma correction algorithm described above.

[0056] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A dimming method based on a dynamic gamma correction algorithm, characterized in that, include: Acquire the optical information to be calibrated from the target device; Based on the light information to be corrected, and using the dimming formula... Calculate the correction result, where, y is the correction result, γ is the dimming index, x is the light information to be corrected, d is the dimming division, b is the gamma base value, a is the dynamic gamma coefficient, a+b>1, 0<a<10, 0<b<10; during the dimming process, the dimming index is gradually increased so that the slope of the dimming curve corresponding to the dimming formula first decreases and then increases. The light information to be corrected in the target device is adjusted to the correction result for dimming.

2. The dimming method based on dynamic gamma correction algorithm as described in claim 1, characterized in that, The dimming process is divided into low brightness, medium brightness, and high brightness sections based on the brightness percentage from low to high. The gamma value b is used to control the dwell time of the low-brightness portion during dimming; The dynamic gamma coefficient α is used to control the dwell time of the medium brightness and high brightness portions during dimming.

3. The dimming method based on dynamic gamma correction algorithm as described in claim 1, characterized in that, The light information to be corrected includes grayscale information, brightness information, or color information.

4. A dimming device based on a dynamic gamma correction algorithm, characterized in that, include: The acquisition unit is used to acquire the optical information to be calibrated from the target device; The calculation unit is used to calculate the light information to be corrected and, through the dimming formula... Calculate the correction result, where, y is the correction result, γ is the dimming index, x is the light information to be corrected, d is the dimming division, b is the gamma base value, a is the dynamic gamma coefficient, a+b>1, 0<a<10, 0<b<10; during the dimming process, the dimming index is gradually increased so that the slope of the dimming curve corresponding to the dimming formula first decreases and then increases. A dimming unit is used to adjust the light information to be corrected of the target device to the correction result for dimming.

5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Initial lighting grade method and system of fixed lamp, storage medium and lamp system

    CN113597043A

  • Brightness adjusting method, device and system of light-emitting system and medium

    CN115720393A