CN113920960A - Method and device for adjusting display parameters - Google Patents

Method and device for adjusting display parameters Download PDF

Info

Publication number
CN113920960A
CN113920960A CN202010662390.4A CN202010662390A CN113920960A CN 113920960 A CN113920960 A CN 113920960A CN 202010662390 A CN202010662390 A CN 202010662390A CN 113920960 A CN113920960 A CN 113920960A
Authority
CN
China
Prior art keywords
value
parameter
adjustment
input
relationship
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.)
Granted
Application number
CN202010662390.4A
Other languages
Chinese (zh)
Other versions
CN113920960B (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.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202010662390.4A priority Critical patent/CN113920960B/en
Publication of CN113920960A publication Critical patent/CN113920960A/en
Application granted granted Critical
Publication of CN113920960B publication Critical patent/CN113920960B/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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a device for adjusting display parameters, relates to the technical field of display, and mainly aims to realize a method capable of automatically correcting monitor parameters. The method mainly comprises the following steps: acquiring actual display parameters and target display parameters of a display device, wherein the actual display parameters comprise first parameter values, and the target display parameters comprise second parameter values; determining an input parameter to be adjusted and an adjustment amplitude according to the relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, wherein the preset adjustment amplitude is provided with different difference value intervals and corresponding adjustment amplitudes; and modifying the input parameters of the display device according to the input parameters to be adjusted and the adjustment amplitude so as to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters. The invention is suitable for adjusting display parameters.

Description

Method and device for adjusting display parameters
Technical Field
The invention relates to the technical field of display, in particular to a method and a device for adjusting display parameters.
Background
With the continuous development of society, the display effect of the monitor is more and more emphasized by people. Generally, color display of each pixel point in a monitor is based on three color channels of red, green and blue to obtain different colors (R, G and B) according to different input quantities, that is, each color effect actually displayed in the monitor is actually obtained by controlling and then changing the three color channels according to different input quantities.
At present, in the process of displaying on a monitor, because a certain difference often exists between an actual display result and an expected display result, when the difference exceeds a certain range, phenomena such as distortion, color difference and the like occur in the display effect. Therefore, when faced with such a situation, people often adjust the input parameters through some software, so that the actual display effect approaches the expected value. However, in practical application, the conventional display parameter adjustment is performed manually by using software, so that the process of calibrating the monitor parameters consumes manpower, and how to implement a method capable of calibrating the monitor parameters becomes a problem to be solved in the field.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for adjusting display parameters, and aims to provide a method capable of automatically correcting monitor parameters.
The purpose of the invention is realized by adopting the following technical scheme:
in a first aspect, the present invention provides a method of adjusting display parameters, the method comprising:
acquiring actual display parameters and target display parameters of a display device, wherein the actual display parameters comprise first parameter values, and the target display parameters comprise second parameter values;
determining an input parameter to be adjusted and an adjustment amplitude according to the relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, wherein the preset adjustment amplitude is provided with different difference value intervals and corresponding adjustment amplitudes;
and modifying the input parameters of the display device according to the input parameters to be adjusted and the adjustment amplitude so as to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters.
Optionally, the determining, according to the relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, an input parameter and an adjustment amplitude that need to be adjusted, where the preset adjustment amplitude is provided with different difference intervals and corresponding adjustment amplitudes includes:
determining a first parameter value of the actual display parameter and a second parameter value of the target display parameter according to a preset image display standard, wherein the first parameter value and the second parameter value both comprise a horizontal axis value and a vertical axis value;
respectively comparing the transverse axis value and the longitudinal axis value of the first parameter value with the second parameter value to obtain a comparison result;
determining the input parameters to be adjusted according to the comparison results and parameter adjustment relations, wherein the parameter adjustment relations comprise each comparison result and corresponding input parameters to be adjusted;
calculating the difference value between the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value, determining a target difference value, and determining an adjustment amplitude according to the target difference value and a preset adjustment amplitude relation, wherein the preset adjustment amplitude relation comprises different difference value intervals and corresponding adjustment amplitudes.
Optionally, the input parameters include an R channel parameter, a G channel parameter, and a B channel parameter;
before determining the input parameter to be adjusted according to the comparison result and the parameter adjustment relationship, the method further comprises:
setting the parameter adjustment relationship, wherein the parameter adjustment relationship comprises a first adjustment relationship, a second adjustment relationship, a third adjustment relationship and a fourth adjustment relationship;
wherein, the first adjustment relationship is to reduce the input value of the B channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are respectively smaller than the horizontal axis value and the vertical axis value of the second parameter value;
if the horizontal axis value of the first parameter value is smaller than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is larger than the vertical axis value of the second parameter value, reducing the input value of the G channel parameter or increasing the input value of the R channel parameter;
if the horizontal axis value of the first parameter value is greater than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is less than the vertical axis value of the second parameter value, reducing the input value of the R channel parameter or increasing the input value of the G channel parameter;
the fourth adjustment relationship is to increase the input value of the B-channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are greater than the horizontal axis value and the vertical axis value of the second parameter value, respectively.
Optionally, the determining the input parameters to be adjusted according to the comparison results and a parameter adjustment relationship, where the parameter adjustment relationship includes each comparison result and corresponding input parameters to be adjusted, includes:
and determining an adjustment parameter relation which accords with the comparison result from the first adjustment parameter relation, the second adjustment parameter relation, the third adjustment parameter relation and the fourth adjustment parameter relation, and determining an input parameter to be adjusted according to the adjustment parameter relation of the comparison result.
Optionally, before calculating a difference between a horizontal axis value and a vertical axis value in the first parameter value and the second parameter value, determining a target difference, and determining an adjustment amplitude according to the target difference and a preset adjustment amplitude relationship, the method further includes:
setting a preset adjustment amplitude relationship, wherein the preset adjustment amplitude relationship comprises each difference interval and corresponding adjustment amplitude;
calculating the difference value between the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value, determining a target difference value, and determining an adjustment amplitude according to the target difference value and a preset adjustment amplitude relationship, wherein the method comprises the following steps:
performing difference operation on the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value respectively to obtain a first difference value and a second difference value, wherein the first difference value is the difference value of the horizontal axis value of the first parameter value and the second parameter value, and the second difference value is the difference value of the vertical axis value of the first parameter value and the second parameter value;
and determining the smaller one of the first difference value and the second difference value as the target difference value, and determining the adjustment amplitude corresponding to the difference value interval to which the target difference value belongs according to the target difference value and the preset adjustment amplitude relation.
Optionally, the modifying the input parameter of the display device according to the input parameter to be adjusted and the adjustment amplitude to ensure that the updated actual display parameter corresponding to the modified input parameter approaches the target display parameter includes:
determining the adjusted input parameters through a preset formula according to the input parameters to be adjusted and the adjustment amplitude;
wherein the preset formula comprises:
Figure BDA0002579090080000041
wherein R is an R channel input parameter, G is a G channel input parameter, B is a B channel input parameter, R ' is an adjusted R channel input parameter, G ' is an adjusted G channel input parameter, and B ' is an adjusted B channel input parameter; p1 to P9 are adjustment coefficients, respectively.
Optionally, determining the adjusted input parameter according to the input parameter to be adjusted and the adjustment amplitude by using a preset formula, including:
determining an effective coefficient in the adjustment coefficients according to specific input values of the R channel input parameter, the G channel input parameter and the B channel input parameter, wherein the effective coefficient is an adjustment coefficient corresponding to the specific input values of the R channel input parameter, the G channel input parameter and the B channel input parameter which are not 0;
determining a specific value of an adjustment coefficient corresponding to the input parameter to be adjusted according to the input parameter to be adjusted and the adjustment amplitude;
and determining the adjusted input parameters corresponding to the input parameters to be adjusted according to the specific values of the adjustment coefficients.
In a second aspect, the present invention provides an apparatus for adjusting display parameters, the apparatus comprising:
the device comprises an acquisition unit, a display unit and a display control unit, wherein the acquisition unit is used for acquiring actual display parameters and target display parameters of a display device, the actual display parameters comprise first parameter values, and the target display parameters comprise second parameter values;
the determining unit is used for determining an input parameter to be adjusted and an adjustment amplitude according to the relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, wherein the preset adjustment amplitude is provided with different difference value intervals and corresponding adjustment amplitudes;
and the modifying unit is used for modifying the input parameters of the display device according to the input parameters to be adjusted and the adjustment amplitude so as to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters.
Optionally, the determining unit includes:
the first determining module is used for determining a first parameter value of the actual display parameter and a second parameter value of the target display parameter according to a preset image display standard, wherein the first parameter value and the second parameter value both comprise a horizontal axis value and a vertical axis value;
the comparison module is used for respectively comparing the transverse axis value and the longitudinal axis value of the first parameter value with the second parameter value to obtain a comparison result;
the second determining module is used for determining the input parameters to be adjusted according to the comparison results and parameter adjustment relations, wherein the parameter adjustment relations comprise each comparison result and corresponding input parameters to be adjusted;
and the third determining module is used for calculating the difference value between the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value, determining a target difference value, and determining an adjustment amplitude according to the target difference value and a preset adjustment amplitude relation, wherein the preset adjustment amplitude relation comprises different difference value intervals and corresponding adjustment amplitudes.
Optionally, the input parameters include an R channel parameter, a G channel parameter, and a B channel parameter;
the determination unit further includes:
the first setting module is used for setting the parameter adjustment relationship, wherein the parameter adjustment relationship comprises a first adjustment relationship, a second adjustment relationship, a third adjustment relationship and a fourth adjustment relationship;
wherein, the first adjustment relationship is to reduce the input value of the B channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are respectively smaller than the horizontal axis value and the vertical axis value of the second parameter value;
if the horizontal axis value of the first parameter value is smaller than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is larger than the vertical axis value of the second parameter value, reducing the input value of the G channel parameter or increasing the input value of the R channel parameter;
if the horizontal axis value of the first parameter value is greater than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is less than the vertical axis value of the second parameter value, reducing the input value of the R channel parameter or increasing the input value of the G channel parameter;
the fourth adjustment relationship is to increase the input value of the B-channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are greater than the horizontal axis value and the vertical axis value of the second parameter value, respectively.
Optionally, the second determining module is specifically configured to determine an adjustment parameter relationship that meets the comparison result from the first adjustment parameter relationship, the second adjustment parameter relationship, the third adjustment parameter relationship, and the fourth adjustment parameter relationship, and determine the input parameter to be adjusted according to the adjustment parameter relationship of the comparison result.
Optionally, the determining unit further includes:
the second setting module is used for setting a preset adjustment amplitude relationship, wherein the preset adjustment amplitude relationship comprises each difference interval and corresponding adjustment amplitude;
the third determining module includes:
the calculation submodule is used for respectively carrying out difference operation on the transverse axis value and the longitudinal axis value in the first parameter value and the second parameter value to obtain a first difference value and a second difference value, wherein the first difference value is the difference value of the transverse axis value of the first parameter value and the second parameter value, and the second difference value is the difference value of the longitudinal axis value of the first parameter value and the second parameter value;
and the determining submodule is used for determining the smaller one of the first difference value and the second difference value as the target difference value, and determining the adjustment amplitude corresponding to the difference value interval to which the target difference value belongs according to the target difference value and the preset adjustment amplitude relation.
Optionally, the modifying unit includes:
the determining module is used for determining the adjusted input parameters according to the input parameters to be adjusted and the adjustment amplitude through a preset formula;
wherein the preset formula comprises:
Figure BDA0002579090080000061
wherein R is an R channel input parameter, G is a G channel input parameter, B is a B channel input parameter, R ' is an adjusted R channel input parameter, G ' is an adjusted G channel input parameter, and B ' is an adjusted B channel input parameter; p1 to P9 are adjustment coefficients, respectively.
Optionally, the determining module includes:
a first determining submodule, configured to determine a significant coefficient in the adjustment coefficient according to a specific input value of the R-channel input parameter, the G-channel input parameter, and the B-channel input parameter, where the significant coefficient is an adjustment coefficient corresponding to the specific input value of the R-channel input parameter, the G-channel input parameter, and the B-channel input parameter being other than 0;
the second determining submodule is used for determining a specific value of an adjusting coefficient corresponding to the input parameter to be adjusted according to the input parameter to be adjusted and the adjusting amplitude;
and the third determining submodule is used for determining the adjusted input parameters corresponding to the input parameters to be adjusted according to the specific values of the adjustment coefficients.
In a third aspect, the present invention provides a storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method of adjusting display parameters according to the first aspect.
In a fourth aspect, the present invention provides an electronic device comprising a storage medium and a processor;
the processor is suitable for realizing instructions;
the storage medium adapted to store a plurality of instructions;
the instructions are adapted to be loaded by the processor and to perform the method of adjusting display parameters as described in the first aspect.
By the technical scheme, compared with the method and the device for adjusting the display parameters, which need to perform monitor parameter calibration by manual operation software at present, the method and the device for adjusting the display parameters can determine the input parameters and the adjustment ranges to be adjusted according to the relationship between the first parameter value and the second parameter value and the relationship between the preset adjustment ranges, by acquiring the actual display parameters and the target display parameters of the display device, wherein the actual display parameters comprise the first parameter value and the target display parameters comprise the second parameter value, the preset adjustment ranges are provided with different difference intervals and corresponding adjustment ranges, and the input parameters of the display device are modified according to the input parameters and the adjustment ranges to be adjusted, so as to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters, therefore, the input parameters can be automatically adjusted based on the comparison between the actual display parameters and the target display parameters of the monitor, so that the function that a user needs to use software to correct the display effect of the parameters of the monitor by himself is avoided, and the labor consumption is reduced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a method for adjusting display parameters according to an embodiment of the present invention;
fig. 1-a is a schematic diagram illustrating a principle of an RGB triangle based on the CIE1931 standard in a method for adjusting display parameters according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another method for adjusting display parameters according to an embodiment of the present invention;
FIG. 2-A is a schematic diagram illustrating the selection of the adjustment range during the execution of a method for adjusting display parameters according to an embodiment of the present invention;
FIG. 3 is a block diagram illustrating an apparatus for adjusting display parameters according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating another apparatus for adjusting display parameters according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides a method for adjusting display parameters, as shown in fig. 1, the method mainly comprises the following steps:
101. and acquiring actual display parameters and target display parameters of the display device.
Wherein the actual display parameters comprise first parameter values and the target display parameters comprise second parameter values.
In the field of display technology, the displayed effect is based on different display standards, and the parameters corresponding to the display effect are different, wherein the display standards can be understood as standards for defining the displayed color and image as numerical values according to certain rules. Such as the CIE1931 standard. In the study of color perception, the CIE1931 XYZ color space (also called CIE1931 color space) is one of the first mathematically defined color spaces, which was created by the international commission on illumination (CIE) in 1931. The CIE XYZ color space was derived from a series of experiments conducted by two experts in the late 1920 s, the results of which were incorporated into the specification for the CIE RGB color space, from which the CIE XYZ color space was derived.
In the process of RGB representation of display colors, the intensity values are between 1 and 255, here for convenience of display in the CIE1931 color space, the intensities of the three color channels are normalized, as shown in fig. 1-a, in the RGB triangle under the CIE1931 standard, the display result formed by the three color channels is in the range of 0 to 1, here, when RGB (three color channels) increases the component of a certain channel, the whole triangle is moved from the center direction to the vertex direction. Thus, as can be seen in FIG. 1-A, red becomes purer and purer along the positive x-axis, green becomes purer along the positive y-axis, and the purest blue is located near the origin of coordinates. Therefore, when the display displays pure red, the value of x (horizontal axis) in the actual display value is maximum; similarly, when displaying green, the y value in the actual displayed value is the largest, so it can be seen that R and B mainly affect the abscissa, G mainly affects the ordinate, and the adjustment directions of R and B are exactly opposite, but the adjustment magnitudes are not very same. Therefore, when the actual display effect is more bluish than the target display effect, it is most effective to reduce the input amount of the B channel, and on the contrary, when the actual display effect is weaker than the target effect in blue, it is more effective to increase the input amount of the B channel, that is, in the process of calibrating the parameters of the monitoring apparatus, the actual display effect will be directly influenced by the input amount of the different color channels of RGB, and the influence strength under different effects is different.
Based on this, in order to ensure the correction of the subsequent step, in this step, the effect currently displayed and the display effect desired to be achieved (i.e. the target display effect described in the embodiment of the present invention) may be obtained as the basis for comparing the expected effect subsequently. Meanwhile, based on the foregoing, the display effect is actually represented by a numerical value under the CIE1931 standard, and therefore, in the embodiment of the present invention, the actual display parameter includes a first parameter value for representing the display effect, and the target display parameter includes a second parameter value for representing the display effect.
102. And determining the input parameters to be adjusted and the adjustment amplitude according to the relationship between the first parameter value and the second parameter value and the preset adjustment amplitude relationship.
The preset adjustment amplitude is provided with different difference value intervals and corresponding adjustment amplitudes.
The expected display effect is different from the actual display effect, that is, the actual display parameter is different from the target display parameter in the implementation of the present invention. The desired display effect may be understood as a display effect that the user wants to achieve. As can be seen from the foregoing description in step 101, the influence of different color channels on the actual display parameters is different, and therefore, in the embodiment of the present invention, it is necessary to first determine the relationship between the actual display parameters and the target display parameters, where the relationship between the actual display parameters and the target display parameters may have the following four cases: here, when in the CIE1931 standard, the actual display parameters and the target display parameters may be represented numerically based on the horizontal and vertical axes, that is, the actual display parameters (real x, real y) and the target display parameters (rational x, rational y). x is considered separately from y, and these four cases can be shown in table 1 below:
TABLE 1
Figure BDA0002579090080000101
The input channel of the adjustment can be performed according to the above four relationships, that is, when x is greater than rational x and y is greater than rational y, the relationship between the actual display parameter and the target display parameter is as in case 1, which indicates that the input value of the B channel needs to be adjusted, and the actual display effect can be changed by modifying the input value of the B channel, so that the modified actual display parameter approaches to the target display parameter.
When the channel of the input parameter to be adjusted is determined, and the input parameter is determined to be increased or decreased, the adjustment amplitude of the input quantity to be adjusted needs to be further confirmed. In the embodiments of the present invention, the following modes are included but not limited to: since the adjustment range will directly affect the change of the adjusted actual display parameter, when the actual display parameter and the target display parameter are determined, the adjustment range can also be determined according to the difference between the actual display parameter and the target display parameter. In this way, the adjustment magnitude that needs to be adjusted subsequently may be determined based on the difference between the actual display parameter and the target display parameter. For example, when the actual display parameters (real x is 0.45; real y is 0.45) and the target display parameters (real x is 0.42; real y is 0.42) at this time, it may be determined that the difference between the actual display parameters (real x-real x is 0.2; real y-real y is 0.03) is greater than 0.02, and it is determined that the corresponding adjustment width when the difference is greater than 0.02 is 0.2 based on the preset adjustment width relationship, the adjustment width of the input amount of the channel that needs to be adjusted may be set to 0.2. Of course, the relationship between the adjustment range and the difference value in the embodiment of the present invention may be selected according to actual conditions according to user requirements, or the relationship between the adjustment range and the difference value may be determined based on results obtained after multiple tests, so as to set the adjustment range corresponding to each difference value range, which may be set according to actual requirements without limitation.
103. And modifying the input parameters of the display device according to the input parameters to be adjusted and the adjustment amplitude so as to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters.
Wherein, when the input parameter and the adjustment amplitude to be adjusted are determined, the input and the change of the input size of the color channel to be adjusted are actually determined. Because the deviation generated by the display during displaying includes a plurality of factors, and the interference factor is not a simple linear influence, (which may be that the display effect is more red, more green, more blue, or a combination of any of the three), in the adjusting process, the input parameter needs to be modified by adjusting the amplitude according to the method described in this step, so that the display result is closer to the target display effect (i.e., the actual display parameter is closer to the target display parameter). Meanwhile, the method of the present invention can execute the loop for any number of times again after executing the one-time correction of 101-103, and continuously perform the correction, so that the result after the multiple corrections is closer to the display result that the user wants to obtain (i.e. the actual display parameters obtained after the multiple loop operations and updated for N times are closer to the target display parameters). Therefore, the new input quantity can be obtained by adjusting on the basis of the original input quantity in the color channel, and the updated actual display parameter corresponding to the modified input parameter is obtained by inputting the new input quantity.
Compared with the method for adjusting display parameters by manually operating software at present, the method for adjusting display parameters provided by the embodiment of the invention can determine input parameters and adjustment amplitudes to be adjusted by acquiring actual display parameters and target display parameters of a display device, wherein the actual display parameters comprise first parameter values, the target display parameters comprise second parameter values, then according to the relationship between the first parameter values and the second parameter values and the relationship between preset adjustment amplitudes, the preset adjustment amplitudes are provided with different difference intervals and corresponding adjustment amplitudes, and then according to the input parameters and the adjustment amplitudes to be adjusted, the input parameters of the display device are modified to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters, so that the actual display parameters and the target display parameters of the monitor can be compared and the output parameters of the monitor can be automatically adjusted based on the comparison between the actual display parameters and the target display parameters of the monitor And parameters are input, so that the function that a user needs to use software to correct the display effect of the parameters of the monitor by himself is avoided, and the labor consumption is reduced.
Further, according to the method shown in fig. 1, another embodiment of the present invention provides another method for adjusting display parameters, as shown in fig. 2, the method mainly includes:
201. and acquiring actual display parameters and target display parameters of the display device.
Wherein the actual display parameters comprise first parameter values and the target display parameters comprise second parameter values.
In this step, the actual display parameters of the monitor may be obtained in any manner, for example, the monitor program of the monitor may obtain the actual display results of a current certain pixel point and obtain the actual display parameters after normalization.
Then, according to the relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, determining an input parameter to be adjusted and an adjustment amplitude, wherein the specific process can be performed according to the following steps 202 to 207.
The input parameters comprise R channel parameters, G channel parameters and B channel parameters.
Specifically, the step may include:
202. and determining a first parameter value of the actual display parameter and a second parameter value of the target display parameter according to a preset image display standard.
The first parameter value and the second parameter value both comprise a horizontal axis value and a vertical axis value. The preset image display standard in the embodiment of the invention is the CIE1931 standard. Thus, the first parameter value is (real x, real y) and the second parameter value is (rational x, rational y). The values of x and y range from 0 to 1.
203. And comparing the horizontal axis value with the vertical axis value of the first parameter value with the second parameter value respectively to obtain a comparison result.
The results of the comparison included four cases, as shown in table 2 below.
TABLE 2
Figure BDA0002579090080000121
204. And setting the parameter adjustment relation.
The parameter adjustment relationship includes a first adjustment relationship, a second adjustment relationship, a third adjustment relationship and a fourth adjustment relationship.
Since the comparison result includes 4 cases, four corresponding relationships are also included when setting the parameter adjustment relationship:
1) the first adjustment relation is that if the horizontal axis value and the vertical axis value of the first parameter value are respectively smaller than the horizontal axis value and the vertical axis value of the second parameter value, the input value of the B channel parameter is reduced;
2) if the horizontal axis value of the first parameter value is smaller than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is larger than the vertical axis value of the second parameter value, reducing the input value of the G channel parameter or increasing the input value of the R channel parameter;
3) if the horizontal axis value of the first parameter value is greater than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is less than the vertical axis value of the second parameter value, reducing the input value of the R channel parameter or increasing the input value of the G channel parameter;
4) the fourth adjustment relationship is to increase the input value of the B-channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are greater than the horizontal axis value and the vertical axis value of the second parameter value, respectively.
The specific four parameter adjustment relationships can be shown in table 3:
TABLE 3
Figure BDA0002579090080000131
205. And determining the input parameters to be adjusted according to the comparison result and the parameter adjustment relation.
The parameter adjusting relationship comprises each comparison result and the corresponding input parameter to be adjusted. Determining an adjustment parameter relation according with the comparison result from the first adjustment parameter relation, the second adjustment parameter relation, the third adjustment parameter relation and the fourth adjustment parameter relation, and determining the input parameter to be adjusted according to the adjustment parameter relation of the comparison result.
206. And setting a preset adjustment amplitude relation.
The preset adjustment amplitude relationship comprises each difference interval and the corresponding adjustment amplitude.
Specifically, according to an actual test, each difference interval in the preset adjustment range and the corresponding adjustment range may be set as follows: when the difference is greater than 0.02, the adjustment amplitude is 0.2; when the difference is between 0.02 and 0.015, the modulation amplitude is 0.1; when the difference is between 0.015 and 0.012, the modulation amplitude is 0.05; when the difference is less than 0.012, the adjustment amplitude is 0.02. Wherein the difference is a larger value minus a smaller value between the lateral axis values of the first parameter value and the second parameter value and a larger value minus a smaller value between the longitudinal axis values.
207. And calculating the difference value between the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value, determining a target difference value, and determining an adjustment amplitude according to the target difference value and a preset adjustment amplitude relation.
The preset adjustment amplitude relationship comprises different difference intervals and corresponding adjustment amplitudes.
Further, in the process of determining the adjustment amplitude, specifically, the following may be performed:
performing difference operation on the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value respectively to obtain a first difference value and a second difference value, wherein the first difference value is the difference value of the horizontal axis value of the first parameter value and the second parameter value, and the second difference value is the difference value of the vertical axis value of the first parameter value and the second parameter value;
and determining the smaller one of the first difference value and the second difference value as the target difference value, and determining the adjustment amplitude corresponding to the difference value interval to which the target difference value belongs according to the target difference value and the preset adjustment amplitude relation.
For example, as shown in fig. 2-a, assuming that a first parameter value (real x is 0.45; real y is 0.37) and a second parameter value (rational x is 0.49; rational y is 0.383), it can be determined that when a first difference (rational x-real x is 0.49-0.45-0.04) and a second difference (rational y-real y is 0.40-0.37-0.0013), the comparison result between the first parameter value and the second parameter value is real x < rational x; real y < physical y can determine the corresponding first adjustment relationship, namely the input quantity of the B channel needs to be reduced;
meanwhile, the preset adjustment amplitude is as follows: when the difference is greater than 0.02, the adjustment amplitude is 0.2; when the difference is between 0.02 and 0.015, the modulation amplitude is 0.1; when the difference is between 0.015 and 0.012, the modulation amplitude is 0.05; when the difference is less than 0.012, the adjustment amplitude is 0.02. Thus, based on the first difference (0.04), the second difference (0.013), and thus in fact the smaller of the two, the second difference (0.013), can be determined, the second difference can be determined to be chosen as the target difference, and 0.013 is between 0.015 and 0.012, which then determines 0.05 when the magnitude of the desired adjustment is in accordance with the predetermined adjustment magnitude relationship. Therefore, it can be determined that the B channel needs to be reduced and the adjustment range is 0.05.
208. And modifying the input parameters of the display device according to the input parameters to be adjusted and the adjustment amplitude so as to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters.
After the adjustment range is determined in the foregoing steps, it is further necessary to determine a new input parameter actually required based on the adjustment range, that is, the modified input parameter described in the embodiment of the present invention.
Specifically, the method comprises the following steps:
determining the adjusted input parameters through a preset formula according to the input parameters to be adjusted and the adjustment amplitude;
wherein the preset formula comprises:
Figure BDA0002579090080000151
wherein R is an R channel input parameter, G is a G channel input parameter, B is a B channel input parameter, R ' is an adjusted R channel input parameter, G ' is an adjusted G channel input parameter, and B ' is an adjusted B channel input parameter; p1 to P9 are adjustment coefficients, respectively.
The parameter matrix of P1-P9 is introduced in the embodiment of the invention, and the principle based on the matrix can be known as follows:
R’=P1*R+P2*G+P3*B;
G’=P4*R+P5*G+P6*B
B’=P7*R+P8*G+P9*B
from the above formulas, it is found that P1, P2 and P3 affect the results of R, P4, P5 and P6 affect the results of G, and P7, P8 and P9 affect the results of B. When a component R, G, B is 0, if R ≠ 0, G ≠ 0, and B ≠ 0, the result is not affected regardless of the changes of P1, P4, and P7, and the significant coefficients are only P2, P3, P5, P6, P8, and P9. Therefore, there are 4 cases:
1, R, G, B is not 0, then P1-P9 are all effective coefficients;
2, R, G, B, if 1 is 0, then there are 6 significant coefficients in P1-P9;
3, R, G, B, 2 of which are 0, then 3 effective coefficients are in P1-P9;
and 3 of the 4 and R, G, B are 0, the P1-P9 have 0 effective coefficients.
Thus, based on the above analysis, when the input parameter is adjusted based on the adjustment width, it is also possible to first determine the effective coefficients, which are some of the 9 adjustment coefficients that are effective. Further, according to the input parameter to be adjusted and the adjustment amplitude, the adjusted input parameter is determined by a preset formula, which may specifically be performed in the following manner:
firstly, determining an effective coefficient in the adjustment coefficients according to specific input values of the R-channel input parameter, the G-channel input parameter, and the B-channel input parameter, where the effective coefficient is an adjustment coefficient corresponding to a case where the specific input values of the R-channel input parameter, the G-channel input parameter, and the B-channel input parameter are not 0.
Then, determining a specific value of an adjustment coefficient corresponding to the input parameter to be adjusted according to the input parameter to be adjusted and the adjustment amplitude;
and finally, determining the adjusted input parameters corresponding to the input parameters to be adjusted according to the specific values of the adjustment coefficients.
For example, when it is determined that the most primitive parameter matrix is an identity matrix, i.e., R ', G ', B '.
When the G component is supposed to be increased, P4 is 0, P5 is 1, and P6 is 0 in the unit matrix, it is only necessary to increase P4 and P6, and when the G component is supposed to be decreased, P4 is 0, P5 is 1, and P6 is 0 in the unit matrix, it is only necessary to decrease P5.
In addition, if P5<1 before a certain adjustment, P5 is preferably added to 1 to ensure that the transition matrix approaches the identity matrix as much as possible. If P4>0 or P6>0 is adjusted before a certain time, P4 and P6 are preferably reduced to 0 to ensure that the transformation matrix approaches the identity matrix as much as possible.
Thus, by determining the actual results of P1-P9, it can be ensured that the new actual display parameters (i.e. the updated actual display parameters corresponding to the modified input parameters) obtained after the modified R ', G ' or B ' is input are closer to the target display parameters, and the monitor parameters can be corrected.
Further, according to the above method embodiment, another embodiment of the present invention further provides an apparatus for adjusting display parameters, as shown in fig. 3, the apparatus mainly includes:
an acquisition unit 31, which may be used to acquire actual display parameters of the monitor;
the determining unit 32 may be configured to determine an input parameter to be adjusted and an adjustment amplitude according to a relationship between the actual display parameter and the target display parameter acquired by the acquiring unit 31;
the modifying unit 33 may be configured to modify the input parameter of the display device according to the input parameter and the adjustment amplitude that are determined by the determining unit 32 and need to be adjusted, so as to ensure that the updated actual display parameter corresponding to the modified input parameter approaches the target display parameter.
Optionally, as shown in fig. 4, the determining unit 32 includes:
the first determining module 321 may be configured to determine, according to a preset image display standard, a first parameter value of the actual display parameter and a second parameter value of the target display parameter, where the first parameter value and the second parameter value both include a horizontal axis value and a vertical axis value;
a comparison module 322, configured to perform a horizontal axis value and a vertical axis value comparison on the first parameter value and the second parameter value determined by the first determining module 321, respectively, to obtain a comparison result;
a second determining module 323, configured to determine the input parameters to be adjusted according to the comparison result obtained by the comparing module 322 and a parameter adjustment relationship, where the parameter adjustment relationship includes each comparison result and corresponding input parameters to be adjusted;
the third determining module 324 may be configured to calculate a difference between a horizontal axis value and a vertical axis value in the first parameter value and the second parameter value determined by the first determining module 321, determine a target difference, and determine an adjustment amplitude according to the target difference and a preset adjustment amplitude relationship, where the preset adjustment amplitude relationship includes different difference intervals and corresponding adjustment amplitudes.
Optionally, as shown in fig. 4, the input parameters include an R channel parameter, a G channel parameter, and a B channel parameter;
the determination unit 32 further includes:
a first setting module 325, configured to set the parameter adjustment relationship, so that the second determining module 323 determines the input parameter to be adjusted according to the parameter adjustment relationship, where the parameter adjustment relationship includes a first adjustment relationship, a second adjustment relationship, a third adjustment relationship, and a fourth adjustment relationship;
wherein, the first adjustment relationship is to reduce the input value of the B channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are respectively smaller than the horizontal axis value and the vertical axis value of the second parameter value;
if the horizontal axis value of the first parameter value is smaller than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is larger than the vertical axis value of the second parameter value, reducing the input value of the G channel parameter or increasing the input value of the R channel parameter;
if the horizontal axis value of the first parameter value is greater than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is less than the vertical axis value of the second parameter value, reducing the input value of the R channel parameter or increasing the input value of the G channel parameter;
the fourth adjustment relationship is to increase the input value of the B-channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are greater than the horizontal axis value and the vertical axis value of the second parameter value, respectively.
Optionally, as shown in fig. 4, the second determining module 323 may be specifically configured to determine an adjustment parameter relationship meeting the comparison result from the first adjustment parameter relationship, the second adjustment parameter relationship, the third adjustment parameter relationship, and the fourth adjustment parameter relationship, and determine the input parameter to be adjusted according to the adjustment parameter relationship of the comparison result.
Optionally, as shown in fig. 4, the determining unit 32 further includes:
a second setting module 326, configured to set a preset adjustment amplitude relationship, so that the third determining module 324 determines an adjustment amplitude based on the preset adjustment amplitude relationship, where the preset adjustment amplitude relationship includes each difference interval and a corresponding adjustment amplitude;
the third determining module 324 includes:
a calculating sub-module 3241, configured to perform a difference operation on a horizontal axis value and a vertical axis value in the first parameter value and the second parameter value respectively to obtain a first difference value and a second difference value, where the first difference value is a difference value between the horizontal axis value of the first parameter value and the horizontal axis value of the second parameter value, and the second difference value is a difference value between the vertical axis value of the first parameter value and the vertical axis value of the second parameter value;
the determining submodule 3242 may be configured to determine, as the target difference, a smaller one of the first difference and the second difference obtained by the calculating submodule 3241, and determine, according to the target difference and the preset adjustment amplitude relationship, an adjustment amplitude corresponding to a difference interval to which the target difference belongs.
Optionally, as shown in fig. 4, the modifying unit 33 includes:
the determining module 331 is configured to determine the adjusted input parameter according to the input parameter to be adjusted and the adjustment amplitude, and through a preset formula;
wherein the preset formula comprises:
Figure BDA0002579090080000181
wherein R is an R channel input parameter, G is a G channel input parameter, B is a B channel input parameter, R ' is an adjusted R channel input parameter, G ' is an adjusted G channel input parameter, and B ' is an adjusted B channel input parameter; p1 to P9 are adjustment coefficients, respectively.
Optionally, as shown in fig. 4, the determining module 331 includes:
the first determining submodule 3311 may be configured to determine, according to specific input values of the R-channel input parameter, the G-channel input parameter, and the B-channel input parameter, a significant coefficient in the adjustment coefficient, where the significant coefficient is an adjustment coefficient corresponding to a case where the specific input values of the R-channel input parameter, the G-channel input parameter, and the B-channel input parameter are not 0;
the second determining submodule 3312 may be configured to determine, according to the input parameter to be adjusted and the adjustment amplitude, a specific value of an adjustment coefficient corresponding to the input parameter to be adjusted in the effective coefficients determined by the first determining submodule 3311;
the third determining submodule 3313 may be configured to determine, according to the specific value of the adjustment coefficient determined by the second determining submodule 3312, an adjusted input parameter corresponding to the input parameter to be adjusted.
By means of the solutions described in the above embodiments, embodiments of the present invention provide a method and an apparatus for adjusting display parameters, for comparing the parameter calibration of a monitor that requires manual operation of software at present, the present invention can determine an input parameter and an adjustment range to be adjusted by obtaining an actual display parameter of a display apparatus and a target display parameter, where the actual display parameter includes a first parameter value and the target display parameter includes a second parameter value, according to a relationship between the first parameter value and the second parameter value and a preset adjustment range relationship, where the preset adjustment range has different difference intervals and corresponding adjustment ranges, and then modify the input parameter of the display apparatus according to the input parameter and the adjustment range to ensure that an updated actual display parameter corresponding to the modified input parameter approaches the target display parameter, therefore, the input parameters can be automatically adjusted based on the comparison between the actual display parameters and the target display parameters of the monitor, so that the function that a user needs to use software to correct the display effect of the parameters of the monitor by himself is avoided, and the labor consumption is reduced.
Further, according to the above method embodiment, another embodiment of the present invention further provides a storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to execute the method for adjusting display parameters as described above.
The instruction in the storage medium for adjusting display parameters provided in the embodiments of the present invention is capable of determining an input parameter and an adjustment range to be adjusted by obtaining an actual display parameter of a display device and a target display parameter, where the actual display parameter includes a first parameter value, the target display parameter includes a second parameter value, and according to a relationship between the first parameter value and the second parameter value and a preset adjustment range relationship, the preset adjustment range is provided with different difference intervals and corresponding adjustment ranges, and then according to the input parameter and the adjustment range to be adjusted, the input parameter of the display device is modified to ensure that an updated actual display parameter corresponding to the modified input parameter approaches the target display parameter, so that the input parameter can be automatically adjusted based on a comparison between the actual display parameter of a monitor and the target display parameter, therefore, the function that a user needs to use software to correct the display effect of the monitor parameters by himself is avoided, and the labor consumption is reduced.
Further, according to the above method embodiment, another embodiment of the present invention also provides an electronic device, which includes a storage medium and a processor;
the processor is suitable for realizing instructions;
the storage medium adapted to store a plurality of instructions;
the instructions are adapted to be loaded by the processor and to perform the method of adjusting display parameters as described above.
The electronic device for adjusting the display parameters, provided by the embodiment of the invention, can obtain the actual display parameters and the target display parameters of the display device, wherein the actual display parameters comprise first parameter values, and the target display parameters comprise second parameter values; and then determining an input parameter to be adjusted and an adjustment amplitude according to the relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, wherein the preset adjustment amplitude is provided with different difference intervals and corresponding adjustment amplitudes, and then modifying the input parameter of the display device according to the input parameter to be adjusted and the adjustment amplitude to ensure that the updated actual display parameter corresponding to the modified input parameter approaches the target display parameter, so that the input parameter can be automatically adjusted based on the comparison between the actual display parameter and the target display parameter of the monitor, thereby avoiding the function that a user needs to use software to correct the display effect of the monitor parameter, and reducing the manpower consumption.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the method and apparatus for adjusting display parameters according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (12)

1. A method of adjusting display parameters, comprising:
acquiring actual display parameters and target display parameters of a display device, wherein the actual display parameters comprise first parameter values, and the target display parameters comprise second parameter values;
determining an input parameter to be adjusted and an adjustment amplitude according to the relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, wherein the preset adjustment amplitude is provided with different difference value intervals and corresponding adjustment amplitudes;
and modifying the input parameters of the display device according to the input parameters to be adjusted and the adjustment amplitude so as to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters.
2. The method according to claim 1, wherein the determining an input parameter to be adjusted and an adjustment amplitude according to a relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, where the preset adjustment amplitude is provided with different difference intervals and corresponding adjustment amplitudes includes:
determining a first parameter value of the actual display parameter and a second parameter value of the target display parameter according to a preset image display standard, wherein the first parameter value and the second parameter value both comprise a horizontal axis value and a vertical axis value;
respectively comparing the transverse axis value and the longitudinal axis value of the first parameter value with the second parameter value to obtain a comparison result;
determining the input parameters to be adjusted according to the comparison results and parameter adjustment relations, wherein the parameter adjustment relations comprise each comparison result and corresponding input parameters to be adjusted;
calculating the difference value between the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value, determining a target difference value, and determining an adjustment amplitude according to the target difference value and a preset adjustment amplitude relation, wherein the preset adjustment amplitude relation comprises different difference value intervals and corresponding adjustment amplitudes.
3. The method of claim 2, wherein the input parameters include R-channel parameters, G-channel parameters, and B-channel parameters;
before determining the input parameter to be adjusted according to the comparison result and the parameter adjustment relationship, the method further comprises:
setting the parameter adjustment relationship, wherein the parameter adjustment relationship comprises a first adjustment relationship, a second adjustment relationship, a third adjustment relationship and a fourth adjustment relationship;
wherein, the first adjustment relationship is to reduce the input value of the B channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are respectively smaller than the horizontal axis value and the vertical axis value of the second parameter value;
if the horizontal axis value of the first parameter value is smaller than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is larger than the vertical axis value of the second parameter value, reducing the input value of the G channel parameter or increasing the input value of the R channel parameter;
if the horizontal axis value of the first parameter value is greater than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is less than the vertical axis value of the second parameter value, reducing the input value of the R channel parameter or increasing the input value of the G channel parameter;
the fourth adjustment relationship is to increase the input value of the B-channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are greater than the horizontal axis value and the vertical axis value of the second parameter value, respectively.
4. The method according to claim 3, wherein the determining the input parameter to be adjusted according to the comparison result and the parameter adjustment relationship comprises:
and determining an adjustment parameter relation which accords with the comparison result from the first adjustment parameter relation, the second adjustment parameter relation, the third adjustment parameter relation and the fourth adjustment parameter relation, and determining an input parameter to be adjusted according to the adjustment parameter relation of the comparison result.
5. The method of claim 3, wherein before calculating a difference between a horizontal axis value and a vertical axis value of the first parameter value and the second parameter value, determining a target difference, and determining an adjustment amplitude according to the target difference and a preset adjustment amplitude relationship, the method further comprises:
setting a preset adjustment amplitude relation;
calculating the difference value between the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value, determining a target difference value, and determining an adjustment amplitude according to the target difference value and a preset adjustment amplitude relationship, wherein the method comprises the following steps:
performing difference operation on the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value respectively to obtain a first difference value and a second difference value, wherein the first difference value is the difference value of the horizontal axis value of the first parameter value and the second parameter value, and the second difference value is the difference value of the vertical axis value of the first parameter value and the second parameter value;
and determining the smaller one of the first difference value and the second difference value as the target difference value, and determining the adjustment amplitude corresponding to the difference value interval to which the target difference value belongs according to the target difference value and the preset adjustment amplitude relation.
6. An apparatus for adjusting display parameters, the apparatus comprising:
the device comprises an acquisition unit, a display unit and a display control unit, wherein the acquisition unit is used for acquiring actual display parameters and target display parameters of a display device, the actual display parameters comprise first parameter values, and the target display parameters comprise second parameter values;
the determining unit is used for determining an input parameter to be adjusted and an adjustment amplitude according to the relationship between the first parameter value and the second parameter value and a preset adjustment amplitude relationship, wherein the preset adjustment amplitude is provided with different difference value intervals and corresponding adjustment amplitudes;
and the modifying unit is used for modifying the input parameters of the display device according to the input parameters to be adjusted and the adjustment amplitude so as to ensure that the updated actual display parameters corresponding to the modified input parameters approach the target display parameters.
7. The apparatus of claim 6, wherein the determining unit comprises:
the first determining module is used for determining a first parameter value of the actual display parameter and a second parameter value of the target display parameter according to a preset image display standard, wherein the first parameter value and the second parameter value both comprise a horizontal axis value and a vertical axis value;
the comparison module is used for respectively comparing the transverse axis value and the longitudinal axis value of the first parameter value with the second parameter value to obtain a comparison result;
the second determining module is used for determining the input parameters to be adjusted according to the comparison results and parameter adjustment relations, wherein the parameter adjustment relations comprise each comparison result and corresponding input parameters to be adjusted;
and the third determining module is used for calculating the difference value between the horizontal axis value and the vertical axis value in the first parameter value and the second parameter value, determining a target difference value, and determining an adjustment amplitude according to the target difference value and a preset adjustment amplitude relation, wherein the preset adjustment amplitude relation comprises different difference value intervals and corresponding adjustment amplitudes.
8. The apparatus of claim 7, wherein the input parameters comprise R-channel parameters, G-channel parameters, and B-channel parameters;
the determination unit further includes:
the first setting module is used for setting the parameter adjustment relationship, wherein the parameter adjustment relationship comprises a first adjustment relationship, a second adjustment relationship, a third adjustment relationship and a fourth adjustment relationship;
wherein, the first adjustment relationship is to reduce the input value of the B channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are respectively smaller than the horizontal axis value and the vertical axis value of the second parameter value;
if the horizontal axis value of the first parameter value is smaller than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is larger than the vertical axis value of the second parameter value, reducing the input value of the G channel parameter or increasing the input value of the R channel parameter;
if the horizontal axis value of the first parameter value is greater than the horizontal axis value of the second parameter value and the vertical axis value of the first parameter value is less than the vertical axis value of the second parameter value, reducing the input value of the R channel parameter or increasing the input value of the G channel parameter;
the fourth adjustment relationship is to increase the input value of the B-channel parameter if the horizontal axis value and the vertical axis value of the first parameter value are greater than the horizontal axis value and the vertical axis value of the second parameter value, respectively.
9. The apparatus of claim 8,
the second determining module is specifically configured to determine an adjustment parameter relationship that meets the comparison result from the first adjustment parameter relationship, the second adjustment parameter relationship, the third adjustment parameter relationship, and the fourth adjustment parameter relationship, and determine the input parameter to be adjusted according to the adjustment parameter relationship of the comparison result.
10. The apparatus of claim 8, wherein the determining unit further comprises:
the second setting module is used for setting a preset adjustment amplitude relation;
the third determining module includes:
the calculation submodule is used for respectively carrying out difference operation on the transverse axis value and the longitudinal axis value in the first parameter value and the second parameter value to obtain a first difference value and a second difference value, wherein the first difference value is the difference value of the transverse axis value of the first parameter value and the second parameter value, and the second difference value is the difference value of the longitudinal axis value of the first parameter value and the second parameter value;
and the determining submodule is used for determining the smaller one of the first difference value and the second difference value as the target difference value, and determining the adjustment amplitude corresponding to the difference value interval to which the target difference value belongs according to the target difference value and the preset adjustment amplitude relation.
11. A storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform a method of adjusting display parameters according to any one of claims 1-5.
12. An electronic device, comprising a storage medium and a processor;
the processor is suitable for realizing instructions;
the storage medium adapted to store a plurality of instructions;
the instructions are adapted to be loaded by the processor and to perform a method of adjusting display parameters according to any of claims 1-5.
CN202010662390.4A 2020-07-10 2020-07-10 Method and device for adjusting display parameters Active CN113920960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010662390.4A CN113920960B (en) 2020-07-10 2020-07-10 Method and device for adjusting display parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010662390.4A CN113920960B (en) 2020-07-10 2020-07-10 Method and device for adjusting display parameters

Publications (2)

Publication Number Publication Date
CN113920960A true CN113920960A (en) 2022-01-11
CN113920960B CN113920960B (en) 2023-03-17

Family

ID=79232305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010662390.4A Active CN113920960B (en) 2020-07-10 2020-07-10 Method and device for adjusting display parameters

Country Status (1)

Country Link
CN (1) CN113920960B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100091039A1 (en) * 2008-10-14 2010-04-15 Apple Inc. Color correction of electronic displays
US20100238101A1 (en) * 2009-03-23 2010-09-23 Long-Cai Jhuo Image processing method capable of reducing color shift
CN101866621A (en) * 2010-06-03 2010-10-20 北京中庆微数字设备开发有限公司 LED display screen correction system and method
US20110032275A1 (en) * 2008-10-14 2011-02-10 Apple Inc. Color correction of electronic displays utilizing gain control
CN102833554A (en) * 2004-06-16 2012-12-19 三星电子株式会社 Color display apparatus and display method thereof
CN104380370A (en) * 2012-06-27 2015-02-25 夏普株式会社 Method for converting data, display device, computing device and program incorporating same, and method for optimising coefficients and device and program incorporating same
US20160261860A1 (en) * 2015-03-06 2016-09-08 Apple Inc. Displays with Unit-Specific Display Identification Data
CN107622761A (en) * 2017-11-07 2018-01-23 晶晨半导体(上海)股份有限公司 A kind of screen display bearing calibration based on negative-feedback
CN108271419A (en) * 2016-10-31 2018-07-10 华为技术有限公司 A kind of color temperature adjusting method, device and graphic user interface
US20180227560A1 (en) * 2017-02-06 2018-08-09 John R. Fredlund Method for assisted image improvement
CN109996054A (en) * 2017-12-29 2019-07-09 杭州海康威视数字技术股份有限公司 A kind of white balance adjusting method and device
CN111243550A (en) * 2020-03-26 2020-06-05 深圳精智达技术股份有限公司 Adjusting device, adjusting method and medium for gamma voltage and white balance of display screen

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833554A (en) * 2004-06-16 2012-12-19 三星电子株式会社 Color display apparatus and display method thereof
US20100091039A1 (en) * 2008-10-14 2010-04-15 Apple Inc. Color correction of electronic displays
US20110032275A1 (en) * 2008-10-14 2011-02-10 Apple Inc. Color correction of electronic displays utilizing gain control
US20100238101A1 (en) * 2009-03-23 2010-09-23 Long-Cai Jhuo Image processing method capable of reducing color shift
CN101866621A (en) * 2010-06-03 2010-10-20 北京中庆微数字设备开发有限公司 LED display screen correction system and method
CN104380370A (en) * 2012-06-27 2015-02-25 夏普株式会社 Method for converting data, display device, computing device and program incorporating same, and method for optimising coefficients and device and program incorporating same
US20160261860A1 (en) * 2015-03-06 2016-09-08 Apple Inc. Displays with Unit-Specific Display Identification Data
CN108271419A (en) * 2016-10-31 2018-07-10 华为技术有限公司 A kind of color temperature adjusting method, device and graphic user interface
US20180227560A1 (en) * 2017-02-06 2018-08-09 John R. Fredlund Method for assisted image improvement
CN107622761A (en) * 2017-11-07 2018-01-23 晶晨半导体(上海)股份有限公司 A kind of screen display bearing calibration based on negative-feedback
CN109996054A (en) * 2017-12-29 2019-07-09 杭州海康威视数字技术股份有限公司 A kind of white balance adjusting method and device
CN111243550A (en) * 2020-03-26 2020-06-05 深圳精智达技术股份有限公司 Adjusting device, adjusting method and medium for gamma voltage and white balance of display screen

Also Published As

Publication number Publication date
CN113920960B (en) 2023-03-17

Similar Documents

Publication Publication Date Title
JP4853024B2 (en) Color monitor gradation reproduction characteristic measuring device
US7742057B2 (en) Method and device of obtaining a color temperature point
JP4109702B1 (en) Image quality adjustment apparatus, image quality adjustment method, and image quality adjustment program
EP1926079A2 (en) Apparatus and method for color reproduction
JP6238757B2 (en) White balance adjustment method, white balance adjustment device and display device
EP3136379B1 (en) Image processing apparatus and display determination method
US8970788B2 (en) Gain-determining method and apparatus for grayscale white balance of display apparatus
CN112925498B (en) Method and device for adjusting Gamma value in screen overlapping, screen overlapping and storage medium
US9305519B2 (en) Image color adjusting method and electronic device using the same
CN113920960B (en) Method and device for adjusting display parameters
WO2007069328A1 (en) Image processing program, image processing method, image processor
GB2493818A (en) Colour Calibration of Displays using Natural Language Commands
KR20050033297A (en) Apparatus and method for compensating gamma of video display device
TW201337903A (en) Method of introducing white brightness parameter of display panel into white optical feature based on display panel for calculating gray-level white balance gain value to increase its gray-level white balance adjustment precision
JP2007049341A (en) Image correction device
EP2802139A1 (en) Image color adjusting method and electronic device using the same
KR101190577B1 (en) Method and apparatus for correcting nonlinear color mixing errors
TWI438765B (en) A system and a method for introducing the three primary color luminance parameters of the display panel into gray scale white balance gain values ​​calculated based on the white optical characteristics of the display panel to improve the accuracy of its gray scale white balance
CN113035148A (en) Method and system for correcting chromaticity of liquid crystal panel, liquid crystal panel and storage medium
TWI455107B (en) Method for panel color correction and associated color correction system
CN109005397A (en) A kind of method of adjustment, device, picture processing chip and the storage device of image white balance
CN117203698A (en) Image quality calibration method, system and storage medium
CN114613339B (en) Chromaticity adjusting method and device for display panel
CN112820248B (en) White balance adjusting method, system, storage medium and electronic equipment
US11557265B2 (en) Perceptual color enhancement based on properties of responses of human vision system to color stimulus

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