Disclosure of Invention
The embodiment of the invention provides a compensation method and device of a display device, and aims to solve the problems that cost and power consumption are required to be increased when images with different refreshing frequencies are optimized.
The embodiment of the invention provides a compensation method of a display device, which comprises the following steps:
acquiring reference compensation data corresponding to a reference refreshing frequency;
determining a target refreshing frequency of an image to be displayed;
under the condition that the target refreshing frequency is not equal to the reference refreshing frequency, obtaining an adjusting parameter corresponding to the target refreshing frequency;
adjusting the reference compensation data according to the adjustment parameters to obtain target compensation data;
and displaying an image according to the target compensation data.
In some embodiments, the display device includes a plurality of sets of registers, and each set of registers stores at least one adjustment parameter corresponding to the refresh frequency.
In some embodiments, the adjustment parameters include a scaling parameter, a compensation multiple, and a compensation amount, and each set of registers includes at least: a first register for storing the proportional parameter, a second register for storing the compensation amount, and a third register for storing the compensation amount.
In some embodiments, the obtaining an adjustment parameter corresponding to the target refresh frequency includes:
and calling an adjusting parameter from a target register group in the plurality of groups of registers, wherein the target register group is a group of registers in which adjusting coefficients corresponding to the target refreshing frequency are stored.
In some embodiments, before obtaining the adjustment parameter corresponding to the target refresh frequency, the method further includes:
acquiring first compensation data corresponding to each first refreshing frequency;
and taking the proportional coefficient corresponding to the first compensation data and the reference refresh frequency as an adjusting parameter corresponding to the first refresh frequency, and storing the adjusting parameter in a corresponding register.
In a second aspect, an embodiment of the present invention provides a compensation apparatus for a display apparatus, including:
the reference compensation data acquisition module is used for acquiring reference compensation data corresponding to the reference refreshing frequency;
the refreshing frequency determining module is used for determining the target refreshing frequency of the image to be displayed;
an adjustment parameter obtaining module, configured to obtain an adjustment parameter corresponding to the target refresh frequency when the target refresh frequency is not equal to the reference refresh frequency;
the compensation module is used for adjusting the reference compensation data according to the adjustment parameter to obtain target compensation data;
and the display module is used for displaying an image according to the target compensation data.
In some embodiments, the display device includes a plurality of sets of registers, and each set of registers stores at least one adjustment parameter corresponding to the refresh frequency.
In some embodiments, the adjustment parameters include a scaling parameter, a compensation multiple, and a compensation amount, and each set of registers includes at least: a first register for storing the proportional parameter, a second register for storing the compensation amount, and a third register for storing the compensation amount.
In some embodiments, the adjustment parameter obtaining module is specifically configured to: and calling an adjusting parameter from a target register group in the plurality of groups of registers, wherein the target register group is a group of registers in which adjusting coefficients corresponding to the target refreshing frequency are stored.
In some embodiments, further comprising:
the detection module is used for acquiring first compensation data corresponding to each first refreshing frequency;
and the storage module is used for storing the scaling factor corresponding to the first compensation data and the reference refresh frequency in a corresponding register as an adjustment parameter corresponding to the first refresh frequency.
The embodiment of the invention obtains the reference compensation data corresponding to the reference refreshing frequency; determining a target refreshing frequency of an image to be displayed; under the condition that the target refreshing frequency is not equal to the reference refreshing frequency, obtaining an adjusting parameter corresponding to the target refreshing frequency; adjusting the reference compensation data according to the adjustment parameters to obtain target compensation data; and displaying an image according to the target compensation data. Therefore, the embodiment of the invention only needs to store one group of compensation data corresponding to the reference refresh frequency, and the compensation data corresponding to other refresh frequencies can be obtained by calling corresponding adjustment parameters, so that the space for storing the compensation data corresponding to each group of refresh frequencies is reduced, and the energy consumption and the cost are saved.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. Without conflict, the embodiments described below and features of the embodiments may be combined with each other. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a compensation method of a display device.
In one embodiment, the compensation method of the display device includes the steps of:
step 101: and acquiring reference compensation data corresponding to the reference refreshing frequency.
It should be understood that display devices may generally operate at multiple refresh rates, with a display device having multiple refresh rates of 60Hz, 90Hz, 120Hz, and 144Hz being illustrative. The reference refresh frequency refers to one of a plurality of refresh frequencies at which the display device can operate, and in this embodiment, the reference refresh frequency is 90Hz for further description.
The compensation data of the display device in different operating states are different, and in this embodiment, the compensation data corresponding to the reference refresh frequency is referred to as reference compensation data.
As shown in fig. 2, in general, the display device includes a memory 201 and a logic board Tcon202, reference compensation data is stored in the memory 202, and when an image needs to be displayed, the Tcon202 can read corresponding reference compensation data from the memory 201 to compensate the image to be displayed.
Step 102: and determining the target refreshing frequency of the image to be displayed.
In this embodiment, the target refresh frequency refers to a refresh frequency that needs to be used under the current operating condition. For example, when a user plays a game using the display device, a higher refresh rate needs to be provided in order to ensure a higher display effect, whereas if the user is browsing a file, a lower refresh rate may be used to reduce power consumption.
Obviously, under the condition that the target refresh frequency is equal to the reference refresh frequency, the corresponding reference compensation data can be directly called to compensate the image to be displayed.
Step 103: and acquiring an adjusting parameter corresponding to the target refreshing frequency under the condition that the target refreshing frequency is not equal to the reference refreshing frequency.
In this embodiment, the compensation data corresponding to other refresh frequencies is not directly saved, but only the corresponding adjustment parameters are saved.
In some embodiments, the display device includes a plurality of sets of registers, and each set of registers stores at least one adjustment parameter corresponding to the refresh frequency.
In some embodiments, the step 103 specifically includes:
and calling an adjusting parameter from a target register group in the plurality of groups of registers, wherein the target register group is a group of registers in which adjusting coefficients corresponding to the target refreshing frequency are stored.
It should be understood that the storage of the compensation data needs to be realized by a Read Only Memory (ROM), which is relatively expensive, and accordingly, if more ROM is provided, the structure of the control chip and the circuit board needs to be adjusted, which requires redesigning the layout of the chip and the circuit board, which may result in increased cost, and if more ROM is provided, the power consumption of the display device may also increase.
In the technical scheme of the embodiment, the plurality of groups of registers are arranged, compared with a read-only memory, the registers are low in cost and power consumption and small in occupied space, and a circuit board and a control chip do not need to be redesigned, so that the cost is saved and the power consumption is reduced.
In some embodiments, the adjustment parameters include a scaling parameter, a compensation multiple, and a compensation amount, and each set of registers includes at least: a first register for storing the proportional parameter, a second register for storing the compensation amount, and a third register for storing the compensation amount.
In some embodiments, the brightness non-uniformity phenomenon (Mura) of the display device is mainly compensated for. Wherein, the compensation formula is: gray _ out is Gray _ in Beta Gain + Offset.
In the above formula, Gray _ out represents an output Gray level value, Gray _ in represents an input Gray level value, Beta represents a proportional parameter, Gray _ in × Beta represents a remapped Gray level value obtained by remapping the input Gray level value Gray _ in, Gain represents a compensation multiple, and Offset represents a compensation amount.
In some other embodiments, a compensation formula may also be selected: and the Gray _ out represents the output Gray level value, the Gray _ in represents the input Gray level value, and A, B and C are three compensation coefficients respectively.
Thus, after the three compensation coefficients are determined, the compensation mode for the image is determined accordingly.
It will be appreciated that when compensation for other display effects is required, the required compensation parameters need to be adapted.
In some embodiments, before step 103, the method further includes:
acquiring first compensation data corresponding to each first refreshing frequency;
and taking the proportional coefficient corresponding to the first compensation data and the reference refresh frequency as an adjusting parameter corresponding to the first refresh frequency, and storing the adjusting parameter in a corresponding register.
In this embodiment, the first refresh frequency refers to a refresh frequency that can be provided by the display device in addition to the reference refresh frequency, and after the first refresh frequency is determined, the corresponding first compensation data is determined first. In practice, the first compensation data corresponding to each first refresh frequency can be measured in an existing or improved manner. For example, the compensation parameters required at the first refresh frequency may be determined by taking a picture.
The refresh rate of the display device is approximately linearly changed at different frequencies, as shown in fig. 3 to 5, and fig. 3 to 5 show the relationship between the compensation data corresponding to the refresh rate of 60Hz and the refresh rate of 90Hz for a certain display device.
FIG. 3 is a corresponding relationship between a refresh rate of 60Hz and a compensation amount Offset corresponding to a refresh rate of 90 Hz; FIG. 4 is a corresponding relationship between the refresh rate of 60Hz and the compensation multiple Gain corresponding to the refresh rate of 90 Hz; FIG. 5 is a graph illustrating the correspondence between the scaling parameter beta for a 60Hz refresh rate and a 90Hz refresh rate. The proportion coefficients of the two groups of refresh frequencies are used as corresponding adjustment coefficients, and the corresponding first refresh frequency is further determined according to the reference refresh frequency and the proportion coefficients, so that the storage space can be saved, and the cost is reduced.
Step 104: and adjusting the reference compensation data according to the adjustment parameters to obtain target compensation data.
After the adjustment parameters are determined, the reference compensation data are adjusted by using the corresponding adjustment parameters, so that target compensation data corresponding to the target refresh frequency can be obtained. It will be appreciated that after the target refresh rate has been determined, the tuning parameters are called from the corresponding target register set, it being understood that each register is equivalent to holding a coefficient, which in practice is equivalent to introducing the control circuit from the register to apply the corresponding tuning coefficient to the reference compensation data to obtain the target compensation data.
During implementation, a selection circuit can be further designed, and a target register set is called through a data selection switch (mux), so that corresponding adjustment parameters are called.
As shown in fig. 2, it can be understood that, first, the Tcon202 obtains reference compensation data from the memory 201, and the reference compensation data can be transmitted through the communication control bus SPI and can be temporarily stored in the SRAM. The reference compensation data includes a proportional parameter Beta, a compensation multiple Gain, and a compensation amount Offset. Next, the corresponding adjustment coefficients a, b, and c are called from the register, and the reference compensation data are adjusted respectively to obtain target compensation data, where the target compensation data includes the compensation amount aOffset, the compensation multiple bGain, and the proportional parameter cBeta, and further, the display device is compensated according to the compensation data.
Step 104: and displaying an image according to the target compensation data.
After the target compensation data is determined, the image to be displayed is compensated according to the target compensation data, and a good compensation effect can be achieved.
The embodiment of the invention obtains the reference compensation data corresponding to the reference refreshing frequency; determining a target refreshing frequency of an image to be displayed; under the condition that the target refreshing frequency is not equal to the reference refreshing frequency, obtaining an adjusting parameter corresponding to the target refreshing frequency; adjusting the reference compensation data according to the adjustment parameters to obtain target compensation data; and displaying an image according to the target compensation data. Therefore, the embodiment of the invention only needs to store one group of compensation data corresponding to the reference refresh frequency, and the compensation data corresponding to other refresh frequencies can be obtained by calling corresponding adjustment parameters, so that the space for storing the compensation data corresponding to each group of refresh frequencies is reduced, and the energy consumption and the cost are saved.
The embodiment of the invention provides a compensation device of a display device.
As shown in fig. 6, in one embodiment, the compensation apparatus 600 of the display apparatus includes:
a reference compensation data obtaining module 601, configured to obtain reference compensation data corresponding to a reference refresh frequency;
a refresh frequency determining module 602, configured to determine a target refresh frequency of an image to be displayed;
an adjustment parameter obtaining module 603, configured to obtain an adjustment parameter corresponding to the target refresh frequency when the target refresh frequency is not equal to the reference refresh frequency;
a compensation module 604, configured to adjust the reference compensation data according to the adjustment parameter to obtain target compensation data;
and a display module 605, configured to display an image according to the target compensation data.
In some embodiments, the display device includes a plurality of sets of registers, and each set of registers stores at least one adjustment parameter corresponding to the refresh frequency.
In some embodiments, the adjustment parameters include a scaling parameter, a compensation multiple, and a compensation amount, and each set of registers includes at least: a first register for storing the proportional parameter, a second register for storing the compensation amount, and a third register for storing the compensation amount.
In some embodiments, the adjustment parameter obtaining module 603 is specifically configured to: and calling an adjusting parameter from a target register group in the plurality of groups of registers, wherein the target register group is a group of registers in which adjusting coefficients corresponding to the target refreshing frequency are stored.
In some embodiments, further comprising: the detection module is used for acquiring first compensation data corresponding to each first refreshing frequency;
and the storage module is used for storing the scaling factor corresponding to the first compensation data and the reference refresh frequency in a corresponding register as an adjustment parameter corresponding to the first refresh frequency.
The compensation apparatus 600 of the display apparatus of this embodiment can implement the steps of the compensation method embodiment of the display apparatus, and basically the same or similar technical effects can be implemented, which is not described herein again.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.