CN117409729A - Picture gain adjustment method, device, equipment and storage medium - Google Patents

Picture gain adjustment method, device, equipment and storage medium Download PDF

Info

Publication number
CN117409729A
CN117409729A CN202311288256.2A CN202311288256A CN117409729A CN 117409729 A CN117409729 A CN 117409729A CN 202311288256 A CN202311288256 A CN 202311288256A CN 117409729 A CN117409729 A CN 117409729A
Authority
CN
China
Prior art keywords
value
gain
picture
gain value
current picture
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.)
Pending
Application number
CN202311288256.2A
Other languages
Chinese (zh)
Inventor
林佳浩
陈泽钦
梁郁沛
梅文韬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maojia Technology Guangdong Co ltd
Original Assignee
Maojia Technology Guangdong Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Maojia Technology Guangdong Co ltd filed Critical Maojia Technology Guangdong Co ltd
Priority to CN202311288256.2A priority Critical patent/CN117409729A/en
Publication of CN117409729A publication Critical patent/CN117409729A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/34Control 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 by control of light from an independent source
    • G09G3/3406Control of illumination source
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • G09G2330/021Power management, e.g. power saving

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

The invention belongs to the technical field of image processing, and discloses a method, a device, equipment and a storage medium for adjusting picture gain; the method comprises the following steps: obtaining a backlight value of a current picture, and obtaining a gain value to be adjusted according to the backlight value; when the gain value to be adjusted meets the preset backlight value step, acquiring a reference picture gain value corresponding to the backlight value; according to the gain value to be adjusted and the gain value of the reference picture, a gain compensation value of the current picture is obtained; adjusting the gain value to be adjusted based on the gain compensation value to obtain a target gain value; according to the invention, whether the gain value of the picture meets the preset backlight is judged according to whether the gain value corresponding to the backlight value of the real-time picture meets the preset backlight, so that the adjustment of the gain value of the picture is realized, the energy efficiency and the screen smoothness are ensured, the picture has a better display effect, the energy consumption is reduced, and the problems that the backlight value of the picture is dynamically adjusted based on the brightness of the picture, the high color gamut lamp bar of the picture reduces the backlight, the color temperature is warm, and the authentication is unqualified are avoided.

Description

Picture gain adjustment method, device, equipment and storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for adjusting a picture gain.
Background
At present, a display mainly comprises a backlight module and a display panel, and the display panel does not emit light, so the backlight module is used for providing a light source required by the liquid crystal display when displaying images. Meanwhile, the display automatically adjusts the backlight value according to the intensity of the light of the display screen to adapt to the display screen, so that the display screen is more suitable for the viewing requirement of human eyes.
However, the dynamic backlight can dynamically adjust the background brightness of the television according to the brightness of the current television picture in the process of changing the television picture, thereby achieving the effect of reducing the power consumption of the television in use. The eyes can not face too bright or too dark pictures for a long time in the using process of the user, so that the user is not tired. However, the color temperature of the high-color-gamut light bar is gradually warmer along with the reduction of the backlight, so that the related authentication and the energy efficiency x are disqualified.
Disclosure of Invention
The invention mainly aims to provide a picture gain adjusting method, a device, equipment and a storage medium, and aims to solve the technical problems that when a user uses a display screen in the prior art, the screen dynamically adjusts the backlight value of a picture based on the brightness of the picture, so that the backlight of a high-color-gamut lamp bar of the picture is reduced, the color temperature is warm, and the authentication is unqualified.
In order to achieve the above object, the present invention provides a picture gain adjustment method, the method comprising the steps of:
obtaining a backlight value of a current picture, and obtaining a gain value to be adjusted according to the backlight value;
when the gain value to be adjusted meets the preset backlight value step, acquiring a reference picture gain value corresponding to the backlight value;
according to the gain value to be adjusted and the gain value of the reference picture, a gain compensation value of the current picture is obtained;
and adjusting the gain value to be adjusted based on the gain compensation value to obtain a target gain value.
Optionally, before the obtaining the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value, the method further includes:
judging whether a picture gain adjustment mode is started or not, and if the picture gain adjustment mode is not started, acquiring a backlight value of a current picture;
obtaining a current picture gain value according to a backlight value of a current picture, and taking the current picture gain value as a target gain value;
and if the picture gain adjustment mode is started, executing the step of acquiring the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value.
Optionally, after the picture gain adjustment mode is started, the method further includes:
judging whether the current picture is in a playing state, if not, waiting for a preset time, and acquiring the backlight value of the current picture again;
if the current picture is in a playing state, judging whether the current picture meets a gain adjusting condition or not;
and if the current picture meets the gain adjustment condition, executing the step of acquiring the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value.
Optionally, if the current picture meets the gain adjustment condition, the step of obtaining the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value is further performed, and the method further includes:
if the current picture is judged not to meet the gain adjustment condition, acquiring a backlight value of the current picture, and acquiring a gain value of the current picture according to the backlight value of the current picture;
taking the gain value of the current picture as the standard gain value of the current picture;
and when the current picture is identified again and the backlight value of the current picture meets the preset backlight value step, adjusting the gain value of the current picture to be a standard gain value.
Optionally, the adjusting the gain value to be adjusted based on the gain compensation value to obtain a target gain value includes:
judging whether the white balance of the current picture changes or not, and if the white balance does not change, judging whether the gain value to be adjusted of the current picture changes or not;
if the gain value to be adjusted is not changed, judging whether the color temperature of the current picture is changed or not;
and if the color temperature does not change, adding or subtracting the gain compensation value to the gain value to be adjusted to obtain a target gain value.
Optionally, after the determining whether the white balance of the current picture changes, the method further includes:
if the white balance of the current picture changes, judging whether the basic gain value changes or not;
if the basic gain value is not changed, adjusting the basic gain value based on the gain compensation value to obtain a target gain value;
and if the basic gain value is changed, adjusting the changed basic gain value based on the gain compensation value to obtain a target gain value.
Optionally, after determining whether the gain value to be adjusted of the current picture changes, the method further includes:
if the gain value to be adjusted changes, adjusting the gain value to be adjusted after the change based on the gain compensation value to obtain a target gain value;
after determining whether the color temperature of the current picture changes, the method further comprises:
if the color temperature of the current picture changes, obtaining a reference gain value according to the changed color temperature, and subtracting the gain compensation value from the reference gain value to obtain a target gain value.
In addition, in order to achieve the above object, the present invention also provides a picture gain adjustment device, including:
the gain value calculation module is used for obtaining the backlight value of the current picture and obtaining a gain value to be adjusted according to the backlight value;
the gain value calculation module is further configured to obtain a reference picture gain value corresponding to the backlight value when the gain value to be adjusted satisfies a preset backlight value step;
the gain value adjusting module is used for adjusting the gain compensation value of the current picture according to the gain value to be adjusted and the reference picture gain value;
the gain value adjusting module is further configured to adjust the gain value to be adjusted based on the gain compensation value, so as to obtain a target gain value.
In addition, to achieve the above object, the present invention also proposes a picture gain adjustment apparatus including: a memory, a processor, and a picture gain adjustment program stored on the memory and executable on the processor, the picture gain adjustment program configured to implement the steps of the picture gain adjustment method as described above.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a picture gain adjustment program which, when executed by a processor, implements the steps of the picture gain adjustment method as described above.
According to the invention, whether the gain value of the picture meets the preset backlight is judged according to whether the gain value corresponding to the backlight value of the real-time picture meets the preset backlight, so that the adjustment of the gain value of the picture is realized, the energy efficiency and the screen smoothness are ensured, the picture has a better display effect, the energy consumption is reduced, and the problems that the backlight value of the picture is dynamically adjusted based on the brightness of the picture, the high color gamut lamp bar of the picture reduces the backlight, the color temperature is warm, and the authentication is unqualified are avoided.
Drawings
Fig. 1 is a schematic structural diagram of a picture gain adjustment device of a hardware running environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for adjusting a picture gain according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for adjusting a picture gain according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a method for adjusting a gain of a frame according to the present invention;
FIG. 5 is a flowchart illustrating a complete process of a first embodiment of a method for adjusting a gain of a frame according to the present invention;
fig. 6 is a block diagram illustrating a first embodiment of a picture gain adjustment apparatus according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a picture gain adjustment device in a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the picture gain adjustment apparatus may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the picture gain adjustment apparatus, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a screen gain adjustment program may be included in the memory 1005 as one type of storage medium.
In the picture gain adjustment apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the picture gain adjustment apparatus of the present invention may be provided in a picture gain adjustment apparatus which invokes a picture gain adjustment program stored in the memory 1005 through the processor 1001 and performs the picture gain adjustment method provided by the embodiment of the present invention.
An embodiment of the present invention provides a method for adjusting a picture gain, and referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a method for adjusting a picture gain according to the present invention.
In this embodiment, the method for adjusting the picture gain includes the following steps:
step S10: and obtaining a backlight value of the current picture, and obtaining a gain value to be adjusted according to the backlight value.
It can be understood that the pictures on the display screen are continuously changed, each picture has a corresponding backlight value, and the backlight value of the current picture is the backlight value of the picture displayed at the current moment, wherein the picture on the display screen can be a frame-by-frame picture in the video, an image or the like.
It should be understood that there is a corresponding backlight value for any one picture when displayed on the display screen, and that there is a gain value (also called gain) for each picture, which is also divided into a red gain value (also called Rgain), a green gain value (also called Ggain) and a blue gain value (also called Bgain).
It should be noted that the backlight value and the gain value of the picture have an association, and in short, each backlight value of the picture may obtain a corresponding gain value.
It should be further noted that the gain value to be adjusted is understood herein as a red gain value in the gain values corresponding to the backlight value of the current frame.
It should be noted that, the execution main body of the embodiment is a fatigue driving detection device, where the fatigue driving detection device has functions of data processing, data communication, program running, and the like, and the fatigue driving detection device may be an integrated controller, a control computer, and other devices with similar functions, and the embodiment is not limited to this.
It should be emphasized that multiple experiments are required before adjusting the gain value of the screen, and when the gain value is adjusted through experimental collection, whether the duty ratio of the screen and the smoothness of the screen are changed or not is required.
It should be further noted that, the duty ratio of the screen may affect the power consumption of the screen, and the smoothness of the screen may seriously affect the display effect of the display screen.
It should be emphasized that, when the gain value of the current picture is adjusted, the video state played at this time can be determined to improve the software running efficiency, where the video state may be that whether the current video is a picture being played is determined, whether the current picture allows gain value adjustment is determined, and the display picture being played and sequentially adjusted in gain value can be adjusted.
In the concrete implementation and summarization, duty ratio data which can influence the change of the Gain value are obtained, and the larger the duty ratio is, the higher the energy consumption of the current picture is proved; screen smoothness data which influences the change of the Gain value is obtained, and the larger the smoothness data is, the heavier the granular feel of the current picture is.
Step S20: and when the gain value to be adjusted meets the preset backlight value step, acquiring a reference picture gain value corresponding to the backlight value.
It should be noted that the preset backlight value step may be 1, 2 or 5, and may be defined according to practical situations; for example, the backlight value ranges from 0 to 100, and if the preset backlight value step is 5, then the point in the backlight value range is 05, 10, 15, 20.cndot.100.
It should be understood that the gain value to be adjusted satisfying the preset backlight value step may be the same as the gain value corresponding to the preset backlight value step,
for example, when the preset backlight value is stepped to 5 and the backlight value ranges from 0 to 100, the gain values corresponding to the steps of the preset backlight value are 0, 5, 10, 15 and 20.100, if the gain value to be adjusted is 43, the gain value to be adjusted does not meet the preset backlight step; if the gain value to be adjusted is 45, the gain value to be adjusted meets the preset backlight step.
It should be noted that, the backlight value of each frame has a corresponding standard gain value, that is, the reference frame gain value, and the standard gain value may be the gain value most suitable for the eye's light effect under the backlight value, but the gain value calculated according to the backlight value in the frame is not necessarily the same as the standard gain value
It should be emphasized that the backlight value and the reference picture gain value may be a preset mapping table, or may be a fitting curve of the backlight value and the gain value obtained by fitting a large amount of data, and the reference picture gain value corresponding to the backlight value is obtained according to the fitting curve.
Step S30: and according to the gain value to be adjusted and the gain value of the reference picture, a gain compensation value of the current picture is obtained.
It should be noted that, subtracting the gain value to be adjusted from the gain value of the reference picture may obtain the gain compensation value of the current picture.
Step S40: and adjusting the gain value to be adjusted based on the gain compensation value to obtain a target gain value.
It is understood that the target gain value of the current picture can be obtained after adding or subtracting the compensation gain value on the basis of the gain value to be adjusted.
The method comprises the steps of carrying out summarization, judging which section to be compensated the backlight value of the current display picture belongs to by obtaining the backlight value of the current display picture, wherein the compensation section can be simply understood as the size of the compensation value, and adjusting the gain value of the current picture based on the size of the compensation value.
Judging whether the current playing state is a playing picture or video, and distinguishing a high dynamic range imaging (English: high Dynamic Range Imaging, HDRI or HDR for short) or a slice source of Dolby Vision (Dolby Vision) for the video. And acquiring the Gain value of the current picture. Setting a value to be compensated, wherein the compensated value is in a preset folder, and then adjusting the Gain value by acquiring the compensated value so as to meet the color temperature requirement.
It should be noted that, the acquisition of the backlight value of the picture may be performed at intervals of a certain time, for example, 10ms, and the compensation operation is continuously performed based on the delay acquisition of the set interval time, so as to ensure that the color temperature can meet the normal requirement.
It should be emphasized that, in this embodiment, the mode state of playing of the current software can be accurately obtained, so as to avoid inconsistent compensation effects caused by different playing modes.
For RGB compensation, each backlight interval is less in separation, each gain of each state can be accurately changed, and other data cannot be influenced.
According to the embodiment, whether the gain value corresponding to the backlight value of the real-time picture meets the preset backlight is judged, whether the gain value of the picture is adjusted is judged, the adjustment of the gain value is achieved, meanwhile, energy efficiency and screen smoothness are guaranteed, the picture has a better display effect, energy consumption is reduced, and the problems that the backlight value of the picture is dynamically adjusted based on brightness of the picture, the high color gamut lamp bar of the picture reduces backlight, the color temperature is warm, and authentication is unqualified are avoided.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a picture gain adjustment method according to the present invention.
Based on the first embodiment, the method for adjusting the picture gain of the present embodiment further includes, before the step S10:
step S101: judging whether the picture gain adjustment mode is started or not, and if the picture gain adjustment mode is not started, acquiring a backlight value of a current picture.
It will be appreciated that a determination mechanism may be provided before adjusting the gain value of the display, which may be understood as detecting whether the device in which the current display is located has enabled the picture gain adjustment mode or whether this function is present.
It should be noted that, the picture gain adjustment mode may be understood as a mode for adjusting the gain value of the current picture, when the mode is confirmed to be started, the gain value of the current picture may be adjusted, if not started, the gain value of the current picture is not adjusted, and after started, "obtaining the backlight value of the current picture, and obtaining the gain value to be adjusted according to the backlight value" may be performed; when the gain value to be adjusted meets the preset backlight value step, acquiring a reference picture gain value corresponding to the backlight value; obtaining a gain compensation value of the current picture according to the gain value to be adjusted and the gain value of the reference picture; and adjusting the gain value to be adjusted based on the gain compensation value to obtain a target gain value. "step.
Step S102: and obtaining a current picture gain value according to the backlight value of the current picture, and taking the current picture gain value as a target gain value.
It should be understood that if the picture gain adjustment mode is not started, the gain value corresponding to the current picture backlight value is directly used as the target gain value, and no other action may be performed.
Step S103: and if the picture gain adjustment mode is started, executing the step of acquiring the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value.
It should be understood that if the current picture is started, the backlight value of the current picture and the corresponding gain value to be adjusted are normally obtained for adjustment; if not, it is necessary to further determine whether the current picture is in a play state.
Further, the play state, that is, whether the current picture is a certain frame picture or a fixed picture in the video being played, may also be understood as whether the current picture is in the play state. If the current picture is not in the playing state, waiting for preset time, acquiring the backlight value of the current picture again, wherein the preset time can be 10ms or other time, limiting according to actual conditions, acquiring again, judging whether to adjust or not;
if the current picture is in a playing state, judging whether the current picture meets a gain adjustment condition, wherein the gain adjustment condition can be understood as whether the current picture allows adjustment of a gain value, and if so, the current picture meets the gain adjustment condition;
and if the current picture meets the gain adjustment condition, executing the step of acquiring the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value, and adjusting the gain value corresponding to the current backlight value.
It is emphasized that if the current picture is judged not to meet the gain adjustment condition, the backlight value of the current picture is obtained, and the gain value of the current picture is obtained according to the backlight value of the current picture; taking the gain value of the current picture as the standard gain value of the current picture; and when the current picture is identified again and the backlight value of the current picture meets the preset backlight value step, adjusting the gain value of the current picture to be a standard gain value. The gain adjustment condition can also be simply understood as whether the re-identified picture satisfies the preset adjustment step.
In short, when the gain adjustment condition is not satisfied, the backlight value of the current picture is taken as the standard backlight value, and the adjustment is performed according to the standard backlight value when the same picture is identified next time, for example, the backlight value of the current picture is 90, the 90 is taken as the standard backlight value of the picture, the display of the display picture changes after use, the backlight value of the picture is identified again and may be 72, the preset adjustment step is 5, at this time, 72 does not satisfy the preset adjustment step, no adjustment is performed, and if the current backlight value is 70, the 70 is adjusted to 90.
According to the embodiment, whether the gain value adjustment mechanism is started or not is judged before the gain value adjustment is carried out, whether the image can be subjected to the gain value adjustment is further judged, and different processing modes are carried out on different conditions, so that the corresponding gain value adjustment aiming at different conditions can be achieved, energy consumption can be reduced, electric power resources are saved, environmental protection and energy conservation are achieved, and the competitiveness and commercial value of an image display product are improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of a picture gain adjustment method according to the present invention.
Based on the first embodiment, the method for adjusting the picture gain in this embodiment includes, at step S40:
step S41: judging whether the white balance of the current picture changes or not, and if the white balance does not change, judging whether the gain value to be adjusted of the current picture changes or not.
It is understood that in the process of obtaining the backlight value and the gain value of the current picture, there may be an artificial adjustment of the white balance of the picture, which may result in a change in the backlight value and/or the gain value to be adjusted of the picture.
It should be appreciated that the user may manually adjust the color temperature data, gain value data, and white balance data
It should be noted that, if the white balance of the current picture changes, determining whether the basic gain value changes, where the basic gain value may be understood as a red gain value of the current gain value to be adjusted;
if the basic gain value is not changed, adjusting the basic gain value based on the gain compensation value to obtain a target gain value; it can be understood that, adjusting the basic gain value based on the gain compensation value may be adding or subtracting the gain compensation value to or from the basic gain value, and the target gain value may be a gain value finally displayed on the current picture after adjusting the gain to be adjusted;
and if the basic gain value is changed, adjusting the changed basic gain value based on the gain compensation value to obtain a target gain value.
It should be emphasized that the adjusting the basic gain value or the adjusted basic gain value according to the gain compensation value may be subtracting the gain compensation value from the basic gain value or the adjusted basic gain value; or the basic gain value after adjustment change is added with the gain compensation value.
Step S42: and if the gain value to be adjusted is not changed, judging whether the color temperature of the current picture is changed.
It should be noted that, if the gain value to be adjusted changes, the gain value to be adjusted after the change is adjusted based on the gain compensation value to obtain a target gain value;
after determining whether the color temperature of the current picture changes, the method further comprises:
if the color temperature of the current picture changes, obtaining a reference gain value according to the changed color temperature, and adjusting the reference gain value based on the gain compensation value to obtain a target gain value.
It is understood that adjusting the reference gain value based on the gain compensation value may be performed by subtracting the gain compensation value from the reference gain value, or may be performed by adding the gain compensation value to the reference gain value.
Step S43: and if the color temperature does not change, adding or subtracting the gain compensation value to the gain value to be adjusted to obtain a target gain value.
In a specific implementation, referring to fig. 5, it can be known from fig. 5 that before the gain value to be adjusted is adjusted, whether the gain value to be adjusted is artificially changed can be determined again in three aspects in advance, if so, the changed gain value to be adjusted is adjusted based on the gain compensation value, the gain compensation value can be added or subtracted to the changed gain value to be adjusted, and the whole process can be performed in real time.
According to the embodiment, the playing state of the current picture is obtained in real time, whether the change affecting the RGB gain value is judged based on the current playing state, and when the change occurs, the RGB gain value is set according to a certain rule, so that the gain value of the current picture can be dynamically adjusted, the adjustment of the real-time gain value can be more flexibly realized, and the energy consumption is reduced.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a picture gain adjustment program, and the picture gain adjustment program realizes the steps of the picture gain adjustment method when being executed by a processor.
Referring to fig. 6, fig. 6 is a block diagram illustrating a first embodiment of a picture gain adjustment apparatus according to the present invention.
As shown in fig. 6, the apparatus for adjusting picture gain according to the embodiment of the present invention includes:
the gain value calculation module 10 is configured to obtain a backlight value of a current picture, and obtain a gain value to be adjusted according to the backlight value;
the gain value calculating module 10 is further configured to obtain a reference picture gain value corresponding to the backlight value when the gain value to be adjusted satisfies a preset backlight value step;
a gain value adjustment module 20, configured to adjust a gain compensation value of the current picture according to the gain value to be adjusted and the reference picture gain value;
the gain value adjusting module 20 is further configured to adjust the gain value to be adjusted based on the gain compensation value, so as to obtain a target gain value.
According to the embodiment, whether the gain value corresponding to the backlight value of the real-time picture meets the preset backlight is judged, whether the gain value of the picture is adjusted is judged, the adjustment of the gain value is achieved, meanwhile, energy efficiency and screen smoothness are guaranteed, the picture has a better display effect, energy consumption is reduced, and the problems that the backlight value of the picture is dynamically adjusted based on brightness of the picture, the high color gamut lamp bar of the picture reduces backlight, the color temperature is warm, and authentication is unqualified are avoided.
In an embodiment, the gain value calculating module 10 is further configured to determine whether a picture gain adjustment mode is started, and if the picture gain adjustment mode is not started, acquire a backlight value of a current picture;
obtaining a current picture gain value according to a backlight value of a current picture, and taking the current picture gain value as a target gain value;
and if the picture gain adjustment mode is started, executing the step of acquiring the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value.
In an embodiment, the gain value calculating module 10 is further configured to determine whether the current picture is in a play state, wait for a preset time if the current picture is not in the play state, and acquire the backlight value of the current picture again;
if the current picture is in a playing state, judging whether the current picture meets a gain adjusting condition or not;
and if the current picture meets the gain adjustment condition, executing the step of acquiring the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value.
In an embodiment, the gain value calculating module 10 is further configured to obtain a backlight value of the current picture if the current picture is determined not to meet the gain adjustment condition, and obtain the gain value of the current picture according to the backlight value of the current picture;
taking the gain value of the current picture as the standard gain value of the current picture;
and when the current picture is identified again and the backlight value of the current picture meets the preset backlight value step, adjusting the gain value of the current picture to be a standard gain value.
In an embodiment, the gain value adjusting module 20 is further configured to determine whether a white balance of the current picture changes, and if the white balance does not change, determine whether a gain value to be adjusted of the current picture changes;
if the gain value to be adjusted is not changed, judging whether the color temperature of the current picture is changed or not;
and if the color temperature does not change, adding or subtracting the gain compensation value to the gain value to be adjusted to obtain a target gain value.
In an embodiment, the gain value adjusting module 20 is further configured to determine whether the basic gain value changes if the white balance of the current picture changes;
if the basic gain value is not changed, adjusting the basic gain value based on the gain compensation value to obtain a target gain value;
and if the basic gain value is changed, adjusting the changed basic gain value based on the gain compensation value to obtain a target gain value.
In an embodiment, the gain value adjusting module 20 is further configured to adjust the gain value to be adjusted after the change based on the gain compensation value if the gain value to be adjusted changes, so as to obtain a target gain value;
after determining whether the color temperature of the current picture changes, the method further comprises:
if the color temperature of the current picture changes, obtaining a reference gain value according to the changed color temperature, and subtracting the gain compensation value from the reference gain value to obtain a target gain value.
It should be understood that the foregoing is illustrative only and is not limiting, and that in specific applications, those skilled in the art may set the invention as desired, and the invention is not limited thereto.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. Read Only Memory)/RAM, magnetic disk, optical disk) and including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A picture gain adjustment method, the picture gain adjustment method comprising:
obtaining a backlight value of a current picture, and obtaining a gain value to be adjusted according to the backlight value;
when the gain value to be adjusted meets the preset backlight value step, acquiring a reference picture gain value corresponding to the backlight value;
obtaining a gain compensation value of the current picture according to the gain value to be adjusted and the gain value of the reference picture;
and adjusting the gain value to be adjusted based on the gain compensation value to obtain a target gain value.
2. The method for adjusting the gain of a picture according to claim 1, wherein the step of obtaining the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value further comprises:
judging whether a picture gain adjustment mode is started or not, and if the picture gain adjustment mode is not started, acquiring a backlight value of a current picture;
obtaining a current picture gain value according to a backlight value of a current picture, and taking the current picture gain value as a target gain value;
and if the picture gain adjustment mode is started, executing the step of acquiring the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value.
3. The method of adjusting picture gain according to claim 2, wherein after the picture gain adjustment mode is started, further comprising:
judging whether the current picture is in a playing state, if not, repeating the step of obtaining the backlight value of the current picture after a preset period, and obtaining a gain value to be adjusted according to the backlight value until the current picture is in the playing state;
if the current picture is in a playing state, judging whether the current picture meets a gain adjusting condition or not;
and if the current picture meets the gain adjustment condition, executing the step of acquiring the backlight value of the current picture and obtaining the gain value to be adjusted according to the backlight value.
4. The picture gain adjustment method as claimed in claim 3, wherein after said determining whether the current picture satisfies the gain adjustment condition, further comprising:
if the current picture does not meet the gain adjustment condition, acquiring a backlight value of the current picture, and acquiring a gain value of the current picture according to the backlight value of the current picture;
taking the gain value of the current picture as the standard gain value of the current picture;
and if the current picture is identified again and the backlight value of the current picture meets the preset backlight value step, adjusting the gain value of the current picture to be a standard gain value.
5. The picture gain adjustment method according to claim 1, wherein the adjusting the gain value to be adjusted based on the gain compensation value to obtain a target gain value includes:
judging whether the white balance of the current picture changes or not, and if the white balance does not change, judging whether the gain value to be adjusted of the current picture changes or not;
if the gain value to be adjusted is not changed, judging whether the color temperature of the current picture is changed or not;
and if the color temperature does not change, adding or subtracting the gain compensation value to the gain value to be adjusted to obtain a target gain value.
6. The picture gain adjustment method according to claim 5, wherein after determining whether the white balance of the current picture has changed, further comprising:
if the white balance of the current picture changes, judging whether the basic gain value changes or not;
if the basic gain value is not changed, adjusting the basic gain value based on the gain compensation value to obtain a target gain value;
and if the basic gain value is changed, adjusting the changed basic gain value based on the gain compensation value to obtain a target gain value.
7. The picture gain adjustment method according to claim 5, wherein the determining whether the gain value to be adjusted of the current picture has changed further comprises:
if the gain value to be adjusted changes, adjusting the gain value to be adjusted after the change based on the gain compensation value to obtain a target gain value;
after determining whether the color temperature of the current picture changes, the method further comprises:
if the color temperature of the current picture changes, obtaining a reference gain value according to the changed color temperature, and subtracting the gain compensation value from the reference gain value to obtain a target gain value.
8. A picture gain adjustment apparatus, characterized in that the picture gain adjustment apparatus comprises:
the gain value calculation module is used for obtaining the backlight value of the current picture and obtaining a gain value to be adjusted according to the backlight value;
the gain value calculation module is further configured to obtain a reference picture gain value corresponding to the backlight value when the gain value to be adjusted satisfies a preset backlight value step;
the gain value adjusting module is used for adjusting the gain compensation value of the current picture according to the gain value to be adjusted and the reference picture gain value;
the gain value adjusting module is further configured to adjust the gain value to be adjusted based on the gain compensation value, so as to obtain a target gain value.
9. A picture gain adjustment apparatus, the apparatus comprising: a memory, a processor, and a picture gain adjustment program stored on the memory and executable on the processor, the picture gain adjustment program configured to implement the picture gain adjustment method of any one of claims 1 to 7.
10. A storage medium having stored thereon a picture gain adjustment program which, when executed by a processor, implements the picture gain adjustment method according to any one of claims 1 to 7.
CN202311288256.2A 2023-10-07 2023-10-07 Picture gain adjustment method, device, equipment and storage medium Pending CN117409729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311288256.2A CN117409729A (en) 2023-10-07 2023-10-07 Picture gain adjustment method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311288256.2A CN117409729A (en) 2023-10-07 2023-10-07 Picture gain adjustment method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117409729A true CN117409729A (en) 2024-01-16

Family

ID=89489963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311288256.2A Pending CN117409729A (en) 2023-10-07 2023-10-07 Picture gain adjustment method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117409729A (en)

Similar Documents

Publication Publication Date Title
CN109064979B (en) Image display processing method and device, display device and storage medium
US20210158766A1 (en) Driving method, driving apparatus, display device and computer readable medium
US7423383B2 (en) Brightness controlling apparatus
JP5575900B2 (en) Display control method, display control device, liquid crystal display device, display control program, and computer-readable recording medium
EP2793217A2 (en) Portable phone terminal, image display controlling method, program thereof, and program recording medium
US20060114265A1 (en) Display control device and display control method
CN110197641B (en) Panel driving voltage adjusting method, display device and device with storage function
CN105632407B (en) A kind of display adjusting method and mobile terminal of AMOLED display screens
CN112164007B (en) Image display method and device, terminal and readable storage medium
EP2492907B1 (en) Image processing apparatus, storage medium storing image processing program, and image processing method
CN114927109B (en) Backlight source control method and device, display equipment and storage medium
CN114981873A (en) Gamma correction method and device, electronic device and readable storage medium
CN112289278A (en) Screen brightness adjusting method, screen brightness adjusting device and electronic equipment
CN111564133A (en) Driving method and driving device of display panel and display device
WO2012105117A1 (en) Video display device
CN115223509A (en) Backlight control method, backlight control device, display equipment and computer readable storage medium
CN107680541A (en) A kind of method and device for reducing liquid crystal display power consumption
CN112783460B (en) Display control method and device, electronic equipment and readable storage medium
WO2019184447A1 (en) Backlight control method, device, and computer readable storage medium
US9368087B2 (en) Display backlight normalization
US20080170030A1 (en) Image processing apparatus
US20130342433A9 (en) Dynamic backlight control for video displays
CN117409729A (en) Picture gain adjustment method, device, equipment and storage medium
CN107578753B (en) Mobile terminal, display screen brightness adjusting method and storage medium
CN112368763A (en) Control device, display device, and control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination