Gray scale data adjustment method and device, display panel and storage medium
By adjusting the grayscale data of the LCD panel, the problems of low versatility and complex implementation in the prior art are solved, and the panel power consumption is reduced without affecting the display quality, and the universality of the solution is improved.
Patent Information
- Application Number
- CN202411997873.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-12-31
AI Technical Summary
When the prior art reduces the power consumption of LCD panels, there are problems such as low versatility and complex solution implementation, and it is usually necessary to make major changes to liquid crystal materials or display driving methods, which increases production costs and may affect display effects.
By obtaining the grayscale data set of the image to be displayed, the target grayscale data subset is determined to be used for grayscale adjustment, and the grayscale data to be adjusted according to the preset adjustment conditions and the amount of grayscale data reduction is adjusted to obtain the adjusted grayscale data, and the power consumption of the display panel is reduced without affecting the display quality.
It realizes that the display panel power consumption is reduced without affecting the image display quality and improves the universality of the solution. It does not require adjustments to the panel hardware, and is suitable for various types of display panels.
Smart Images

Figure CN119580662A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of display panels, and in particular to a grayscale data adjustment method, device, display panel, and computer-readable storage medium. Background Art
[0002] Liquid Crystal Display (LCD) is a common display device widely used in various electronic devices. The power consumption of LCD panels is an important research direction. Since each pixel in the LCD panel needs to continuously refresh and display images, it consumes a lot of electricity. In addition, as the display resolution increases, the power consumption problem becomes more prominent. Therefore, how to reduce the power consumption of LCD panels and improve their energy efficiency is an important research topic.
[0003] The existing solutions to reduce power consumption mainly reduce the power consumption of LCD panels by improving the characteristics of liquid crystal materials, optimizing display driving methods, etc. For example, some technologies adjust the molecular structure of liquid crystal materials so that they can achieve the required brightness at a lower voltage, thereby reducing power consumption. In addition, some technologies reduce power consumption by optimizing the display driving method, such as using pulse width modulation (PWM).
[0004] Although existing technologies have reduced the power consumption of LCD panels to a certain extent, there are still some problems. First, these technologies often require major changes to the liquid crystal material or display drive method, which may increase production costs and may have a certain impact on the display effect. Second, these technologies are often only applicable to specific types of LCD panels and are not universal. Summary of the invention
[0005] In view of this, in order to solve some or all of the above technical problems, the embodiments of the present application provide a grayscale data adjustment method, device, display panel and computer-readable storage medium.
[0006] In a first aspect, an embodiment of the present application provides a grayscale data adjustment method, the method comprising: acquiring a grayscale data set of an image to be displayed; determining a target grayscale data subset to be grayscale adjusted from the grayscale data set; determining, from the target grayscale data subset, grayscale data that meets preset adjustment conditions as grayscale data to be adjusted; and adjusting the grayscale data to be adjusted based on a preset grayscale data reduction amount to obtain adjusted grayscale data.
[0007] In one possible implementation, determining a target grayscale data subset to be grayscale adjusted from a grayscale data set includes: dividing the image into regions to obtain a preset number of image regions; determining a target image region from the preset number of image regions, and determining the grayscale data subset corresponding to the target image region as the target grayscale data subset.
[0008] In one possible implementation, grayscale data that meets preset adjustment conditions is determined from a target grayscale data subset as grayscale data to be adjusted, including: determining grayscale data that meets preset filtering conditions from the target grayscale data subset; obtaining a preset adjustment ratio corresponding to the grayscale data that meets the preset filtering conditions; and determining the grayscale data to be adjusted from the grayscale data that meets the preset filtering conditions according to the adjustment ratio.
[0009] In one possible implementation, determining grayscale data that meets preset filtering conditions from a target grayscale data subset includes: determining at least one group of grayscale data from the target grayscale data subset, wherein the values of each group of grayscale data in the at least one group of grayscale data are the same; and determining the grayscale data that meets the preset filtering conditions based on the number of each group of grayscale data in the at least one group of grayscale data.
[0010] In a possible implementation, determining grayscale data meeting a preset screening condition according to the quantity of each group of grayscale data in at least one group of grayscale data includes: determining at least one group of grayscale data containing the largest quantity of grayscale data as the grayscale data meeting the preset screening condition.
[0011] In one possible embodiment, obtaining a preset adjustment ratio corresponding to grayscale data that meets preset filtering conditions includes: determining a target grayscale data segment to which the grayscale data that meets the preset filtering conditions belongs from at least two preset grayscale data segments; and using the preset adjustment ratio corresponding to the target grayscale data segment as the adjustment ratio corresponding to the grayscale data that meets the preset filtering conditions, wherein at least two grayscale data segments are sorted in ascending order, and the adjustment ratio corresponding to the preceding grayscale data segment of two adjacent grayscale data segments is greater than the adjustment ratio corresponding to the succeeding grayscale data segment.
[0012] In one possible embodiment, after adjusting the grayscale data to be adjusted based on a preset grayscale data reduction amount to obtain adjusted grayscale data, the method further includes: replacing the grayscale data at a corresponding position in the grayscale data set with the adjusted grayscale data to obtain a replaced grayscale data set; and displaying an image on a display panel based on the replaced grayscale data set.
[0013] In a second aspect, an embodiment of the present application provides a grayscale data adjustment device, which includes: an acquisition module, used to acquire a grayscale data set of an image to be displayed; a first determination module, used to determine a target grayscale data subset to be grayscale adjusted from the grayscale data set; a second determination module, used to determine, from the target grayscale data subset, grayscale data that meets preset adjustment conditions as grayscale data to be adjusted; and an adjustment module, used to adjust the grayscale data to be adjusted based on a preset grayscale data reduction amount to obtain adjusted grayscale data.
[0014] In a third aspect, an embodiment of the present application provides a display panel, comprising: a display panel body and a driving module, wherein the driving module is connected to the display panel body; the driving module is used to execute the grayscale data adjustment method described in the first aspect above.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, a method as in any embodiment of the grayscale data adjustment method of the first aspect described above is implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program, which includes a computer-readable code. When the computer-readable code runs on a device, the processor in the device implements a method as in any embodiment of the grayscale data adjustment method of the first aspect described above.
[0017] The grayscale data adjustment method, device, display panel and computer-readable storage medium provided in the embodiments of the present application determine a target grayscale data subset to be grayscale adjusted from the grayscale data set of the image to be displayed, determine the grayscale data to be adjusted that meets the preset adjustment conditions from the target grayscale data subset, and then adjust the grayscale data to be adjusted based on the preset grayscale data reduction amount to obtain the adjusted grayscale data. The embodiments of the present application achieve the downgrading of a part of the grayscale data of the image, which can reduce the power consumption of the display panel when the image is displayed without affecting the display quality of the picture, and does not require the hardware of the panel to be adjusted. It can be applied to various types of display panels, which improves the versatility of the solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0021] Figure 1 A schematic diagram of a grayscale data adjustment method provided in an embodiment of the present application;
[0022] Figure 2 A schematic flow chart of another grayscale data adjustment method provided in an embodiment of the present application;
[0023] Figure 3 A schematic diagram of multiple regions included in an image provided in an embodiment of the present application;
[0024] Figure 4 A flowchart of another grayscale data adjustment method provided in an embodiment of the present application;
[0025] Figure 5 A schematic diagram of a grayscale-brightness curve of a pixel provided in an embodiment of the present application;
[0026] Fig. 6A A schematic diagram of a target grayscale data subset before adjustment provided in an embodiment of the present application;
[0027] Figure 6B A schematic diagram of adjusting the target grayscale data subset provided in an embodiment of the present application;
[0028] Figure 7 A flowchart of another grayscale data adjustment method provided in an embodiment of the present application;
[0029] Figure 8 A schematic diagram of the structure of a grayscale data adjustment device provided in an embodiment of the present application;
[0030] Fig. 9 A schematic diagram of the structure of a display panel provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. It should be noted that unless otherwise specifically stated, the relative arrangement of the components and steps, the numerical expressions and the numerical values described in these embodiments do not limit the scope of the present application.
[0032] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present application are only used to distinguish between different steps, devices, modules and other objects, and do not represent any specific technical meanings, nor do they indicate the logical order between them.
[0033] It should also be understood that in this embodiment, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0034] It should also be understood that any component, data or structure mentioned in the embodiments of the present application can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0035] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.
[0036] It should also be understood that the description of the various embodiments in this application focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0037] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0038] Technologies, circuits, and devices known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, circuits, and devices should be considered as part of the specification.
[0039] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0040] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. To facilitate the understanding of the embodiments of the present application, the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0041] In order to solve the technical problems of low versatility and complex implementation of the existing technology for reducing the grayscale value of the display panel, the present application provides a grayscale data adjustment method, which can adjust the grayscale value of the image through software, reduce the panel power consumption without affecting the display quality, and improve the versatility of the solution.
[0042] Figure 1 A flowchart of a grayscale data adjustment method provided in an embodiment of the present application. The method can be applied to a display panel, and the method is performed by a timing control integrated circuit (TCON IC) on the display panel. Optionally, the method can also be performed by other electronic devices other than the display panel, such as a server or other terminal device connected to the display panel for communication, and these devices obtain the grayscale data of the image, adjust the grayscale data, and send the adjusted grayscale data to the display panel for display.
[0043] In addition, the execution subject of the present method may be hardware or software. When the execution subject is hardware, the execution subject may be one or more of the electronic devices. For example, a single electronic device may execute the present method, or a plurality of electronic devices may cooperate with each other to execute the present method. When the execution subject is software, the present method may be implemented as a plurality of software or software modules, or as a single software or software module. No specific limitation is made herein.
[0044] like Figure 1 As shown, the method specifically includes:
[0045] Step 101: Obtain a grayscale data set of an image to be displayed.
[0046] In this embodiment, the electronic device executing this method can obtain a grayscale data set from a device storing image data (e.g., a SOC (System on Chip) in a display panel). Each grayscale data in the grayscale data set is a grayscale value corresponding to each pixel of the image to be displayed.
[0047] Step 102 : determining a target grayscale data subset to be grayscale adjusted from the grayscale data set.
[0048] In this embodiment, the target grayscale data subset may include a portion of grayscale data in the grayscale data set, and optionally, may also include all grayscale data in the grayscale data set. As an example, the target grayscale data subset may be grayscale data of pixels contained in a certain area of the image, or may be a grayscale data subset extracted from the grayscale data set according to a preset extraction algorithm (e.g., extracting grayscale data greater than a set grayscale value).
[0049] Step 103 : determining grayscale data that meets a preset adjustment condition from the target grayscale data subset as grayscale data to be adjusted.
[0050] In this embodiment, the preset adjustment condition can be set according to the actual power consumption reduction requirement. As an example, the grayscale data with the largest number of identical values in the target grayscale data subset can be used as the grayscale data to be adjusted. It is also possible to continue to extract a certain number of grayscale data from the grayscale data with the largest number of identical values as the grayscale data to be adjusted. Alternatively, the grayscale data in the target grayscale data subset that is greater than a certain set grayscale data threshold value can be used as the grayscale data to be adjusted.
[0051] Step 104 : adjusting the grayscale data to be adjusted based on the preset grayscale data reduction amount to obtain adjusted grayscale data.
[0052] In this embodiment, the electronic device can adjust the grayscale data to be adjusted in various ways. For example, the grayscale data to be adjusted can be reduced by a uniform grayscale value or a uniform percentage. The grayscale data after adjustment will be reduced to a certain extent compared to the grayscale data before adjustment, but the reduced grayscale data only accounts for a part of the entire grayscale data set, and therefore will not affect the overall display quality of the image.
[0053] The grayscale data adjustment method provided in the embodiment of the present application determines a target grayscale data subset to be grayscale adjusted from the grayscale data set of the image to be displayed, determines the grayscale data to be adjusted that meets the preset adjustment conditions from the target grayscale data subset, and then adjusts the grayscale data to be adjusted based on the preset grayscale data reduction amount to obtain the adjusted grayscale data. The embodiment of the present application achieves downgrading of a portion of the grayscale data of the image, which can reduce the power consumption of the display panel when the image is displayed without affecting the display quality of the picture, and does not require adjustment of the hardware of the panel, and can be applied to various types of display panels, thereby improving the versatility of the solution.
[0054] In some optional implementations of this embodiment, such as Figure 2 As shown, step 102 includes:
[0055] Step 1021, dividing the image into regions to obtain a preset number of image regions.
[0056] The way to divide the image can be set according to actual needs. Usually, the image can be divided into multiple regions of equal size. Figure 3 As shown, the image to be displayed on the display panel is divided into nine equal image areas.
[0057] Step 1022 , determining a target image region from a preset number of image regions, and determining a grayscale data subset corresponding to the target image region as a target grayscale data subset.
[0058] The grayscale data subset corresponding to the target image area is a set of grayscale data of each pixel contained in the target image area.
[0059] Any image area in the above-mentioned preset number of image areas can be the currently selected target image area. Usually, when grayscale data of each image area is adjusted, an image area can be selected in turn as the target image area, and grayscale data of the currently selected target image area can be adjusted. After grayscale data of each image area is adjusted, a grayscale data set of the adjusted complete image can be obtained.
[0060] This embodiment divides the image into regions and uses the grayscale data corresponding to an image region as a grayscale data subset, thereby achieving independent operation on each image region, which is beneficial to improving the dispersion and diversity of the adjusted grayscale data, avoiding abnormal image display after grayscale adjustment, and maintaining the display quality of the image.
[0061] In some optional implementations of this embodiment, such as Figure 4 As shown, step 103 includes:
[0062] Step 1031 , determining grayscale data that meets a preset screening condition from the target grayscale data subset.
[0063] The filtering condition is used to select a portion of grayscale data from the target grayscale data subset that can be used to scale. The filtering condition can be set according to actual needs. For example, the filtering condition may include: the grayscale data with the largest number of identical values, or, after being sorted according to the number, the first N groups of grayscale data with the same values.
[0064] Step 1032, obtaining a preset adjustment ratio corresponding to the grayscale data that meets the preset screening condition.
[0065] The corresponding relationship between the grayscale data and the adjustment ratio can be preset.
[0066] Step 1033 , determining the grayscale data to be adjusted from the grayscale data meeting the preset screening condition according to the adjustment ratio.
[0067] Specifically, the number of grayscale data that meets the screening conditions is multiplied by the adjustment ratio to obtain the number of grayscale data to be adjusted. Then, a corresponding number of grayscale data can be selected from the grayscale data that meets the screening conditions as the grayscale data to be adjusted according to various selection methods (for example, random selection, or selection in sequence and at the same data interval).
[0068] By setting the adjustment ratio corresponding to the grayscale data, this embodiment can select the grayscale data to be adjusted according to the corresponding quantity for different grayscale data, which helps to further improve the dispersion of the adjusted grayscale data, avoid obvious brightness changes in the picture before and after the adjustment, and maintain the display quality of the image.
[0069] In some optional implementations of this embodiment, the above step 1031 may be performed as follows:
[0070] First, at least one set of grayscale data is determined from the target grayscale data subset.
[0071] The values of each set of grayscale data in at least one set of grayscale data are the same. For example, if the target grayscale data subset includes M grayscale data with a value of 37, then these M grayscale data are a set of grayscale data.
[0072] Then, grayscale data meeting a preset screening condition is determined according to the quantity of each group of grayscale data in at least one group of grayscale data.
[0073] The screening condition may be related to the number of grayscale data in each group. For example, the grayscale data in each group may be sorted according to the number of grayscale data in each group, and the grayscale data in the first X groups are regarded as grayscale data meeting the preset screening condition, where X is the preset number.
[0074] This embodiment groups grayscale data according to numerical values, and selects grayscale data that meets the screening conditions according to the number of grayscale data included, thereby realizing that from the grayscale data with the same numerical value, a part of the grayscale data is selected for downgrading, and the other part retains the original numerical value, so that the brightness difference between the downgraded grayscale data and the non-downgraded grayscale data is not obvious, and the image display quality is maintained on the basis of reducing the panel power consumption.
[0075] In some optional implementations of the present embodiment, at least one group of grayscale data containing the largest number of grayscale data may be determined as grayscale data that meets the preset filtering conditions. For example, if one group of grayscale data contains M grayscale data, and the number of each other group of grayscale data is less than M, then the group of grayscale data is grayscale data that meets the filtering conditions. For another example, if multiple groups of grayscale data each contain M grayscale data, and the number of each other group of grayscale data is less than M, then the multiple groups of grayscale data are grayscale data that meet the filtering conditions. By setting at least one group of grayscale data with the largest number as grayscale data that meets the preset filtering conditions, a portion of some of the grayscale data with the largest number may be downgraded so that the display brightness change after the downgrading is not too obvious, thereby maintaining the image display quality.
[0076] In some optional implementations of this embodiment, the above step 1032 may be performed as follows:
[0077] First, from at least two preset grayscale data segments, a target grayscale data segment to which grayscale data meeting a preset screening condition belongs is determined.
[0078] The at least two grayscale data segments can be pre-set according to actual needs. The variation of the grayscale values covered by each segment can be the same or different.
[0079] Then, the preset adjustment ratio corresponding to the target grayscale data segment is used as the adjustment ratio corresponding to the grayscale data that meets the preset screening condition.
[0080] At least two grayscale data segments are arranged in ascending order, and the adjustment ratio corresponding to the first grayscale data segment of two adjacent grayscale data segments is greater than the adjustment ratio corresponding to the second grayscale data segment.
[0081] As an example, each grayscale data segment and the corresponding adjustment ratio are shown in Table 1 below:
[0082] Table 1
[0083] Grayscale data Adjust the scale 0-15 80% 16-35 60% 36-60 50% 61-100 30% 101-220 15% 201-255 5%
[0084] As can be seen from Table 1, the smaller the value of the grayscale data segment, the larger the corresponding adjustment ratio. The reason for setting this rule is: Figure 5 As shown in FIG. 1 , it shows the grayscale-brightness curve of the pixel. Figure 5 It can be seen that the size of the grayscale data is related to the display brightness, and the smaller the value of the grayscale data, the smaller the brightness change corresponding to the two adjacent grayscale data, that is, the smaller the slope of the curve; the larger the value of the grayscale data, the greater the brightness change corresponding to the two adjacent grayscale data, that is, the greater the slope of the curve.
[0085] For grayscale data with smaller values, since the brightness change of adjacent grayscale data is smaller, the brightness change after grayscale data downgrading is not obvious. Therefore, more grayscale data can be downgraded according to a larger adjustment ratio to reduce power consumption to a greater extent. For grayscale data with larger values, since the brightness change of adjacent grayscale data is larger, less grayscale data can be downgraded according to a smaller adjustment ratio to avoid obvious changes in overall brightness.
[0086] refer to Fig. 6A and Figure 6B , which shows a schematic diagram of the target grayscale data subset before and after adjustment. Fig. 6AAs shown, in the target grayscale data subset, the number of grayscale data with a value of 37 is the largest, and these grayscale data are the grayscale data that meet the preset screening conditions. According to the above Table 1, it is determined that the adjustment ratio corresponding to the grayscale data 37 is 50%, and then 50% of the grayscale data is selected from the grayscale data with a value of 37 as the grayscale data to be adjusted. The grayscale data to be adjusted is reduced by one grayscale, that is, the adjusted grayscale data is 36.
[0087] This embodiment achieves a balance between reducing power consumption and maintaining image display brightness by setting multiple grayscale data segments, and setting corresponding adjustment ratios for each segment in the order of grayscale data size, thereby helping to avoid sudden changes in image brightness after grayscale adjustment while reducing the power consumption of the display panel.
[0088] In some optional implementations of this embodiment, such as Figure 7 As shown, after step 104, the method further includes:
[0089] Step 105 , replacing the grayscale data at the corresponding position in the grayscale data set with the adjusted grayscale data to obtain a replaced grayscale data set.
[0090] Specifically, the electronic device may search for grayscale data at a corresponding position in the grayscale data set according to the coordinates of the pixel corresponding to the adjusted grayscale data, and replace the searched grayscale data with the adjusted grayscale data.
[0091] Step 106 : displaying an image on a display panel based on the replaced grayscale data set.
[0092] Each grayscale data in the replaced grayscale data set corresponds to each pixel in the above figure, and each pixel on the display panel is driven to display color according to the corresponding grayscale according to the adjusted grayscale data.
[0093] In this embodiment, the image is displayed on the display panel after downgrading a part of the grayscale data in the grayscale data set, thereby reducing the power consumption of the display panel and keeping the quality of the image display unchanged.
[0094] Figure 8 A schematic diagram of the structure of a grayscale data adjustment device provided in an embodiment of the present application. Specifically comprising:
[0095] An acquisition module 801 is used to acquire a grayscale data set of an image to be displayed;
[0096] A first determining module 802 is used to determine a target grayscale data subset to be grayscale adjusted from a grayscale data set;
[0097] A second determination module 803 is used to determine grayscale data that meets a preset adjustment condition from the target grayscale data subset as grayscale data to be adjusted;
[0098] The adjustment module 804 is used to adjust the grayscale data to be adjusted based on a preset grayscale data reduction amount to obtain adjusted grayscale data.
[0099] In some optional implementations of the present embodiment, the first determination module includes: a division unit, used to divide the image into regions to obtain a preset number of image regions; a first determination unit, used to determine a target image region from the preset number of image regions, and determine a grayscale data subset corresponding to the target image region as a target grayscale data subset.
[0100] In some optional implementations of this embodiment, the second determination module includes: a second determination unit, used to determine the grayscale data that meets the preset filtering conditions from the target grayscale data subset; an acquisition unit, used to acquire the preset adjustment ratio corresponding to the grayscale data that meets the preset filtering conditions; and a third determination unit, used to determine the grayscale data to be adjusted from the grayscale data that meets the preset filtering conditions according to the adjustment ratio.
[0101] In some optional implementations of the present embodiment, the second determination unit includes: a first determination subunit, used to determine at least one group of grayscale data from a target grayscale data subset, wherein the numerical value of each group of grayscale data in the at least one group of grayscale data is the same; and a second determination subunit, used to determine the grayscale data that meets a preset filtering condition based on the number of each group of grayscale data in the at least one group of grayscale data.
[0102] In some optional implementations of this embodiment, the second determining subunit is further used to: determine at least one group of grayscale data containing the largest number of grayscale data as the grayscale data meeting the preset screening condition.
[0103] In some optional implementations of the present embodiment, the acquisition unit includes: a third determination subunit, used to determine the target grayscale data segment to which the grayscale data that meets the preset filtering conditions belongs from at least two preset grayscale data segments; a fourth determination subunit, used to use the preset adjustment ratio corresponding to the target grayscale data segment as the adjustment ratio corresponding to the grayscale data that meets the preset filtering conditions, wherein at least two grayscale data segments are sorted in order from small to large, and the adjustment ratio corresponding to the previous grayscale data segment of two adjacent grayscale data segments is greater than the adjustment ratio corresponding to the next grayscale data segment.
[0104] In some optional implementations of this embodiment, the device also includes: a replacement module, used to replace the grayscale data at the corresponding position in the grayscale data set with the adjusted grayscale data to obtain a replaced grayscale data set; and a display module, used to display an image on a display panel based on the replaced grayscale data set.
[0105] The grayscale data adjustment device provided in this embodiment can be as follows Figure 8 The grayscale data adjustment device shown in can execute all the steps of the above grayscale data adjustment methods, thereby achieving the technical effects of the above grayscale data adjustment methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0106] Fig. 9 A schematic diagram of the structure of a display panel provided in an embodiment of the present application is shown in FIG. Fig. 9 The display panel 900 shown includes: a display panel body 901 and a driving module 902, wherein the driving module 902 is connected to the display panel body 901. The display panel body may be provided with a pixel unit array, as well as necessary signal interfaces, circuit boards, signal transmission lines, etc. The driving module 902 may send various driving signals to the display panel body 901 through the signal interface, such as a scanning driving signal for each row of the pixel unit array, a grayscale data signal for each column of the pixel column unit array, etc.
[0107] The driving module 902 may be used to execute the method steps provided by the above method embodiments, for example, including:
[0108] Acquire a grayscale data set of an image to be displayed; determine a target grayscale data subset to be grayscale adjusted from the grayscale data set; determine grayscale data that meets preset adjustment conditions from the target grayscale data subset as grayscale data to be adjusted; adjust the grayscale data to be adjusted based on a preset grayscale data reduction amount to obtain adjusted grayscale data.
[0109] The display panel provided in this embodiment may be as follows Fig. 9 The display panel shown in can execute all the steps of the grayscale data adjustment methods described above, thereby achieving the technical effects of the grayscale data adjustment methods described above. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0110] The embodiment of the present application also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0111] When one or more programs in the storage medium can be executed by one or more processors, the grayscale data adjustment method executed on the electronic device side can be implemented.
[0112] The processor is used to execute the program stored in the memory to implement the following steps of the grayscale data adjustment method performed on the electronic device side:
[0113] Acquire a grayscale data set of an image to be displayed; determine a target grayscale data subset to be grayscale adjusted from the grayscale data set; determine grayscale data that meets preset adjustment conditions from the target grayscale data subset as grayscale data to be adjusted; adjust the grayscale data to be adjusted based on a preset grayscale data reduction amount to obtain adjusted grayscale data.
[0114] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different circuits to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0115] The steps of the circuits or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, software modules executed by a processor, or a combination of the two. The software modules may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0116] It should be understood that the terms used in the text are only for the purpose of describing specific example embodiments, and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used in the text may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The steps, processes, and operations described in the text are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0117] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A grayscale data adjustment method, characterized in that: The method comprises: Acquire a grayscale data set of an image to be displayed; Determining a target grayscale data subset to be grayscale adjusted from the grayscale data set; Determining grayscale data that meets a preset adjustment condition from the target grayscale data subset as grayscale data to be adjusted; Based on the preset grayscale data reduction amount, the grayscale data to be adjusted is adjusted to obtain adjusted grayscale data.
2. The method according to claim 1, characterized in that: The step of determining a target grayscale data subset to be grayscale adjusted from the grayscale data set comprises: Dividing the image into regions to obtain a preset number of image regions; A target image area is determined from the preset number of image areas, and a grayscale data subset corresponding to the target image area is determined as a target grayscale data subset.
3. The method according to claim 1, characterized in that The step of determining grayscale data that meets a preset adjustment condition from the target grayscale data subset as grayscale data to be adjusted includes: Determining grayscale data that meets a preset screening condition from the target grayscale data subset; Obtaining a preset adjustment ratio corresponding to the grayscale data meeting the preset screening condition; According to the adjustment ratio, the grayscale data to be adjusted is determined from the grayscale data meeting the preset screening condition.
4. The method according to claim 3, characterized in that The step of determining grayscale data that meets a preset screening condition from the target grayscale data subset includes: Determining at least one set of grayscale data from the target grayscale data subset, wherein the values of each set of grayscale data in the at least one set of grayscale data are the same; Grayscale data meeting a preset screening condition is determined according to the quantity of each group of grayscale data in the at least one group of grayscale data.
5. The method according to claim 4, characterized in that The step of determining the grayscale data meeting a preset screening condition according to the quantity of each group of grayscale data in the at least one group of grayscale data comprises: At least one group of grayscale data containing the largest number of grayscale data is determined as grayscale data meeting a preset screening condition.
6. The method according to claim 3, characterized in that The obtaining of a preset adjustment ratio corresponding to the grayscale data meeting the preset screening condition includes: Determining, from at least two preset grayscale data segments, a target grayscale data segment to which the grayscale data meeting a preset screening condition belongs; The preset adjustment ratio corresponding to the target grayscale data segment is used as the adjustment ratio corresponding to the grayscale data that meets the preset screening condition, wherein the at least two grayscale data segments are sorted in ascending order, and the adjustment ratio corresponding to the previous grayscale data segment of two adjacent grayscale data segments is greater than the adjustment ratio corresponding to the next grayscale data segment.
7. The method according to claim 1, characterized in that After adjusting the grayscale data to be adjusted based on the preset grayscale data reduction amount to obtain the adjusted grayscale data, the method further includes: Replacing the grayscale data at the corresponding position in the grayscale data set with the adjusted grayscale data to obtain a replaced grayscale data set; The image is displayed on a display panel based on the replaced grayscale data set.
8. A grayscale data adjustment device, characterized in that: The device comprises: An acquisition module, used for acquiring a grayscale data set of an image to be displayed; A first determination module, configured to determine a target grayscale data subset to be grayscale adjusted from the grayscale data set; A second determination module, configured to determine, from the target grayscale data subset, grayscale data that meets a preset adjustment condition as grayscale data to be adjusted; The adjustment module is used to adjust the grayscale data to be adjusted based on a preset grayscale data reduction amount to obtain adjusted grayscale data.
9. A display panel, characterized in that: The display panel comprises: a display panel body and a driving module, wherein the driving module is connected to the display panel body; The driving module is used to execute the grayscale data adjustment method described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the grayscale data adjustment method described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Gamma adjusting method and device of display panel
CN111798799A
Image display method and device, electronic equipment and storage medium
CN115794266A
Display control method and device, electronic equipment and readable storage medium
CN117079608A
Gamma debugging method and device of display panel, equipment and storage medium
CN117174012A
Gray scale debugging method of display panel and display panel
CN118781985A