Gamma adjustment method, device, equipment and readable storage medium for display panel
By adjusting the grayscale and brightness mean between different display areas of the display panel, the problem of poor display consistency between the main and secondary screen areas is solved, and higher display consistency and overall display effect are achieved.
Patent Information
- Application Number
- CN202310064951.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-13
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2043-01-13
AI Technical Summary
Due to the different materials and driving methods of the main screen area and the sub-screen area, the gamma register values of the main screen area and the sub-screen area are debugged separately, and there is a problem of poor display consistency.
By comparing the grayscale mean and the brightness mean between the first display area and the second display area, the gamma register value is adjusted to ensure that the preset conditions are met between the two, thereby improving display consistency.
Improve the display consistency between the main screen area and the secondary screen area, and improve the overall display effect of the display panel.
Smart Images

Figure CN116364000B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a gamma adjustment method, device, equipment and readable storage medium for a display panel. Background Art
[0002] With the development of under-screen camera display technology (UDC), the area of the camera area (i.e., the secondary screen area) is getting smaller and smaller.
[0003] Due to factors such as the materials and driving methods used in the main and secondary screen areas, the luminous properties of the main screen area (other than the secondary screen area) and the secondary screen area are different. Therefore, the gamma register values of the main and secondary screen areas are debugged separately. In related technologies, due to the limitations of the gamma adjustment method for the secondary screen area, there is a problem of poor display consistency between the main and secondary screen areas. Summary of the Invention
[0004] Embodiments of the present application provide a method, apparatus, device, and readable storage medium for adjusting the gamma of a display panel, which are beneficial for improving the display consistency between a first display area and a second display area.
[0005] An embodiment of the present application provides a gamma adjustment method for a display panel, wherein the display panel has a first display area and a second display area, the transmittance of the second display area is greater than the transmittance of the first display area, and the display panel includes sub-pixels of multiple colors;
[0006] Methods include:
[0007] Based on the initial gamma register value, controlling the sub-pixels in the first display area and the second display area to display a target image corresponding to the target grayscale;
[0008] Acquire a target image of a target screen, where the target image includes at least a portion of the first display area and at least a portion of the second display area;
[0009] For a sub-pixel of any color, determining a first grayscale average value of the first display area and a second grayscale average value of the second display area according to the grayscale values of multiple sub-pixels in the target image;
[0010] If the first grayscale average value and the second grayscale average value do not satisfy a first preset condition, adjusting the initial gamma register value to obtain a first gamma register value, and using the first gamma register value as a target gamma register value of the second display area at the target grayscale;
[0011] When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the first gamma register value, the first grayscale average value and the second grayscale average value satisfy a first preset condition.
[0012] In some optional embodiments, the first preset condition includes: an absolute value of a first difference between the first grayscale mean and the second grayscale mean is within a first preset range, or a first ratio of the first grayscale mean to the second grayscale mean is within a second preset range;
[0013] Preferably, the first difference is 0 and the first ratio is 1.
[0014] In some optional implementations, the grayscale value of the target image is less than or equal to a first grayscale threshold;
[0015] Preferably, the first grayscale threshold is 220;
[0016] Preferably, the grayscale value of the target image is greater than or equal to the second grayscale threshold;
[0017] Preferably, the second grayscale threshold is 180.
[0018] In some optional implementations, if the first grayscale average value and the second grayscale average value do not satisfy the first preset condition, after adjusting the initial gamma register value to obtain the first gamma register value, and before using the first gamma register value as the target gamma register value of the second display area at the target grayscale, the method further includes:
[0019] For sub-pixels of any color, collecting brightness values of multiple sub-pixels in a first display area and brightness values of multiple sub-pixels in a second display area, and determining a first average brightness value of the first display area and a second average brightness value of the second display area;
[0020] If the first brightness average value and the second brightness average value do not satisfy a second preset condition, adjusting the first gamma register value to obtain a second gamma register value;
[0021] Using the first gamma register value as a target gamma register value of the second display area at a target grayscale includes:
[0022] using the second gamma register value as a target gamma register value of the second display area at the target grayscale;
[0023] When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the second gamma register value, the corresponding first average brightness value and second average brightness value satisfy a second preset condition.
[0024] In some optional embodiments, the second preset condition includes that an absolute value of a second difference between the first average brightness value and the second average brightness value is within a third preset range, or that a second ratio of the first average brightness value to the second average brightness value is within a fourth preset range;
[0025] Preferably, the second difference is 0 and the second ratio is 1.
[0026] In some optional implementations, acquiring a target image of a target screen includes:
[0027] Acquire a target image of a target screen by a first acquisition device;
[0028] Acquiring brightness values of a plurality of sub-pixels in the first display area and brightness values of a plurality of sub-pixels in the second display area, comprising:
[0029] Acquire brightness values of a plurality of sub-pixels in the first display area and brightness values of a plurality of sub-pixels in the second display area by a second acquisition device;
[0030] The resolution of the first acquisition device is less than or equal to the resolution of the second acquisition device.
[0031] In some optional embodiments, when the first display area displays the target image based on the initial gamma register value, the display parameters of the first display area meet the target display parameters;
[0032] Preferably, for sub-pixels of any color, after determining a first grayscale average value of the first display area and a second grayscale average value of the second display area according to the grayscale values of multiple sub-pixels in the target image, the method further includes:
[0033] If the first grayscale average value and the second grayscale average value satisfy a first preset condition, the initial gamma register value is used as the target gamma register value of the second display area at the target grayscale.
[0034] In a second aspect, an embodiment of the present application further provides a gamma adjustment device for a display panel, wherein the display panel has a first display area and a second display area, the transmittance of the second display area is greater than the transmittance of the first display area, and the display panel includes sub-pixels of multiple colors.
[0035] Device, comprising:
[0036] A control module, configured to control the sub-pixels in the first display area and the second display area to display a target image corresponding to a target grayscale based on an initial gamma register value;
[0037] An acquisition module, configured to acquire a target image of a target screen, where the target image includes at least a portion of the first display area and at least a portion of the second display area;
[0038] A first determination module is configured to determine, for a sub-pixel of any color, a first grayscale average value of a first display area and a second grayscale average value of a second display area according to grayscale values of a plurality of sub-pixels in a target image;
[0039] a first adjustment module, configured to adjust the initial gamma register value to obtain a first gamma register value if the first grayscale mean value and the second grayscale mean value do not satisfy a first preset condition, and use the first gamma register value as a target gamma register value of the second display area at the target grayscale;
[0040] When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the first gamma register value, the first grayscale average value and the second grayscale average value satisfy a first preset condition.
[0041] In a third aspect, an embodiment of the present application further provides a gamma adjustment device for a display panel, the gamma adjustment device comprising:
[0042] a processor and a memory storing computer program instructions;
[0043] When the processor executes the computer program instructions, the gamma adjustment method for the display panel according to any one of the first aspects is implemented.
[0044] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the gamma adjustment method for a display panel as described in any one of the first aspects is implemented.
[0045] According to a gamma adjustment method, device, equipment and readable storage medium for a display panel provided in an embodiment of the present application, since the embodiment of the present application compares the first grayscale average value of the first display area with the second grayscale average value of the second display area, and the grayscale value corresponds to the brightness, it is equivalent to using the contrast between the first display area and the second display area as the target of gamma adjustment. Compared with the related art in which gamma debugging is performed by using the brightness and color coordinates corresponding to the first display area and the second display area respectively, the embodiment of the present application is conducive to improving the display consistency of the first display area and the second display area, thereby improving the overall display effect of the display panel. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features and the accompanying drawings are not drawn to scale.
[0047] Figure 1 A schematic diagram showing a flow chart of a gamma adjustment method for a display panel provided in an embodiment of the present application;
[0048] Figure 2 Another schematic diagram showing a flow chart of a method for adjusting the gamma of a display panel provided in an embodiment of the present application;
[0049] Figure 3 A schematic structural diagram of a gamma adjustment device for a display panel provided in an embodiment of the present application is shown;
[0050] Figure 4 Another structural schematic diagram of the gamma adjustment device for a display panel provided in an embodiment of the present application is shown;
[0051] Figure 5 A schematic structural diagram of a gamma adjustment device for a display panel provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0052] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present application by illustrating the examples of the present application.
[0053] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article, or device comprising the elements.
[0054] It will be apparent to those skilled in the art that various modifications and variations can be made in this application without departing from the spirit or scope of this application. Therefore, this application is intended to cover modifications and variations of this application that fall within the scope of the corresponding claims (technical solutions claimed for protection) and their equivalents. It should be noted that the embodiments provided in the examples of this application can be combined with each other without contradiction.
[0055] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0056] In related art, the gamma adjustment method for the main and secondary screen areas involves using two color analyzers to collect brightness data for the main and secondary screen areas, respectively. The relationship between the input voltage and display brightness for the main and secondary screen areas is then adjusted until the main and secondary screen areas meet their respective target brightness and color coordinates. The inventors have discovered that with this method, due to the mechanical differences between the two color analyzers and the error caused by the color analyzer probes being larger than the UDC secondary screen area, the consistency between the main and secondary screen areas cannot be further improved.
[0057] Alternatively, the gamma adjustment method for the primary and secondary screen areas is as follows: the primary and secondary screen areas are aligned using the same color analyzer, which is moved back and forth by a fixture to collect brightness data. The relationship between the input voltage and display brightness of the primary and secondary screen areas is then adjusted separately until the primary and secondary screen areas meet their respective target brightness and color coordinates. The inventors have discovered that, with this method, due to alignment errors caused by the back and forth movement of the fixture and errors caused by the color analyzer's probe aperture being larger than the area of the UDC secondary screen area, the consistency between the primary and secondary screen areas cannot be further improved.
[0058] To solve the above problems, embodiments of the present application provide a method, apparatus, device, and readable storage medium for adjusting the gamma of a display panel. The method for adjusting the gamma of a display panel will be described below with reference to the accompanying drawings.
[0059] Figure 1 A schematic flow chart of a method for adjusting the gamma of a display panel provided in an embodiment of the present application is shown.
[0060] The display panel may have a first display area and a second display area, the transmittance of the second display area may be greater than the transmittance of the first display area, and the display panel may include sub-pixels of multiple colors. Figure 1 As shown, the method may include steps S101 to S104.
[0061] S101 : Based on an initial gamma register value, controlling sub-pixels in a first display area and a second display area to display a target picture corresponding to a target grayscale.
[0062] S102: Acquire a target image of a target screen, where the target image includes at least a portion of the first display area and at least a portion of the second display area.
[0063] S103 . For sub-pixels of any color, determine a first grayscale average value of the first display area and a second grayscale average value of the second display area according to grayscale values of multiple sub-pixels in the target image.
[0064] S104. If the first grayscale mean and the second grayscale mean do not satisfy a first preset condition, adjust the initial gamma register value to obtain a first gamma register value, and use the first gamma register value as a target gamma register value of the second display area at the target grayscale, wherein when the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the first gamma register value, the corresponding first grayscale mean and second grayscale mean satisfy the first preset condition.
[0065] According to a gamma adjustment method for a display panel provided in an embodiment of the present application, since the embodiment of the present application compares the first grayscale average value of the first display area with the second grayscale average value of the second display area, and the grayscale value corresponds to the brightness, it is equivalent to using the contrast between the first display area and the second display area as the target of gamma adjustment. Compared with the related art in which gamma debugging is performed by using the brightness and color coordinates corresponding to the first display area and the second display area respectively, the embodiment of the present application is conducive to improving the display consistency of the first display area and the second display area, thereby improving the overall display effect of the display panel.
[0066] The display panel may be an organic light emitting diode (OLED) display panel or a liquid crystal display (LCD) panel, which is not limited here.
[0067] For example, the first display area can be understood as the main screen area, and the second display area can be understood as the secondary screen area. Optical components such as cameras can be arranged corresponding to the second display area.
[0068] The display panel may include sub-pixels of multiple colors, such as red sub-pixels (R), green sub-pixels (G), blue sub-pixels (B), and the like.
[0069] The specific implementation methods of the above steps are introduced below.
[0070] In S101 , based on an initial gamma register value, sub-pixels in a first display area and sub-pixels in a second display area are controlled to display a target image corresponding to a target grayscale.
[0071] The target image can be a white image or a monochrome image. If the target image is a monochrome image, the gamma values of the red sub-pixel, the green sub-pixel, and the blue sub-pixel corresponding to the monochrome image need to be determined respectively.
[0072] The initial gamma register value may be a driving voltage value corresponding to each sub-pixel in the first display area.
[0073] The target grayscale can be any grayscale within the grayscale range of the display panel and can be set according to actual conditions, for example, the target grayscale can be 255 grayscale, 200 grayscale, 150 grayscale, etc.
[0074] Exemplarily, multiple grayscales can be selected within the grayscale range of the display panel as multiple grayscale binding points, and the target grayscale can be any one of the multiple grayscale binding points. The target gamma register value corresponding to the grayscale outside the grayscale binding point can be determined based on the target gamma register value corresponding to the grayscale binding point and based on a linear difference method. Optionally, before controlling the sub-pixels of the first display area and the second display area to display the target screen corresponding to the grayscale of the panel based on the initial gamma register value, the method may further include: performing gamma debugging on the first display area so that the brightness value and color scale value of each sub-pixel at the target grayscale meet the target value, thereby obtaining the initial gamma register value.
[0075] Taking the target grayscale of 180 grayscale as an example, the third gamma register value corresponding to the sub-pixels of various colors at 180 grayscale can be set. The brightness value and color coordinate value of the sub-pixel of any color in the first display area can be measured using an optical measurement device, such as a color analyzer, and the measured brightness value and color coordinate value are compared with the target brightness value and target color coordinate value respectively. If the measured brightness value and color coordinate value are equal to the target brightness value and target color standard brightness respectively, the set third gamma register value is used as the initial gamma register value; if the measured brightness value and color coordinate value are not equal to the target brightness value and target color standard brightness respectively, the third gamma register value is adjusted until the measured brightness value and color coordinate value are equal to the target brightness value and target color coordinate value respectively under the adjusted third gamma register value, and the adjusted third gamma register value is used as the initial gamma register value.
[0076] In some optional implementations, when the first display area displays the target image based on the initial gamma register value, the display parameters of the first display area meet the target display parameters.
[0077] In this embodiment, when the first display area displays the panel image based on the initial gamma register, the display parameters of the first display area meet the target display parameters, which can ensure that the display instructions of the first display area meet the requirements, thereby improving the display effect of the first display area.
[0078] Display parameters may include pixel pitch, resolution, scanning frequency, refresh rate, power consumption and electromagnetic radiation, etc.; correspondingly, target display parameters may include target pixel pitch, target resolution, target scanning frequency, target refresh rate, target power consumption and target electromagnetic radiation, etc.
[0079] In S102, after controlling the target picture corresponding to the grayscale of the sub-pixel display panel of the first display area and the second display area based on the initial gamma register value, a target image of the target picture is obtained, and the target image may include at least a portion of the first display area and at least a portion of the second display area.
[0080] Optionally, the target image may include a partial area of the first display area and a partial area of the second display area, or the target image may include the entire area of the first display area and the entire area of the second display area, or the target image may include a partial area of the first display area and the entire area of the second display area, or the target image may include the entire area of the first display area and a partial area of the second display area, which is not limited here.
[0081] In some optional implementations, the grayscale value of the target image is less than or equal to a first grayscale threshold.
[0082] In this embodiment, the grayscale value of the target image is set to be less than or equal to the first grayscale threshold, so that the grayscale value of the target image can be increased or decreased.
[0083] Optionally, the first acquisition device may be used to adjust the exposure time of the first acquisition device based on the first display area so that the grayscale value of the target image is less than or equal to the first grayscale threshold.
[0084] It is worth noting that the target grayscale displayed in the first display area has nothing to do with the grayscale value of the target image. For example, whether the target grayscale displayed in the first display area is 255 grayscale, 200 grayscale or 100 grayscale, the grayscale value of the target image is less than or equal to the first grayscale threshold.
[0085] There is a mapping relationship between the driving voltage of any sub-pixel in the target grayscale and the driving voltage of the sub-pixel corresponding to the first grayscale threshold. Therefore, the driving voltage of the sub-pixel corresponding to the target grayscale can be determined according to the driving voltage of any sub-pixel in the first grayscale threshold.
[0086] Optionally, the first grayscale threshold is 220.
[0087] In this embodiment, by setting the first grayscale threshold to 220, the grayscale value of the target image can be adjusted up or down, and when the first grayscale threshold is 220, the brightness of the target image is moderate, neither too bright nor too dark, so that the obtained grayscale value is more accurate.
[0088] Optionally, the grayscale value of the target image is greater than or equal to a second grayscale threshold.
[0089] In this embodiment, the grayscale value of the target image is set to be greater than or equal to the second grayscale threshold, so that the grayscale value of the target image can be increased or decreased.
[0090] Optionally, the second grayscale threshold is 180.
[0091] In this embodiment, by setting the grayscale value of the target image to 180-220, the brightness of the target image can be made moderate, neither too bright nor too dark, so that the obtained grayscale value is more accurate.
[0092] The first grayscale threshold and the second grayscale threshold can be set according to actual conditions and are not limited here.
[0093] In S103 , after acquiring the target image of the target screen, for sub-pixels of any color, a first grayscale average value of the first display area and a second grayscale average value of the second display area are determined according to grayscale values of multiple sub-pixels in the target image.
[0094] The sub-pixel of any color may be a red sub-pixel, a green sub-pixel, a blue sub-pixel, a white sub-pixel, etc.
[0095] Exemplarily, the grayscale values of the plurality of sub-pixels in the target image may be obtained from a bitmap image (bmp) of the target image.
[0096] As an example, when the target image includes the entire first display area and the entire second display area, the grayscale mean of the entire first display area can be determined as the first grayscale mean of the first display area, and the grayscale mean of the entire second display area can be determined as the second grayscale mean of the second display area. Considering that the entire display panel may have uneven brightness distribution, the grayscale mean of the target area adjacent to the second display area in the entire first display area can be determined as the second grayscale mean of the second display area to avoid uneven brightness across the entire display panel, which in turn affects the consistency between the first and second display areas.
[0097] Furthermore, considering the problem that calculating the grayscale mean of all areas of the first display area and the grayscale mean of all areas of the second display area involves a large amount of calculation and a long calculation time, the grayscale mean of some areas among all areas of the first display area can be determined as the first grayscale mean of the first display area, and the grayscale mean of some areas among all areas of the second display area can be determined as the second grayscale mean of the second display area, thereby reducing the amount of calculation and the calculation time for determining the first grayscale mean and the second grayscale mean.
[0098] When the target image includes a partial area of the first display area and a partial area of the second display area, the first grayscale mean value of the first display area and the second grayscale mean value of the second display area are determined according to the grayscale values of multiple sub-pixels in the target image. This is similar to the processing process of determining the first grayscale mean value of the first display area and the second grayscale mean value of the second display area according to the grayscale values of multiple sub-pixels in the target image when the target image includes the entire area of the first display area and the entire area of the second display area, and will not be repeated here.
[0099] In S104, after determining a first grayscale mean value of the first display area and a second grayscale mean value of the second display area based on the grayscale values of multiple sub-pixels in the target image for sub-pixels of any color, if the first grayscale mean value and the second grayscale mean value do not satisfy a first preset condition, the initial gamma register value is adjusted to obtain a first gamma register value, and the first gamma register value is used as a target gamma register value of the second display area at the target grayscale, wherein, when the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the first gamma register value, the corresponding first grayscale mean value and the second grayscale mean value satisfy the first preset condition.
[0100] In some optional embodiments, the first preset condition may include: the absolute value of the first difference between the first grayscale mean and the second grayscale mean is within a first preset range, or the first ratio of the first grayscale mean to the second grayscale mean is within a second preset range.
[0101] In this embodiment, the initial gamma register value is adjusted when the absolute value of the first difference between the first grayscale mean and the second grayscale mean is not within the first preset range, or the first ratio of the first grayscale mean to the second grayscale mean is not within the second preset range. That is, by taking the contrast between the first display area and the second display area as the target of gamma adjustment, compared with the related art in which the gamma adjustment target of the second display area of the UDC is set to the absolute brightness and color coordinates, the consistency between the first display area and the second display area can be improved, thereby improving the overall display effect of the display panel.
[0102] The first preset range and the second preset range can be set according to actual conditions. For example, the first preset range can be [0, 0.05], and the second preset range can be [0.95, 1.05].
[0103] Optionally, the first difference is 0 and the first ratio is 1.
[0104] In this embodiment, when the first difference is 0 or the first ratio is 1, the first grayscale mean value of the first display area is equal to the second grayscale mean value of the second display area, which can maintain the consistency between the first display area and the second display area in a better state, thereby improving the overall display effect of the display panel.
[0105] In some optional implementations, S104 may include:
[0106] If the first grayscale average value and the second grayscale average value do not satisfy a first preset condition, adjusting the initial gamma register value to obtain a fourth gamma register value;
[0107] Based on the initial gamma register value, controlling the sub-pixels in the first display area to display the target image corresponding to the target grayscale, and based on the fourth gamma register value, controlling the sub-pixels in the second display area to display the target image corresponding to the target grayscale;
[0108] Acquire an updated target image of the target screen, where the updated target image may include at least a portion of the first display area and at least a portion of the second display area;
[0109] For sub-pixels of any color, re-determine a first grayscale average value of the first display area and a second grayscale average value of the second display area according to the grayscale values of the multiple sub-pixels in the updated target image;
[0110] Determine whether the re-determined first grayscale average and second grayscale average meet the first preset condition; if not, adjust the fourth gamma register value, repeat the above steps until the re-determined first grayscale average and second grayscale average meet the first preset condition, use the fourth gamma register value as the first gamma register value, and use the first gamma register value as the target gamma register value of the second display area at the target grayscale.
[0111] Optionally, for sub-pixels of any color, after determining a first grayscale average value of the first display area and a second grayscale average value of the second display area according to the grayscale values of multiple sub-pixels in the target image, the method may further include:
[0112] If the first grayscale average value and the second grayscale average value satisfy a first preset condition, the initial gamma register value is used as the target gamma register value of the second display area at the target grayscale.
[0113] In this embodiment, when a first preset condition is satisfied between the first grayscale mean and the second grayscale mean, the initial gamma register value is used as the target gamma register value of the second display area at the target grayscale, which can improve the consistency between the first display area and the second display area, thereby improving the overall display effect of the display panel.
[0114] Figure 2 Another flow chart of the gamma adjustment method of the display panel provided by the embodiment of the present application is shown. In some optional implementations, such as Figure 2As shown, if the first preset condition is not satisfied between the first grayscale mean and the second grayscale mean, the initial gamma register value is adjusted to obtain the first gamma register value, and before the first gamma register value is used as the target gamma register value of the second display area at the target grayscale, other steps are also included, that is, S105 and S106 can also be included in S104.
[0115] S105. For sub-pixels of any color, collect brightness values of multiple sub-pixels in the first display area and brightness values of multiple sub-pixels in the second display area, and determine a first average brightness value of the first display area and a second average brightness value of the second display area;
[0116] S106: If the first average brightness value and the second average brightness value do not satisfy a second preset condition, adjust the first gamma register value to obtain a second gamma register value, and use the second gamma register value as a target gamma register value of the second display area at the target grayscale;
[0117] S104: Using the second gamma register value as a target gamma register value of the second display area at a target grayscale.
[0118] When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the second gamma register value, the corresponding first average brightness value and second average brightness value satisfy a second preset condition.
[0119] In this embodiment, when the second preset condition is not satisfied between the first average brightness value and the second average brightness value, the first gamma register value is adjusted to obtain the second gamma register value, and the second gamma register value is used as the target gamma register value of the second target area at the target grayscale. That is, the first gamma register value of the second display area is fine-tuned using the first average brightness value and the second average brightness value. Since the first average brightness value and the second average brightness value have extremely high precision, the consistency between the first display area and the second display area can be further improved, thereby improving the overall display effect of the display panel.
[0120] In S105, if the first grayscale mean and the second grayscale mean do not satisfy the first preset condition, the initial gamma register value is adjusted to obtain the first gamma register value. That is, when the first grayscale mean corresponding to when the first display area displays the panel image based on the initial gamma register value and the second grayscale mean corresponding to when the second display area displays the target image based on the first gamma register value satisfy the first preset condition, for sub-pixels of any color, the brightness values of multiple sub-pixels in the first display area and the brightness values of multiple sub-pixels in the second display area are collected, and the first brightness mean of the first display area and the second brightness mean of the second display area are determined.
[0121] Exemplarily, for sub-pixels of any color, the average value of the brightness values of all sub-pixels in the first display area can be determined as the first brightness mean value of the first display area, and the average value of the brightness values of all sub-pixels in the second display area can be determined as the second brightness mean value of the second display area.
[0122] Furthermore, considering that the above method has the problem of large amount of calculation and long calculation time of the brightness mean, for sub-pixels of any color, the average value of the brightness values of multiple sub-pixels in the first target area in the first display area can be determined as the first brightness mean of the first display area, and the average value of the brightness values of multiple sub-pixels in the second target area in the second display area can be determined as the second brightness mean of the second display area, so as to reduce the amount of calculation and calculation time of the brightness mean.
[0123] Optionally, the brightness value may be a relative brightness value, that is, a brightness value of a sub-pixel of any color relative to an average brightness value of sub-pixels of the color in the display panel.
[0124] In S106, after collecting the luminance values of multiple sub-pixels in the first display area and the luminance values of multiple sub-pixels in the second display area for any color sub-pixel, and determining a first average luminance value of the first display area and a second average luminance value of the second display area, if the first average luminance value and the second average luminance value do not satisfy a second preset condition, adjusting the first gamma register value to obtain a second gamma register value. The number of times the first gamma register value is adjusted can be once or multiple times, which is not limited here.
[0125] In S104, the second gamma register value can also be used as the target gamma register value of the second display area at the target grayscale, wherein, when the first display area displays the target picture based on the initial gamma register value and the second display area displays the target picture based on the second gamma register value, the corresponding first brightness average and second brightness average satisfy the second preset condition.
[0126] In some optional embodiments, the second preset condition may include that the absolute value of the second difference between the first average brightness value and the second average brightness value is within a third preset range, or that the second ratio of the first average brightness value to the second average brightness value is within a fourth preset range.
[0127] In this embodiment, if the absolute value of the second difference between the first average brightness value and the second average brightness value is not within the third preset range, or if the second ratio of the first average brightness value to the second average brightness value is not within the fourth preset range, the first gamma register value is adjusted. That is, the first gamma register value of the second display area is fine-tuned using the first average brightness value and the second average brightness value. Since the first average brightness value and the second average brightness value have extremely high precision, the consistency between the first display area and the second display area can be further improved, thereby improving the overall display effect of the display panel.
[0128] The first preset range and the third preset range may be the same or different, and the second preset range and the fourth preset range may be the same or different, which is not limited here.
[0129] Optionally, the second difference is 0 and the second ratio is 1.
[0130] In this embodiment, when the second difference is 0 or the second ratio is 1, the first grayscale average value of the first display area is equal to the second grayscale average value of the second display area, which can maintain the consistency between the first display area and the second display area in a better state, thereby improving the overall display effect of the display panel.
[0131] In some optional implementations, S106 may include:
[0132] If the first brightness average value and the second brightness average value do not satisfy the second preset condition, adjusting the first gamma register value to obtain a fifth gamma register value;
[0133] Based on the initial gamma register value, controlling the sub-pixels in the first display area to display the target image corresponding to the target grayscale, and based on the fifth gamma register value, controlling the sub-pixels in the second display area to display the target image corresponding to the target grayscale;
[0134] For sub-pixels of any color, re-collecting brightness values of multiple sub-pixels in the first display area and brightness values of multiple sub-pixels in the second display area, and re-determining a first average brightness value of the first display area and a second average brightness value of the second display area;
[0135] Determine whether the re-determined first brightness average and second brightness average meet the second preset condition. If not, adjust the fifth gamma register value. Repeat the above steps until the re-determined first brightness average and second brightness average meet the second preset condition, and use the fifth gamma register value as the second gamma register value.
[0136] Optionally, for sub-pixels of any color, after collecting the brightness values of multiple sub-pixels in the first display area and the brightness values of multiple sub-pixels in the second display area, and determining a first average brightness value of the first display area and a second average brightness value of the second display area, the method may further include:
[0137] If the first average brightness value and the second average brightness value satisfy a second preset condition, the first gamma register value is used as a target gamma register value of the second display area at the target grayscale.
[0138] In some optional implementations, obtaining a target image of a target screen may include:
[0139] Acquire a target image of a target screen by a first acquisition device;
[0140] Collecting the brightness values of the plurality of sub-pixels in the first display area and the brightness values of the plurality of sub-pixels in the second display area may include:
[0141] Acquire brightness values of a plurality of sub-pixels in the first display area and brightness values of a plurality of sub-pixels in the second display area by a second acquisition device;
[0142] The resolution of the first acquisition device is less than or equal to the resolution of the second acquisition device.
[0143] Exemplarily, the first acquisition device may be a first camera, the second acquisition device may be a second camera, and the resolution of the first camera is less than or equal to the resolution of the second camera.
[0144] In this embodiment, on the one hand, the target image of the target screen is acquired by the first acquisition device. When the first acquisition device is a first camera, the first camera is used to take a picture of the entire screen or a portion of the screen. Compared with acquiring data of the entire screen or a portion of the screen through a color analyzer, the alignment error and machine error of the color analyzer probe can be eliminated; on the other hand, since the resolution of the first acquisition device is less than or equal to the resolution of the second acquisition device, when the brightness values of multiple sub-pixels in the first display area and the brightness values of multiple sub-pixels in the second display area are acquired by the second acquisition device, the brightness values of the first display area and the brightness values of the second display area obtained are extremely accurate. Therefore, the consistency between the first display area and the second display area can be further improved, thereby improving the overall display effect of the display panel.
[0145] Based on the same or similar inventive concept as the above-mentioned gamma adjustment method for a display panel, an embodiment of the present application further provides a gamma adjustment device for a display panel.
[0146] Figure 3 A schematic structural diagram of a gamma adjustment device for a display panel provided in an embodiment of the present application is shown.
[0147] The display panel may have a first display area and a second display area, the light transmittance of the second display area may be greater than the light transmittance of the first display area, and the display panel may include sub-pixels of multiple colors;
[0148] like Figure 3 As shown, the gamma adjustment device 300 for a display panel may include: a control module 310 , an acquisition module 320 , a first determination module 330 and a first adjustment module 340 .
[0149] A control module 310 is configured to control the sub-pixels in the first display area and the second display area to display a target image corresponding to a target grayscale based on an initial gamma register value;
[0150] An acquisition module 320 is configured to acquire a target image of a target screen, where the target image includes at least a portion of the first display area and at least a portion of the second display area;
[0151] A first determination module 330 is configured to determine, for a sub-pixel of any color, a first grayscale average value of a first display area and a second grayscale average value of a second display area according to grayscale values of a plurality of sub-pixels in a target image;
[0152] A first adjustment module 340 is configured to adjust the initial gamma register value to obtain a first gamma register value if the first grayscale average value and the second grayscale average value do not satisfy a first preset condition, and use the first gamma register value as a target gamma register value of the second display area at the target grayscale;
[0153] When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the first gamma register value, the first grayscale average value and the second grayscale average value satisfy a first preset condition.
[0154] According to a gamma adjustment device for a display panel provided in an embodiment of the present application, since the embodiment of the present application compares the first grayscale mean value of the first display area with the second grayscale mean value of the second display area, and the grayscale value corresponds to the brightness, it is equivalent to using the contrast between the first display area and the second display area as the target of gamma adjustment. Compared with the related art in which gamma debugging is performed by using the brightness and color coordinates corresponding to the first display area and the second display area respectively, the embodiment of the present application is conducive to improving the display consistency of the first display area and the second display area, thereby improving the overall display effect of the display panel.
[0155] In some optional embodiments, the first preset condition may include: an absolute value of a first difference between the first grayscale average and the second grayscale average is within a first preset range, or a first ratio of the first grayscale average to the second grayscale average is within a second preset range;
[0156] Optionally, the first difference may be 0, and the first ratio may be 1.
[0157] In some optional implementations, the grayscale value of the target image may be less than or equal to a first grayscale threshold;
[0158] Optionally, the first grayscale threshold may be 220;
[0159] Optionally, the grayscale value of the target image may be greater than or equal to a second grayscale threshold;
[0160] Optionally, the second grayscale threshold may be 180.
[0161] like Figure 4 As shown, in some optional implementations, the gamma adjustment device 300 for the display panel may further include:
[0162] a second determination module 350 configured to collect, for sub-pixels of any color, brightness values of a plurality of sub-pixels in a first display area and brightness values of a plurality of sub-pixels in a second display area, and determine a first average brightness value of the first display area and a second average brightness value of the second display area;
[0163] A second adjustment module 360 is configured to adjust the first gamma register value to obtain a second gamma register value if the first average brightness value and the second average brightness value do not satisfy a second preset condition;
[0164] The first adjustment module 340 is further configured to use the second gamma register value as the gamma register value of the second display area at the target grayscale;
[0165] When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the second gamma register value, the corresponding first average brightness value and second average brightness value satisfy a second preset condition.
[0166] In some optional embodiments, the second preset condition may include that an absolute value of a second difference between the first average brightness value and the second average brightness value is within a third preset range, or that a second ratio of the first average brightness value to the second average brightness value is within a fourth preset range;
[0167] Optionally, the second difference may be 0, and the second ratio may be 1.
[0168] In some optional implementations, the acquisition module 320 may be specifically configured to:
[0169] Acquire a target image of a target screen by a first acquisition device;
[0170] The second determining module 350 may be specifically configured to:
[0171] Acquire brightness values of a plurality of sub-pixels in the first display area and brightness values of a plurality of sub-pixels in the second display area by a second acquisition device;
[0172] The resolution of the first acquisition device is less than or equal to the resolution of the second acquisition device.
[0173] In some optional embodiments, when the first display area displays the target image based on the initial gamma register value, the display parameters of the first display area meet the target display parameters;
[0174] Optionally, for a sub-pixel of any color, the first determining module 330 may also be configured to:
[0175] If the first grayscale average value and the second grayscale average value satisfy a first preset condition, the initial gamma register value is used as the target gamma register value of the second display area at the target grayscale.
[0176] The gamma adjustment device for a display panel provided in the embodiment of the present application has the beneficial effects of the gamma adjustment method for a display panel provided in the embodiment of the present application. For details, please refer to the specific description of the gamma adjustment method for a display panel in the above embodiments, which will not be repeated in this embodiment.
[0177] Figure 5 FIG. 1 is a schematic diagram showing the structure of a gamma adjustment device for a display panel provided in an embodiment of the present application. Figure 5 As shown, the present application further provides a gamma adjustment device for a display panel. The gamma adjustment device for a display panel may include: a processor 501 and a memory 502 storing computer program instructions.
[0178] Specifically, the processor 501 may include a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0179] The memory 502 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 502 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory. In a specific embodiment, the memory 502 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.
[0180] The processor 501 reads and executes computer program instructions stored in the memory 502 to implement any one of the gamma adjustment methods for a display panel in the above embodiments.
[0181] In one example, the gamma adjustment device for a display panel may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0182] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0183] Bus 510 includes hardware, software or both, and the parts of the gamma adjustment equipment of display panel are coupled to each other.For example, and not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows specific bus, the application considers any suitable bus or interconnection.
[0184] The gamma adjustment device of the display panel can execute the gamma adjustment method of the display panel in the embodiment of the present application, thereby realizing the combination of Figure 1 and Figure 3 A gamma adjustment method for a display panel and a gamma adjustment device for a display panel are described.
[0185] In addition, in conjunction with the gamma adjustment method for a display panel in the above-mentioned embodiments, embodiments of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, the computer storage medium implements any of the gamma adjustment methods for a display panel in the above-mentioned embodiments. According to embodiments of the present application, the computer-readable storage medium may be a non-transitory computer-readable storage medium.
[0186] While the embodiments described above are not exhaustive, they do not limit the present application to the specific embodiments described. Clearly, numerous modifications and variations are possible based on the above description. These embodiments are selected and described in detail in this specification to better explain the principles and practical applications of the present application, thereby enabling those skilled in the art to better utilize the present application and its modifications. The present application is limited only by the claims and their full scope and equivalents.
Claims
1. A gamma adjustment method for a display panel, characterized in that: The display panel has a first display area and a second display area, the transmittance of the second display area is greater than the transmittance of the first display area, and the display panel includes sub-pixels of multiple colors; The method comprises: Based on the initial gamma register value, controlling the sub-pixels of the first display area and the second display area to display a target picture corresponding to a target grayscale; Acquire a target image of the target screen, where the target image includes at least a portion of the first display area and at least a portion of the second display area; For the sub-pixels of any color, determining a first grayscale average value of the first display area and a second grayscale average value of the second display area according to the grayscale values of the plurality of sub-pixels in the target image; If the first grayscale average value and the second grayscale average value do not satisfy a first preset condition, adjusting the initial gamma register value to obtain a first gamma register value, and using the first gamma register value as a target gamma register value of the second display area at the target grayscale; When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the first gamma register value, the first grayscale average value and the second grayscale average value satisfy the first preset condition.
2. The gamma adjustment method for a display panel according to claim 1, wherein: The first preset condition includes: an absolute value of a first difference between the first grayscale average and the second grayscale average is within a first preset range, or a first ratio of the first grayscale average to the second grayscale average is within a second preset range.
3. The gamma adjustment method for a display panel according to claim 2, wherein: The first difference is 0, and the first ratio is 1.
4. The gamma adjustment method for a display panel according to claim 1, wherein: The grayscale value of the target image is less than or equal to a first grayscale threshold.
5. The gamma adjustment method for a display panel according to claim 4, wherein: The first grayscale threshold is 220.
6. The gamma adjustment method for a display panel according to claim 4, wherein: The grayscale value of the target image is greater than or equal to a second grayscale threshold.
7. The gamma adjustment method for a display panel according to claim 6, wherein: The second grayscale threshold is 180.
8. The gamma adjustment method for a display panel according to claim 1, wherein: After adjusting the initial gamma register value to obtain the first gamma register value if the first grayscale average value and the second grayscale average value do not satisfy the first preset condition, and before using the first gamma register value as the target gamma register value of the second display area at the target grayscale, the method further includes: For the sub-pixels of any color, collecting brightness values of a plurality of the sub-pixels in the first display area and brightness values of a plurality of sub-pixels in the second display area, and determining a first average brightness value of the first display area and a second average brightness value of the second display area; If the first brightness average value and the second brightness average value do not satisfy a second preset condition, adjusting the first gamma register value to obtain a second gamma register value; The using the first gamma register value as the target gamma register value of the second display area at the target grayscale includes: using the second gamma register value as a target gamma register value of the second display area at the target grayscale; When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the second gamma register value, the corresponding first average brightness value and second average brightness value satisfy the second preset condition.
9. The gamma adjustment method for a display panel according to claim 8, wherein: The second preset condition includes that an absolute value of a second difference between the first average brightness value and the second average brightness value is within a third preset range, or that a second ratio of the first average brightness value to the second average brightness value is within a fourth preset range.
10. The gamma adjustment method for a display panel according to claim 9, wherein: The second difference is 0, and the second ratio is 1.
11. The gamma adjustment method for a display panel according to claim 8, wherein: The acquiring of the target image of the target screen includes: Acquire a target image of the target screen by a first acquisition device; The collecting the brightness values of the plurality of sub-pixels in the first display area and the brightness values of the plurality of sub-pixels in the second display area includes: collecting, by a second collecting device, the brightness values of the plurality of sub-pixels in the first display area and the brightness values of the plurality of sub-pixels in the second display area; The resolution of the first acquisition device is less than or equal to the resolution of the second acquisition device.
12. The gamma adjustment method for a display panel according to claim 1, wherein: When the first display area displays the target image based on the initial gamma register value, display parameters of the first display area meet target display parameters.
13. The gamma adjustment method for a display panel according to claim 12, wherein: After determining, for the sub-pixels of any color, a first grayscale average value of the first display area and a second grayscale average value of the second display area according to the grayscale values of the plurality of sub-pixels in the target image, the method further comprises: If the first grayscale average value and the second grayscale average value satisfy the first preset condition, the initial gamma register value is used as the target gamma register value of the second display area at the target grayscale.
14. A gamma adjustment device for a display panel, characterized in that: The display panel has a first display area and a second display area, the transmittance of the second display area is greater than the transmittance of the first display area, and the display panel includes sub-pixels of multiple colors; The device comprises: a control module, configured to control the sub-pixels in the first display area and the second display area to display a target picture corresponding to a target grayscale based on an initial gamma register value; an acquisition module, configured to acquire a target image of the target screen, wherein the target image includes at least a portion of the first display area and at least a portion of the second display area; a first determining module, configured to determine, for the sub-pixels of any color, a first grayscale average value of the first display area and a second grayscale average value of the second display area according to the grayscale values of the plurality of sub-pixels in the target image; a first adjustment module, configured to adjust the initial gamma register value to obtain a first gamma register value if the first grayscale mean value and the second grayscale mean value do not satisfy a first preset condition, and use the first gamma register value as a target gamma register value of the second display area at the target grayscale; When the first display area displays the target image based on the initial gamma register value and the second display area displays the target image based on the first gamma register value, the first grayscale average value and the second grayscale average value satisfy the first preset condition.
15. A gamma adjustment device for a display panel, characterized in that: The gamma adjustment device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the gamma adjustment method for the display panel according to any one of claims 1 to 13 is implemented.
16. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the gamma adjustment method for a display panel according to any one of claims 1 to 13 is implemented.