CN116860143A - Image display processing method and device - Google Patents
Image display processing method and device Download PDFInfo
- Publication number
- CN116860143A CN116860143A CN202310620881.6A CN202310620881A CN116860143A CN 116860143 A CN116860143 A CN 116860143A CN 202310620881 A CN202310620881 A CN 202310620881A CN 116860143 A CN116860143 A CN 116860143A
- Authority
- CN
- China
- Prior art keywords
- value
- brightness
- region
- target
- gray
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application discloses an image display processing method and device, which are used for improving the image display effect, so that the overall brightness and/or chromaticity of an output and displayed image are more uniform, and the influence of non-uniform display effect of different display areas caused by voltage drop is avoided. The application provides an image display processing method, which comprises the following steps: determining a reference image for controlling a target image display effect, and a compensation value corresponding to at least one area obtained by dividing an image display area of a display panel, wherein the compensation value is a compensation value of a parameter for controlling the target image display effect, and the compensation value is determined based on influence coefficients among different areas, and the influence coefficients comprise influence coefficients of brightness and/or chromaticity of image display; based on the compensation value, a parameter for controlling the display effect of the target image is determined, and the display effect of the target image is controlled using the parameter.
Description
Technical Field
The present application relates to the field of image technologies, and in particular, to an image display processing method and apparatus.
Background
An active matrix organic light emitting diode (Active Matrix Organic Light Emitting Display, AMOLED) display device has advantages of self-luminescence, wide color gamut, wide viewing angle, and the like, and occupies the mainstream in the middle-high-end display panel market. However, as the size of the display panel increases, the resolution increases, and some immature problems of the AMOLED technology are increasingly highlighted, and since the AMOLED display panel is driven by current, the wiring becomes long, resulting in an increase in IR Drop, resulting in a decrease in voltage reaching each subpixel, thereby causing a deviation in brightness and chromaticity of the display picture displayed by the display panel, and affecting brightness uniformity of the display panel. The IR DROP, that is, the power supply voltage is significantly reduced at a position far from the pin or the power supply voltage stabilizer due to the internal resistance of the power supply network, and may also be simply referred to as voltage DROP or voltage DROP.
Disclosure of Invention
The embodiment of the application provides an image display processing method and device, which are used for improving the image display effect, so that the overall brightness and/or chromaticity of an output display image are more uniform, and the influence of non-uniform display effect of different display areas caused by voltage drop is avoided.
The image display processing method provided by the embodiment of the application comprises the following steps:
Determining a reference image for controlling a target image display effect, and a compensation value corresponding to at least one area obtained by dividing an image display area of a display panel, wherein the compensation value is a compensation value of a parameter for controlling the target image display effect, and the compensation value is determined based on influence coefficients among different areas, and the influence coefficients comprise influence coefficients of brightness and/or chromaticity of image display;
based on the compensation value, a parameter for controlling the display effect of the target image is determined, and the display effect of the target image is controlled using the parameter.
The method comprises the steps of determining a reference image for controlling the display effect of a target image, and dividing the image display area of a display panel to obtain at least one compensation value corresponding to the area, wherein the compensation value is determined based on influence coefficients among different areas, and the influence coefficients comprise influence coefficients of brightness and/or chromaticity of the image display. Therefore, based on the compensation value, the parameter for controlling the display effect of the target image is determined, and the display effect of the target image is controlled by utilizing the parameter, so that the image display effect can be improved, the overall brightness and/or chromaticity of the output and displayed image is more uniform, and the problem of nonuniform display effect caused by the mutual influence of the display effects of different display areas due to voltage drop is avoided.
In some embodiments, the method further comprises: determining a picture mode to which the reference image belongs;
when the picture mode to which the reference image belongs is a solid-color mode, the step of determining the compensation value includes: acquiring a gray level compensation value required by each area under a preset gray level to reach an ideal gray level value;
when the picture mode to which the reference image belongs is a color mixing mode, the step of determining the compensation value includes:
determining the pixel average gray-scale value of each region on the reference image, and calculating the integral average gray-scale value of all the regions on the reference image;
using a preset change relation between brightness and gray scale, and preliminarily determining a gray scale compensation value required by each region to reach an ideal gray scale value according to the pixel average gray scale value of each region, the overall average gray scale value and the influence coefficient;
and determining the brightness corresponding to the pixel average gray level value of each region and the brightness corresponding to the whole average gray level value by utilizing the preset change relation between the brightness and the gray level, determining the ratio of the two brightnesses, and finally determining the gray level compensation value required by the region to reach the ideal gray level value by utilizing the ratio and the preliminarily determined gray level compensation value of the region.
In some embodiments, when the picture mode to which the reference image belongs is a color mixing mode, the determining, based on the compensation value, a parameter for controlling the target image display effect includes:
and determining the ideal gray level value of each region by utilizing the gray level compensation value required by the finally determined region to reach the ideal gray level value and the gray level value of the reference image.
In some embodiments, when the picture mode to which the reference image belongs is a solid color mode, the determining, based on the compensation value, a parameter for controlling the target image display effect includes:
acquiring a predetermined change relation between brightness and gray scale;
and determining the compensation value of the gray scale corresponding to the region under the gray scale of the reference image based on the compensation value of the gray scale corresponding to the region under the preset gray scale and the change relation, and determining the ideal gray scale value of the region based on the compensation value of the gray scale corresponding to the region under the gray scale of the reference image.
In some embodiments, when the picture mode to which the reference image belongs is a solid-color mode, the step of predetermining a gray-scale compensation value required for each of the regions under the preset gray-scale to reach the desired gray-scale value includes:
Determining a group of influence coefficients corresponding to each region respectively;
determining a gray-scale compensation value required by each region under preset gray scale to reach an ideal gray-scale value based on a group of influence coefficients corresponding to each region and the target brightness;
wherein determining a set of influence coefficients corresponding to each region respectively comprises:
each area obtained by dividing the display area of the display panel is used as a target area, and the following steps are sequentially executed:
according to preset gray scale, independently lighting up a target area of the display panel, and determining the average brightness of the target area at the moment as target brightness;
according to the preset gray scale, all areas of the display panel are lightened, and the average brightness of each area at the moment is determined to be the actual brightness of each area;
calculating a difference value between the target brightness and the actual brightness of the target area, and executing the following steps when the difference value is larger than a preset threshold value:
according to the preset gray scale, the target area is lightened, and for each other area except the target area, when the other area is independently lightened under the condition that the target area is kept to be lightened, the average brightness of the target area is calculated, so that the average brightness of the target area corresponding to each other area is obtained;
For each other region, determining the average brightness of the target region corresponding to the other region and the difference value between the average brightness and the target brightness;
calculating the influence coefficient of each other region on the brightness of the target region by utilizing the difference value between the average brightness of the target region corresponding to each other region and the target brightness for each other region;
and taking the influence coefficients of the other areas on the brightness of the target area as a group of influence coefficients corresponding to the target area.
In some embodiments, determining the picture mode to which the reference picture belongs comprises:
dividing the reference image into a plurality of areas according to a preset rule, and counting the average pixel brightness of an R channel, the average pixel brightness of a G channel and the average pixel brightness of a B channel of each area respectively;
if the difference value of the average pixel brightness of the same channel of any two areas is smaller than a preset threshold value, determining that the picture mode to which the reference image belongs is a solid-color mode;
if the difference value of the average pixel brightness of the same channel of the two areas is larger than a preset threshold value, calculating the difference value of the average pixel brightness of the same channel of each two areas, accumulating all obtained difference values, and if the obtained accumulated sum value does not exceed the preset threshold value, determining that the picture mode to which the reference image belongs is a color mixing mode.
In some embodiments, the parameter comprises an ideal gray scale value for each of the regions;
and controlling the display effect of the target image by using the parameters, wherein the method comprises the following steps:
taking the ideal gray scale value of each region as the target gray scale value of the central pixel point of the region, and determining the target gray scale value of each pixel point based on the target gray scale value of each central pixel point of the region;
and outputting and displaying the target image based on the target gray scale value of each pixel point.
Another embodiment of the present application provides an image display processing apparatus, which includes a memory for storing program instructions and a processor for calling the program instructions stored in the memory and executing any one of the methods described above according to the obtained program.
Furthermore, according to an embodiment, for example, a computer program product for a computer is provided, comprising software code portions for performing the steps of the method defined above, when said product is run on a computer. The computer program product may include a computer-readable medium having software code portions stored thereon. Furthermore, the computer program product may be directly loaded into the internal memory of the computer and/or transmitted via the network by at least one of an upload procedure, a download procedure and a push procedure.
Another embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for causing the computer to perform any of the methods described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of dividing an image display area into nine areas according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a graph showing a correspondence relationship between luminance and gray scale values according to an embodiment of the present application;
FIG. 3 shows a target brightness L of a center region according to an embodiment of the present application T Actual brightness L A1 Schematic of the relationship of the diffs to each other;
FIG. 4 is a schematic diagram of influence coefficients of each region according to an embodiment of the present application;
FIG. 5 is a schematic diagram showing brightness of each area of a 255 full-white gray scale display panel according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a difference between an ideal gray level value and a 255 gray level value of each region when the actual luminance of each region is 400nit according to an embodiment of the present application;
FIG. 7 is a graph showing a relationship between brightness and gray scale according to an embodiment of the present application;
FIG. 8 is a schematic view of a center point of each area according to an embodiment of the present application;
FIG. 9 is a schematic diagram of edge positions of regions according to an embodiment of the present application;
FIG. 10 is a schematic diagram of four vertex positions of a display area according to an embodiment of the present application;
FIG. 11 is a schematic diagram illustrating a determination principle of gray scale values at any pixel position according to an embodiment of the present application;
fig. 12 is a flowchart of an image display processing method according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an image display processing device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of another image display processing device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The embodiment of the application provides an image display processing method and device, which are used for improving the image display effect, so that the overall brightness and/or chromaticity of an output display image are more uniform, and the influence of non-uniform display effect of different display areas caused by voltage drop is avoided.
The method and the device are based on the same application, and because the principles of solving the problems by the method and the device are similar, the implementation of the device and the method can be referred to each other, and the repetition is not repeated.
The terms first, second and the like in the description and in the claims of embodiments of the application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The following examples and embodiments are to be construed as illustrative only. Although the specification may refer to "an", "one", or "some" example or embodiment(s) at several points, this does not mean that each such reference is related to the same example or embodiment, nor that the feature is applicable to only a single example or embodiment. Individual features of different embodiments may also be combined to provide further embodiments. Furthermore, terms such as "comprising" and "including" should be understood not to limit the described embodiments to consist of only those features already mentioned; such examples and embodiments may also include features, structures, units, modules, etc. that are not specifically mentioned.
Various embodiments of the application are described in detail below with reference to the drawings attached to the specification. It should be noted that, the display sequence of the embodiments of the present application only represents the sequence of the embodiments, and does not represent the advantages or disadvantages of the technical solutions provided by the embodiments.
The IR Drop compensation method may include circuit compensation and numerical compensation, and may also be compensated by circuit design improvement, but the cost is relatively high, and as the resolution increases, the design difficulty increases linearly. Alternatively, numerical statistics may be used to compensate by processing the data. Because the display panel displays random content and the current of the pixel point changes according to different input values, the IR Drop effect generated by different pictures changes in real time, and the numerical compensation scheme compensates white or pure-color pictures more, so that common pictures or dynamic pictures cannot be processed. Meanwhile, because the light-emitting units in each area of the display panel have correlation with each other, after compensating for a certain area, the light-emitting characteristics of other areas can be changed, and part of technologies select to ignore the correlation among the areas and only perform one-time compensation, but the voltage drop characteristics of the display panel cannot be accurately reflected; the correlation between the regions may also be matched by iteratively repeating the measurement and compensation value corrections, but often times with time and inaccuracy. In addition, when different manufacturers produce display panels, the arrangement of the driving sources is different, which affects the descending rule of the IR Drop, thus affecting the calculation method of numerical compensation, and the measurement compensation value needs to be re-measured for each display panel, so that the efficiency is lower.
In view of this, the embodiment of the application provides an IR Drop compensation scheme for a display panel, which considers the influence factors between different areas, and can compensate the deviation between the display chromaticity and the target chromaticity and the deviation between the display brightness and the target brightness due to the voltage Drop phenomenon under different display contents in real time.
In addition, the compensation value obtained through modeling calculation cannot be applied to display panels with different driving source arrangements, for example, the driving source can be positioned below, at two sides and in the center of the display panel, and transistors can be connected in series and in parallel. The compensation values of different arrangements are obviously different. According to the embodiment of the application, the relation between the brightness of different areas of the display panel and the compensation value is established, and the compensation can be implemented only by calculating the correlation coefficient among the areas without obtaining specific internal driving arrangement.
The technical scheme provided by the embodiment of the application is as follows:
1. judging an image mode:
step one, based on the average gray scale value information of the three R, G, B channels in the input image signal of the previous frame (of course, not limited thereto, but the current frame or the previous n frames, n being greater than 1), judging whether the input image of the current frame belongs to the solid color mode or the color mixing mode. Specific judgment modes include:
Step two, dividing the picture into a plurality of areas, as shown in fig. 1, for example, an alternative dividing manner is to divide nine areas, wherein the central area mid and the peripheral areas are respectively numbered 1-8.
And thirdly, respectively counting the average pixel brightness (Average Picture Level, APL) of the R channel, the average pixel brightness of the G channel and the average pixel brightness of the B channel of each region.
When the differences of the APL of each channel of R, G, B of any two areas (the differences of the same channel are calculated) are smaller than a preset threshold (wherein different channels can correspond to different preset thresholds), the picture mode to which the current frame image belongs is considered to be a solid-color mode;
and if the APL difference value of any channel in any two areas is larger than a preset threshold value in the nine areas, the image mode of the current frame picture content is considered to be a color mixing mode. Or if the APL difference value of any channel in any two areas is larger than a preset threshold value and the cumulative sum of all the APL difference values in the areas does not exceed the preset threshold value, the picture mode to which the current frame image belongs is considered to be a color mixing mode. Wherein, the cumulative sum of all APL differences of the areas is calculated, namely, the sum value obtained by respectively calculating the difference value of APL of R channel, the difference value of APL of G channel and the difference value of APL of B channel of each two areas and then adding all the differences. If the cumulative sum is too large (exceeds a preset threshold), indicating a sudden change (a significant change in picture content), only average pixel statistics are performed at this time, and no voltage drop compensation is performed, so that no subsequent processing is required.
It should be noted that, in the embodiment of the present application, the thresholds may be different in value, and the specific value is determined according to actual needs, which is not limited in the embodiment of the present application.
2. Pressure drop compensation scheme for solid-color mode:
step 1, the central area is individually lighted with 255 white gray scales (of course, other gray scales are possible, and 255 gray scales are exemplified here because the voltage Drop is the largest at this time), and the screen lighting area is smaller at this time, so that the IR Drop effect is considered to be negligible. The average brightness in the central region was measured by a photometer and recorded as target brightness L T . By modifying the input gray scale and measuring the luminous brightness under different gray scales for a plurality of times, a curve of the corresponding relation between the luminous brightness and the gray scale value can be established, and the corresponding relation between the luminous brightness L and the gray scale value G is measured. One possible curve showing the correspondence between the luminance and the gray scale value is shown in fig. 2.
Step 2, lighting all areas of the display panel with 255 gray scales, wherein the luminous brightness of each area is reduced due to the existence of IR Drop of the display panel, and measuring the average brightness of each area by a photometer, and respectively marking the average brightness as actual brightness L A1 ~L A9 。
Step 3, calculating a difference Diff between the target brightness and the actual brightness of the central area:
Diff=L T -L A1 ;
Wherein L is A1 Representing the actual brightness of the center region, it is considered that the image of the center region is generated by the currents generated by the light emission of the adjacent eight regions (regions 1 to 8) of the center regionThe actual voltage of the element is changed, so that the luminous brightness of the central area is influenced, and the sum of the accumulated brightness influence values of the adjacent eight areas (areas 1-8) of the central area on the central area is Diff, namely the difference between the central target brightness and the actual brightness under the full-screen 255 gray scale. Wherein the target brightness L of the central area T Actual brightness L A1 The relationship of the diffs to each other is shown in fig. 3.
It should be noted that, the steps 1 and 3 are optional steps, according to the actual situation, if Diff of the display panel is smaller than the preset threshold, it is indicated that the subsequent voltage drop compensation operation step is not needed (that is, the influence of the voltage drop on the display panel is not large and can be ignored), if Diff is greater than or equal to the preset threshold, the subsequent step 4 is continuously executed;
step 4, lighting the central area with 255 gray scales, then lighting each area of eight areas except the central area with 255 gray scales one by one, and recording the average luminous brightness of the central area when each area is independently lighted, which is respectively recorded as L 1 ~L 8 。
Step 5, calculating L respectively 1 ~L 8 And L is equal to T And is respectively denoted as Diff 1 ~Diff 8 。
Wherein Diff is 1 =L T -L 1 ;Diff 2 =L T –L 2 ;……;Diff 8 =L T –L 8 。
Step 6, calculating the influence coefficients of eight adjacent areas (areas 1-8) of the central area on the central area, which are respectively marked as Coef 1 ~Coef 8 The calculation method is as follows:
the influence coefficient represents the influence degree of different adjacent areas on the brightness of the central area when the same gray-scale signal (such as 255) is input. For example, as shown in fig. 4, one possible set of influence coefficients can be seen from fig. 4, for example, when 255 gray scales are displayed full screen, assuming that the center area luminance drops by Diff due to voltage drop, wherein the center area luminance caused by the upper left corner area (area 1) drops by 0.05×diff, and the center area luminance caused by the lower right corner area (area 5) drops by 0.2×diff.
Step 7, it can be seen that, through the steps 1 to 6, the influence coefficients of the same gray scale (for example, the 255 gray scales and other gray scales can be similarly obtained) in different areas can be obtained. Then, by setting the compensation target, an ideal pressure drop compensation value (so-called pressure drop compensation value, actually, a brightness compensation value of the image display area, for solving the problem that the brightness of the image display area is uneven due to pressure drop, so that the ideal pressure drop compensation value can also be called pressure drop compensation value) of each area under the same gray level can be obtained.
It should be noted that, according to actual needs, the influence coefficients between different areas under the same gray scale of multiple groups can be obtained through the above steps, and each group of influence coefficients between different areas corresponds to one gray scale. The space between the different regions is not limited to the space between the central region and the adjacent eight regions, and may be space between any two regions.
Since increasing the emission luminance continues to increase the influence of IR Drop, it is necessary to reduce the luminance of each region as much as possible when compensating for the uniformity of the luminance of the display panel. Meanwhile, since the center region most reflects the quality of the display panel, it is necessary to keep the brightness of the center region as constant as possible in various scenes. Thus, in some embodiments, the compensation target may be set to: the brightness of each region should be equal to the brightness of the center region, and the ideal brightness of the center region is set to be the average value (e.g., 400 nit) of the actual brightness of each region of the display panel at 255 full white gray scale.
For example, at 255 full white gray scale, the brightness (nit) of each region of the display panel is as shown in fig. 5. Then, the ideal luminance of each area of the display panel is 400nit (i.e. the luminance of each area should be equal to the luminance of the central area), if the area is to reach the ideal luminance, the light-emitting luminance of the area can be changed to 400nit by adjusting the digital gray scale value of the area, but the light-emitting intensities of other areas are affected after the change, and the correlation between the areas results in that the compensation value needs to be determined through frequent iteration, which is complicated. Therefore, the following method can be adopted for compensation in the embodiment of the application:
The embodiment of the application assumes that a group of digital gray scale values exist, so that the actual luminous brightness of each region is 400nit, and the difference between the digital gray scale values and 255 gray scales at the moment is respectively marked as D 1 ~D 8 Referring to fig. 6, the difference between the digital gray scale value of the center area and the 255 gray scales is Dmid.
D 1 ~D 8 For to-be-evaluated (D) 1 ~D 8 After the determination, the above set of digital gray scale values can be determined, D when IR Drop and other influences are not present 1 ~D 8 Are all equal to 0. When the gray scale values of the respective regions are changed according to the difference values in fig. 6, the brightness uniformity of the display panel can be improved.
D 1 ~D 8 The specific solving process is as follows:
step 8, the brightness influence values L of the eight areas except the central area obtained in the step 4 are respectively on the central area at 255 gray scale 1 ~L 8 It can be known that the brightness influence value is related to the gray scale value of each region, and the influence is the largest at 255 gray scales and the influence is the smallest at 0 gray scales; and, according to step 6, obtaining the influence coefficient Coef of each region on the central region 1 ~Coef 8 It can be known that the influence coefficient of each region on the central region is related to the position of the region. Thus, an equation may be first established to represent the result of the common influence of the gray scale and the position factor of each region on the brightness of the central region, where the equation is as follows:
Diff=∑Coef n *Curve(255),n∈[1,8]
Curve (255) represents the luminance corresponding to the gray level 255, and Diff is the change value of the luminance of the central area due to the change of the screen display content, as described above.
Then, this equation represents: when 255 gray scales are displayed in full screen, the central area is brightThe degree change can be determined by the coefficient of influence Coef of the other eight regions n Multiplying the ideal brightness Curve (255) corresponding to the 255 gray scale, and summing the products corresponding to the eight areas respectively.
When the gray scale value of each region is not 255, the general equation is as follows:
Lmid=∑Coef n *Curve(255-Dn),n∈[1,8]
where Lmid is the target luminance for compensation, here set to 400nit, dn denotes the difference between the gray-scale value of each of the regions 1 to 8 and 255, that is, the center region luminance lmid=400 when the gray-scale value of each region changes by Dn. Specifically, D 1 The difference between the gray-scale value of region 1 and the gray-scale value of 255 is represented, and the gray-scale value of region 1 is represented as D 1 Variation, D 2 The difference between the gray-scale value of region 2 and the gray-scale value of 255 is represented, and the gray-scale value of region 2 is represented as D 2 Variation, … …, D 8 The difference between the gray-scale value of the region 8 and the 255 gray-scale value is represented, and the gray-scale value of the region 8 is represented as D 8 At this time, the center area luminance lmid=400.
Step 9, according to steps 1-6, performing the same operation on the other eight regions to obtain a set of influence coefficients of each region, wherein the influence coefficients of each set represent the influence relationship of the other eight regions on a certain region, and the influence coefficients can be expressed as Coef in ,i∈[1,9],n∈[1,8]And 8 equations in total can be established as a set of equations:
LL i =∑Coef in *Curve(255-Dn),n∈[1,8],i∈[1,9]
due to Coef in Can be obtained by measuring the brightness and calculating according to the step 6, wherein L i 400, the unknowns in the system of equations are Dn, n ε [1,8 ]]。
The equation set represents: finally, under the mutual influence of nine areas, the brightness of the central area of the display panel is equal to the average value of the brightness of each area of the display panel, and the mutual influence of the areas accords with the influence coefficient. Eight unknowns D in total 1 ~D 8 The value of Dn can be found by combining eight equations. That is, when the actual digital gray scale values are input to the nine regions, the brightness of each region of the display panel is 400nit.
So far, through the technical scheme of the simultaneous equations, the compensation value D of the digital gray scale value of each region under 255 gray scales of full-screen display can be obtained 1 ~D 8 The final display panel brightness tends to 400nit.
Step 10, the above steps are for the voltage drop compensation method of 255 full-white gray scale display panel, because the brightness and gray scale relationship curve has been obtained according to step 1, the compensation value D obtained according to step 9 1 ~D 8 In combination with the proportion relation that the brightness decreases along with the gray scale (as shown in fig. 3), the current picture is easy to be in any gray scale of 0-255, and the influence coefficients of all areas of the display panel are easy to be displayed. For example, assuming that the luminance at 128 gray scales is reduced to one-fourth of the luminance at 255 gray scales, the influence coefficient at 128 gray scales needs to be reduced by one-fourth on the basis of the influence coefficient calculated in step 9.
It can be seen that steps 1 to 9 are all pre-operation steps, and in practical application, step 10 may be based on the compensation value D of the digital gray-scale value of each region under 255 gray-scales obtained in advance 1 ~D 8 And the proportion relation that the brightness is reduced along with the gray level is obtained, and the influence coefficients of all areas of the display panel under the gray level of the current picture are obtained, so that compensation is carried out, the brightness of the current picture is more uniform, and the influence of pressure drop is avoided.
In addition, when the display characteristics of the display panel are different, other key gray scales can be manually selected, and the steps 1-8 are repeated, so that the more accurate ideal digital gray scale values applied to different gray scales can be obtained. The key gray scale is the necessary gray scale for describing the nonlinear variation of brightness and gray scale due to the characteristics of the display panel. For example, in the low gray, middle gray, and high gray areas, 32, 128, and 255 are selected as key gray values, respectively, and the change relation between brightness and gray is described, and the relation curve is shown in fig. 7.
And 11, interpolating any pixel point in the region according to the calculated ideal gray scale value of each region and the position of the pixel point to obtain the target gray scale value of the pixel point. And finally, outputting and displaying a target image based on the target gray scale value of each pixel point. One interpolation method is, for example:
the ideal gray scale value obtained in the above step is set as the ideal gray scale value of the center point of each region, as shown in fig. 8, in which the black dots represent the center points of each region. The gray-scale value of the edge position of each region is obtained based on the ideal gray-scale value of the center point, for example, the gray-scale value of the position shown by the triangular point in fig. 9, and the calculation methods are classified into, for example, the following two types:
in the first category, for a triangle point located in the middle of two black dots, for example, the gray scale value Tri at the position is obtained by averaging the gray scale values at the two adjacent black dots, and the formula is as follows:
Tri=(circle_1+circle_2)/2
wherein circle_1 and circle_2 respectively represent gray scale values at two black dots at two sides of the triangular point;
the second type is that, for a triangle point located at one side of a black dot, for example, the difference is obtained by taking the gray scale value at two black dots, where the formula is as follows:
Tri=circle_3-(circle_4-circle_3)
where circle_3 represents the gray level value at the black dot closest to the triangle point, and circle_4 represents the gray level value at the black dot farther from the triangle point (e.g., adjacent black dots in the lateral or longitudinal directions of the black dot closest to the triangle point).
The gray scale values at the four square points in fig. 10 can be found by using the same interpolation method as described above using the gray scale values of the triangular points in the same manner as described above.
Finally, the calculated gray-scale values at the above-mentioned positions are used to calculate the gray-scale values of the pixels in other areas of the display panel, for example, as shown in fig. 11, and for the pixel at the +position, it is necessary to interpolate the gray-scale values of the four nearest known pixels (the pixel at A, B, C, D shown in fig. 11), and then the calculation formula of the gray-scale value of the pixel at the +position is as follows:
Intensity=((A*(x-dx)+B*dx)*(y-dy)+(C*(x-dx)+D*dx)*y)/(x*y);
wherein A, B, C, D respectively represents the gray scale value of each point, dx represents the lateral distance between the target pixel point (+pixel point at position) and the pixel point A, dy represents the lateral distance between the target pixel point (+pixel point at position) and the pixel point A, x represents the lateral distance between the pixel point B and the pixel point A, and y represents the lateral distance between the pixel point A and the pixel point C.
Through the brightness compensation mode, the phenomenon of obvious demarcation between areas can be avoided, and gray scale values of all pixel points on the display panel are obtained.
And outputting the calculated ideal gray scale value of the pixel point to a display driving module to realize the compensation of the IR Drop of the display panel, thereby improving the brightness uniformity of the panel.
3. Pressure drop compensation scheme for color mixing mode:
the technical scheme provided by the embodiment of the application can be simultaneously suitable for IR Drop compensation of non-pure-color picture content. Taking solid color content as an example, although the display content changes the magnitude of the brightness influence value, the value is determined by the influence relationship between the regions and the region gray scale value. And the inter-region impact relationship is related only to hardware characteristics. Therefore, when the input is a mixed-color screen, the target brightness is different for each region, and the gray-scale change value cannot be calculated from the same target brightness. However, according to the change of each gray level value, the area influence relation calculated by the pure color mode scheme is combined to estimate the brightness change influence value of the area, so as to perform pressure drop compensation. Specific embodiments are for example:
step one, counting the average gray level value of pixels in each area of the current frame picture, and marking as A 1 ~A 9 And calculating the overall average gray level value A of the display panel T I.e. calculate A 1 ~A 9 Average value of (2).
Step two, according to the technical scheme of the simultaneous equations set in the pure color mode, the influence coefficient and A are utilized 1 ~A 9 、A T Calculating to obtain an in-gray-scale value A T Under the display effect that the lower display panel achieves ideal brightness distribution, ideal gray scale value and gray scale value A of each region T Gray scale difference D of (2) T [i],i∈[1,9]I.e. the compensation value of the gray level of each region is determined.
Step three, the group of gray level difference values D T [i],i∈[1,9]Representing full screen according to gray level value A T When displaying, each area reaches the compensation value of the ideal gray scale value. However, since the difference between the regions of the mixed-color screen may be large, it is necessary to correct the mixed-color screen by referring to the information of each region, and a compensation value D 'is obtained for each corrected region to reach the desired gray-scale value' T [i],i∈[1,9]. Specifically, according to the preset relation curve of gray level and brightness, respectively calculating the average gray level value A of pixels in each region of the current display image 1 ~A 9 (i.e., for each region, the average gray-scale value of the pixels of the region is determined, for example, the average pixel value of the R channel, the average pixel value of the G channel, and the average pixel value of the B channel of the region) of the desired luminance Curve (A) i ) And respectively calculating and gray-scale value A T Corresponding brightness Curve (A) T ) To obtain 9 ratios K T [i]=Curve(A i )/Curve(A T ),i∈[1,9]. For each region, the region corresponds to a ratio K T [i]The luminous brightness corresponding to the actual display gray scale of the area and the pure color mode display gray scale A are shown T In this case, the brightness of the region changes. Therefore, the compensation value D 'reaching the ideal gray level value after each area correction can be obtained under the actual brightness of the current display panel' T [i],i∈[1,9]The calculation method is as follows:
D′ T [i]=D T [i]*K T [i],i∈[1,9]
fourth, combining the gray-scale compensation value D 'required by each region to reach the ideal gray-scale value' T [i],i∈[1,9]And a gray level value A T The ideal gray scale value of each region can be calculated.
And fifthly, carrying out interpolation smoothing operation on the gray scale value of each pixel point in each region by utilizing the ideal gray scale value of each region in the same processing mode of the pure color mode so as to realize compensation of the picture IR Drop, thereby improving the brightness uniformity of the display panel, and being not described in detail.
It should be noted that, the step of determining the image mode may be an optional step, and if the image mode is not determined, it is also possible to directly use any one of the above schemes (the pure-color mode pressure drop compensation scheme or the mixed-mode pressure drop compensation scheme) to control the display effect of the target image, and to distinguish between different image modes and use different schemes to control the display effect of the target image, so that a better effect is achieved.
In summary, referring to fig. 12, the image display processing method provided by the embodiment of the present application generally includes the following processing flows:
s101, determining a reference image (such as the current frame image) for controlling the display effect of the target image, and a compensation value corresponding to at least one region obtained by dividing the image display region of the display panel, wherein the compensation value is a compensation value of a parameter for controlling the display effect of the target image (such as D 1 ~D 8 ) And, the compensation value is determined based on influence coefficients between different said regions, said influence coefficients comprising influence coefficients of luminance and/or chrominance of the image display.
It should be noted that, in the above embodiment, the influence coefficient of luminance is taken as an example for illustration, and the influence coefficient of chromaticity may also be used to implement the technical solution provided in the embodiment of the present application.
S102, based on the compensation value, determining a parameter (such as ideal gray scale value of each region) for controlling the display effect of the target image, and controlling the display effect of the target image by using the parameter.
In some embodiments, the method further comprises: determining a picture mode to which the reference image belongs;
when the picture mode to which the reference image belongs is a solid-color mode, the step of determining the compensation value includes: acquiring a gray-scale compensation value required by each region under a preset gray scale (such as 255 gray scales) to reach an ideal gray-scale value;
when the picture mode to which the reference image belongs is a color mixing mode, the step of determining the compensation value includes:
determining an average gray-scale value of pixels of each of the regions on the reference image (e.g., A as described above 1 ~A 9 ) And calculating the overall average gray-scale value of all the regions on the reference image (e.g. A as described above T );
Determining a gray-scale compensation value (e.g. D as described above) required for each region to reach an ideal gray-scale value based on the pixel average gray-scale value, the overall average gray-scale value, and the influence coefficient of each region by using a predetermined brightness-gray-scale variation relationship T [i],i∈[1,9]);
For each region, determining the brightness corresponding to the average gray level value of the pixels of the region (e.g. Curve (A) i ) And the brightness corresponding to the overall average gray-scale value (for example, curve (A) T ) And determining the ratio of these two brightnesses (e.g., K as described above) T [i]=Curve(A i )/Curve(A T ),i∈[1,9]) Using the ratio and the preliminarily determined gray-scale compensation value of the region, the gray-scale compensation value required for the region to reach the desired gray-scale value is finally determined (e.g., D 'as described above' T [i]=D T [i]*K T [i],i∈[1,9])。
In some embodiments, when the picture mode to which the reference image belongs is a color mixing mode, the determining, based on the compensation value, a parameter for controlling the target image display effect includes:
and determining the ideal gray level value of each region by utilizing the gray level compensation value required by the finally determined region to reach the ideal gray level value and the gray level value of the reference image. For example, for any region i, A is used T Minus D' T [i]The obtained value is the ideal gray scale value of the region.
In some embodiments, when the picture mode to which the reference image belongs is a solid color mode, the determining, based on the compensation value, a parameter for controlling the target image display effect includes:
acquiring a predetermined change relation between brightness and gray scale (for example, the corresponding relation between brightness and gray scale shown in fig. 3);
for each of the regions:
and determining a compensation value of the gray scale corresponding to the region under the gray scale to which the reference image belongs based on a predetermined compensation value of the gray scale corresponding to the region under the preset gray scale and the change relation, for example, if the 128 gray scale brightness is reduced to one fourth of the 255 gray scale brightness according to the change relation, the compensation value under the 128 gray scale is reduced to one fourth of the compensation value under the 255 gray scale for the same region.
And determining an ideal gray level value, for example 255-Dn, of the region based on the compensation value of the gray level corresponding to the region under the gray level to which the reference image belongs.
In some embodiments, when the picture mode to which the reference image belongs is a solid-color mode, the step of predetermining a gray-scale compensation value required for each of the regions under the preset gray-scale to reach the desired gray-scale value includes:
Determining a group of influence coefficients corresponding to each region respectively;
determining a gray-scale compensation value (e.g. D) required for each region to reach a desired gray-scale value under a preset gray-scale (e.g. 255 gray-scales) based on a set of influence coefficients corresponding to each region and a target brightness (e.g. Lmid) 1 ~D 8 );
Wherein determining a set of influence coefficients corresponding to each region respectively comprises:
each area obtained by dividing the display area of the display panel is used as a target area, and the following steps are sequentially executed:
the target area of the display panel is individually lighted up according to the preset gray scale, and the average brightness of the target area at this time is determined to be the target brightness (e.g. L as described above T );
Illuminating all regions of the display panel according to the preset gray scale, and determining the average brightness of each region at this time as the actual brightness of each region (e.g. L A1 ~L A9 );
Calculating the difference between the target brightness and the actual brightness of the target region (e.g. diff=l as described above T -L A1 Wherein L is A1 Representing the actual brightness of the central area), when the difference is greater than a preset threshold, the following steps are performed:
the target area is lit up according to the preset gray level, and for each other area except the target area, when the other area is individually lit up while keeping the lighting of the target area, the average brightness of the target area is calculated to obtain the average brightness of the target area corresponding to each other area (for example, the above-mentioned L 1 ~L 8 );
For each of the other regions, determining an average luminance of the target region corresponding to the other region, and a difference from the target luminance (e.g., diff as described above 1 ~Diff 8 );
For each of the other regions, calculating an influence coefficient of the other region on the luminance of the target region (for example, the above-mentioned one using the difference between the average luminance of the target region corresponding to each of the other regions and the target luminance);
The influence coefficient of each other region on the brightness of the target region (such as Coef 1 ~Coef 8 ) As a set of influence coefficients corresponding to the target region.
In some embodiments, determining the picture mode to which the reference picture belongs comprises:
dividing the reference image into a plurality of areas according to a preset rule, and counting the average pixel brightness of an R channel, the average pixel brightness of a G channel and the average pixel brightness of a B channel of each area respectively;
if the difference value of the average pixel brightness of the same channel of any two areas is smaller than a preset threshold value, determining that the picture mode to which the reference image belongs is a solid-color mode;
if the difference value of the average pixel brightness of the same channel of the two areas is larger than a preset threshold value, calculating the difference value of the average pixel brightness of the same channel of each two areas, accumulating all obtained difference values, and if the obtained accumulated sum value does not exceed the preset threshold value, determining that the picture mode to which the reference image belongs is a color mixing mode.
In some embodiments, the parameter comprises an ideal gray scale value for each of the regions;
and controlling the display effect of the target image by using the parameters, wherein the method comprises the following steps:
for each region, taking the ideal gray-scale value of the region as the target gray-scale value of the central pixel point of the region, and determining the target gray-scale value of each pixel point based on the target gray-scale value of each central pixel point of the region (such as the interpolation mode in the step 11);
and outputting and displaying the target image based on the target gray scale value of each pixel point.
The following describes a device or apparatus provided by an embodiment of the present application, where explanation or illustration of the same or corresponding technical features as those described in the above method is omitted.
Referring to fig. 13, an image display processing apparatus according to an embodiment of the present application includes:
the processor 600, configured to read the program in the memory 620, performs the following procedures:
determining a reference image for controlling a target image display effect, and a compensation value corresponding to at least one area obtained by dividing an image display area of a display panel, wherein the compensation value is a compensation value of a parameter for controlling the target image display effect, and the compensation value is determined based on influence coefficients among different areas, and the influence coefficients comprise influence coefficients of brightness and/or chromaticity of image display;
Based on the compensation value, a parameter for controlling the display effect of the target image is determined, and the display effect of the target image is controlled using the parameter.
In some embodiments, the processor 600 is further configured to read the program in the memory 620, and perform the following procedure:
determining a picture mode to which the reference image belongs;
when the picture mode to which the reference image belongs is a solid-color mode, the step of determining the compensation value includes: acquiring a gray level compensation value required by each area under a preset gray level to reach an ideal gray level value;
when the picture mode to which the reference image belongs is a color mixing mode, the step of determining the compensation value includes:
determining the pixel average gray-scale value of each region on the reference image, and calculating the integral average gray-scale value of all the regions on the reference image;
using a preset change relation between brightness and gray scale, and preliminarily determining a gray scale compensation value required by each region to reach an ideal gray scale value according to the pixel average gray scale value of each region, the overall average gray scale value and the influence coefficient;
and determining the brightness corresponding to the pixel average gray level value of each region and the brightness corresponding to the whole average gray level value by utilizing the preset change relation between the brightness and the gray level, determining the ratio of the two brightnesses, and finally determining the gray level compensation value required by the region to reach the ideal gray level value by utilizing the ratio and the preliminarily determined gray level compensation value of the region.
In some embodiments, when the picture mode to which the reference image belongs is a color mixing mode, the determining, based on the compensation value, a parameter for controlling the target image display effect includes:
and determining the ideal gray level value of each region by utilizing the gray level compensation value required by the finally determined region to reach the ideal gray level value and the gray level value of the reference image.
In some embodiments, when the picture mode to which the reference image belongs is a solid color mode, the determining, based on the compensation value, a parameter for controlling the target image display effect includes:
acquiring a predetermined change relation between brightness and gray scale;
and determining the compensation value of the gray scale corresponding to the region under the gray scale of the reference image based on the compensation value of the gray scale corresponding to the region under the preset gray scale and the change relation, and determining the ideal gray scale value of the region based on the compensation value of the gray scale corresponding to the region under the gray scale of the reference image.
In some embodiments, when the picture mode to which the reference image belongs is a solid-color mode, the step of predetermining a gray-scale compensation value required for each of the regions under the preset gray-scale to reach the desired gray-scale value includes:
Determining a group of influence coefficients corresponding to each region respectively;
determining a gray-scale compensation value required by each region under preset gray scale to reach an ideal gray-scale value based on a group of influence coefficients corresponding to each region and the target brightness;
wherein determining a set of influence coefficients corresponding to each region respectively comprises:
each area obtained by dividing the display area of the display panel is used as a target area, and the following steps are sequentially executed:
according to preset gray scale, independently lighting up a target area of the display panel, and determining the average brightness of the target area at the moment as target brightness;
according to the preset gray scale, all areas of the display panel are lightened, and the average brightness of each area at the moment is determined to be the actual brightness of each area;
calculating a difference value between the target brightness and the actual brightness of the target area, and executing the following steps when the difference value is larger than a preset threshold value:
according to the preset gray scale, the target area is lightened, and for each other area except the target area, when the other area is independently lightened under the condition that the target area is kept to be lightened, the average brightness of the target area is calculated, so that the average brightness of the target area corresponding to each other area is obtained;
For each other region, determining the average brightness of the target region corresponding to the other region and the difference value between the average brightness and the target brightness;
calculating the influence coefficient of each other region on the brightness of the target region by utilizing the difference value between the average brightness of the target region corresponding to each other region and the target brightness for each other region;
and taking the influence coefficients of the other areas on the brightness of the target area as a group of influence coefficients corresponding to the target area.
In some embodiments, determining the picture mode to which the reference picture belongs comprises:
dividing the reference image into a plurality of areas according to a preset rule, and counting the average pixel brightness of an R channel, the average pixel brightness of a G channel and the average pixel brightness of a B channel of each area respectively;
if the difference value of the average pixel brightness of the same channel of any two areas is smaller than a preset threshold value, determining that the picture mode to which the reference image belongs is a solid-color mode;
if the difference value of the average pixel brightness of the same channel of the two areas is larger than a preset threshold value, calculating the difference value of the average pixel brightness of the same channel of each two areas, accumulating all obtained difference values, and if the obtained accumulated sum value does not exceed the preset threshold value, determining that the picture mode to which the reference image belongs is a color mixing mode.
In some embodiments, the parameter comprises an ideal gray scale value for each of the regions;
and controlling the display effect of the target image by using the parameters, wherein the method comprises the following steps:
taking the ideal gray scale value of each region as the target gray scale value of the central pixel point of the region, and determining the target gray scale value of each pixel point based on the target gray scale value of each central pixel point of the region;
and outputting and displaying the target image based on the target gray scale value of each pixel point.
A transceiver 610 for receiving and transmitting data under the control of the processor 600.
Wherein in fig. 13, a bus architecture may comprise any number of interconnected buses and bridges, and in particular one or more processors represented by the processor 600 and various circuits of the memory represented by the memory 620, linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 610 may be a number of elements, i.e., including a transmitter and a receiver, providing a means for communicating with various other apparatus over transmission media, including wireless channels, wired channels, optical cables, etc. The user interface 630 may also be an interface capable of interfacing with an inscribed desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
In some embodiments, the processor 600 may be a CPU (Central processing Unit), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable Gate array) or CPLD (Complex Programmable Logic Device ), and the processor may also employ a multicore architecture.
The processor is operable to perform any of the methods provided by embodiments of the present application in accordance with the obtained executable instructions by invoking a computer program stored in a memory. The processor and the memory may also be physically separate.
It should be noted that, the above device provided in the embodiment of the present application can implement all the method steps implemented in the method embodiment and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as those in the method embodiment in this embodiment are omitted.
Referring to fig. 14, another image display processing apparatus provided in an embodiment of the present application includes:
a first unit 141, configured to determine a reference image for controlling a target image display effect, and a compensation value corresponding to at least one area obtained by dividing an image display area of a display panel, where the compensation value is a compensation value for controlling a parameter of the target image display effect, and the compensation value is determined based on an influence coefficient between different areas, where the influence coefficient includes an influence coefficient of brightness and/or chromaticity of image display;
A second unit 142 for determining a parameter for controlling the display effect of the target image based on the compensation value, and controlling the display effect of the target image using the parameter.
In some embodiments, the first unit 141 is further configured to: determining a picture mode to which the reference image belongs;
when the picture mode to which the reference image belongs is a solid-color mode, the step of determining the compensation value includes: acquiring a gray level compensation value required by each area under a preset gray level to reach an ideal gray level value;
when the picture mode to which the reference image belongs is a color mixing mode, the step of determining the compensation value includes:
determining the pixel average gray-scale value of each region on the reference image, and calculating the integral average gray-scale value of all the regions on the reference image;
using a preset change relation between brightness and gray scale, and preliminarily determining a gray scale compensation value required by each region to reach an ideal gray scale value according to the pixel average gray scale value of each region, the overall average gray scale value and the influence coefficient;
and determining the brightness corresponding to the pixel average gray level value of each region and the brightness corresponding to the whole average gray level value by utilizing the preset change relation between the brightness and the gray level, determining the ratio of the two brightnesses, and finally determining the gray level compensation value required by the region to reach the ideal gray level value by utilizing the ratio and the preliminarily determined gray level compensation value of the region.
In some embodiments, when the picture mode to which the reference image belongs is a color mixing mode, the determining, based on the compensation value, a parameter for controlling the target image display effect includes:
and determining the ideal gray level value of each region by utilizing the gray level compensation value required by the finally determined region to reach the ideal gray level value and the gray level value of the reference image.
In some embodiments, when the picture mode to which the reference image belongs is a solid color mode, the determining, based on the compensation value, a parameter for controlling the target image display effect includes:
acquiring a predetermined change relation between brightness and gray scale;
and determining the compensation value of the gray scale corresponding to the region under the gray scale of the reference image based on the compensation value of the gray scale corresponding to the region under the preset gray scale and the change relation, and determining the ideal gray scale value of the region based on the compensation value of the gray scale corresponding to the region under the gray scale of the reference image.
In some embodiments, when the picture mode to which the reference image belongs is a solid-color mode, the step of predetermining a gray-scale compensation value required for each of the regions under the preset gray-scale to reach the desired gray-scale value includes:
Determining a group of influence coefficients corresponding to each region respectively;
determining a gray-scale compensation value required by each region under preset gray scale to reach an ideal gray-scale value based on a group of influence coefficients corresponding to each region and the target brightness;
wherein determining a set of influence coefficients corresponding to each region respectively comprises:
each area obtained by dividing the display area of the display panel is used as a target area, and the following steps are sequentially executed:
according to preset gray scale, independently lighting up a target area of the display panel, and determining the average brightness of the target area at the moment as target brightness;
according to the preset gray scale, all areas of the display panel are lightened, and the average brightness of each area at the moment is determined to be the actual brightness of each area;
calculating a difference value between the target brightness and the actual brightness of the target area, and executing the following steps when the difference value is larger than a preset threshold value:
according to the preset gray scale, the target area is lightened, and for each other area except the target area, when the other area is independently lightened under the condition that the target area is kept to be lightened, the average brightness of the target area is calculated, so that the average brightness of the target area corresponding to each other area is obtained;
For each other region, determining the average brightness of the target region corresponding to the other region and the difference value between the average brightness and the target brightness;
calculating the influence coefficient of each other region on the brightness of the target region by utilizing the difference value between the average brightness of the target region corresponding to each other region and the target brightness for each other region;
and taking the influence coefficients of the other areas on the brightness of the target area as a group of influence coefficients corresponding to the target area.
In some embodiments, determining the picture mode to which the reference picture belongs comprises:
dividing the reference image into a plurality of areas according to a preset rule, and counting the average pixel brightness of an R channel, the average pixel brightness of a G channel and the average pixel brightness of a B channel of each area respectively;
if the difference value of the average pixel brightness of the same channel of any two areas is smaller than a preset threshold value, determining that the picture mode to which the reference image belongs is a solid-color mode;
if the difference value of the average pixel brightness of the same channel of the two areas is larger than a preset threshold value, calculating the difference value of the average pixel brightness of the same channel of each two areas, accumulating all obtained difference values, and if the obtained accumulated sum value does not exceed the preset threshold value, determining that the picture mode to which the reference image belongs is a color mixing mode.
In some embodiments, the parameter comprises an ideal gray scale value for each of the regions;
and controlling the display effect of the target image by using the parameters, wherein the method comprises the following steps:
taking the ideal gray scale value of each region as the target gray scale value of the central pixel point of the region, and determining the target gray scale value of each pixel point based on the target gray scale value of each central pixel point of the region;
and outputting and displaying the target image based on the target gray scale value of each pixel point.
The apparatus provided by the embodiment of the present application may be any electronic device, for example, any terminal device or network device related to image processing.
It should be noted that, in the embodiment of the present application, the division of the units is schematic, which is merely a logic function division, and other division manners may be implemented in actual practice. In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Embodiments of the present application provide a computing device, which may be specifically a desktop computer, a portable computer, a smart phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), and the like. The computing device may include a central processing unit (Center Processing Unit, CPU), memory, input/output devices, etc., the input devices may include a keyboard, mouse, touch screen, etc., and the output devices may include a display device, such as a liquid crystal display (Liquid Crystal Display, LCD), cathode Ray Tube (CRT), etc.
The memory may include Read Only Memory (ROM) and Random Access Memory (RAM) and provides the processor with program instructions and data stored in the memory. In the embodiment of the present application, the memory may be used to store a program of any of the methods provided in the embodiment of the present application.
The processor is configured to execute any of the methods provided by the embodiments of the present application according to the obtained program instructions by calling the program instructions stored in the memory.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method of any of the above embodiments. The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
An embodiment of the present application provides a computer readable storage medium storing computer program instructions for use in an apparatus provided in the embodiment of the present application, where the computer program instructions include a program for executing any one of the methods provided in the embodiment of the present application. The computer readable storage medium may be a non-transitory computer readable medium.
The computer-readable storage medium can be any available medium or data storage device that can be accessed by a computer, including, but not limited to, magnetic storage (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), and semiconductor storage (e.g., ROM, EPROM, EEPROM, nonvolatile storage (NAND FLASH), solid State Disk (SSD)), etc.
It should be understood that:
the access technology via which an entity in the communication network communicates traffic may be any suitable current or future technology, such as WLAN (wireless local access network), wiMAX (worldwide interoperability for microwave access), LTE-a, 5G, bluetooth, infrared, etc. may be used; in addition, embodiments may also apply wired technologies, e.g., IP-based access technologies, such as wired networks or fixed lines.
Embodiments suitable for implementation as software code or portions thereof and for execution using a processor or processing function are software code independent and may be specified using any known or future developed programming language, such as a high-level programming language, such as an objective-C, C, C ++, c#, java, python, javascript, other scripting languages, etc., or a low-level programming language, such as a machine language or assembler.
The implementation of the embodiments is hardware-independent and may be implemented using any known or future developed hardware technology or any hybrid thereof, such as microprocessors or CPUs (central processing units), MOS (metal oxide semiconductors), CMOS (complementary MOS), biMOS (bipolar MOS), biCMOS (bipolar CMOS), ECL (emitter coupled logic), and/or TTL (transistor-transistor logic).
Embodiments may be implemented as a single device, apparatus, unit, component, or function, or in a distributed fashion, e.g., one or more processors or processing functions may be used or shared in a process, or one or more processing segments or portions may be used and shared in a process where one physical processor or more than one physical processor may be used to implement one or more processing portions dedicated to a particular process as described.
The apparatus may be implemented by a semiconductor chip, a chipset, or a (hardware) module comprising such a chip or chipset.
Embodiments may also be implemented as any combination of hardware and software, such as an ASIC (application specific IC (integrated circuit)) component, an FPGA (field programmable gate array) or CPLD (complex programmable logic device) component, or a DSP (digital signal processor) component.
Embodiments may also be implemented as a computer program product comprising a computer usable medium having a computer readable program code embodied therein, the computer readable program code adapted to perform a process as described in the embodiments, wherein the computer usable medium may be a non-transitory medium.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (10)
1. An image display processing method, characterized in that the method comprises:
determining a reference image for controlling a target image display effect, and a compensation value corresponding to at least one area obtained by dividing an image display area of a display panel, wherein the compensation value is a compensation value of a parameter for controlling the target image display effect, and the compensation value is determined based on influence coefficients among different areas, and the influence coefficients comprise influence coefficients of brightness and/or chromaticity of image display;
Based on the compensation value, a parameter for controlling the display effect of the target image is determined, and the display effect of the target image is controlled using the parameter.
2. The method according to claim 1, wherein the method further comprises: determining a picture mode to which the reference image belongs;
when the picture mode to which the reference image belongs is a solid-color mode, the step of determining the compensation value includes: acquiring a gray level compensation value required by each area under a preset gray level to reach an ideal gray level value;
when the picture mode to which the reference image belongs is a color mixing mode, the step of determining the compensation value includes:
determining the pixel average gray-scale value of each region on the reference image, and calculating the integral average gray-scale value of all the regions on the reference image;
using a preset change relation between brightness and gray scale, and preliminarily determining a gray scale compensation value required by each region to reach an ideal gray scale value according to the pixel average gray scale value of each region, the overall average gray scale value and the influence coefficient;
and determining the brightness corresponding to the pixel average gray level value of each region and the brightness corresponding to the whole average gray level value by utilizing the preset change relation between the brightness and the gray level, determining the ratio of the two brightnesses, and finally determining the gray level compensation value required by the region to reach the ideal gray level value by utilizing the ratio and the preliminarily determined gray level compensation value of the region.
3. The method according to claim 2, wherein when the picture mode to which the reference image belongs is a color mixture mode, the determining a parameter for controlling the target image display effect based on the compensation value includes:
and determining the ideal gray level value of each region by utilizing the gray level compensation value required by the finally determined region to reach the ideal gray level value and the gray level value of the reference image.
4. The method according to claim 2, wherein when the picture mode to which the reference image belongs is a solid color mode, the determining a parameter for controlling the target image display effect based on the compensation value includes:
acquiring a predetermined change relation between brightness and gray scale;
and determining the compensation value of the gray scale corresponding to the region under the gray scale of the reference image based on the compensation value of the gray scale corresponding to the region under the preset gray scale and the change relation, and determining the ideal gray scale value of the region based on the compensation value of the gray scale corresponding to the region under the gray scale of the reference image.
5. The method according to claim 2, wherein the step of predetermining a gray-scale compensation value required for each of the regions at the preset gray-scale to reach an ideal gray-scale value when the picture mode to which the reference image belongs is a solid-color mode, comprises:
Determining a group of influence coefficients corresponding to each region respectively;
determining a gray-scale compensation value required by each region under preset gray scale to reach an ideal gray-scale value based on a group of influence coefficients corresponding to each region and the target brightness;
wherein determining a set of influence coefficients corresponding to each region respectively comprises:
each area obtained by dividing the display area of the display panel is used as a target area, and the following steps are sequentially executed:
according to preset gray scale, independently lighting up a target area of the display panel, and determining the average brightness of the target area at the moment as target brightness;
according to the preset gray scale, all areas of the display panel are lightened, and the average brightness of each area at the moment is determined to be the actual brightness of each area;
calculating a difference value between the target brightness and the actual brightness of the target area, and executing the following steps when the difference value is larger than a preset threshold value:
according to the preset gray scale, the target area is lightened, and for each other area except the target area, when the other area is independently lightened under the condition that the target area is kept to be lightened, the average brightness of the target area is calculated, so that the average brightness of the target area corresponding to each other area is obtained;
For each other region, determining the average brightness of the target region corresponding to the other region and the difference value between the average brightness and the target brightness;
calculating the influence coefficient of each other region on the brightness of the target region by utilizing the difference value between the average brightness of the target region corresponding to each other region and the target brightness for each other region;
and taking the influence coefficients of the other areas on the brightness of the target area as a group of influence coefficients corresponding to the target area.
6. The method of claim 2, wherein determining the picture mode to which the reference picture belongs comprises:
dividing the reference image into a plurality of areas according to a preset rule, and counting the average pixel brightness of an R channel, the average pixel brightness of a G channel and the average pixel brightness of a B channel of each area respectively;
if the difference value of the average pixel brightness of the same channel of any two areas is smaller than a preset threshold value, determining that the picture mode to which the reference image belongs is a solid-color mode;
if the difference value of the average pixel brightness of the same channel of the two areas is larger than a preset threshold value, calculating the difference value of the average pixel brightness of the same channel of each two areas, accumulating all obtained difference values, and if the obtained accumulated sum value does not exceed the preset threshold value, determining that the picture mode to which the reference image belongs is a color mixing mode.
7. The method of claim 1, wherein the parameter comprises an ideal gray scale value for each of the regions;
and controlling the display effect of the target image by using the parameters, wherein the method comprises the following steps:
taking the ideal gray scale value of each region as the target gray scale value of the central pixel point of the region, and determining the target gray scale value of each pixel point based on the target gray scale value of each central pixel point of the region;
and outputting and displaying the target image based on the target gray scale value of each pixel point.
8. An image display processing apparatus, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in said memory to perform the method of any of claims 1-7 in accordance with the obtained program.
9. A computer program product for a computer, characterized in that it comprises software code portions for performing the method according to any of claims 1 to 7 when the product is run on the computer.
10. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310620881.6A CN116860143A (en) | 2023-05-30 | 2023-05-30 | Image display processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310620881.6A CN116860143A (en) | 2023-05-30 | 2023-05-30 | Image display processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116860143A true CN116860143A (en) | 2023-10-10 |
Family
ID=88232945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310620881.6A Pending CN116860143A (en) | 2023-05-30 | 2023-05-30 | Image display processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116860143A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117316119A (en) * | 2023-11-08 | 2023-12-29 | 禹创半导体(深圳)有限公司 | Display compensation method and device for crosstalk mode and display equipment |
CN117711349A (en) * | 2024-02-05 | 2024-03-15 | 惠科股份有限公司 | Display device, display driving method thereof and storage medium |
-
2023
- 2023-05-30 CN CN202310620881.6A patent/CN116860143A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117316119A (en) * | 2023-11-08 | 2023-12-29 | 禹创半导体(深圳)有限公司 | Display compensation method and device for crosstalk mode and display equipment |
CN117711349A (en) * | 2024-02-05 | 2024-03-15 | 惠科股份有限公司 | Display device, display driving method thereof and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11200844B2 (en) | Method and apparatus for controlling brightness of display, and terminal device | |
WO2022001321A1 (en) | Gamma debugging method and gamma debugging device | |
US11900852B2 (en) | Method and device for obtaining display compensation information, and display compensation method and device | |
KR102644412B1 (en) | Compensation technology for display panels | |
KR102590142B1 (en) | Display device and its control method | |
CN112150972B (en) | Image compensation method and device and display device | |
CN116860143A (en) | Image display processing method and device | |
CN113228152B (en) | Device and method for controlling screen brightness | |
CN109872668B (en) | Image display total current prediction method, display device and storage medium | |
CN111754946B (en) | Image quality optimization method, display device and computer readable storage medium | |
CN110785803B (en) | Image display device | |
CN114981873A (en) | Gamma correction method and device, electronic device and readable storage medium | |
KR20180044575A (en) | Display apparatus and calibration method thereof | |
WO2022032919A1 (en) | Grayscale-adaptive correction data control method and apparatus, and led display screen | |
CN109637437B (en) | Image display control method, device, medium and display screen control system | |
KR20170041559A (en) | Display apparatus and the control method thereof | |
CN113920917A (en) | Display panel compensation method and compensation device | |
CN113724644B (en) | Method for compensating brightness and chroma of display device and related equipment | |
CN113611249B (en) | Method and system for reducing IR-drop influence of AMOLED panel | |
CN115019723A (en) | Screen display method, screen display device, electronic apparatus, program, and medium | |
US11138953B1 (en) | Method for performing dynamic peak brightness control in display module, and associated timing controller | |
CN117594025A (en) | Image brightness compensation method, display device and storage medium | |
CN114299858B (en) | Method for compensating brightness and chromaticity of display device and related equipment | |
CN117809561B (en) | White balance calibration method and device for LED display screen, electronic equipment and medium | |
CN119724095A (en) | Voltage compensation method and device for display panel, display device and display terminal |
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 |