CN113543405B - Method and device for reconstructing inter-frame dynamic gray scale based on LED lamp display - Google Patents
Method and device for reconstructing inter-frame dynamic gray scale based on LED lamp display Download PDFInfo
- Publication number
- CN113543405B CN113543405B CN202111077733.1A CN202111077733A CN113543405B CN 113543405 B CN113543405 B CN 113543405B CN 202111077733 A CN202111077733 A CN 202111077733A CN 113543405 B CN113543405 B CN 113543405B
- Authority
- CN
- China
- Prior art keywords
- gray scale
- frame
- signal value
- scale signal
- gray
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
- H05B45/10—Controlling the intensity of the light
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0271—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Control Of El Displays (AREA)
Abstract
The application discloses a method and a device for reconstructing inter-frame dynamic gray scale based on LED lamp display, wherein the method comprises the following steps: receiving gray scale signal values; converting the gray scale signal value from a linear brightness dimming algorithm to a nonlinear brightness dimming algorithm to generate a reconstructed gray scale signal value; and adjusting the brightness change of the LED according to the reconstructed gray scale signal value. The technical problem of solving the gray scale change step mutation is solved.
Description
Technical Field
The invention relates to the field of lamps, in particular to a method and a device for reconstructing inter-frame dynamic gray scales based on LED lamp display.
Background
The LED lamp is more and more widely applied in the fields of illumination and landscape brightening, people have higher and higher pursuit on LED light display effect, the vision sense of people only sees brightness and color change, and focuses on healthy illumination, the light color change is felt to need to be smooth and fine and transition, the gray level change has no stroboflash and no shaking phenomenon, and the optimal effect of visual sensation is met. At present, most of communication protocols of domestic and foreign LED lamps adopt a DMX512 protocol for data transmission, the rate of the transmission protocol is 250Kbps, so that the display frame changing frequency of the DMX lamp is 30Hz, and the gray level of each color specified by the DMX protocol is 256 levels.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: in the slow change of the lamp representing some low gray scales, the human vision can obviously feel the ladder feeling of the gray scale change, and new requirements on the LED display driving mode need to be provided.
Disclosure of Invention
Therefore, the embodiment of the application provides a method and a device for reconstructing inter-frame dynamic gray scale based on LED lamp display, which can solve the technical problem of step mutation of gray scale change, and the specific technical scheme content is as follows:
in a first aspect, an embodiment of the present application provides a method for displaying inter-frame dynamic grayscale reconstruction based on an LED luminaire, where the method includes: receiving gray scale signal values; converting the gray scale signal value from a linear brightness dimming algorithm to a nonlinear brightness dimming algorithm to generate a reconstructed gray scale signal value; and adjusting the brightness change of the LED according to the reconstructed gray scale signal value.
Preferably, the nonlinear brightness dimming algorithm is a GAMMA correction algorithm.
Preferably, the gray scale signal values comprise a first frame gray scale signal value and a second frame gray scale signal value; the reconstruction gray scale signal value comprises a first reconstruction gray scale signal value and a second reconstruction gray scale signal value; the method comprises the following steps: setting the number M of interframe mutation; receiving a first frame gray scale signal value at the time of T1; converting the gray scale signal value of the first frame into a GAMMA correction algorithm by a linear brightness dimming algorithm according to the inter-frame mutation number M to generate a reconstructed gray scale signal value of the first frame; receiving a second frame gray scale signal value at the time of T2; converting the gray scale signal value of the second frame into a GAMMA correction algorithm by a linear brightness dimming algorithm according to the inter-frame mutation number M to generate a reconstructed gray scale signal value of the second frame; generating a reconstruction gray-scale interpolation value according to the reconstruction gray-scale signal value of the first frame and the reconstruction gray-scale signal value of the second frame; and adjusting the brightness change of the LED according to the reconstructed gray level interpolation.
Preferably, the gray scale signal values further include a third frame gray scale signal value; the generating of the reconstructed gray-scale interpolation according to the reconstructed gray-scale signal value of the first frame and the reconstructed gray-scale signal value of the second frame comprises: calculating step increment according to the first frame reconstruction gray scale signal value and the second frame reconstruction gray scale signal value; calculating a step value according to the T1 time, the T2 time and the interframe mutation number M; before receiving a third frame gray scale signal value of T3 time, establishing M gray scale reconstruction moments with step values as intervals of inter-frame mutation numbers between T2 time and T3 time; calculating the reconstruction gray level interpolation of each gray level reconstruction moment according to the second frame reconstruction gray level signal and the step increment; the brightness change of the LED is adjusted according to the reconstructed gray level interpolation as follows: and adjusting the brightness change of the LED at each gray level reconstruction moment according to the corresponding reconstruction gray level interpolation.
Preferably, the formula for converting the gray-scale signal value from the linear brightness dimming algorithm to the GAMMA correction algorithm is as follows:
whereinFor reconstructing a gray scale signal value of the nth frame based on the gray scale signal value of the nth frame,the GAMMA correction value is GAMMA, and n is a positive integer.
wherein the content of the first and second substances,for the purpose of the step size increment,is the step length;is the gray-scale signal value of the first frame,reconstructing a gray scale signal value for a first frame established based on the gray scale signal value for the first frame;is the gray scale signal value of the second frame,and reconstructing a gray scale signal value for the second frame established according to the gray scale signal value of the second frame.
Preferably, the adjusting the brightness variation of the LED according to the reconstructed gray scale signal value is: and generating a control signal according to the reconstructed gray scale signal value, and outputting the control signal to a PWM generator to drive the brightness of the LED to change.
In a second aspect, an embodiment of the present application provides an apparatus for displaying inter-frame dynamic grayscale reconstruction based on an LED luminaire, where the apparatus includes:
the data receiving module is used for receiving gray scale signal values;
the calculation module is used for converting the gray scale signal value from a linear brightness dimming algorithm to a nonlinear brightness dimming algorithm to generate a reconstructed gray scale signal value;
and the processing module is used for adjusting the brightness change of the LED according to the reconstructed gray scale signal value.
Preferably, the method further comprises the following steps: and the data setting module is used for setting the inter-frame mutation number M.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to any one of the preceding claims when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the method according to any one of the preceding claims.
In summary, compared with the prior art, the beneficial effects brought by the technical scheme provided by the embodiment of the present application at least include:
1. the gray scale signal value is converted from a linear brightness dimming algorithm to a nonlinear brightness dimming algorithm, so that the brightness of the LED is adjusted to adapt to the sensitivity change of human eye light sensitivity, and the human eye is not easy to generate gray scale change step mutation when experiencing the change of the light;
2. reconstructing gray-scale interpolation according to the first frame reconstruction gray-scale signal value and the second-order reconstruction gray-scale signal value, and adjusting the granularity of gray-scale change between two frames to make the light change more smoothly and not easy to generate the condition of gray-scale change level mutation;
3. when the LED light source controller receives the gray scale signal value of the second frame, the current brightness gray scale data is output when not practical, the current brightness gray scale data is compared with the gray scale signal value of the first frame of the previous frame, M transition gray scale data are reconstructed and displayed before the next frame of data is received, the refresh rate which is M times of the original refresh rate is increased, transition gray scale data between the original frame and the frame due to gray scale mutation are compensated, the effects that the LED lamp has no stroboflash and jitter in the gray scale change and smooth transition are achieved, and the visual health of people is guaranteed.
Drawings
Fig. 1 is a schematic flowchart of a method for displaying inter-frame dynamic gray scale reconstruction based on an LED lamp according to an embodiment of the present disclosure.
Fig. 2 is a schematic flow chart of a method for displaying inter-frame dynamic gray scale reconstruction based on an LED lamp according to another embodiment of the present application.
Fig. 3 is a schematic flow chart of a method for displaying inter-frame dynamic gray scale reconstruction based on an LED lamp according to another embodiment of the present application.
Fig. 4 is a schematic structural diagram of an apparatus for displaying inter-frame dynamic gray scale reconstruction based on an LED lamp according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present embodiment is only for explaining the present application, and it is not limited to the present application, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present application.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution.
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
Referring to fig. 1, in one embodiment of the present application, there is provided a data processing method, the main steps of which are described as follows:
s2: receiving gray scale signal values;
s3: converting the gray scale signal value from a linear brightness dimming algorithm to a nonlinear brightness dimming algorithm to generate a reconstructed gray scale signal value;
s4: and adjusting the brightness change of the LED according to the reconstructed gray scale signal value.
Specifically, the gray scale signal value is a gray scale value of any frame when the brightness of the lamp which adopts the DMX512 protocol for data transmission is adjusted.
whereinFor reconstructing a gray scale signal value of the nth frame based on the gray scale signal value of the nth frame,represents the n-th frame gray scale signal value, p is a constant, and in the present embodiment, p =1, and in other embodiments, p may be set according to actual needs, such as 2, 3, 4, and so on.
The linear dimming algorithm is converted into the nonlinear dimming algorithm, so that the increment of inter-frame adjustment is smaller than the increment of high gray scale adjustment with the gray scale signal value larger than 1 in the low gray scale with the gray scale signal value smaller than 1, the human eyes are adapted to the condition that the brightness change in dark places is more sensitive than the same brightness change in bright places, and the condition that human vision obviously feels the steps of gray scale change due to different sensitivity of human eyes is reduced.
Optionally, in another embodiment, the non-linear brightness dimming algorithm is a GAMMA correction algorithm:
whereinFor reconstructing a gray scale signal value of the nth frame based on the gray scale signal value of the nth frame,the GAMMA is GAMMA correction value.
In the present embodiment, γ = 2.2; the GAMMA correction value can be set to a value of approximately 2.2, which may be 2.00, 2.10, etc., depending on the actual situation.
Optionally, in another embodiment, the gray-scale signal values include a first frame gray-scale signal value, a second frame gray-scale signal value, and a third frame gray-scale signal value; the reconstruction gray scale signal value comprises a first reconstruction gray scale signal value and a second reconstruction gray scale signal value.
It should be noted that, in this embodiment, the first frame gray scale signal value, the second frame gray scale signal value, and the third frame gray scale signal value only represent three adjacent frame gray scale signal values in time sequence, and do not specifically refer to the first frame gray scale signal value, the second frame gray scale signal value, and the third frame gray scale signal value received when dimming is required.
Referring to fig. 2, when lighting is performed for the first time, a gray scale signal value of the lighting is received, a reconstructed gray scale signal value is calculated according to the gray scale signal value of the lighting for the first time, and the reconstructed gray scale signal value is used to directly adjust the brightness change of the LED.
When the gray scale signal value is not received for the first time, namely at least the gray scale signal value is received for the second time, the data for adjusting the brightness of the LED are calculated by adopting the following method:
s1: and setting the number M of inter-frame mutation.
S21: receiving a first frame gray scale signal value at the time of T1;
s31: converting the gray scale signal value of the first frame into a GAMMA correction algorithm by a linear brightness dimming algorithm according to the inter-frame mutation number M to generate a reconstructed gray scale signal value of the first frame;
s22: receiving a second frame gray scale signal value at the time of T2;
s32: converting the gray scale signal value of the second frame into a GAMMA correction algorithm by a linear brightness dimming algorithm according to the inter-frame mutation number M to generate a reconstructed gray scale signal value of the second frame;
s41: generating a reconstruction gray-scale interpolation value according to the reconstruction gray-scale signal value of the first frame and the reconstruction gray-scale signal value of the second frame;
s42: and adjusting the brightness change of the LED according to the reconstructed gray level interpolation.
In this embodiment, steps S21 and S22 are the embodiments when step S2 is specifically performed, steps S31 and S32 are the embodiments when step S3 is specifically performed, and steps S41 and S42 are the substeps of step S4 in this embodiment.
The DMX512 protocol provides that the gray scale level of each color is 256 levels, and the number M of inter-frame mutations is the number of adjustment steps added between any two levels of the gray scale levels with 256-level changes.
The formula for converting the gray scale signal value from the linear brightness dimming algorithm to the GAMMA correction algorithm is as follows:
whereinFor reconstructing a gray scale signal value of the nth frame based on the gray scale signal value of the nth frame,the GAMMA correction value is GAMMA, and n is a positive integer.
In this embodiment, the generating of the reconstructed gray-scale interpolation according to the reconstructed gray-scale signal values of the first frame and the reconstructed gray-scale signal values of the second frame specifically includes: calculating the absolute value of the increment of the inter-frame gray-scale signal value according to the difference value of the first reconstructed gray-scale signal value and the second frame reconstructed gray-scale signal value, and dividing the absolute value of the increment by the inter-frame mutation number M to obtain a step increment; the time length between the time T2 and the time T1 is evenly divided into 4 equal time intervals according to the time sequence, each time interval is evenly divided into M/4 time intervals, and 1 step increment is added every 1 time interval in the two time intervals of which the time sequence is the first and the time sequence is the last; the time sequence is that 2 time intervals are used as 1 time mutation time in the middle two time intervals, 2 step length increments are mutated once at each 1 time mutation time to adjust the change of the LED, a plurality of time intervals are divided between two frames of gray scale signal values, and the change of the gray scale signal values is adjusted according to the step length increments and the time intervals, so that the LED brightness changes stably and smoothly and is not easy to mutate; the time interval is divided to reduce the adjustment level number between frames, and the brightness change part near two frames changes smoothly, so that the human eyes can not feel the jump of the gray scale easily.
Referring to fig. 3, alternatively, in another embodiment, step S41 includes:
s411: calculating step increment according to the first frame reconstruction gray scale signal value and the second frame reconstruction gray scale signal value;
s412: calculating a step value according to the T1 time, the T2 time and the interframe mutation number M;
s413: before receiving a third frame gray scale signal value of T3 time, establishing M gray scale reconstruction moments with step values as intervals of inter-frame mutation numbers between T2 time and T3 time;
s414: calculating the reconstruction gray level interpolation of each gray level reconstruction moment according to the second frame reconstruction gray level signal and the step increment;
step S42 is: and adjusting the brightness change of the LED at each gray level reconstruction moment according to the corresponding reconstruction gray level interpolation.
wherein the content of the first and second substances,for the purpose of the step size increment,is the step length;is the gray-scale signal value of the first frame,is established according to the gray scale signal value of the first frameReconstructing a gray scale signal value by one frame;is the gray scale signal value of the second frame,and reconstructing a gray scale signal value for the second frame established according to the gray scale signal value of the second frame.
The grey level reconstruction instants are recorded asThe calculation formula of the reconstructed gray level interpolation is as follows:
wherein i is a positive integer, and,is composed ofAnd (4) reconstructing gray level interpolation of the moment.
the method has the advantages that the internal data of the lamp is reconstructed according to the inter-frame mutation number M, a plurality of transition gray level data are reconstructed and displayed in two frames of data, the refresh rate is increased by M times on the basis of the original refresh rate, the transition gray level data of the gray level mutation between the frames are compensated, the effects of no stroboflash, no jitter and smooth transition of the gray level change of the LED lamp are achieved, and the purpose of guaranteeing the visual health of people is achieved.
Optionally, in another embodiment, step S42 is: and generating a control signal according to the reconstructed gray scale signal value, and outputting the control signal to a PWM generator to drive the brightness of the LED to change.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 4, an embodiment of the present application further provides a device for reconstructing inter-frame dynamic gray scales based on LED lamp display, where the device for reconstructing inter-frame dynamic gray scales based on LED lamp display corresponds to the data processing method in the above embodiment one to one, and the method includes:
and the data receiving module is used for receiving the gray scale signal value.
And the calculation module is used for converting the gray scale signal value from a linear brightness dimming algorithm to a nonlinear brightness dimming algorithm to generate a reconstructed gray scale signal value.
And the processing module is used for adjusting the brightness change of the LED according to the reconstructed gray scale signal value.
Optionally, in another real-time mode, the system further includes a data setting module:
and the data setting module is used for setting the inter-frame mutation number M.
The data receiving module is further used for receiving the gray scale signal value of the first frame at the time of T1 and receiving the gray scale signal value of the second frame at the time of T2.
The calculation module is further used for generating a reconstruction gray-scale interpolation according to the reconstruction gray-scale signal value of the first frame and the reconstruction gray-scale signal value of the second frame.
The processing module is also used for adjusting the brightness change of the LED according to the reconstructed gray level interpolation.
The modules of the data processing device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Referring to fig. 5, an embodiment of the present application also provides an electronic device, which may be a server. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device may be implemented by any type of volatile or non-volatile storage devices, including but not limited to: magnetic disk, optical disk, EEPROM (Electrically-Erasable Programmable Read Only Memory), EPROM (Erasable Programmable Read Only Memory), SRAM (Static Random Access Memory), ROM (Read-Only Memory), magnetic Memory, flash Memory, PROM (Programmable Read-Only Memory). The memory of the electronic device provides an environment for the operation of an operating system and computer programs stored therein. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. Which when executed by a processor implements the data processing method steps described in the above embodiments.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program realizes the steps of the data processing method described in the above embodiment when executed by a processor. The computer-readable storage medium includes a ROM (Read-Only Memory), a RAM (Random-Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic disk, a floppy disk, and the like.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of each functional unit or module is illustrated, and in practical applications, the above-mentioned function may be distributed as different functional units or modules as required, that is, the internal structure of the apparatus described in this application may be divided into different functional units or modules to implement all or part of the above-mentioned functions.
Claims (5)
1. A method for displaying inter-frame dynamic gray scale reconstruction based on an LED lamp is characterized by comprising the following steps:
receiving gray scale signal values;
converting the gray scale signal value from a linear brightness dimming algorithm to a nonlinear brightness dimming algorithm to generate a reconstructed gray scale signal value;
adjusting the brightness change of the LED according to the reconstructed gray scale signal value;
the nonlinear brightness dimming algorithm is a GAMMA correction algorithm;
the gray scale signal values comprise a first frame gray scale signal value and a second frame gray scale signal value;
the reconstruction gray scale signal value comprises a first reconstruction gray scale signal value and a second reconstruction gray scale signal value;
the method comprises the following steps:
setting the number M of interframe mutation;
receiving a first frame gray scale signal value at the time of T1;
converting the gray scale signal value of the first frame into a GAMMA correction algorithm by a linear brightness dimming algorithm according to the inter-frame mutation number M to generate a reconstructed gray scale signal value of the first frame;
receiving a second frame gray scale signal value at the time of T2;
converting the gray scale signal value of the second frame into a GAMMA correction algorithm by a linear brightness dimming algorithm according to the inter-frame mutation number M to generate a reconstructed gray scale signal value of the second frame;
generating a reconstruction gray-scale interpolation value according to the reconstruction gray-scale signal value of the first frame and the reconstruction gray-scale signal value of the second frame;
adjusting the brightness change of the LED according to the reconstructed gray level interpolation;
the gray scale signal values further comprise a third frame gray scale signal value;
the generating of the reconstructed gray-scale interpolation according to the reconstructed gray-scale signal value of the first frame and the reconstructed gray-scale signal value of the second frame comprises:
calculating step increment according to the first frame reconstruction gray scale signal value and the second frame reconstruction gray scale signal value;
calculating a step value according to the T1 time, the T2 time and the interframe mutation number M;
before receiving a third frame gray scale signal value of T3 time, establishing M gray scale reconstruction moments with step values as intervals of inter-frame mutation numbers between T2 time and T3 time;
calculating the reconstruction gray level interpolation of each gray level reconstruction moment according to the second frame reconstruction gray level signal and the step increment;
the brightness change of the LED is adjusted according to the reconstructed gray level interpolation as follows: adjusting the brightness change of the LED at each gray level reconstruction moment according to the corresponding reconstruction gray level interpolation;
whereinFor reconstructing a gray scale signal value of the nth frame based on the gray scale signal value of the nth frame,representing the gray scale signal value of the nth frame, GAMMA is a GAMMA correction value, and n is a positive integer;
wherein the content of the first and second substances,for the purpose of the step size increment,is the step length;is the gray-scale signal value of the first frame,reconstructing a gray scale signal value for a first frame established based on the gray scale signal value for the first frame;is the gray scale signal value of the second frame,and reconstructing a gray scale signal value for the second frame established according to the gray scale signal value of the second frame.
2. The method for reconstructing the dynamic gray scale between the display frames of the LED lamp according to claim 1, wherein the adjusting the brightness change of the LED according to the reconstructed gray scale signal value is:
and generating a control signal according to the reconstructed gray scale signal value, and outputting the control signal to a PWM generator to drive the brightness of the LED to change.
3. An apparatus for displaying inter-frame dynamic gray scale reconstruction based on an LED lamp, wherein the apparatus performs the method for displaying inter-frame dynamic gray scale reconstruction based on the LED lamp according to any one of claims 1 to 2, and the apparatus comprises:
the data receiving module is used for receiving gray scale signal values;
the calculation module is used for converting the gray scale signal value from a linear brightness dimming algorithm to a nonlinear brightness dimming algorithm to generate a reconstructed gray scale signal value, and the nonlinear brightness dimming algorithm is a GAMMA correction algorithm;
the processing module is used for adjusting the brightness change of the LED according to the reconstructed gray scale signal value;
the gray scale signal values comprise a first frame gray scale signal value, a second frame gray scale signal value and a third frame gray scale signal value;
the data setting module is used for setting the inter-frame mutation number M;
the data receiving module is further used for receiving a first frame gray scale signal value at the time of T1, a second frame gray scale signal value at the time of T2 and a third frame gray scale signal value at the time of T3;
the reconstruction gray scale signal value comprises a first reconstruction gray scale signal value and a second reconstruction gray scale signal value;
the calculation module is also used for converting the gray scale signal value of the first frame into a GAMMA correction algorithm from a linear brightness dimming algorithm according to the inter-frame mutation number M to generate a reconstructed gray scale signal value of the first frame; converting the gray scale signal value of the second frame into a GAMMA correction algorithm by a linear brightness dimming algorithm according to the inter-frame mutation number M to generate a reconstructed gray scale signal value of the second frame;
the calculation module is also used for generating a reconstructed gray-scale interpolation according to the reconstructed gray-scale signal value of the first frame and the reconstructed gray-scale signal value of the second frame; calculating step increment according to the first frame reconstruction gray scale signal value and the second frame reconstruction gray scale signal value; calculating a step value according to the T1 time, the T2 time and the interframe mutation number M; before receiving a third frame gray scale signal value of T3 time, establishing M gray scale reconstruction moments with step values as intervals of inter-frame mutation numbers between T2 time and T3 time; calculating the reconstruction gray level interpolation of each gray level reconstruction moment according to the second frame reconstruction gray level signal and the step increment;
the processing module is also used for adjusting the brightness change of the LED according to the reconstructed gray level interpolation;
the brightness change of the LED is adjusted according to the reconstructed gray level interpolation as follows: adjusting the brightness change of the LED at each gray level reconstruction moment according to the corresponding reconstruction gray level interpolation;
whereinFor reconstructing a gray scale signal value of the nth frame based on the gray scale signal value of the nth frame,representing the gray scale signal value of the nth frame, GAMMA is a GAMMA correction value, and n is a positive integer;
wherein the content of the first and second substances,for the purpose of the step size increment,is the step length;is the gray-scale signal value of the first frame,reconstructing a gray scale signal value for a first frame established based on the gray scale signal value for the first frame;is the gray scale signal value of the second frame,and reconstructing a gray scale signal value for the second frame established according to the gray scale signal value of the second frame.
4. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1-2 when executing the computer program.
5. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111077733.1A CN113543405B (en) | 2021-09-15 | 2021-09-15 | Method and device for reconstructing inter-frame dynamic gray scale based on LED lamp display |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111077733.1A CN113543405B (en) | 2021-09-15 | 2021-09-15 | Method and device for reconstructing inter-frame dynamic gray scale based on LED lamp display |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113543405A CN113543405A (en) | 2021-10-22 |
CN113543405B true CN113543405B (en) | 2021-12-24 |
Family
ID=78093258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111077733.1A Active CN113543405B (en) | 2021-09-15 | 2021-09-15 | Method and device for reconstructing inter-frame dynamic gray scale based on LED lamp display |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113543405B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114245545A (en) * | 2021-11-15 | 2022-03-25 | 杭州博联智能科技股份有限公司 | Gradual effect control method and device of intelligent bulb |
CN114423119B (en) * | 2021-12-29 | 2023-08-08 | 山东云海国创云计算装备产业创新中心有限公司 | Gradual dimming method and gradual dimming system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101360378A (en) * | 2008-09-05 | 2009-02-04 | 广州市雅江光电设备有限公司 | Light regulating method for LED light regulating apparatus |
CN104464623A (en) * | 2014-12-05 | 2015-03-25 | 西安诺瓦电子科技有限公司 | Method and device for adjusting low gray scales of LED |
CN106846273A (en) * | 2017-01-23 | 2017-06-13 | 上海兴芯微电子科技有限公司 | A kind of method and device of Gamma corrections |
CN109168229A (en) * | 2018-11-05 | 2019-01-08 | 北京明瑞之光科技有限公司 | A kind of LED high-power lamp tool luminance regulating method |
CN109447915A (en) * | 2018-10-29 | 2019-03-08 | 北京康拓红外技术股份有限公司 | The line scan image increased quality method with gamma gray correction is established based on characteristic model |
CN111343746A (en) * | 2020-04-08 | 2020-06-26 | 广州中大中鸣科技有限公司 | Control method and controller for eliminating brightness saturation of multi-primary-color LED light source under multi-pixel condition |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348761A (en) * | 2013-07-30 | 2015-02-11 | 北京千橡网景科技发展有限公司 | Signal coding and decoding method |
CN106791743B (en) * | 2016-12-08 | 2019-04-09 | 海信集团有限公司 | The method and apparatus that projected image is shown |
CN110473502A (en) * | 2018-05-09 | 2019-11-19 | 华为技术有限公司 | Control method, device and the terminal device of screen intensity |
CN113068289B (en) * | 2021-03-09 | 2023-03-14 | 深圳市明微电子股份有限公司 | Method and device for improving gradual change effect of LED lamp |
-
2021
- 2021-09-15 CN CN202111077733.1A patent/CN113543405B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101360378A (en) * | 2008-09-05 | 2009-02-04 | 广州市雅江光电设备有限公司 | Light regulating method for LED light regulating apparatus |
CN104464623A (en) * | 2014-12-05 | 2015-03-25 | 西安诺瓦电子科技有限公司 | Method and device for adjusting low gray scales of LED |
CN106846273A (en) * | 2017-01-23 | 2017-06-13 | 上海兴芯微电子科技有限公司 | A kind of method and device of Gamma corrections |
CN109447915A (en) * | 2018-10-29 | 2019-03-08 | 北京康拓红外技术股份有限公司 | The line scan image increased quality method with gamma gray correction is established based on characteristic model |
CN109168229A (en) * | 2018-11-05 | 2019-01-08 | 北京明瑞之光科技有限公司 | A kind of LED high-power lamp tool luminance regulating method |
CN111343746A (en) * | 2020-04-08 | 2020-06-26 | 广州中大中鸣科技有限公司 | Control method and controller for eliminating brightness saturation of multi-primary-color LED light source under multi-pixel condition |
Non-Patent Citations (1)
Title |
---|
TFT-LCD驱动芯片MIPI高速接口电路的设计与研究;吴金星;《全国优秀硕士论文数据库》;20190215;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113543405A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113543405B (en) | Method and device for reconstructing inter-frame dynamic gray scale based on LED lamp display | |
US10482828B2 (en) | Method and apparatus for controlling backlight brightness, and liquid crystal display device | |
CN108962126B (en) | Display panel driving method and system and display device comprising same | |
US20190251914A1 (en) | Display device and backlight control method | |
CN101847372B (en) | Method and system for determining intensity arrangement of light source | |
CN104715736B (en) | The backlight Automatic adjustment method and device of a kind of electronic equipment | |
CN108538260A (en) | Image display processing method and device, display device and storage medium | |
CN107689215B (en) | Backlight adjusting method and device of intelligent display equipment | |
WO2019165934A1 (en) | Method for adjusting display brightness level, and electronic device | |
CN110428783B (en) | Image display method and device | |
CN113870805B (en) | Backlight control method, device, system and storage medium | |
CN112542135A (en) | LED display screen gray scale display driving module and method | |
US11184962B2 (en) | Breathing light adjusting method, apparatus and electronic device | |
CN113068289B (en) | Method and device for improving gradual change effect of LED lamp | |
CN109243383B (en) | Backlight brightness adjusting method of display screen and display screen device | |
CN109741706A (en) | A kind of method that LED shows gamma correction realization and low ash enhancing | |
CN109493831A (en) | A kind of processing method and processing device of picture signal | |
CN112530367A (en) | LED display screen gray scale display driving module and method | |
CN108766364B (en) | Image display processing method and device, display device and storage medium | |
CN113851074B (en) | LED driving pulse modulation method and device | |
CN112652268A (en) | LED display screen gray scale display driving module and method | |
CN101772954A (en) | The administrative skill that is used for video playback | |
CN113948033B (en) | High-precision PWM driving method, device and medium for LED display screen | |
JP2014222322A (en) | Image display device and control method of the same | |
CN110809346A (en) | Light adjusting method, light adjusting device and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |