CN116841494A - Screen color adjusting method, screen color adjusting device and storage medium - Google Patents
Screen color adjusting method, screen color adjusting device and storage medium Download PDFInfo
- Publication number
- CN116841494A CN116841494A CN202210301728.2A CN202210301728A CN116841494A CN 116841494 A CN116841494 A CN 116841494A CN 202210301728 A CN202210301728 A CN 202210301728A CN 116841494 A CN116841494 A CN 116841494A
- Authority
- CN
- China
- Prior art keywords
- parameter
- screen
- color
- switching frequency
- color adjustment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012545 processing Methods 0.000 claims description 26
- 238000001514 detection method Methods 0.000 claims description 16
- 239000003086 colorant Substances 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000014509 gene expression Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0271—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
- G09G2320/0276—Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping for the purpose of adaptation to the characteristics of a display device, i.e. gamma correction
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
The present disclosure relates to a screen color adjustment method, a screen color adjustment device, and a storage medium. The screen color adjusting method comprises the following steps: determining a current level switching frequency of a control signal for performing display control on a screen; and acquiring a current color adjustment parameter matched with the current level switching frequency, and adjusting the color value of the screen according to the current color adjustment parameter. The color display effect of the screen can be improved through the display method and the display device.
Description
Technical Field
The disclosure relates to the technical field of intelligent terminals, and in particular relates to a screen color adjusting method, a screen color adjusting device and a storage medium.
Background
With the increasing demand for consumer electronics terminals, the market demand for screens will increase rapidly. In the related art, display control may be performed on a screen by means of pulse width modulation (Pulse Width Modulation, PWM). For example, a control signal is set for the screen, and the on-off state of each display transistor in the screen is controlled by the high and low level of the control signal.
In the related art, in the process of performing display control of a screen with a control signal, it is generally necessary to adjust the level switching frequency of the control signal. Also, in adjusting the level switching frequency of the control signal, color display deviation tends to occur on the screen.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a screen color adjustment method, a screen color adjustment apparatus, and a storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided a screen color adjustment method, including:
determining a current level switching frequency of a control signal for performing display control on a screen; and acquiring a current color adjustment parameter matched with the current level switching frequency, and adjusting the color value of the screen according to the current color adjustment parameter.
In one embodiment, the color value adjustment of the screen with the current color adjustment parameter includes: and compensating the gray scale adjustment parameters of the screen according to the current color adjustment parameters, and adjusting the color value of the screen according to the compensated gray scale adjustment parameters.
In one embodiment, the gray scale adjustment parameters include a gray scale gain parameter and a gray scale compensation parameter, and the current color adjustment parameters include a first compensation parameter and a second compensation parameter; the step of compensating the gray scale adjustment parameter with the current color adjustment parameter and adjusting the color value of the screen with the compensated gray scale adjustment parameter comprises the following steps: compensating the gray scale gain parameter by the first compensation parameter to obtain a compensated gray scale gain parameter, and compensating the gray scale compensation parameter by the first compensation parameter and the second compensation parameter to obtain a compensated gray scale compensation parameter; and adjusting the color value of the screen based on the compensated gray scale gain parameter and the compensated gray scale compensation parameter.
In one embodiment, the compensated gray scale gain parameter is obtained by the following formula, including: gain '=gain×pset, where Gain' is the compensated gray scale Gain parameter, gain is the gray scale Gain parameter, and Pset is the first compensation parameter.
In one embodiment, the compensated gray-scale compensation parameter is obtained by the following formula, including: offset = Pset + Psup, where offset' is the compensated gray-scale compensation parameter, offset is the gray-scale compensation parameter, pset is the first compensation parameter, psup is the second compensation parameter.
In one embodiment, the correspondence between the level switching frequency and the color adjustment parameter is predetermined as follows: determining a color value setting value of the screen at a target level switching frequency, and determining a color value detection value of the screen at the target level switching frequency; determining a target color adjustment parameter matching the target level switching frequency based on a degree of difference between the color value set value and the color value detected value; and creating a corresponding relation between the target level switching frequency and the target color adjustment parameter.
According to a second aspect of embodiments of the present disclosure, there is provided a screen color adjusting apparatus comprising:
a determination unit configured to determine a current level switching frequency of a control signal for performing display control on a screen; an obtaining unit, configured to obtain a current color adjustment parameter that matches the current level switching frequency; and the processing unit is used for adjusting the color value of the screen according to the current color adjustment parameters.
In one embodiment, the processing unit adjusts the color value of the screen with the current color adjustment parameters in the following manner: and compensating the gray scale adjustment parameters of the screen according to the current color adjustment parameters, and adjusting the color value of the screen according to the compensated gray scale adjustment parameters.
In one embodiment, the gray scale adjustment parameters include a gray scale gain parameter and a gray scale compensation parameter, and the current color adjustment parameters include a first compensation parameter and a second compensation parameter; the processing unit compensates the gray scale adjustment parameter by the current color adjustment parameter, and adjusts the color value of the screen by the compensated gray scale adjustment parameter in the following manner: compensating the gray scale gain parameter by the first compensation parameter to obtain a compensated gray scale gain parameter, and compensating the gray scale compensation parameter by the first compensation parameter and the second compensation parameter to obtain a compensated gray scale compensation parameter; and adjusting the color value of the screen based on the compensated gray scale gain parameter and the compensated gray scale compensation parameter.
In one embodiment, the processing unit obtains the compensated gray-scale gain parameter by the following formula: gain '=gain×pset, where Gain' is the compensated gray scale Gain parameter, gain is the gray scale Gain parameter, and Pset is the first compensation parameter.
In one embodiment, the processing unit obtains the compensated gray-scale compensation parameter by the following formula: offset = Pset + Psup, where offset' is the compensated gray-scale compensation parameter, offset is the gray-scale compensation parameter, pset is the first compensation parameter, psup is the second compensation parameter.
In one embodiment, the obtaining unit obtains the current color adjustment parameter matching the current level switching frequency in the following manner: and determining a current color adjustment parameter matching the current level switching frequency based on a corresponding relation between the level switching frequency and the color adjustment parameter.
In one embodiment, the determining unit determines in advance a correspondence relationship between the level switching frequency and the color adjustment parameter in the following manner: determining a color value setting value of the screen at a target level switching frequency, and determining a color value detection value of the screen at the target level switching frequency; determining a target color adjustment parameter matching the target level switching frequency based on a degree of difference between the color value set value and the color value detected value; and creating a corresponding relation between the target level switching frequency and the target color adjustment parameter.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen color adjusting apparatus including:
a processor; a memory for storing processor-executable instructions;
wherein the processor is configured to: the screen color adjustment method of the first aspect or any implementation manner of the first aspect is performed.
According to a fourth aspect of the disclosed embodiments, there is provided a storage medium having stored therein instructions which, when executed by a processor, enable the processor to perform the screen color adjustment method of the first aspect or any one of the embodiments of the first aspect.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: for a control signal for display control of a screen, color adjustment parameter quasi-matching may be performed for each level switching frequency of the control signal. On the basis, in the screen display process, the current color adjustment parameters matched with the current level switching frequency can be acquired, and the color value of the screen is adjusted according to the current color adjustment parameters. According to the method and the device, color adjustment aiming at different level switching frequencies can be achieved, and the problem that color deviation occurs on a screen due to the change of the level switching frequency of a control signal can be solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a screen color adjustment method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method of determining a correspondence between a level switching frequency and a color adjustment parameter, according to an example embodiment.
Fig. 3 is a flowchart illustrating another screen color adjustment method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating yet another screen color adjustment method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating another screen color adjustment method according to an exemplary embodiment.
Fig. 6 is a schematic diagram illustrating a color value adjustment of a screen according to an exemplary embodiment.
Fig. 7 is a schematic diagram illustrating one type of color adjustment parameter for determining different level switching frequencies according to an exemplary embodiment.
Fig. 8 is a schematic diagram illustrating a screen color adjustment by color adjustment parameters, according to an example embodiment.
Fig. 9 is a block diagram of a screen color adjustment device, according to an example embodiment.
Fig. 10 is a block diagram illustrating an apparatus for screen color adjustment according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure.
In the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some, but not all, embodiments of the present disclosure. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present disclosure and are not to be construed as limiting the present disclosure. Based on the embodiments in this disclosure, all other embodiments that a person of ordinary skill in the art would obtain without making any inventive effort are within the scope of protection of this disclosure. Embodiments of the present disclosure are described in detail below with reference to the attached drawings.
The screen color adjustment method provided by the embodiment of the disclosure can be applied to a display control scene of a screen, and can be particularly applied to a display device provided with the screen. The display device may be, for example, a portable electronic device such as a notebook computer, a tablet computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra mobile personal computer (Ultra Mobile Personal Computer, UMPC), a netbook, a mobile terminal, or a personal digital assistant (Personal Digital Assistant, PDA), or a non-portable electronic device such as a network attached memory (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a Television (Television), a teller machine, or a self-service machine, and the embodiments of the disclosure are not limited in particular.
With the increasing demand for consumer electronics terminals, the market demand for screens will increase rapidly. In the related art, display control may be performed on a screen by means of pulse width modulation. For example, a control signal is set for the screen, and the on-off state of each display transistor in the screen is controlled by the high and low level of the control signal.
In the related art, in the process of performing display control of a screen with a control signal, it is generally necessary to adjust the level switching frequency of the control signal. For example, the control signal is set to perform level switching four times during display of each frame of the screen to cause the screen to perform screen display in the normal mode. For another example, the control signal is set to perform sixteen level switches during the display of each frame of the screen so that the screen performs the screen display in the eye-protection mode. In the related art, color adjustment is performed only by the same color adjustment parameter for different level switching frequencies of the control signal. Since the charging rate of each display transistor in a screen generally varies with the level switching frequency, the color performance of the same display transistor at different level switching frequencies is different. In other words, in the related art, the color adjustment method using the same color adjustment parameter for different level switching frequencies cannot meet the color adjustment requirement for the screen, which may cause the display color of the screen to deviate.
In view of this, the present disclosure proposes a screen color adjustment method that can perform color adjustment parameter quasi-matching for each level switching frequency of a control signal. On the basis, in the screen display process, the current color adjustment parameters matched with the current level switching frequency can be acquired, and the color value of the screen is adjusted according to the current color adjustment parameters. According to the method and the device, color adjustment aiming at different level switching frequencies can be achieved, and the problem that color deviation occurs on a screen due to the change of the level switching frequency of a control signal is solved.
Fig. 1 is a flowchart illustrating a screen color adjustment method according to an exemplary embodiment, as shown in fig. 1, including the following steps.
In step S11, the current level switching frequency of the control signal for performing display control on the screen is determined.
In the embodiment of the disclosure, the control signal may be a square wave signal, and the on-off state of each display transistor in the screen may be controlled by the high and low levels of the square wave signal.
In step S12, a current color adjustment parameter matching the current level switching frequency is acquired, and color value adjustment is performed on the screen with the current color adjustment parameter.
According to the screen color adjusting method provided by the embodiment of the disclosure, under the condition that the control signal is used for carrying out display control on the screen at any level switching frequency, the better color expression of the screen can be ensured, and the visual effect of the screen display picture can be improved.
For example, the color adjustment parameters may be determined for each level switching frequency in advance, so as to construct a one-to-one correspondence relationship between the plurality of level switching frequencies and the multi-set color adjustment parameters. Further, under the condition that the current level switching frequency of the control signal is determined, the current color adjustment parameter matched with the current level switching frequency can be determined according to the corresponding relation between the level switching frequency and the color adjustment parameter, so as to adjust the color value of the screen.
For example, the correspondence between the level switching frequency and the color adjustment parameter may be determined as follows.
Fig. 2 is a flowchart of a method for determining a correspondence between a level switching frequency and a color adjustment parameter according to an exemplary embodiment, as shown in fig. 2, including the following steps S21 to S23.
In step S21, a color value setting value of the screen at the target level switching frequency is determined, and a color value detection value of the screen at the target level switching frequency is determined.
The target level switching frequency may be any one of a plurality of different level switching frequencies. For example, the color value detection value of the screen at the target level switching frequency may be determined by means of optical verification. For example, the control screen is displayed with the color value set value at the target level switching frequency, and the screen is optically checked by the optical probe to obtain the color value detection value of the screen at the target level switching frequency.
In step S22, a target color adjustment parameter matching the target level switching frequency is determined based on the degree of difference between the color value setting value and the color value detection value.
For example, the target color adjustment parameter matching the target level switching frequency may be set according to a color value difference value between the color value setting value and the color value detection value. Based on this, the color value setting value is adjusted by the target color adjustment parameter, and the color value detection value can be made to coincide with the adjusted color value setting value.
In step S23, a correspondence relationship between the target level switching frequency and the target color adjustment parameter is created.
It is understood that the created correspondence is a one-to-one correspondence between the target level switching frequency and the target color adjustment parameter. In the embodiment of the disclosure, by repeatedly executing the steps S21 to S23 a plurality of times, a plurality of different correspondence relationships between a plurality of different level switching frequencies and a plurality of different color adjustment parameters corresponding to the different level switching frequencies can be obtained. In one embodiment, in the case of determining the correspondence between the level switching frequency and the color adjustment parameter, the current color adjustment parameter matching the current level switching frequency may be determined by the correspondence between the level switching frequency and the color adjustment parameter.
Fig. 3 is a flowchart illustrating another screen color adjustment method according to an exemplary embodiment, and as shown in fig. 3, step S31 in the embodiment of the present disclosure is similar to the execution method of step S11 in fig. 1, and will not be described herein.
In step S32, a current color adjustment parameter matching the current level switching frequency is determined based on the correspondence between the level switching frequency and the color adjustment parameter, and color value adjustment is performed on the screen with the current color adjustment parameter.
In general, in a normal production process of a screen, color correction is performed by setting gray scale adjustment parameters, so that each display area in the screen has the same color expression when the screen displays a white picture. In the embodiment of the disclosure, a color adjustment parameter for compensating the gray scale adjustment parameter can be additionally set on the basis of the gray scale adjustment parameter, and then the color value of the screen is adjusted by the compensated gray scale adjustment parameter.
Fig. 4 is a flowchart illustrating yet another screen color adjustment method according to an exemplary embodiment, and as shown in fig. 4, step S41 in the embodiment of the present disclosure is similar to the execution method of step S11 in fig. 1, and will not be described herein.
In step S42, a current color adjustment parameter matching the current level switching frequency is acquired.
In step S43, the gray-scale adjustment parameters of the screen are compensated with the current color adjustment parameters, and the color value of the screen is adjusted with the compensated gray-scale adjustment parameters.
According to the screen color adjusting method provided by the embodiment of the disclosure, the gray scale adjusting parameters can be compensated through the color adjusting parameters, and the color value of the screen is adjusted through the compensated gray scale adjusting parameters.
In the embodiment of the disclosure, the gray-scale adjustment parameters include, for example, a gray-scale gain parameter and a gray-scale compensation parameter, and there may be a plurality of color adjustment parameters for compensating the gray-scale adjustment parameters. For convenience of description, a plurality of different color compensation parameters for compensating the gray scale adjustment parameter are referred to as a first compensation parameter and a second compensation parameter, respectively.
In one embodiment, the color value adjustment may be performed on the screen as follows.
Fig. 5 is a flowchart illustrating another screen color adjustment method according to an exemplary embodiment, and as shown in fig. 5, step S51 and step S52 in the embodiment of the present disclosure are similar to the execution method of step S41 and step S42 in fig. 4, and are not described herein.
In step S53, the first compensation parameter is used to compensate the gray scale gain parameter, so as to obtain a compensated gray scale gain parameter, and the first compensation parameter and the second compensation parameter are used to compensate the gray scale compensation parameter, so as to obtain a compensated gray scale compensation parameter.
For example, the compensated gray-scale Gain parameter may be obtained by gain=gain×pset. The Gain' is a gray-scale Gain parameter after compensation, the Gain is a gray-scale Gain parameter, and the Pset is a first compensation parameter.
In step S54, the color value of the screen is adjusted based on the compensated gray-scale gain parameter and the compensated gray-scale compensation parameter.
For example, the compensated gray-scale compensation parameter may be obtained by offset = offset + psut. Wherein, offset' is the gray-scale compensation parameter after compensation, offset is the gray-scale compensation parameter, pset is the first compensation parameter, psup is the second compensation parameter.
On this basis, if the compensated gray-scale Gain parameter is Gain ', and the compensated gray-scale compensation parameter is offset', the color value of the screen can be adjusted by y=gain '×x+offset' (i.e., y= (gain×offset) ×pset+psup as shown in fig. 6). Wherein X is the color value before the color value adjustment is performed on the screen, and Y is the color value after the color value adjustment is performed on the screen. Taking an example of an R channel of any pixel unit (a pixel unit consisting of an R channel, a G channel, and a B channel of a three-primary color space), if the initial color value of the R channel of the pixel is Rx, the adjusted R channel color value (denoted by Ry in the example) can be obtained by ry= (gain×rx+offset) ×pset+psup. In addition, since the color expressions corresponding to the plurality of different display transistors in the screen are generally different, it is necessary to separately configure the grayscale gain parameter and the color adjustment parameter for each display transistor of any screen.
Fig. 7 is a schematic diagram illustrating one type of color adjustment parameter for determining different level switching frequencies according to an exemplary embodiment. Fig. 8 is a schematic diagram illustrating a screen color adjustment by color adjustment parameters, according to an example embodiment. For example, as shown in fig. 7, for a display device configured with a control signal, the level switching frequency P1 and the level switching frequency P2 may be configured in advance for the control signal, and the respective corresponding color adjustment parameters may be configured for the level switching frequency P1 and the level switching frequency P2, respectively. For example, pset1 and Psup1 are configured for the level switching frequency P1, and Pset2 and Psup2 are configured for the level switching frequency P2. Wherein Pset1 is a first compensation parameter corresponding to the level switching frequency P1, psup1 is a second compensation parameter corresponding to the level switching frequency P1, pset2 is a first compensation parameter corresponding to the level switching frequency P2, and Psup2 is a second compensation parameter corresponding to the level switching frequency P2.
For example, when the control signal performs display control on the screen at the level switching frequency P1, the gray-scale adjustment parameter is used to adjust the color value set value of the screen, and the optical probe is used to perform optical verification on the screen to determine the current color value detection value of the screen. Further, pset1 and Psup1 configured for the level switching frequency P1 may be determined from a color value difference value between the color value setting value and the color value detection value. For example, if the color value detection value X1 is recorded when the color value setting value is Y1, the color value setting value may be adjusted until the color value detection value is Y1. In this case, the adjusted color value set value Y2 is recorded, and Y1 is taken as the parameter X in y= (Gain x+offset) pset1+psup1, and Y2 is taken as the parameter Y in y= (Gain x+offset) pset1+psup1, resulting in a set of correspondence between psut 1 and Psup1. Further, by repeating the above-described process with another color value set value Y3 different from Y1, another set of correspondence between Pset1 and Psup1 is obtained. Based on this, the parameter values of the first compensation parameter Pset1 and the second compensation parameter Psup1 can be obtained through the two sets of correspondence relationships. In addition, for the level switching frequency P2, the manner of determining the first compensation parameter Pset2 and the second compensation parameter Psup2 is similar to the above embodiment, and will not be described herein.
Further, as shown in fig. 8, the level switching frequency of the control signal may be adjusted by an adjustment instruction of the level switching frequency. For example, if the display device currently performs display control on the screen by the control signal with the level switching frequency P1, the display device may be adjusted to perform display control on the screen by the control signal with the level switching frequency P2 by the adjustment instruction of the level switching frequency. In this process, the screen is color-adjusted with respect to the case where the level switching frequency is P2, with the color adjustment parameters Pset1 and Psup1 used by the display device, and with respect to the case where the level switching frequency is switched from P1 to P2, the screen is color-adjusted with respect to the color adjustment parameters Pset2 and Psup2 used by the display device. On the basis, the display device performs display control on the screen at the level switching frequency P1 or the level switching frequency P2, and the display picture of the screen has better color effect.
Based on the same conception, the embodiment of the disclosure also provides a screen color adjusting device.
It will be appreciated that, in order to achieve the above-described functions, the screen color adjusting apparatus provided in the embodiments of the present disclosure includes corresponding hardware structures and/or software modules that perform the respective functions. The disclosed embodiments may be implemented in hardware or a combination of hardware and computer software, in combination with the various example elements and algorithm steps disclosed in the embodiments of the disclosure. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation is not to be considered as beyond the scope of the embodiments of the present disclosure.
Fig. 9 is a block diagram of a screen color adjustment device, according to an example embodiment. Referring to fig. 9, the apparatus 100 includes a determination unit 101, an acquisition unit 102, and a processing unit 103.
A determination unit 101 for determining a current level switching frequency of a control signal for performing display control on a screen. An acquisition unit 102 for acquiring a current color adjustment parameter matching the current level switching frequency. A processing unit 103, configured to perform color value adjustment on the screen with the current color adjustment parameter.
In one embodiment, the processing unit 103 performs color value adjustment on the screen with the current color adjustment parameters in the following manner: and compensating the gray scale adjustment parameters of the screen by using the current color adjustment parameters, and adjusting the color value of the screen by using the compensated gray scale adjustment parameters.
In one embodiment, the gray scale adjustment parameters include a gray scale gain parameter and a gray scale compensation parameter, and the current color adjustment parameters include a first compensation parameter and a second compensation parameter. The processing unit 103 compensates the gray-scale adjustment parameter with the current color adjustment parameter, and adjusts the color value of the screen with the compensated gray-scale adjustment parameter as follows: and compensating the gray scale gain parameter by using the first compensation parameter to obtain a compensated gray scale gain parameter, and compensating the gray scale compensation parameter by using the first compensation parameter and the second compensation parameter to obtain a compensated gray scale compensation parameter. And adjusting the color value of the screen based on the compensated gray scale gain parameter and the compensated gray scale compensation parameter.
In one embodiment, the processing unit 103 obtains the compensated gray-scale gain parameter by the following formula: gain '=gain×pset, where Gain' is the compensated gray scale Gain parameter, gain is the gray scale Gain parameter, and Pset is the first compensation parameter.
In one embodiment, the processing unit 103 obtains the compensated gray-scale compensation parameter by the following formula: offset = Pset + Psup, where offset' is the compensated gray-scale compensation parameter, offset is the gray-scale compensation parameter, pset is the first compensation parameter, psup is the second compensation parameter.
In one embodiment, the obtaining unit 102 obtains the current color adjustment parameter matching the current level switching frequency in the following manner: the current color adjustment parameter that matches the current level switching frequency is determined based on the correspondence between the level switching frequency and the color adjustment parameter.
In one embodiment, the determination unit 101 determines in advance the correspondence between the level switching frequency and the color adjustment parameter in the following manner: and determining a color value setting value of the screen at the target level switching frequency, and determining a color value detection value of the screen at the target level switching frequency. A target color adjustment parameter matching the target level switching frequency is determined based on the degree of difference between the color value setting value and the color value detection value. A correspondence between the target level switching frequency and the target color adjustment parameter is created.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 10 is a block diagram illustrating an apparatus 200 for screen color adjustment, according to an exemplary embodiment. For example, apparatus 200 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 10, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the apparatus 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interactions between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the apparatus 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 204 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 206 provides power to the various components of the device 200. The power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 200.
The multimedia component 208 includes a screen between the device 200 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive external audio signals when the device 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 further includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing assembly 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 214 includes one or more sensors for providing status assessment of various aspects of the apparatus 200. For example, the sensor assembly 214 may detect the on/off state of the device 200, the relative positioning of the components, such as the display and keypad of the device 200, the sensor assembly 214 may also detect a change in position of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration/deceleration of the device 200, and a change in temperature of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate communication between the apparatus 200 and other devices in a wired or wireless manner. The device 200 may access a wireless network based on a communication standard, such as WiFi,4G or 5G, or a combination thereof. In one exemplary embodiment, the communication component 216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 204, including instructions executable by processor 220 of apparatus 200 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
It is understood that the term "plurality" in this disclosure means two or more, and other adjectives are similar thereto. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It is further understood that the terms "first," "second," and the like are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the expressions "first", "second", etc. may be used entirely interchangeably. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that "connected" includes both direct connection where no other member is present and indirect connection where other element is present, unless specifically stated otherwise.
It will be further understood that although operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims (16)
1. A screen color adjustment method, the screen color adjustment method comprising:
determining a current level switching frequency of a control signal for performing display control on a screen;
and acquiring a current color adjustment parameter matched with the current level switching frequency, and adjusting the color value of the screen according to the current color adjustment parameter.
2. The screen color adjustment method according to claim 1, wherein said adjusting the color value of the screen with the current color adjustment parameter comprises:
and compensating the gray scale adjustment parameters of the screen according to the current color adjustment parameters, and adjusting the color value of the screen according to the compensated gray scale adjustment parameters.
3. The screen color adjustment method of claim 2, wherein the gray scale adjustment parameters include a gray scale gain parameter and a gray scale compensation parameter, and the current color adjustment parameters include a first compensation parameter and a second compensation parameter;
the step of compensating the gray scale adjustment parameter with the current color adjustment parameter and adjusting the color value of the screen with the compensated gray scale adjustment parameter comprises the following steps:
compensating the gray scale gain parameter by the first compensation parameter to obtain a compensated gray scale gain parameter, and compensating the gray scale compensation parameter by the first compensation parameter and the second compensation parameter to obtain a compensated gray scale compensation parameter;
and adjusting the color value of the screen based on the compensated gray scale gain parameter and the compensated gray scale compensation parameter.
4. A method of adjusting screen color according to claim 3, wherein the compensated gray scale gain parameter is obtained by the following formula, comprising:
Gain`=Gain*Pset
the Gain' is a gray-scale Gain parameter after compensation, the Gain is a gray-scale Gain parameter, and the Pset is a first compensation parameter.
5. A method of adjusting screen colors according to claim 3, wherein the compensated gray-scale compensation parameter is obtained by the following formula, comprising:
offset`=offset*Pset+Psup
wherein, offset' is the gray-scale compensation parameter after compensation, offset is the gray-scale compensation parameter, pset is the first compensation parameter, psup is the second compensation parameter.
6. The screen color adjustment method according to any one of claims 1 to 5, characterized in that the acquiring of the current color adjustment parameter matching the current level switching frequency comprises:
and determining a current color adjustment parameter matching the current level switching frequency based on a corresponding relation between the level switching frequency and the color adjustment parameter.
7. The screen color adjusting method according to claim 6, wherein the correspondence between the level switching frequency and the color adjusting parameter is predetermined as follows:
determining a color value setting value of the screen at a target level switching frequency, and determining a color value detection value of the screen at the target level switching frequency;
determining a target color adjustment parameter matching the target level switching frequency based on a degree of difference between the color value set value and the color value detected value;
and creating a corresponding relation between the target level switching frequency and the target color adjustment parameter.
8. A screen color adjustment device, the screen color adjustment device comprising:
a determination unit configured to determine a current level switching frequency of a control signal for performing display control on a screen;
an obtaining unit, configured to obtain a current color adjustment parameter that matches the current level switching frequency;
and the processing unit is used for adjusting the color value of the screen according to the current color adjustment parameters.
9. The screen color adjustment device of claim 8, wherein the processing unit adjusts the color value of the screen with the current color adjustment parameters by:
and compensating the gray scale adjustment parameters of the screen according to the current color adjustment parameters, and adjusting the color value of the screen according to the compensated gray scale adjustment parameters.
10. The screen color adjustment device of claim 9, wherein the gray scale adjustment parameters include a gray scale gain parameter and a gray scale compensation parameter, and the current color adjustment parameters include a first compensation parameter and a second compensation parameter;
the processing unit compensates the gray scale adjustment parameter by the current color adjustment parameter, and adjusts the color value of the screen by the compensated gray scale adjustment parameter in the following manner:
compensating the gray scale gain parameter by the first compensation parameter to obtain a compensated gray scale gain parameter, and compensating the gray scale compensation parameter by the first compensation parameter and the second compensation parameter to obtain a compensated gray scale compensation parameter;
and adjusting the color value of the screen based on the compensated gray scale gain parameter and the compensated gray scale compensation parameter.
11. The screen color adjusting apparatus as claimed in claim 10, wherein the processing unit obtains the compensated gray-scale gain parameter by the following formula:
Gain`=Gain*Pset
the Gain' is a gray-scale Gain parameter after compensation, the Gain is a gray-scale Gain parameter, and the Pset is a first compensation parameter.
12. The screen color adjusting apparatus as claimed in claim 10, wherein the processing unit obtains the compensated gray-scale compensation parameter by the following formula:
offset`=offset*Pset+Psup
wherein, offset' is the gray-scale compensation parameter after compensation, offset is the gray-scale compensation parameter, pset is the first compensation parameter, psup is the second compensation parameter.
13. The screen color adjusting apparatus according to any one of claims 8 to 12, wherein the acquisition unit acquires the current color adjustment parameter matching the current level switching frequency by:
and determining a current color adjustment parameter matching the current level switching frequency based on a corresponding relation between the level switching frequency and the color adjustment parameter.
14. The screen color adjusting apparatus according to claim 13, wherein the determining unit determines in advance a correspondence relationship between the level switching frequency and the color adjusting parameter in such a manner that:
determining a color value setting value of the screen at a target level switching frequency, and determining a color value detection value of the screen at the target level switching frequency;
determining a target color adjustment parameter matching the target level switching frequency based on a degree of difference between the color value set value and the color value detected value;
and creating a corresponding relation between the target level switching frequency and the target color adjustment parameter.
15. A screen color adjustment device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the screen color adjustment method of any one of claims 1 to 7.
16. A storage medium having instructions stored therein that, when executed by a processor, enable the processor to perform the screen color adjustment method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210301728.2A CN116841494A (en) | 2022-03-25 | 2022-03-25 | Screen color adjusting method, screen color adjusting device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210301728.2A CN116841494A (en) | 2022-03-25 | 2022-03-25 | Screen color adjusting method, screen color adjusting device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116841494A true CN116841494A (en) | 2023-10-03 |
Family
ID=88163966
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210301728.2A Pending CN116841494A (en) | 2022-03-25 | 2022-03-25 | Screen color adjusting method, screen color adjusting device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116841494A (en) |
-
2022
- 2022-03-25 CN CN202210301728.2A patent/CN116841494A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110796988B (en) | Backlight adjusting method and device | |
US20170032725A1 (en) | Method, device, and computer-readable medium for setting color gamut mode | |
US20170154604A1 (en) | Method and apparatus for adjusting luminance | |
US10444953B2 (en) | View angle switching method and apparatus | |
US11062640B2 (en) | Screen display method and screen display device | |
WO2022121402A1 (en) | Brightness adjustment method, electronic device, display panel, and electronic device | |
CN111861942A (en) | Noise reduction method and device, electronic equipment and storage medium | |
CN111953903A (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN111383608B (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
CN111131596B (en) | Screen brightness adjusting method and device | |
CN112905141A (en) | Screen display method and device and computer storage medium | |
CN113257177B (en) | Brightness control method and device and electronic equipment | |
CN114067733B (en) | Display screen correction method, display screen correction device and display chip | |
CN116841494A (en) | Screen color adjusting method, screen color adjusting device and storage medium | |
CN113810675B (en) | Image processing method, device, equipment and storage medium | |
CN111383568B (en) | Display control method and device, electronic equipment and computer readable storage medium | |
CN111383583B (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
CN108538261B (en) | Display control method and device and display equipment | |
CN112019680A (en) | Screen brightness adjusting method and device | |
CN106375744B (en) | Information projecting method and device | |
CN114339187B (en) | Image processing method, image processing apparatus, and storage medium | |
CN111443759B (en) | Display control method, display control device, electronic equipment and computer-readable storage medium | |
CN113296644B (en) | Display control method and device, electronic equipment and computer readable storage medium | |
US11064307B2 (en) | Electronic device and method of outputting audio | |
CN111081143B (en) | Display control method, display control device, electronic equipment and computer-readable storage medium |
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 |