CN107293271B - Display device, method for adjusting primary color signals of display device and storage medium - Google Patents

Display device, method for adjusting primary color signals of display device and storage medium Download PDF

Info

Publication number
CN107293271B
CN107293271B CN201710545013.0A CN201710545013A CN107293271B CN 107293271 B CN107293271 B CN 107293271B CN 201710545013 A CN201710545013 A CN 201710545013A CN 107293271 B CN107293271 B CN 107293271B
Authority
CN
China
Prior art keywords
primary color
gain
blue
value
color gain
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
Application number
CN201710545013.0A
Other languages
Chinese (zh)
Other versions
CN107293271A (en
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.)
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL Digital Technology 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 Shenzhen TCL Digital Technology Co Ltd filed Critical Shenzhen TCL Digital Technology Co Ltd
Priority to CN201710545013.0A priority Critical patent/CN107293271B/en
Publication of CN107293271A publication Critical patent/CN107293271A/en
Application granted granted Critical
Publication of CN107293271B publication Critical patent/CN107293271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention relates to the technical field of display, and discloses a display device, a method for adjusting primary color signals of the display device and a storage medium. The method for adjusting the primary color signals comprises the following steps: acquiring three primary color gains of a current primary color signal, wherein the three primary color gains comprise a blue primary color gain, a red primary color gain and a green primary color gain; judging whether the gain of the blue primary color is larger than a first preset threshold value or not; and when the blue primary color gain is larger than a first preset threshold value, reducing the blue primary color gain, the red primary color gain and the green primary color gain by utilizing a first preset rule according to the blue primary color gain and the first preset threshold value. When the blue light exceeds the safety range, the blue light is adjusted to the safety range and the red light and the green light are correspondingly adjusted, and the synchronous adjustment of the blue light, the red light and the green light avoids the phenomenon of color cast of a display picture, so that the display device is favorable for reducing the harm of the blue light to a human body and simultaneously can ensure the high-quality picture display of the picture.

Description

Display device, method for adjusting primary color signals of display device and storage medium
Technical Field
The present invention relates to the field of display technologies, and in particular, to a display device, a method for adjusting a primary color signal thereof, and a storage medium.
Background
Light hazard classes are often distinguished by "light color" which affects the physiological clock at the mental level. For example, a reddish light will cause a person to perceive that a day will end and approach rest time, causing the person to automatically release sleep hormones; the bluish light can make people recognize as daytime, start the related activity mechanism in the body and maintain the state of waking up mentally, and consumers who continuously use the display screen without the low blue light technology for a long time can generate the situations of eyestrain, eye acerbity, even physiological clock disorder and the like. Therefore, under the same energy, the blue light to ultraviolet segment is more harmful to human body than the red light to infrared segment.
In order to reduce the harm of blue light to human body, a low blue light switch is generally arranged on a user menu in the display field for user adjustment. When a user turns on the low-blue light switch, only the blue primary color can be reduced, and the states of the red primary color R and the green primary color G are not considered, and the adjustment may cause color cast of a display picture.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a display device, a method for adjusting primary color signals of the display device and a storage medium, and aims to solve the color cast problem in the current low-blue light display process, so that the display device can reduce the harm of blue light to human bodies and ensure the high-quality image display of pictures.
In order to achieve the above object, the present invention provides a method for adjusting primary color signals, including the following steps:
acquiring three primary color gains of a current primary color signal, wherein the three primary color gains comprise a blue primary color gain, a red primary color gain and a green primary color gain;
judging whether the gain of the blue primary color is larger than a first preset threshold value or not;
and when the blue primary color gain is larger than a first preset threshold value, reducing the blue primary color gain, the red primary color gain and the green primary color gain by utilizing a first preset rule according to the blue primary color gain and the first preset threshold value.
Preferably, the method for adjusting the primary color signals further comprises: and adjusting the current brightness value according to the reduced blue primary color gain, the red primary color gain and the green primary color gain.
Preferably, when the blue primary gain is greater than a first preset threshold, the reducing the blue primary gain, the red primary gain, and the green primary gain according to the blue primary gain and the first preset threshold by using a first preset rule specifically includes:
determining a first blue primary gain adjustment value according to the first preset threshold and the blue primary gain;
calculating a first primary color adjusting parameter according to the blue primary color gain and the first blue primary color gain adjusting value;
and calculating a first red primary color gain adjustment value and a first green primary color gain adjustment value according to the first primary color adjustment parameter, the red primary color gain and the green primary color gain.
Preferably, the step of adjusting the current luminance value according to the reduced blue primary gain, the red primary gain and the green primary gain specifically includes:
calculating the current brightness value according to the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value;
judging whether the current brightness value is smaller than a second preset threshold value or not;
and when the current brightness value is smaller than the second preset threshold value, amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value by using a second preset rule according to the current brightness value, the blue primary color gain and the first blue primary color gain adjustment value.
Preferably, when the current luminance value is smaller than the second preset threshold, the step of amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value, and the first blue primary color gain adjustment value according to the current luminance value, the blue primary color gain, and the first blue primary color gain adjustment value by using a second preset rule specifically includes:
calculating a brightness compensation target value according to the blue primary color gain, the first blue primary color gain adjustment value and the current brightness value;
calculating a brightness adjustment parameter according to the brightness compensation target value and the current brightness value;
calculating a second blue primary color gain adjustment value according to the brightness adjustment parameter and the first blue primary color gain adjustment value;
calculating a second primary color adjusting parameter according to the second blue primary color gain adjusting value and the first blue primary color gain adjusting value;
calculating a second red primary color gain adjustment value and a second green primary color gain adjustment value according to the second primary color adjustment parameter, the first red primary color gain adjustment value and the first green primary color gain adjustment value;
amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value according to the second blue primary color gain adjustment value, the second red primary color gain adjustment value and the second green primary color gain adjustment value.
Preferably, said method is according toThe calculating of the luminance compensation target value by the blue primary gain, the first blue primary gain adjustment value, and the current luminance value specifically includes: according to a second predetermined formula Y(new)=X*Y(old)*B Gain(new)/B Gain(old)Calculating a brightness compensation target value; wherein X is a predetermined value, Y(new)For brightness compensation of the target value, Y(old)For the current luminance value, BGain(new)Is the Gain adjustment value of the first blue primary color, B Gain(old)Is the blue primary gain.
Preferably, the determining a first blue primary gain adjustment value according to the first preset threshold and the blue primary gain specifically includes: according to a first preset formula: b Gain(new)Calculating a first blue primary gain adjustment value a 1; among them, BGain(new)The first blue primary gain adjustment value is a first preset threshold value a 1.
Preferably, the obtaining of the three primary color gains of the current primary color signal, where the three primary color gains include a blue primary color gain, a red primary color gain, and a green primary color gain, specifically includes:
and acquiring the tricolor gains of the current primary color signal in real time or in a timing mode, wherein the tricolor gains comprise a blue primary color gain, a red primary color gain and a green primary color gain.
Further, to achieve the above object, the present invention also provides a display device including: the device comprises a memory, a processor and a primary color signal adjusting program stored on the memory and capable of running on the processor, wherein the primary color signal adjusting program realizes the steps of the primary color signal adjusting method according to any one of the above items when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium having a primary color signal adjustment program stored thereon, the primary color signal adjustment program, when executed by a processor, implementing the steps of the primary color signal adjustment method according to any one of the above.
According to the method for adjusting the primary color signals, the three primary color gains of the primary color signals are obtained, when the blue primary color gain is larger than a first preset threshold value, the blue primary color gain, the red primary color gain and the green primary color gain are reduced by utilizing a first preset rule according to the blue primary color gain and the first preset threshold value, so that when the blue light of a picture of a display device exceeds a safety range, the blue light is adjusted to be in a safety range, the red light and the green light are correspondingly adjusted, the phenomenon of color cast of the display picture is avoided by synchronous adjustment of the blue light, the red light and the green light, the harm of the blue light to a human body is reduced by the display device, and meanwhile high-quality picture display of the picture can be guaranteed.
Drawings
FIG. 1 is a schematic diagram of a display device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a first flowchart illustrating a method for adjusting primary color signals according to an embodiment of the present invention;
FIG. 3 is a second flowchart of an embodiment of a method for adjusting primary color signals according to the present invention;
FIG. 4 is a third flowchart of an embodiment of a method for adjusting primary color signals according to the present invention;
FIG. 5 is a fourth flowchart illustrating an adjusting method of primary color signals according to an embodiment of the present invention;
fig. 6 is a detailed flowchart of step S430 in fig. 5.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: by obtaining the three primary color gains of the primary color signals, when the blue primary color gain is larger than a first preset threshold value, the blue primary color gain, the red primary color gain and the green primary color gain are reduced by utilizing a first preset rule according to the blue primary color gain and the first preset threshold value.
According to the most basic principle of colorimetry, namely the three primary colors principle, most colors in nature can be obtained by mixing the three primary colors according to a certain proportion, human eyes are equivalent to a three-color receiver, and the human eyes receive mixed light containing the three primary colors in different proportions at the same time, so that subjective feelings of different colors are generated. Therefore, in the display device, the proportion of the three primary colors in the displayed image determines the visual perception of a human, and when the proportion of the three primary colors is not uniform, the human can generate the color cast feeling. Under the same energy, the blue light to ultraviolet segment is more harmful to human body than the red light to infrared segment.
Since the existing low-blue technology of the display device can only simply reduce the blue primary color, and does not consider the states of the red primary color R and the green primary color G, the adjustment may cause the color cast of the display picture.
The invention provides a solution, which is characterized in that three primary color gains of primary color signals are obtained, when the blue primary color gain is larger than a first preset threshold value, the blue primary color gain, the red primary color gain and the green primary color gain are reduced by utilizing a first preset rule according to the blue primary color gain and the first preset threshold value, so that when the blue light of a picture of a display device exceeds a safety range, the blue light is adjusted to a safety value, the red light and the green light are correspondingly adjusted, the harmfulness of the blue light to a human body is reduced, and the high-quality picture display of the picture is ensured.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a display device of a hardware operating environment according to an embodiment of the present invention.
The embodiment of the invention can be applied to various light-emitting display devices, such as an organic light-emitting display, a field-emission display, an electric field light-emitting display, an electroluminescent display, a photoluminescent display, a plasma display, a field-emission display, a vacuum fluorescent display, a light-emitting diode display, a field-emission display, a cathode ray tube display and the like, and the images can be displayed only by adopting the three-primary-color principle.
As shown in fig. 1, the display device may include: a processor 1001, such as a CPU, a memory 1002, a signal processing module 1003, a picture tube 1004, a display panel 1005, and the like. The memory 1002 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1002 may alternatively be a storage device separate from the processor 1001. The signal processing module 1003 may specifically include a synchronization separation circuit, a field scanning circuit, a line scanning circuit, a video processing circuit, a signal amplification circuit, and the like. The kinescope 1004 mainly includes an electron gun, a deflection coil, a shadow mask, a phosphor layer and a glass shell, and the specific structure is different according to the different imaging and light-emitting principles, which is not described herein.
Those skilled in the art will appreciate that the display device configuration shown in fig. 1 does not constitute a limitation of the display device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory as a computer storage medium may include all programs and parameter values required for displaying images of the display device, such as a signal processing program and a program for adjusting primary color signals.
In the display apparatus shown in fig. 1, the signal processing module 1003 is configured to process the signal obtained from the image signal source through steps of receiving, separating, tuning, and the like, and obtain a signal satisfying the display requirement, and provide the signal to the picture tube. The picture tube 1004 is used for processing the signal provided by the signal processing module 1003 and outputting an image on the display panel 1005. The processor 1001 may be configured to call an adjustment program of the primary color signals stored in the memory 1002, and perform the following operations:
acquiring three primary color gains of a current primary color signal, wherein the three primary color gains comprise a blue primary color gain, a red primary color gain and a green primary color gain;
judging whether the gain of the blue primary color is larger than a first preset threshold value or not;
and when the blue primary color gain is larger than a first preset threshold value, reducing the blue primary color gain, the red primary color gain and the green primary color gain by utilizing a first preset rule according to the blue primary color gain and the first preset threshold value.
Further, the processor 1001 may call an adjustment program for calling the primary color signals stored in the memory 1002, and also perform the following operations:
and adjusting the current brightness value according to the reduced blue primary color gain, the red primary color gain and the green primary color gain.
Further, the processor 1001 may call an adjustment program for calling the primary color signals stored in the memory 1002, and when the above-mentioned step of reducing the blue primary color gain, the red primary color gain, and the green primary color gain according to the blue primary color gain and the first preset threshold by using a first preset rule is performed, the following operations are specifically performed:
determining a first blue primary gain adjustment value according to the first preset threshold and the blue primary gain;
calculating a first primary color adjusting parameter according to the blue primary color gain and the first blue primary color gain adjusting value;
and calculating a first red primary color gain adjustment value and a first green primary color gain adjustment value according to the first primary color adjustment parameter, the red primary color gain and the green primary color gain.
Further, the processor 1001 may call an adjusting program for calling the primary color signals stored in the memory 1002, and when the step of adjusting the current luminance value according to the reduced blue primary color gain, the red primary color gain, and the green primary color gain is executed, the following operations are specifically executed:
calculating the current brightness value according to the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value;
judging whether the current brightness value is smaller than a second preset threshold value or not;
and when the brightness value is smaller than the second preset threshold value, amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value by using a second preset rule according to the current brightness value, the blue primary color gain and the first blue primary color gain adjustment value.
Further, the processor 1001 may call an adjusting program for calling the primary color signals stored in the memory 1002, and when the above-mentioned step of amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value, and the first blue primary color gain adjustment value by using a second preset rule according to the current luminance value, the blue primary color gain, and the first blue primary color gain adjustment value is performed, the following operations are specifically performed:
calculating a brightness compensation target value according to the blue primary color gain, the first blue primary color gain adjustment value and the current brightness value;
calculating a brightness adjustment parameter according to the brightness compensation target value and the current brightness value;
calculating a second blue primary color gain adjustment value according to the brightness adjustment parameter and the first blue primary color gain adjustment value;
calculating a second primary color adjusting parameter according to the second blue primary color gain adjusting value and the first blue primary color gain adjusting value;
calculating a second red primary color gain adjustment value and a second green primary color gain adjustment value according to the second primary color adjustment parameter, the first red primary color gain adjustment value and the first green primary color gain adjustment value;
amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value according to the second blue primary color gain adjustment value, the second red primary color gain adjustment value and the second green primary color gain adjustment value.
Further, the processor 1001 may call an adjusting program for calling the primary color signals stored in the memory 1002, and when the above-mentioned calculating the luminance compensation target value according to the blue primary color gain, the first blue primary color gain adjusting value, and the current luminance value is performed, specifically perform the following operations:
according to a second predetermined formula Y(new)=X*Y(old)*B Gain(new)/B Gain(old)Calculating a brightness compensation target value; wherein X is a predetermined value, Y(new)For brightness compensation of the target value, Y(old)For the current luminance value, B Gain(new)Is the Gain adjustment value of the first blue primary color, B Gain(old)Is the blue primary gain.
Further, the processor 1001 may call an adjusting program for calling the primary color signals stored in the memory 1002, and when the first primary blue color gain adjustment value is determined according to the first preset threshold and the primary blue color gain, the following operations are specifically performed:
according to a first preset formula: b Gain(new)=A1Calculating a first blue primary gain adjustment value; among them, BGain(new)Is a first blue primary gain adjustment value, A1Is a first preset threshold.
Further, the processor 1001 may invoke an adjustment program for invoking the primary color signals stored in the memory 1002, and when the above-mentioned obtaining of the three-primary color gain of the current primary color signal is performed, the three-primary color gain includes a blue primary color gain, a red primary color gain, and a green primary color gain step, the following operations are specifically performed:
and acquiring the tricolor gains of the current primary color signal in real time or in a timing mode, wherein the tricolor gains comprise a blue primary color gain, a red primary color gain and a green primary color gain.
Referring to fig. 2, an embodiment of a method for adjusting primary color signals according to the present invention provides a method for adjusting primary color signals, where the method for adjusting primary color signals includes:
step S100, obtaining three primary color gains of a current primary color signal, wherein the three primary color gains comprise a blue primary color gain, a red primary color gain and a green primary color gain;
when the display device enters a low blue light adjustment state, the three primary color gains (blue primary color gain, red primary color gain and green primary color gain) of the current primary color signal are obtained. The low blue light adjustment state can be triggered by the outside, and the inside of the display device can also be operated according to a preset mode. Wherein the external trigger may specifically be: a switch for a low blue light adjustment state is provided on the display device or other terminal and when the user clicks to select the switch, the display device is triggered to enter the low blue light adjustment state. The switch can be a mechanical key arranged on a keyboard, a remote control terminal and the like, and can also be a virtual key displayed on a display interface of a display device or an interactive interface of a mobile terminal in control connection with the display device and the like. In addition, the preset mode may be a program set in the display device, so that the display device enters the low blue light adjustment state at intervals or at certain one or more specific time points, or even the display device is always in the low blue light adjustment state. The display device can realize automatic adjustment of low blue light according to a preset mode, and ensures that the blue light of a display picture cannot cause harm to users.
The tricolor gain of the primary color signal is a primary color signal gain value used for picture tube imaging after a series of signal processing of an image signal source. The three primary color gains of the current primary color signals may be obtained by obtaining voltage values of the primary color signals output in the three primary color signal channels, respectively.
Step S200, judging whether the gain of the blue primary color is larger than a first preset threshold value;
after entering the low blue light adjustment state, it is first determined whether the current blue primary gain exceeds a safe range. The professional can set a first preset threshold value, the first preset threshold value is a critical value of the safety range, when the blue primary color gain is smaller than or equal to the first preset threshold value, the influence of the blue light of the display image on the human body is within the safety range, and when the blue primary color gain is larger than the first preset threshold value, the blue light of the display image harms the human body. The specific value of the first preset threshold value is according to the difference of different display screens and different chips. If the current blue primary gain is less than or equal to the first preset threshold, the current primary signal does not need to be adjusted. If the current blue primary color gain is larger than a first preset threshold value, adjusting the current primary color signal
Step S300, when the blue primary color gain is greater than a first preset threshold, reducing the blue primary color gain, the red primary color gain and the green primary color gain by utilizing a first preset rule according to the blue primary color gain and the first preset threshold.
When the blue primary color gain is larger than a first preset value, the blue primary color gain is firstly reduced to a safe range, the specific adjustment amount is determined according to a preset first preset rule, and only the reduced blue primary color needs to be smaller than or equal to a first preset threshold value. The first preset rule further includes a relationship between the blue primary color gain and the red primary color gain, and an adjustment ratio of the blue primary color gain and the green primary color gain. After the reduced blue primary gain is determined, the adjustment proportional relationship in the first preset rule correspondingly reduces the red primary gain and the green primary gain. Specifically, the adjustment ratio relationship among the blue primary color gain, the red primary color gain and the green primary color gain in the first preset rule is that when the three are adjusted in an equal ratio, the display picture can achieve an optimal non-color-cast effect, but the adjustment ratio relationship value can be obtained according to the preference setting parameters of different users, so that the use preference of the display device of the user can be met while the display picture is low in blue light without causing harm to the user, and a relatively better non-color-cast effect can be obtained compared with the user.
By obtaining the three primary color gains of the primary color signals, when the blue primary color gain is larger than a first preset threshold value, the blue primary color gain, the red primary color gain and the green primary color gain are reduced by utilizing a first preset rule according to the blue primary color gain and the first preset threshold value, so that when the blue light of a picture of the display device exceeds a safety range, the blue light is adjusted to a safety value, the red light and the green light are correspondingly adjusted, the harmfulness of the blue light to a human body is reduced, and meanwhile, the high-quality picture display of the picture is ensured.
Further, referring to fig. 3, in this embodiment, after the step S300, the method further includes:
step S400, adjusting the current brightness value according to the reduced blue primary color gain, the red primary color gain and the green primary color gain.
There is a certain corresponding relationship between the tricolor gain and the brightness, and the brightness formula is: luminance Y is 0.299R +0.587G +0.114B, where R is the red primary gain, G is the green primary gain, and B is the blue primary gain. Therefore, after the first embodiment reduces the gain of the blue primary color, the gain of the red primary color, and the gain of the green primary color, the brightness of the corresponding display screen is also reduced accordingly. When the brightness is too low, the display effect of the display screen is affected. Therefore, after the blue primary gain, the red primary gain and the green primary gain are reduced, if the brightness is lower than a certain brightness critical value, the brightness can be compensated and improved. The target value of the luminance compensation may be determined according to the characteristics of different display screens and the characteristics of different chips, may be set as the critical value of the luminance, may also be determined according to the fitting relationship between the gain of the blue primary color before and after the reduction, the current luminance value, and the target value of the luminance compensation, may also be determined by a database including the corresponding relationship between the gain value of the current blue primary color, the current luminance value, and the target value of the luminance compensation, which is formed by a plurality of times of test results, and the like, as long as the determined target value of the luminance compensation can achieve the effect of the luminance compensation. It can be known from the brightness formula that the compensation of the brightness must be realized by adjusting the three primary color gains, so that the blue primary color gain, the red primary color gain and the green primary color gain at the moment must be correspondingly increased in the same ratio according to the brightness compensation target value to adjust the brightness to the brightness compensation target value.
Further, referring to fig. 4, in this embodiment, the step S300 includes:
s310, determining a first blue primary gain adjustment value according to the first preset threshold and the blue primary gain;
s320, calculating a first primary color adjusting parameter according to the blue primary color gain and the first blue primary color gain adjusting value;
s330, calculating a first red primary gain adjustment value and a first green primary gain adjustment value according to the first primary adjustment parameter, the red primary gain, and the green primary gain.
In the technical solution disclosed in this embodiment, the reduction of the blue primary gain is mainly achieved by determining a first blue primary gain adjustment value according to the first preset threshold and the blue primary gain, where the first blue primary gain adjustment value is a target value when the reduction of the blue primary gain is performed. Because the reduction of the gain of the three primary colors can correspondingly influence the reduction of the brightness of the display picture, the effect of reducing the brightness of the picture is lowest while considering the requirement of meeting low blue light when the gain of the blue primary color is adjusted so as to ensure the picture while protecting the human bodyHigh image quality display of the surface. Therefore, it may be preferred that, according to a first preset formula: b Gain(new)=A1Calculating a first blue primary gain adjustment value; wherein, B Gain(new)Is a first blue primary gain adjustment value, A1Is a first preset threshold. The first blue primary gain adjustment value is set as a first preset threshold value, the brightness value at the moment is the maximum value of the blue light within the safety range value, and the brightness reduction of the display picture is minimum.
After determining the first blue primary gain adjustment value, the red primary gain and the green primary gain may be scaled down equally for the purpose of color unbiased. First, a first primary color adjustment parameter is determined, wherein the first primary color adjustment parameter is used as a reduction reference value of a red primary color gain and a green primary color gain, and the first primary color adjustment parameter can be calculated through the blue primary color gain and the first blue primary color gain adjustment value. And calculating a first red primary color gain adjustment value and a first green primary color gain adjustment value according to a first primary color adjustment parameter determined by the blue primary color gain before and after reduction, the red primary color gain and the green primary color gain, and realizing the effect of non-color cast of a display picture as target values of the reduced red primary color gain and the reduced green primary color gain. Specifically, the first primary color adjustment parameter M ═ B Gain(new)/B Gain(old),R Gain(new)=R Gain(old)*M,G Gain(new)=G Gain(old)M; wherein BGain(old)、R Gain(old)、G Gain(old)Are respectively the initial value of the Gain of the three primary colors, R Gain(new)Is the Gain adjustment value of the first red primary color, G Gain(new)Is the first red primary gain adjustment value. When the blue light of the picture of the display device exceeds the safety range, the blue primary color gain is reduced to a first preset threshold value, and the red primary color gain and the green primary color gain are reduced in an equal ratio, so that the reduction of brightness is minimized while the optimal non-color-cast effect of the display picture is realized, the harmfulness of the blue light to a human body is reduced, and the high-quality picture display of the picture is ensured.
Further, referring to fig. 5, in this embodiment, the step S400 includes:
s410, calculating the current brightness value according to the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value;
to determine whether the current brightness needs to be compensated, the current brightness value Y is calculated according to the brightness formula according to the three primary color gain values (the first red primary color gain adjustment value, the first green primary color gain adjustment value, and the first blue primary color gain adjustment value) at this time(old),Y(old)=0.299R Gain(new)+0.587G Gain(new)+0.114B Gain(new)
S420, judging whether the current brightness value is smaller than a second preset threshold value;
after the current brightness value is obtained, the current brightness value needs to be judged, and the current brightness value is compared with a second preset threshold value. The second preset threshold may be a minimum brightness value preset by a professional according to different characteristics of the display device to ensure the image effect of the display device, or an acceptable brightness minimum value set by the user. When the current brightness value is greater than or equal to a second preset threshold value, the current brightness is not adjusted; and when the current brightness value is smaller than a second preset threshold value, compensating and improving the current brightness.
S430, when the current luminance value is smaller than the second preset threshold, amplifying the first red primary gain adjustment value, the first green primary gain adjustment value, and the first blue primary gain adjustment value according to the current luminance value, the blue primary gain, and the first blue primary gain adjustment value by using a second preset rule.
When the current luminance value is smaller than the second preset threshold, a luminance compensation target value is determined, where the luminance compensation target value may be determined according to a preset second preset rule, and in the second preset rule, the luminance compensation target value has a certain fitting relationship or a numerical correspondence with the current luminance value, the blue primary gain, and the first blue primary gain adjustment value, where the numerical correspondence may be obtained through multiple tests or may be obtained through computer simulation, and is not specifically limited herein. The second preset rule further includes a brightness compensation target value, a current brightness value, a first blue primary color gain adjustment value, a first red primary color gain adjustment value, and an adjustment relationship between the first blue primary color gain adjustment value and the first green primary color gain adjustment value. The method comprises the steps of firstly determining a first amplified blue primary color gain adjustment value according to a second preset rule, and then correspondingly amplifying a first red primary color gain adjustment value and a first green primary color gain adjustment value according to a certain proportional relation. The first blue primary color gain, the first blue primary color gain adjustment value, the first red primary color gain adjustment value and the first green primary color gain adjustment value can be amplified in equal proportion, at the moment, a display picture can achieve the optimal non-color-cast effect, but the adjustment proportion relation value among the first blue primary color gain adjustment value, the first red primary color gain adjustment value and the first green primary color gain adjustment value can be obtained according to preference setting parameters of different users, so that the low blue light of the display picture is realized, the user preference of the display device can be met while the user is not harmed, and a relatively good non-color-cast effect is obtained compared with the user.
Specifically, referring to fig. 6, the step S430 includes the following steps:
s431, calculating a brightness compensation target value according to the blue primary color gain, the first blue primary color gain adjustment value and the current brightness value;
s432, calculating a brightness adjusting parameter according to the brightness compensation target value and the current brightness value;
s433, calculating a second blue primary color gain adjustment value according to the brightness adjustment parameter and the first blue primary color gain adjustment value;
s434, calculating a second primary color adjustment parameter according to the second primary blue color gain adjustment value and the first primary blue color gain adjustment value;
s435, calculating a second red primary color gain adjustment value and a second green primary color gain adjustment value according to the second primary color adjustment parameter, the first red primary color gain adjustment value and the first green primary color gain adjustment value;
s436, amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value according to the second blue primary color gain adjustment value, the second red primary color gain adjustment value and the second green primary color gain adjustment value.
Brightness of lightCompensating the target value Y(new)Specifically, the second preset formula Y can be used(new)=X*Y(old)*B Gain(new)/BGain(old)Calculating a brightness compensation target value; wherein Y is(old)And X is a preset value for the current brightness value, and has different set values according to the characteristics of different screens and different chips. After determining the brightness compensation target value, the brightness adjustment parameter P, specifically, Y, may be determined according to the brightness compensation target value and the current brightness value(new)/Y(old). After the brightness adjustment parameter P is determined, first, the first blue primary color gain adjustment value in the current brightness is amplified according to P, such as: b Gain(new)’=B Gain(new)P, wherein BGain(new)' is a second blue primary gain adjustment value, i.e., an amplified first blue primary gain adjustment value. Then, a second primary color adjustment parameter N can be calculated according to the second blue primary color Gain adjustment value and the first blue primary color Gain adjustment value, for example, N ═ B Gain(new)’/BGain(new). Then, calculating a second red primary color gain adjustment value and a second green primary color gain adjustment value according to the second primary color adjustment parameter N, the first red primary color gain adjustment value and the first green primary color gain adjustment value, such as: g Gain(new)’=G Gain(new)*N,RGain(new)’=R Gain(new)N. And finally, taking the second blue primary color gain adjustment value, the second red primary color gain adjustment value and the second green primary color gain adjustment value as target values for amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value.
In this embodiment, when the blue light exceeds the first preset threshold, the blue primary gain is reduced to the first preset threshold, and the red primary gain and the green primary gain are reduced in equal proportion, so that the reduction of brightness is minimized while the optimal non-color-cast effect of the display picture is realized; after the tricolor gain is reduced, a brightness compensation target value is determined through the blue color gain before and after reduction and the current brightness value, then a second primary color adjusting parameter is determined according to the brightness compensation target value and the current brightness value, and the reduced tricolor gain is amplified in an equal ratio according to the second primary color adjusting parameter, so that the brightness compensation of a display picture is realized, the harm of blue light to a human body of the display picture is reduced, the optimal color cast-free effect and the better brightness effect of the display picture are realized, and the high-quality image display of the picture is ensured.
The present invention also proposes a display device, comprising: a memory, a processor and a primary color signal adjusting program stored in the memory and executable on the processor, wherein the primary color signal adjusting program when executed by the processor implements the steps of the primary color signal adjusting method according to the above embodiment.
The present invention also provides a computer readable storage medium, on which a primary color signal adjustment program is stored, which when executed by a processor implements the steps of the primary color signal adjustment method according to the above embodiment.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method for adjusting primary color signals, comprising the steps of:
acquiring three primary color gains of a current primary color signal, wherein the three primary color gains comprise a blue primary color gain, a red primary color gain and a green primary color gain;
judging whether the gain of the blue primary color is larger than a first preset threshold value or not;
when the blue primary color gain is larger than a first preset threshold value, reducing the blue primary color gain, the red primary color gain and the green primary color gain by utilizing a first preset rule according to the blue primary color gain and the first preset threshold value;
the first preset rule comprises a determination mode of the adjustment amount of the blue primary color gain and an adjustment proportional relation among the blue primary color gain, the red primary color gain and the green primary color gain;
when the blue primary gain is greater than a first preset threshold, the reducing the blue primary gain, the red primary gain and the green primary gain according to the blue primary gain and the first preset threshold by using a first preset rule specifically comprises:
determining a first blue primary gain adjustment value according to the first preset threshold and the blue primary gain;
calculating a first primary color adjusting parameter according to the blue primary color gain and the first blue primary color gain adjusting value;
and calculating a first red primary color gain adjustment value and a first green primary color gain adjustment value according to the first primary color adjustment parameter, the red primary color gain and the green primary color gain.
2. The method for adjusting primary color signals according to claim 1, wherein the method for adjusting primary color signals further comprises:
and adjusting the current brightness value according to the reduced blue primary color gain, the red primary color gain and the green primary color gain.
3. The method for adjusting primary color signals according to claim 2, wherein the step of adjusting the current luminance value according to the reduced blue primary color gain, the red primary color gain and the green primary color gain comprises:
calculating the current brightness value according to the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value;
judging whether the current brightness value is smaller than a second preset threshold value or not;
and when the current brightness value is smaller than the second preset threshold value, amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value by using a second preset rule according to the current brightness value, the blue primary color gain and the first blue primary color gain adjustment value.
4. The method for adjusting primary color signals according to claim 3, wherein the step of amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value according to the current luminance value, the blue primary color gain and the first blue primary color gain adjustment value by using a second preset rule when the current luminance value is smaller than the second preset threshold specifically comprises:
calculating a brightness compensation target value according to the blue primary color gain, the first blue primary color gain adjustment value and the current brightness value;
calculating a brightness adjustment parameter according to the brightness compensation target value and the current brightness value;
calculating a second blue primary color gain adjustment value according to the brightness adjustment parameter and the first blue primary color gain adjustment value;
calculating a second primary color adjusting parameter according to the second blue primary color gain adjusting value and the first blue primary color gain adjusting value;
calculating a second red primary color gain adjustment value and a second green primary color gain adjustment value according to the second primary color adjustment parameter, the first red primary color gain adjustment value and the first green primary color gain adjustment value;
amplifying the first red primary color gain adjustment value, the first green primary color gain adjustment value and the first blue primary color gain adjustment value according to the second blue primary color gain adjustment value, the second red primary color gain adjustment value and the second green primary color gain adjustment value.
5. The method for adjusting primary color signals according to claim 4, wherein the calculating the luminance compensation target value according to the blue primary color gain, the first blue primary color gain adjustment value, and the current luminance value specifically comprises: according to a second predetermined formula Y(new)=X*Y(old)*B Gain(new)/B Gain(old)Calculating a brightness compensation target value; wherein X is a predetermined value, Y(new)For brightness compensation of the target value, Y(old)For the current luminance value, B Gain(new)Is the Gain adjustment value of the first blue primary color, B Gain(old)Is the blue primary gain.
6. The method for adjusting primary color signals according to any one of claims 1 to 5, wherein the determining a first blue primary color gain adjustment value according to the first preset threshold and the blue primary color gain specifically comprises: according to a first preset formula: BGain(new)=A1Calculating a first blue primary gain adjustment value; wherein, B Gain(new)Is a first blue primary gain adjustment value, A1Is a first preset threshold.
7. The method for adjusting primary color signals according to claim 1, wherein the obtaining of the three primary color gains of the current primary color signal, the three primary color gains including a blue primary color gain, a red primary color gain and a green primary color gain specifically comprises:
and acquiring the tricolor gains of the current primary color signal in real time or in a timing mode, wherein the tricolor gains comprise a blue primary color gain, a red primary color gain and a green primary color gain.
8. A display device, characterized in that the display device comprises: a memory, a processor and a primary color signal adjustment program stored on the memory and executable on the processor, the primary color signal adjustment program when executed by the processor implementing the steps of the primary color signal adjustment method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that a primary color signal adjustment program is stored on the computer-readable storage medium, and the primary color signal adjustment program, when executed by a processor, implements the steps of the adjustment method of primary color signals according to any one of claims 1 to 7.
CN201710545013.0A 2017-07-05 2017-07-05 Display device, method for adjusting primary color signals of display device and storage medium Active CN107293271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710545013.0A CN107293271B (en) 2017-07-05 2017-07-05 Display device, method for adjusting primary color signals of display device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710545013.0A CN107293271B (en) 2017-07-05 2017-07-05 Display device, method for adjusting primary color signals of display device and storage medium

Publications (2)

Publication Number Publication Date
CN107293271A CN107293271A (en) 2017-10-24
CN107293271B true CN107293271B (en) 2020-10-02

Family

ID=60100363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710545013.0A Active CN107293271B (en) 2017-07-05 2017-07-05 Display device, method for adjusting primary color signals of display device and storage medium

Country Status (1)

Country Link
CN (1) CN107293271B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109884845B (en) * 2017-12-06 2021-10-26 深圳光峰科技股份有限公司 Projection device
TWI717697B (en) * 2019-02-26 2021-02-01 宏碁股份有限公司 Display control method and electronic device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5058631B2 (en) * 2006-03-03 2012-10-24 日本電気株式会社 LIGHT SOURCE DEVICE, DISPLAY DEVICE, TERMINAL DEVICE AND CONTROL METHOD THEREOF
CN101707052B (en) * 2009-12-09 2012-03-28 中航华东光电有限公司 RGB-based method for adjusting white balance of LED backlight
CN104614886B (en) * 2015-01-05 2018-02-02 小米科技有限责任公司 Color adjustment method, device and liquid crystal display
US20160381253A1 (en) * 2015-06-26 2016-12-29 Mediatek Inc. Image processor comprising local color processing circuits and associated image processing method for adjusting blue light strength of image
CN105741815B (en) * 2016-04-01 2018-05-29 广东欧珀移动通信有限公司 The colour gamut method of adjustment and device of a kind of display screen
CN106448541B (en) * 2016-11-21 2019-10-22 Oppo广东移动通信有限公司 Control method and control device
CN106710537B (en) * 2017-03-17 2019-05-07 北京小米移动软件有限公司 Color compensation method, device and equipment

Also Published As

Publication number Publication date
CN107293271A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN107992182B (en) Method and device for displaying interface image
US20170195646A1 (en) Virtual cinema and implementation method thereof
JP2010039199A (en) Image processor and image display
WO2022174651A1 (en) Projection device control method and apparatus, medium, and electronic device
CN107293271B (en) Display device, method for adjusting primary color signals of display device and storage medium
US11388363B2 (en) TV set and backlight control method, control device and readable storage medium of the TV set
JP2006285206A (en) Apparatus and method for adjusting brightness
JPH09135403A (en) Image display device
JP2009089068A (en) Control device for electronic apparatus, control method and control program
TWI297875B (en) Image processing method and device using thereof
JP5449468B2 (en) Image processing method and image processing apparatus
TWI424426B (en) Method for adjusting the color of image
CN111696479B (en) Color gamut adjusting method and device
US20050140693A1 (en) Display system
JP2002159017A (en) Display system, display control system, and display adjusting method
US20020167467A1 (en) Compensation method for improving color saturation and image quality of plasma display panel by adjusting the strength of input image signals
US20150077637A1 (en) Display device, display device control method, television receiver, control program, and recording medium
TWI404041B (en) Automatic osd adjusting device and method
JP5063394B2 (en) Image processing device
KR101416246B1 (en) Display apparatus and control method thereof
JP2008193645A (en) Lightness correcting device, method thereof, and display device
JP2007324665A (en) Image correction apparatus and video display apparatus
KR100712481B1 (en) Display apparatus and control method thereof
CN115294945A (en) Object display method and device, and color lookup table generation method and device
JP2008070621A (en) Image display device and electronic equipment using the same

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