CN116092420A - Low gray-scale picture correction method and device - Google Patents

Low gray-scale picture correction method and device Download PDF

Info

Publication number
CN116092420A
CN116092420A CN202211639298.1A CN202211639298A CN116092420A CN 116092420 A CN116092420 A CN 116092420A CN 202211639298 A CN202211639298 A CN 202211639298A CN 116092420 A CN116092420 A CN 116092420A
Authority
CN
China
Prior art keywords
gray level
gray
scale
mapping
brightness
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
Application number
CN202211639298.1A
Other languages
Chinese (zh)
Inventor
陈熠
徐玲
伊开勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Huaxing Photoelectric Technology Co Ltd
Original Assignee
TCL Huaxing Photoelectric Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Huaxing Photoelectric Technology Co Ltd filed Critical TCL Huaxing Photoelectric Technology Co Ltd
Priority to CN202211639298.1A priority Critical patent/CN116092420A/en
Publication of CN116092420A publication Critical patent/CN116092420A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0693Calibration of display systems

Abstract

The application provides a low gray-scale picture correction method and device. Firstly, obtaining a target low gray level corresponding to a picture to be corrected, and obtaining a preset high gray level and low mapping relation table so as to determine a reference high gray level corresponding to the target low gray level according to the mapping relation table; and finally correcting the target low gray level according to the reference high gray level. The method converts the original low gray level which is nonlinear with the brightness into the high gray level which is linear with the brightness; the brightness of the low gray level is corrected according to the brightness of the high gray level, so that the accuracy of the low gray level correction is effectively improved; and because a plurality of binding points do not need to be acquired, the efficiency of picture correction is also effectively improved.

Description

Low gray-scale picture correction method and device
Technical Field
The application relates to the technical field of display, in particular to a low gray-scale picture correction method and device.
Background
A light-emitting diode (LED) display screen consists of thousands of LED luminous tubes which are discretely distributed, and the LED display screen is discretely distributed with the brightness and chromaticity coordinates of primary color luminous tubes, so that uneven brightness and chromaticity, namely mura phenomenon, occur.
In the prior art, to improve brightness uniformity, a demura technique is used to correct brightness of the LED. When the process is stable, the RGB brightness values of the LED display screen are in a linear relation along with the change of gray scales, so that the correction coefficient of all gray scales can be calculated only by collecting RGB data of one gray scale when the LED performs demura. However, due to factors such as unstable process, the light emission of the low gray scale of the LED changes into nonlinearity, which results in low accuracy in determining the compensation value of the low gray scale by linear interpolation using a plurality of gray scale binding points.
Disclosure of Invention
The application aims to provide a low-gray-scale picture correction method and device, and aims to solve the problems of inaccurate correction and low efficiency of a low-gray-scale picture in the prior art.
In one aspect, the present application provides a low gray scale picture correction method, the method including:
obtaining a target low gray level corresponding to a picture to be corrected;
obtaining a target low gray level corresponding to a picture to be corrected;
obtaining a preset mapping relation table, wherein the mapping relation table comprises the target low gray level, a reference high gray level corresponding to the target low gray level and a gray level mapping parameter;
and correcting the picture to be corrected according to the mapping relation table.
In some of the possible embodiments of the present invention,
and correcting the picture to be corrected according to the mapping relation table, wherein the correcting comprises the following steps:
acquiring gray scale voltages corresponding to the reference high gray scale;
driving the pixels corresponding to the target low gray level to emit light by using the gray level voltage of the reference high gray level, and correcting the brightness of the pixels corresponding to the target low gray level according to the gray level mapping parameters;
the gray level mapping parameter is a duty ratio of a driving signal of a pixel corresponding to the target low gray level.
In some of the possible embodiments of the present invention,
and correcting the picture to be corrected according to the mapping relation table, wherein the correcting comprises the following steps:
determining target brightness of the target low gray scale according to the target low gray scale, the reference high gray scale and the gray scale mapping parameters in the mapping relation table;
and correcting the picture to be corrected according to the target brightness.
In some possible embodiments, the obtaining the target low gray level corresponding to the picture to be corrected includes:
acquiring an initial gray scale corresponding to the picture to be corrected;
judging whether the initial gray level is smaller than a preset gray level threshold value or not;
if the initial gray level is smaller than a preset gray level threshold, the initial gray level is the target low gray level. In some possible embodiments, any gray level in the preset first gray level range is used as the first gray level, and any gray level in the preset second gray level range is used as the second gray level; the linearity of the gray scale-brightness relationship in the second gray scale range is higher than that in the first gray scale range;
the preset mapping relation table is obtained by the following steps:
acquiring a first brightness compensation formula corresponding to a first gray scale and a second brightness compensation formula corresponding to a second gray scale;
obtaining a first corresponding relation among the first gray scale, the second gray scale and the gray scale mapping parameter according to the first brightness compensation formula and the second brightness compensation formula;
determining the mapping relation table according to the first corresponding relation; wherein a first gray level corresponds to the target low gray level and a second gray level corresponds to the reference high gray level.
In some of the possible embodiments of the present invention,
the obtaining a first correspondence between the first gray scale, the second gray scale and the gray scale mapping parameter according to the first brightness compensation formula and the second brightness compensation formula includes:
obtaining first brightness according to the first brightness compensation formula and obtaining second brightness according to the second brightness compensation formula;
the gray-scale mapping parameter is the quotient of the first brightness and the second brightness.
In some possible embodiments, the determining the mapping table according to the first correspondence includes:
according to the first corresponding relation, mapping each gray level in the first gray level range to a gray level in the second gray level range in sequence, wherein each gray level in the first gray level range and the gray level in the corresponding second gray level range correspond to one gray level mapping parameter;
and generating the mapping relation table according to the gray-scale mapping parameters.
In some possible embodiments, the gray scales in the second gray scale range corresponding to each gray scale in the first gray scale range are different from each other; or (b)
The gray scales in the second gray scale range corresponding to each gray scale in the first gray scale range are at least partially the same; or (b)
Each gray level in the first gray level range corresponds to the same gray level in the second gray level range.
In some possible embodiments, the method further comprises:
if the initial gray level is greater than or equal to the preset gray level threshold value, acquiring a binding point gray level and a binding point gray level compensation value in the second gray level range;
and linearly interpolating the initial gray level according to the binding point gray level and the binding point gray level compensation value to obtain a compensation value corresponding to the initial gray level, so as to correct the initial gray level by using the compensation value.
In another aspect, the present application provides a low-gray-scale picture correction device, including:
the first acquisition module is used for acquiring target low gray scale corresponding to the picture to be corrected;
the second acquisition module is used for acquiring a preset high gray level and low mapping relation table;
the gray level determining module is used for determining a reference high gray level corresponding to the target low gray level according to the mapping relation table;
and the correction module is used for correcting the picture to be corrected corresponding to the target low gray level according to the reference high gray level.
The application provides a low gray-scale picture correction method and device. Firstly, obtaining a target low gray level corresponding to a picture to be corrected, and obtaining a mapping relation table between a preset high gray level and a low mapping, so as to determine a reference high gray level corresponding to the target low gray level according to the mapping relation table; and finally correcting the target low gray level according to the reference high gray level. The method converts the original low gray level which is nonlinear with the brightness into the high gray level which is linear with the brightness; the brightness of the low gray level is corrected according to the brightness of the high gray level, so that the accuracy of the low gray level correction is effectively improved; and because a plurality of binding points do not need to be acquired, the efficiency of picture correction is also effectively improved.
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 introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a scene of a low gray-scale image correction system according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an embodiment of a low gray scale frame correction method according to the present disclosure;
FIG. 3 is a flowchart illustrating an embodiment of generating a mapping table according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an embodiment of determining a mapping relationship table according to a first correspondence provided in the embodiment of the present application;
FIG. 5 is a flowchart illustrating an embodiment of a frame correction according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of an embodiment of a low gray-scale frame correction device according to the present disclosure;
fig. 7 is a schematic structural diagram of an embodiment of an electronic device provided in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the description of the present application, it should be understood that the terms "center," "longitudinal," "transverse," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate an orientation or positional relationship based on that shown in the drawings, merely for convenience of description and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be configured and operated in a particular orientation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In this application, the term "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, details are set forth for purposes of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes have not been shown in detail to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
It should be noted that, because the method in the embodiment of the present application is executed in the electronic device, the processing objects of each electronic device exist in the form of data or information, for example, time, which is substantially time information, it can be understood that in the subsequent embodiment, if the size, the number, the position, etc. are all corresponding data, so that the electronic device processes the data, which is not described herein in detail.
The embodiment of the application provides a low gray-scale image correction method and device, which are respectively described in detail below.
Referring to fig. 1, fig. 1 is a schematic view of a low-gray-scale image correction system according to an embodiment of the present application, where the low-gray-scale image correction system may include an electronic device 100, and a low-gray-scale image correction device, such as the electronic device in fig. 1, is integrated in the electronic device 100.
In this embodiment of the present application, the electronic device 100 may be an independent server, or may be a server network or a server cluster formed by servers, for example, the electronic device 100 described in the embodiment of the present application includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud server formed by a plurality of servers. Wherein the Cloud server is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing).
It will be appreciated by those skilled in the art that the application environment shown in fig. 1 is merely an application scenario of the present application, and is not limited to the application scenario of the present application, and other application environments may further include more or fewer electronic devices than those shown in fig. 1, for example, only 1 electronic device is shown in fig. 1, and it will be appreciated that the low gray-scale screen correction system may further include one or more other servers, which is not limited herein.
In addition, as shown in fig. 1, the low gray-scale picture correction system may further include a storage unit 200 for storing data, for example, gray-scales.
It should be noted that, the schematic view of the scene of the low-gray-scale image correction system shown in fig. 1 is only an example, and the low-gray-scale image correction system and the scene described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application, and as one of ordinary skill in the art can know, along with the evolution of the low-gray-scale image correction system and the appearance of the new service scene, the technical solutions provided in the embodiments of the present application are applicable to similar technical problems.
First, in an embodiment of the present application, a low-gray-scale image correction method is provided, and an execution subject of the low-gray-scale image correction method is a low-gray-scale image correction device, where the low-gray-scale image correction device is applied to an electronic device, and the low-gray-scale image correction method includes: obtaining a target low gray level corresponding to a picture to be corrected; obtaining a preset mapping relation table, wherein the mapping relation table comprises a target low gray level, a reference high gray level corresponding to the target low gray level and a gray level mapping parameter; and correcting the picture to be corrected according to the mapping relation table.
Referring to fig. 2, fig. 2 is a flowchart illustrating an embodiment of a low gray scale frame correction method according to an embodiment of the present application. As shown in fig. 2, the low gray-scale screen correction method includes the following steps:
s21, obtaining a target low gray level corresponding to the picture to be corrected.
In an embodiment of the present application, obtaining a target low gray level corresponding to a picture to be corrected may include:
acquiring an initial gray scale corresponding to a picture to be corrected; judging whether the initial gray level is smaller than a preset gray level threshold value or not; if the initial gray level is smaller than the preset gray level threshold value, the initial gray level is the target low gray level.
Specifically, the low gray scale picture correction method provided by the application is mainly aimed at low gray scale, and high gray scale is not suitable for the correction method in the application. And judging whether the gray level is low or not, mainly judging whether the initial gray level is smaller than a preset gray level threshold value, and if the initial gray level is smaller than the preset gray level threshold value, confirming that the initial gray level is low. Meanwhile, the gray level threshold in the embodiment of the application can be adjusted according to actual requirements.
S22, acquiring a preset mapping relation table.
In the embodiment of the application, in the low gray scale picture, the low gray scale and the brightness are in a nonlinear relation; in the high gray scale frame, the low gray scale and the brightness are generally in a linear relationship. It is also understood that the gray-to-luminance relationship in the second gray scale range is more linear than the gray-to-luminance relationship in the first gray scale range. Therefore, in the embodiment of the present application, the brightness corresponding to the high-gray-scale frame is used to adjust the brightness corresponding to the low-gray-scale frame.
Firstly, a mapping relation table between preset high gray levels and low gray levels needs to be obtained, wherein the mapping relation table comprises each low gray level in a preset low gray level range and each high gray level in a corresponding high gray level range. Of course, in this map table, a plurality of low gray levels may correspond to one high gray level at the same time. This is because, in an actual screen, the difference in luminance data corresponding to two adjacent gray scales is not large.
S23, correcting the picture to be corrected according to the mapping relation table.
Because the mapping relation table comprises the target low gray scale corresponding to the picture to be corrected; and a reference high gray level and gray level mapping parameter corresponding to the target low gray level; therefore, according to the mapping relation table, the reference high gray level corresponding to the target low gray level can be determined in the mapping relation table, and then the target low gray level is corrected by using the reference high gray level.
The method comprises the steps of correcting a picture to be corrected according to a mapping relation table, and further comprises a plurality of methods; for example:
acquiring gray scale voltages corresponding to the reference high gray scale; and driving the pixels with the target low gray levels to emit light by using the gray level voltages with the reference high gray levels, and correcting the brightness of the pixels corresponding to the target low gray levels according to the gray level mapping parameters. The gray-scale mapping parameter is a duty ratio of a driving signal of a pixel corresponding to the target low gray scale.
Or determining the target brightness of the target low gray level according to the target low gray level, the reference high gray level and the gray level mapping parameters in the mapping relation table; and correcting the picture to be corrected according to the target brightness.
The embodiment of the application provides a low gray scale picture correction method. Firstly, obtaining a target low gray level corresponding to a picture to be corrected, and obtaining a preset high gray level and low mapping relation table so as to determine a reference high gray level corresponding to the target low gray level according to the mapping relation table; and finally correcting the target low gray level according to the reference high gray level. The method converts the original low gray level which is nonlinear with the brightness into the high gray level which is linear with the brightness; the brightness of the low gray level is corrected according to the brightness of the high gray level, so that the accuracy of the low gray level correction is effectively improved; and because a plurality of binding points do not need to be acquired, the efficiency of picture correction is also effectively improved.
And before the preset high gray level and low mapping relation table is obtained, the high gray level and low mapping relation table is generated according to the actual gray level. As shown in fig. 3, a flowchart of an embodiment of generating a mapping table according to the embodiment of the present application may include:
s31, a first brightness compensation formula corresponding to the first gray scale and a second brightness compensation formula corresponding to the second gray scale are obtained.
S32, obtaining a first corresponding relation among the first gray scale, the second gray scale and the gray scale mapping parameters according to the first brightness compensation formula and the second brightness compensation formula.
S33, determining a mapping relation table according to the first corresponding relation.
In the embodiment of the present application, the gray scale in the display panel frame corresponds to a low gray scale range and a high gray scale range, and the division of the high gray scale range and the low gray scale range may be performed by taking the above gray scale threshold as a boundary, dividing all gray scales greater than or equal to the gray scale threshold into the high gray scale range, and dividing all gray scales smaller than the gray scale threshold into the low gray scale range.
And meanwhile, taking any gray level in a preset low gray level range as a first gray level, and taking any gray level in a preset high gray level range as a second gray level. The second gray scale is mapped to the first gray scale to adjust the first gray scale by using the second gray scale.
In the embodiment of the present application, the second target gray level is mapped to the first gray level according to the preset gray level mapping parameter PWM. Of course, according to the different values of the actual gray level mapping parameters PWM, the determined second gray level and the mapped first gray level are also different. Meanwhile, in the embodiment of the present application, the mapping is not directly performed according to the gray level mapping parameter and the second gray level, but the brightness corresponding to the second gray level needs to be obtained; and mapping according to the brightness and the gray level mapping parameters corresponding to the second gray level.
After the first luminance compensation formula and the second luminance compensation formula are obtained, a first luminance L1 corresponding to the first gray scale can be further obtained according to the first luminance compensation formula, and a second luminance L2 corresponding to the second gray scale can be obtained according to the second luminance compensation formula. The first luminance L1 and the second luminance L2 satisfy the following relationship: l1=l2 PWM; PWM is the gray-scale mapping value, and PWM is the quotient of the first brightness and the second brightness.
In this embodiment, since the specific gray level value corresponding to the second target gray level is not determined, the value of the second gray level cannot be determined. The second gray level may be used as an X parameter in the equation, and a functional relation related to X may be obtained to determine a different value of the second gray level X.
In the embodiment of the present application, when gamma compensation is performed for different gray scales, the following brightness compensation formulas are satisfied:
Figure BDA0004005893170000081
wherein L is the brightness corresponding to gray scale 255 For brightness corresponding to 255 gray scale, L 0 Brightness corresponding to 0 gray scale; gray 1 The gray scale value to be compensated is obtained. Therefore, the first gray level corresponds to the first brightness compensation formula, and the second gray level corresponds to the second brightness compensation formula. The method comprises the following steps:
Figure BDA0004005893170000091
wherein Ln is a firstThe first brightness compensation formula corresponding to the gray scale, lm is the second brightness compensation formula corresponding to the second gray scale, gray m For the brightness corresponding to the second gray level, gray n The brightness corresponding to the first gray level.
According to the gray scale mapping parameter, the first brightness compensation formula and the second brightness compensation formula, a first corresponding relation between the gray scale mapping parameter and the first gray scale and between the gray scale mapping parameter and the second gray scale can be determined; and further, according to the first gray level mapping relation, a mapping relation table between the high gray level and the low mapping is determined.
Specifically, substituting the first luminance compensation formula and the second luminance compensation formula into l1=l2×pwm, the following can be obtained:
Figure BDA0004005893170000092
the common knowledge is a first mapping relationship among the gray-scale mapping parameter, the first gray-scale data and the second gray-scale data. Because the high gray level is mapped to the low gray level, the second gray level is expressed as m After the determination, the corresponding different first gray scales under different PWM values can be determined n The method comprises the steps of carrying out a first treatment on the surface of the Or can determine when different first gray levels gray n When the values are different, the gray scale mapping parameters PWM corresponding to the different first gray scales are respectively adopted. And further obtaining a mapping relation table of high gray level and low gray level.
According to the above formula, a certain second gray level may correspond to a plurality of first gray levels, but in actual display of a display panel, the larger the gray level is, the larger the brightness is; therefore, when the high gray level is mapped to the low gray level, the overall trend of the mapping is also the larger gray level value in the high gray level range, and the larger gray level value in the low gray level range is obtained after the mapping.
Therefore, in the embodiment of the present application, after the plurality of second gray scales obtained by using the first correspondence relationship and the corresponding plurality of first gray scales, the plurality of first gray scales are further required to be screened, and a unique first gray scale corresponding to the second data is determined, so as to generate a final mapping relationship table between the high gray scale and the low gray scale. In some embodiments of the present application, the determined high gray level map corresponds to only one low gray level, and corresponds to only one gray level map parameter.
As shown in fig. 4, in an embodiment of determining a mapping table according to the first correspondence provided in the embodiment of the present application, a flowchart of an embodiment may include:
s41, mapping each high gray level in a preset first gray level range to each low gray level in a preset second gray level range in sequence according to a first corresponding relation, and determining a plurality of first gray level mapping parameters corresponding to each mapped low gray level to obtain a plurality of first gray level mapping parameters.
Specifically, according to the first relationship, when the second target gray level is within the high gray level range m After the determination, it can be mapped to each low gray level in the low gray level range; correspondingly, the mapped low gray scale is different, and the corresponding mapping parameters are also different.
For example, 200 gray levels in the high gray level range may be mapped to each gray level in the low gray level range 0-128; the gray-scale mapping parameter corresponding to the 20 gray-scales mapped to the 200 gray-scales is different from the gray-scale mapping parameter corresponding to the 40 gray-scales mapped to the 200 gray-scales.
Therefore, in the embodiment of the present application, each of the high gray levels may be determined and mapped to the corresponding first gray level mapping parameter after each of the low gray levels in the low gray level range, so as to obtain a plurality of first gray level mapping parameters.
Each high gray level corresponds to a plurality of first gray level mapping parameters, and each different first gray level parameter represents mapping the same high gray level to different low gray levels. And because each high gray level needs to be mapped to each low gray level, each low gray level actually corresponds to a plurality of first gray level mapping parameters. Each of the different first gray-scale mapping parameters represents mapping the same low gray-scale to different high gray-scales. That is, the high gray level and the low gray level at this time are in a many-to-many relationship, one high gray level corresponds to a plurality of low gray levels, and one low gray level also corresponds to a plurality of high gray levels.
S42, correcting each low gray level according to the corresponding first gray level mapping parameters, and obtaining corrected third brightness corresponding to the low gray level to obtain a plurality of third brightness.
After determining a plurality of first gray-scale mapping parameters corresponding to each high gray-scale, determining a unique first gray-scale mapping parameter in the plurality of mapping parameters as a corresponding gray-scale mapping parameter when the high gray-scale is mapped to the low gray-scale; and meanwhile, the low gray level in the mapped low gray level range corresponding to the gray level mapping parameter can be determined.
Specifically, in the embodiment of the present application, the low gray scale is corrected by using a plurality of first gray scale mapping parameters, and third luminances corresponding to the corrected low gray scales are obtained, so as to obtain a plurality of third luminances.
For example, 200 gray scales are mapped to all low gray scales in the range of 0-128 gray scales, respectively, to obtain 129 first gray scale compensation parameters. And correcting the corresponding low gray scales in the 0-128 gray scales by using 129 first gray scale compensation parameters, and determining the respective corresponding third brightness of each low gray scale in the corrected 0-128 gray scales to obtain a plurality of third brightness.
S43, according to the plurality of third brightnesses, determining target gray scale mapping parameters and target third brightnesses corresponding to each low gray scale.
Specifically, according to the foregoing, each low gray level may actually be obtained by mapping a plurality of different high gray levels, so each low gray level corresponds to a plurality of different gray level mapping parameters; and the same low gray level can be corrected to different degrees by utilizing different gray level mapping parameters, so as to obtain a plurality of third brightnesses corresponding to the same low gray level.
Because the brightness of the plurality of third brightness is different, the same low gray scale is required to be driven by the plurality of third brightness respectively, so that the target third brightness with the best correction effect is determined according to the actual display effect of the picture, further, the target first gray scale mapping parameter corresponding to the target third brightness is determined, and the high gray scale corresponding to the target first gray scale mapping parameter can be determined.
In the above embodiment, there are actually cases where one high gray level corresponds to a plurality of third target luminances, that is, to a plurality of target gray level mapping parameters, at this time, the mapped third luminance of the low gray level may be compared with the third luminances of other surrounding low gray levels, and the unique third target luminance corresponding to the case where the large luminance difference does not occur in the screen may be selected.
S44, generating a high gray level and low gray level mapping relation table according to the low gray level, the high gray level and the first gray level mapping parameters of the target corresponding to the third brightness.
After determining the target third brightness corresponding to the low gray scale, the corresponding first gray scale parameter and the corresponding high gray scale before the low gray scale mapping are also determined. And further, a mapping relation table comprising high gray scale, low gray scale and corresponding target first gray scale mapping parameters can be generated. The mapping relation table mainly comprises different high gray scales, corresponding low gray scales after mapping and corresponding gray scale mapping parameters.
It should be noted that, in the process of determining the gray scale mapping table, the target low gray scale may be any gray scale within the first gray scale range; and the target low gray level may correspond to one or more high gray levels. Therefore, the gray scales in the second gray scale range corresponding to each gray scale in the first gray scale range can be identical to each other; or the gray scales in the second gray scale range corresponding to each gray scale in the first gray scale range are at least partially the same; or each gray level in the first gray level range corresponds to the same gray level in the second gray level range.
But from the real picture correction scene, according to the gray-scale mapping rule: higher gray levels in the high gray level range are typically mapped to higher gray levels in the low gray level range; consideration of reducing data storage; in the final gray-scale mapping table, one low gray-scale corresponds to only one high gray-scale and the corresponding gray-scale mapping parameter. Generally, the mapping relation table is determined in advance and stored on the display panel when the display panel is prepared.
In the embodiment of the present application, since the gray scale in the high gray scale range is linear with the brightness, the gray scale in the high gray scale range is mapped to the gray scale in the low gray scale range, and the low gray scale is not mapped to the high gray scale.
In the above embodiment, if the initial gray level is greater than the initial gray level threshold, that is, the initial gray level is a high gray level, the binding point gray level and the binding point gray level compensation value in the second gray level range are obtained; and meanwhile, linearly interpolating the initial gray level according to the binding point gray level and the binding point gray level compensation value so as to correct the initial gray level by using the compensation value.
Fig. 5 is a flowchart of an embodiment of picture correction according to an embodiment of the present application. In fig. 5, after obtaining the picture to be corrected, it is first required to determine whether the initial gray level corresponding to the picture to be corrected is a low gray level; if the gray level is low, the gray level mapping parameters provided by the embodiment of the application enable the brightness corresponding to the low gray level to be in a linear relation with the gray level, so as to obtain the mura compensation quantity. If the initial gray level is not the low gray level, the high gray level is directly interpolated linearly to obtain the mura compensation value.
The embodiment of the present application further provides a low gray scale image correction device, as shown in fig. 6, which is a schematic structural diagram of an embodiment of the low gray scale image correction device provided in the embodiment of the present application, and may include:
the first obtaining module 601 is configured to obtain a target low gray level corresponding to a picture to be corrected.
The second obtaining module 602 is configured to obtain a preset mapping relationship table, where the mapping relationship table includes the target low gray level, a reference high gray level corresponding to the target low gray level, and a gray level mapping parameter.
The correction module 603 is configured to correct the picture to be corrected according to the mapping relation table.
The embodiment of the application provides a low gray-scale picture correction device. Firstly, obtaining a target low gray level corresponding to a picture to be corrected, and obtaining a mapping relation table between a preset high gray level and a preset low gray level, so as to determine a reference high gray level corresponding to the target low gray level according to the mapping relation table; and finally correcting the target low gray level according to the reference high gray level. The method converts the original low gray level which is nonlinear with the brightness into the high gray level which is linear with the brightness; the brightness of the low gray level is corrected according to the brightness of the high gray level, so that the accuracy of the low gray level correction is effectively improved; and because a plurality of binding points do not need to be acquired, the efficiency of picture correction is also effectively improved.
In some embodiments, the first acquisition module 601 may specifically be configured to: acquiring an initial gray scale corresponding to a picture to be corrected; judging whether the initial gray level is smaller than a preset gray level threshold value or not; if the initial gray level is smaller than the preset gray level threshold value, the initial gray level is the target low gray level.
In some embodiments, any gray level in the preset first gray level range is used as the first target gray level, and any gray level in the preset second gray level range is used as the second target gray level. The second acquisition module 602 may specifically be configured to: acquiring a first brightness compensation formula corresponding to a first gray scale and a second brightness compensation formula corresponding to a second gray scale; obtaining a first corresponding relation among the first gray scale, the second gray scale and the gray scale mapping parameters according to the first brightness compensation formula and the second brightness compensation formula; and determining a mapping relation table according to the first corresponding relation. Wherein the first gray level corresponds to a target low gray level and the second gray level corresponds to a reference high gray level.
In some embodiments, the second acquisition module 602 may be specifically configured to: obtaining first brightness according to a first brightness compensation formula and obtaining second brightness according to a second brightness compensation formula; the gray-scale mapping parameter is the quotient of the first brightness and the second brightness.
In some embodiments, the second obtaining module 602 may be specifically configured to map each gray level in the first gray level range to a gray level in the second gray level range in sequence according to the first correspondence, where each gray level in the first gray level range corresponds to a gray level mapping parameter with a gray level in the corresponding second gray level range; and generating a mapping relation table according to the gray-scale mapping parameters.
In some embodiments, the correction module 603 may be specifically configured to: acquiring gray scale voltages corresponding to the reference high gray scale; driving the pixels corresponding to the target low gray level to emit light by using the gray level voltage of the reference high gray level, and correcting the brightness of the pixels corresponding to the target low gray level according to the gray level mapping parameters; the gray-scale mapping parameter is a duty ratio of a driving signal of a pixel corresponding to the target low gray scale.
In some embodiments, the correction module 603 may be specifically configured to: determining target brightness of the target low gray level according to the target low gray level, the reference high gray level and the gray level mapping parameters in the mapping relation table; and correcting the picture to be corrected according to the target brightness.
The low-gray-scale picture correction device further comprises a PWM control module, wherein the PWM control module is used for controlling PWM dimming according to the gray-scale mapping parameters, so that correction of the low-gray-scale picture is achieved.
The embodiment of the application also provides electronic equipment, which integrates any low-gray-scale picture correction device provided by the embodiment of the application. As shown in fig. 7, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown, specifically:
the electronic device may include one or more processing cores 'processors 701, one or more computer-readable storage media's memory 702, power supply 703, and input unit 704, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in the figures is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
Wherein:
the processor 701 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 702, and calling data stored in the memory 702, thereby performing overall monitoring of the electronic device. Optionally, processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701.
The memory 702 may be used to store software programs and modules, and the processor 701 executes various functional applications and data processing by executing the software programs and modules stored in the memory 702. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 702 may also include a memory controller to provide access to the memory 702 by the processor 701.
The electronic device further comprises a power supply 703 for powering the various components, preferably the power supply 703 is logically connected to the processor 701 by a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 703 may also include one or more of any component, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, etc.
The electronic device may further comprise an input unit 704, which input unit 704 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 701 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 701 executes the application programs stored in the memory 702, so as to implement various functions as follows:
obtaining a target low gray level corresponding to a picture to be corrected; obtaining a preset mapping relation table, wherein the mapping relation table comprises the target low gray level, a reference high gray level corresponding to the target low gray level and a gray level mapping parameter; and correcting the picture to be corrected according to the mapping relation table.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer readable storage medium, which may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like. The computer program is stored thereon and loaded by the processor to perform the steps of any of the low gray scale picture correction methods provided in the embodiments of the present application. For example, the loading of the computer program by the processor may perform the steps of:
obtaining a target low gray level corresponding to a picture to be corrected; obtaining a preset mapping relation table, wherein the mapping relation table comprises the target low gray level, a reference high gray level corresponding to the target low gray level and a gray level mapping parameter; and correcting the picture to be corrected according to the mapping relation table.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and the portions of one embodiment that are not described in detail in the foregoing embodiments may be referred to in the foregoing detailed description of other embodiments, which are not described herein again.
In the implementation, each unit or structure may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit or structure may be referred to the foregoing method embodiments and will not be repeated herein.
The foregoing describes in detail a method and apparatus for correcting a low gray level image provided by the embodiments of the present application, and specific examples are applied herein to illustrate the principles and embodiments of the present application, where the foregoing description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the contents of the present specification should not be construed as limiting the present application in summary.

Claims (10)

1. A method for correcting a low gray-scale picture, the method comprising:
obtaining a target low gray level corresponding to a picture to be corrected;
obtaining a preset mapping relation table, wherein the mapping relation table comprises the target low gray level, a reference high gray level corresponding to the target low gray level and a gray level mapping parameter;
and correcting the picture to be corrected according to the mapping relation table.
2. The method according to claim 1, wherein correcting the picture to be corrected according to the map table comprises:
acquiring gray scale voltages corresponding to the reference high gray scale;
driving the pixels corresponding to the target low gray level to emit light by using the gray level voltage of the reference high gray level, and correcting the brightness of the pixels corresponding to the target low gray level according to the gray level mapping parameters;
the gray level mapping parameter is a duty ratio of a driving signal of a pixel corresponding to the target low gray level.
3. The method according to claim 1, wherein correcting the picture to be corrected according to the map table comprises:
determining target brightness of the target low gray scale according to the target low gray scale, the reference high gray scale and the gray scale mapping parameters in the mapping relation table;
and correcting the picture to be corrected according to the target brightness.
4. The method for correcting a low gray scale picture according to claim 1, wherein said obtaining a target low gray scale corresponding to a picture to be corrected comprises:
acquiring an initial gray scale corresponding to the picture to be corrected;
judging whether the initial gray level is smaller than a preset gray level threshold value or not;
if the initial gray level is smaller than a preset gray level threshold, the initial gray level is the target low gray level.
5. The method according to claim 1, wherein any gray level in a preset first gray level range is used as a first gray level, any gray level in a preset second gray level range is used as a second gray level, and the linearity degree of the gray level-brightness relationship in the second gray level range is higher than that in the first gray level range;
the preset mapping relation table is obtained by the following steps:
acquiring a first brightness compensation formula corresponding to a first gray scale and a second brightness compensation formula corresponding to a second gray scale;
obtaining a first corresponding relation among the first gray scale, the second gray scale and the gray scale mapping parameter according to the first brightness compensation formula and the second brightness compensation formula;
determining the mapping relation table according to the first corresponding relation;
wherein a first gray level corresponds to the target low gray level and a second gray level corresponds to the reference high gray level.
6. The method according to claim 5, wherein obtaining a first correspondence between the first gray level, the second gray level, and the gray level mapping parameter according to the first luminance compensation formula and the second luminance compensation formula comprises:
obtaining first brightness according to the first brightness compensation formula and obtaining second brightness according to the second brightness compensation formula;
the gray-scale mapping parameter is the quotient of the first brightness and the second brightness.
7. The method of correcting a low gray-scale picture according to claim 6, wherein said determining the mapping table according to the first correspondence relation comprises:
according to the first corresponding relation, mapping each gray level in the first gray level range to a gray level in the second gray level range in sequence, wherein each gray level in the first gray level range and the gray level in the corresponding second gray level range correspond to one gray level mapping parameter;
and generating the mapping relation table according to the gray-scale mapping parameters.
8. The method for correcting a low gray scale picture according to claim 7,
the gray scales in the second gray scale range corresponding to each gray scale in the first gray scale range are different from each other; or (b)
The gray scales in the second gray scale range corresponding to each gray scale in the first gray scale range are at least partially the same; or (b)
Each gray level in the first gray level range corresponds to the same gray level in the second gray level range.
9. The low gray scale picture correction method according to claim 4, further comprising:
if the initial gray level is greater than or equal to the preset gray level threshold value, acquiring a binding point gray level and a binding point gray level compensation value in the second gray level range;
and linearly interpolating the initial gray level according to the binding point gray level and the binding point gray level compensation value to obtain a compensation value corresponding to the initial gray level, so as to correct the initial gray level by using the compensation value.
10. A low gray scale picture correction device, the device comprising:
the first acquisition module is used for acquiring target low gray scale corresponding to the picture to be corrected;
the second acquisition module is used for acquiring a preset mapping relation table, wherein the mapping relation table comprises the target low gray level, a reference high gray level corresponding to the target low gray level and a gray level mapping parameter;
and the correction module is used for correcting the picture to be corrected according to the gray-scale mapping table.
CN202211639298.1A 2022-12-19 2022-12-19 Low gray-scale picture correction method and device Pending CN116092420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211639298.1A CN116092420A (en) 2022-12-19 2022-12-19 Low gray-scale picture correction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211639298.1A CN116092420A (en) 2022-12-19 2022-12-19 Low gray-scale picture correction method and device

Publications (1)

Publication Number Publication Date
CN116092420A true CN116092420A (en) 2023-05-09

Family

ID=86205531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211639298.1A Pending CN116092420A (en) 2022-12-19 2022-12-19 Low gray-scale picture correction method and device

Country Status (1)

Country Link
CN (1) CN116092420A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050115044A (en) * 2004-06-03 2005-12-07 삼성에스디아이 주식회사 Liquid crystal display device and gamma correction method thereof
TW201322241A (en) * 2011-11-25 2013-06-01 Jae-Yeol Park Calibration system of display device using transfer functions and calibration method thereof
CN105788566A (en) * 2016-05-06 2016-07-20 南京巨鲨显示科技有限公司 Gray-scale brightness curve correction system and method
CN107635122A (en) * 2017-09-30 2018-01-26 上海顺久电子科技有限公司 The method and device handled the image remapped in device screen colour gamut
CN109285498A (en) * 2018-12-04 2019-01-29 武汉天马微电子有限公司 A kind of display processing method, display processing unit and its display device
CN109389945A (en) * 2017-08-11 2019-02-26 伊格尼斯创新公司 The system and method for optical correction for display device
CN111599312A (en) * 2020-05-29 2020-08-28 合肥维信诺科技有限公司 Light emitting control method, application processor AP, driving chip and display device
CN113674712A (en) * 2021-08-11 2021-11-19 Tcl华星光电技术有限公司 Display screen backlight correction method, device and system, storage medium and display system
CN114333724A (en) * 2021-12-28 2022-04-12 北京德为智慧科技有限公司 Display brightness and color correction method and device, electronic equipment and storage medium
CN114495803A (en) * 2022-03-31 2022-05-13 武汉精立电子技术有限公司 Mura repairing method of display panel
CN114724513A (en) * 2022-03-31 2022-07-08 昇显微电子(苏州)有限公司 AMOLED dimming brightness correction method and device
CN115223480A (en) * 2022-07-21 2022-10-21 深圳市华星光电半导体显示技术有限公司 Method and device for establishing brightness correction database of display panel

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050115044A (en) * 2004-06-03 2005-12-07 삼성에스디아이 주식회사 Liquid crystal display device and gamma correction method thereof
TW201322241A (en) * 2011-11-25 2013-06-01 Jae-Yeol Park Calibration system of display device using transfer functions and calibration method thereof
CN105788566A (en) * 2016-05-06 2016-07-20 南京巨鲨显示科技有限公司 Gray-scale brightness curve correction system and method
WO2017190385A1 (en) * 2016-05-06 2017-11-09 南京巨鲨显示科技有限公司 Correction system and method for grey-scale brightness curve
CN109389945A (en) * 2017-08-11 2019-02-26 伊格尼斯创新公司 The system and method for optical correction for display device
CN107635122A (en) * 2017-09-30 2018-01-26 上海顺久电子科技有限公司 The method and device handled the image remapped in device screen colour gamut
CN109285498A (en) * 2018-12-04 2019-01-29 武汉天马微电子有限公司 A kind of display processing method, display processing unit and its display device
CN111599312A (en) * 2020-05-29 2020-08-28 合肥维信诺科技有限公司 Light emitting control method, application processor AP, driving chip and display device
CN113674712A (en) * 2021-08-11 2021-11-19 Tcl华星光电技术有限公司 Display screen backlight correction method, device and system, storage medium and display system
CN114333724A (en) * 2021-12-28 2022-04-12 北京德为智慧科技有限公司 Display brightness and color correction method and device, electronic equipment and storage medium
CN114495803A (en) * 2022-03-31 2022-05-13 武汉精立电子技术有限公司 Mura repairing method of display panel
CN114724513A (en) * 2022-03-31 2022-07-08 昇显微电子(苏州)有限公司 AMOLED dimming brightness correction method and device
CN115223480A (en) * 2022-07-21 2022-10-21 深圳市华星光电半导体显示技术有限公司 Method and device for establishing brightness correction database of display panel

Similar Documents

Publication Publication Date Title
US10878762B2 (en) Luminance compensating method, luminance compensating device, display device and storage medium
CN111968570B (en) Display compensation information acquisition method, display compensation method and device
EP3770899A1 (en) Screen brightness control method and device, and terminal device
CN104851387B (en) Display device and driving method thereof
TWI428898B (en) Backlight control circuit and method thereof
CN109036333B (en) Display parameter correction method and device of display, terminal equipment and storage medium
CN111754946B (en) Image quality optimization method, display device and computer readable storage medium
JP2015031874A (en) Display device, control method of display device, and program
CN110992898A (en) Multi-partition backlight control method and equipment
CN110428783A (en) A kind of method and device that image is shown
CN113674712B (en) Display screen backlight correction method, device and system, storage medium and display system
CN113506537A (en) Color cast correction method, color cast correction device and system of OLED display
CN116168652A (en) Image display method, device, electronic equipment and computer readable storage medium
US20190114963A1 (en) Color variance gamma correction
CN109658864B (en) Display panel display processing method and display processing device
CN116453470B (en) Image display method, device, electronic equipment and computer readable storage medium
CN116092420A (en) Low gray-scale picture correction method and device
WO2023202173A1 (en) Brightness adjustment method and apparatus, and computer device and computer-readable storage medium
CN111402817A (en) White point coordinate compensation method and device, computer equipment and storage medium
CN114783338A (en) Display driving method, display driving apparatus, display apparatus, and computer-readable storage medium
CN113990232B (en) Display panel picture adjustment method and device, server and storage medium
JP2018116256A (en) Display device and display method
CN111402796B (en) Image processing method and image processing system
CN114495847B (en) Backlight brightness control method and device, server and storage medium
CN114999416B (en) Display panel picture optimization method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination