Gray scale data adjustment method and apparatus, display panel, and storage medium
By adjusting the grayscale data of the LCD panel, the problems of high power consumption and low versatility in the existing technology have been solved, achieving a reduction in power consumption without affecting display quality, and making it suitable for various types of display panels.
Patent Information
- Application Number
- CN202411997873.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2044-12-31
AI Technical Summary
Existing technologies for reducing the power consumption of LCD panels suffer from low versatility and high complexity, which may increase production costs and affect display performance.
By determining a subset of target grayscale data from the grayscale data set of the image to be displayed, and adjusting the grayscale data according to preset conditions, the grayscale data is reduced to decrease power consumption without affecting display quality.
This solution reduces the power consumption of the LCD panel without changing the hardware, improves the versatility of the solution, and maintains the same display effect.
Smart Images

Figure CN119580662B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display panels, and in particular to a gray scale data adjustment method and device, a display panel, and a computer readable storage medium. BACKGROUND
[0002] A liquid crystal display (LCD) is a common display device and is widely used in various electronic devices. The power consumption problem of an LCD panel is an important research direction. Since each pixel in an LCD panel needs to be continuously refreshed and display images, a large amount of electrical energy is consumed. In addition, as the display resolution increases, the power consumption problem becomes more prominent. Therefore, how to reduce the power consumption of an LCD panel and improve its energy efficiency is an important research topic.
[0003] Existing power consumption reduction schemes mainly reduce the power consumption of an LCD panel by improving the characteristics of liquid crystal materials and optimizing display driving methods. 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 optimize display driving methods, such as using pulse width modulation (PWM) and the like, to reduce power consumption.
[0004] Although the existing technologies reduce the power consumption of an LCD panel to some extent, there are still some problems. First, these technologies often require significant changes to liquid crystal materials or display driving methods, which can increase production costs and may have some impact on display effects. Second, these technologies are often only applicable to specific types of LCD panels and lack universality. SUMMARY
[0005] In view of this, to solve some or all of the above technical problems, the embodiments of the present application provide a gray scale data adjustment method and device, a display panel, and a computer readable storage medium.
[0006] In a first aspect, the embodiments of the present application provide a gray scale data adjustment method, which includes: obtaining a gray scale data set of an image to be displayed; determining a target gray scale data subset to be adjusted from the gray scale data set; determining gray scale data that meets a preset adjustment condition from the target gray scale data subset as gray scale data to be adjusted; and adjusting the gray scale data to be adjusted based on a preset gray scale data reduction amount to obtain adjusted gray scale data.
[0007] In a possible implementation, the target gray scale data subset to be adjusted is determined from the gray scale data set, including: dividing the image into a preset number of image regions; determining a target image region from the preset number of image regions, and determining a gray scale data subset corresponding to the target image region as the target gray scale data subset.
[0008] In a possible implementation, the gray scale data meeting the preset adjustment condition is determined as the gray scale data to be adjusted from the target gray scale data subset, including: determining the gray scale data meeting the preset screening condition from the target gray scale data subset; obtaining a preset adjustment ratio corresponding to the gray scale data meeting the preset screening condition; and determining the gray scale data to be adjusted from the gray scale data meeting the preset screening condition according to the adjustment ratio.
[0009] In a possible implementation, the gray scale data meeting the preset screening condition is determined from the target gray scale data subset, including: determining at least one group of gray scale data from the target gray scale data subset, wherein the value of each group of gray scale data in the at least one group of gray scale data is the same; and determining the gray scale data meeting the preset screening condition according to the number of each group of gray scale data in the at least one group of gray scale data.
[0010] In a possible implementation, the gray scale data meeting the preset screening condition is determined according to the number of each group of gray scale data in the at least one group of gray scale data, including: determining the at least one group of gray scale data containing the most gray scale data as the gray scale data meeting the preset screening condition.
[0011] In a possible implementation, the preset adjustment ratio corresponding to the gray scale data meeting the preset screening condition is obtained, including: determining a target gray scale data segment to which the gray scale data meeting the preset screening condition belongs from the preset at least two gray scale data segments; and obtaining the adjustment ratio corresponding to the target gray scale data segment as the adjustment ratio corresponding to the gray scale data meeting the preset screening condition, wherein the at least two gray scale data segments are sorted in ascending order, and the adjustment ratio corresponding to a previous gray scale data segment of adjacent two gray scale data segments is greater than the adjustment ratio corresponding to a subsequent gray scale data segment.
[0012] In a possible implementation, after the gray scale data to be adjusted is adjusted based on the preset gray scale data reduction amount to obtain adjusted gray scale data, the method further includes: replacing the adjusted gray scale data with the gray scale data at a corresponding position in the gray scale data set to obtain a replaced gray scale data set; and displaying the image on the display panel based on the replaced gray scale data set.
[0013] In a second aspect, an embodiment of the present application provides a gray scale data adjustment apparatus, which comprises: an acquisition module configured to acquire a gray scale data set of an image to be displayed; a first determination module configured to determine, from the gray scale data set, a target gray scale data subset to be adjusted; a second determination module configured to determine, from the target gray scale data subset, a gray scale data meeting a preset adjustment condition as a gray scale data to be adjusted; and an adjustment module configured to adjust the gray scale data to be adjusted based on a preset gray scale data reduction amount, to obtain adjusted gray scale data.
[0014] In a third aspect, an embodiment of the present application provides a display panel, which comprises: a display panel body and a driving module connected with the display panel body; and the driving module is configured to execute the gray scale data adjustment method described in the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method of any one of the embodiments of the gray scale data adjustment method in the first aspect.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program, which comprises computer readable code, and when the computer readable code is run on a device, the processor in the device implements the method of any one of the embodiments of the gray scale data adjustment method in the first aspect.
[0017] The gray scale data adjustment method, apparatus, display panel and computer readable storage medium provided by the embodiments of the present application determine, from a gray scale data set of an image to be displayed, a target gray scale data subset to be adjusted, determine, from the target gray scale data subset, a gray scale data to be adjusted meeting a preset adjustment condition, and then adjust the gray scale data to be adjusted based on a preset gray scale data reduction amount, to obtain adjusted gray scale data. The embodiments of the present application implement the reduction of a part of gray scale data of an image, can reduce the power consumption of a display panel when displaying an image without affecting the display quality of a picture, and do not need to adjust the hardware of the panel, and can be applied to various types of display panels, thereby improving the universality of the scheme. BRIEF DESCRIPTION OF DRAWINGS
[0018] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles behind the application.
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, those skilled in the art can obtain other drawings from these drawings without any creative effort.
[0020] One or more embodiments are illustrated by way of example in the figures that are part of this disclosure and which are illustrative, but not restrictive, of the present embodiments, wherein like references numerals refer to like elements, unless otherwise specified, and wherein the figures are not necessarily drawn to scale. The figures of the accompanying drawings are intended to exemplify embodiments of the present application and are not limiting as to the scope, nature, or components of the embodiments.
[0021] Figure 1 A flowchart of a gray scale data adjustment method provided by an embodiment of the present application;
[0022] Figure 2 A flowchart of another gray scale data adjustment method provided by an embodiment of the present application;
[0023] Figure 3 A schematic diagram of a plurality of regions included in an image provided by an embodiment of the present application;
[0024] Figure 4 A flowchart of another gray scale data adjustment method provided by an embodiment of the present application;
[0025] Figure 5 A gray scale-brightness curve of a pixel provided by an embodiment of the present application;
[0026] Figure 6A A schematic diagram of a target gray scale data subset before adjustment provided by an embodiment of the present application;
[0027] Figure 6B A schematic diagram of a target gray scale data subset after adjustment provided by an embodiment of the present application;
[0028] Figure 7 A flowchart of another gray scale data adjustment method provided by an embodiment of the present application;
[0029] Figure 8 A structural schematic diagram of a gray scale data adjustment device provided by an embodiment of the present application;
[0030] Figure 9 A structural schematic diagram of a display panel provided by 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 figures. It should be apparent that the described embodiments are only part of the embodiments of the present application, and are not limiting. It should be noted that the relative arrangement, numerical expressions, and values of the components and steps set forth in the embodiments are not limiting to the scope of the present application unless otherwise specified.
[0032] Those skilled in the art can understand that the terms "first", "second" and the like in the embodiments of the present application are only used to distinguish different steps, devices or modules, and do not represent any specific technical meaning, nor represent a logical sequence between them.
[0033] It should also be understood that in the present embodiment, "a plurality of" can mean two or more, and "at least one" can mean one, two or more.
[0034] It should also be understood that for any component, data or structure mentioned in the embodiments of the present application, it can be understood as one or more in general, without explicit limitation or in the context of the opposite indication.
[0035] In addition, the term "and / or" in the present application is only a description of the association relationship between the associated objects, which means that there can be three relationships, for example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. In addition, the character " / " in the present application generally represents an "or" relationship between the front and rear associated objects.
[0036] It should also be understood that the description of the embodiments of the present application focuses on the differences between the embodiments, and the same or similar parts can be referred to each other, and for the sake of brevity, will not be repeated.
[0037] The following description of at least one exemplary embodiment is merely illustrative in nature and does not in any way limit the application or its application or use.
[0038] Techniques, circuits and devices known to those of ordinary skill in the relevant art can not be discussed in detail, but should be considered as part of the specification where appropriate.
[0039] It should be noted that similar reference numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0040] It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict. In order to understand the embodiments of the present application, the following will be described in detail with reference to the drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor are within the scope of protection of the present application.
[0041] In order to solve the technical problems of low universality and complex implementation of the prior art display panel power reduction scheme, the present application provides a gray scale data adjustment method, which can adjust the gray scale value of an image by a software method, reduce the power consumption of a display panel without affecting the display quality, and improve the universality of the scheme.
[0042] Figure 1 A flowchart of a gray scale data adjustment method provided by an embodiment of the present application is shown in FIG. 1. The method can be applied to a display panel and is executed by a timing control integrated circuit (TCON IC) on the display panel. Alternatively, the method can also be executed by other electronic devices other than the display panel, such as a server or other terminal device in communication connection with the display panel, to obtain the gray scale data of an image, adjust the gray scale data, and send the adjusted gray scale data to the display panel for display.
[0043] In addition, the execution subject of the method can be hardware or software. When the execution subject is hardware, the execution subject can be one or more of the above-mentioned electronic devices. For example, a single electronic device can execute the method, or multiple electronic devices can cooperate with each other to execute the method. When the execution subject is software, the method can be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made herein.
[0044] As shown in FIG. 1, the method specifically includes the following steps. Figure 1
[0045] Step 101: Obtain a gray scale data set of an image to be displayed.
[0046] In this embodiment, the electronic device executing the method can obtain the gray scale data set from a device storing image data, such as a SOC (System on Chip) in the display panel. Each gray scale data in the gray scale data set is a gray scale value corresponding to each pixel of the image to be displayed.
[0047] Step 102: Determine a target gray scale data subset to be adjusted from the gray scale data set.
[0048] In this embodiment, the target gray scale data subset can include part of the gray scale data in the gray scale data set, or alternatively, can include all the gray scale data in the gray scale data set. As an example, the target gray scale data subset can be the gray scale data of the pixels contained in a certain region of the image, or can be a gray scale data subset extracted from the gray scale data set according to a preset extraction algorithm (for example, extracting gray scale data greater than a set gray scale value).
[0049] Step 103, determining, from the target gray scale data subset, the gray scale data meeting the preset adjustment condition as the gray scale data to be adjusted.
[0050] In the embodiment, the preset adjustment condition can be set according to actual power consumption reduction requirement. As an example, the gray scale data with the largest number of same values in the target gray scale data subset can be taken as the gray scale data to be adjusted. A certain number of gray scale data can be further extracted from the gray scale data with the largest number of same values as the gray scale data to be adjusted. Alternatively, the gray scale data greater than a certain set gray scale data threshold in the target gray scale data subset can be taken as the gray scale data to be adjusted.
[0051] Step 104, adjusting the gray scale data to be adjusted based on the preset gray scale data reduction amount to obtain the adjusted gray scale data.
[0052] In the embodiment, the electronic device can adjust the gray scale data to be adjusted in various manners. For example, the gray scale data to be adjusted can be reduced by a uniform gray scale value or by a uniform percentage. The adjusted gray scale data has a certain degree of reduction compared with the gray scale data before adjustment, but the reduced gray scale data only accounts for a part of the entire gray scale data set, and thus does not affect the display quality of the entire image.
[0053] The gray scale data adjustment method provided by the embodiment of the application determines the target gray scale data subset to be adjusted from the gray scale data set of the image to be displayed, determines the gray scale data to be adjusted meeting the preset adjustment condition from the target gray scale data subset, and then adjusts the gray scale data to be adjusted based on the preset gray scale data reduction amount to obtain the adjusted gray scale data. The embodiment of the application realizes the reduction of a part of the gray scale data of the image, reduces the power consumption of the display panel during image display without affecting the display quality of the picture, and does not need to adjust the hardware of the panel, and thus can be applied to various types of display panels, and improves the universality of the scheme.
[0054] In some optional implementation manners of the embodiment, as shown in Figure 2 Step 102 includes:
[0055] Step 1021, dividing the image into a preset number of image regions.
[0056] The manner of dividing the image can be set according to actual requirement. Generally, the image can be divided into multiple regions with equal size. As shown in Figure 3 The image to be displayed on the display panel is divided into nine equal image regions.
[0057] Step 1022, determining a target image region from the preset number of image regions, and determining a target gray scale data subset corresponding to the target image region as the target gray scale data subset.
[0058] The target gray scale data subset corresponds to the target image region, i.e., a set of gray scale data of each pixel contained in the target image region.
[0059] Any of the above-mentioned preset number of image regions can be a currently selected target image region. Generally, when adjusting the gray scale data of each image region, one image region can be selected as a target image region in sequence, and the gray scale data of the currently selected target image region is adjusted. After adjusting the gray scale data of each image region, the gray scale data set of the adjusted complete image can be obtained.
[0060] The embodiment realizes independent operation of each image region by dividing the image into regions and taking the gray scale data corresponding to one image region as a gray scale data subset, which is beneficial to improve the dispersion and diversity of the adjusted gray scale data, avoid display abnormalities of the image after adjusting the gray scale, and maintain the display quality of the image.
[0061] In some optional implementation manners of the embodiment, as shown in Figure 4 Step 103 includes:
[0062] Step 1031, determining gray scale data meeting a preset screening condition from the target gray scale data subset.
[0063] The screening condition is used to select a part of the gray scale data that can be used to adjust the gray scale from the target gray scale data subset. The screening condition can be set according to actual requirements. For example, the screening condition can include gray scale data with the largest number of the same values, or the first N groups of gray scale data with the same values after sorting according to the number.
[0064] Step 1032, obtaining a preset adjustment ratio corresponding to the gray scale data meeting the preset screening condition.
[0065] The corresponding relationship between the gray scale data and the adjustment ratio can be preset.
[0066] Step 1033, determining to-be-adjusted gray scale data from the gray scale data meeting the preset screening condition according to the adjustment ratio.
[0067] Specifically, the number of the gray scale data meeting the screening condition is multiplied by the adjustment ratio, and the number of to-be-adjusted gray scale data is obtained. Then, a corresponding number of gray scale data can be selected as to-be-adjusted gray scale data from the gray scale data meeting the screening condition according to various selection methods (for example, random selection, or selection in sequence and according to the same data interval).
[0068] The embodiment sets the adjustment ratio corresponding to the gray scale data, and can select the gray scale data to be adjusted from the corresponding quantity according to different gray scale data, which helps to further improve the dispersion of the adjusted gray scale data, avoids the obvious brightness change of the picture before and after adjustment, and maintains the display quality of the image.
[0069] In some optional implementation of the embodiment, the step 1031 can be performed as follows:
[0070] First, at least one group of gray scale data is determined from the target gray scale data subset.
[0071] Each group of gray scale data in the at least one group of gray scale data has the same value. For example, the target gray scale data subset contains M gray scale data with a value of 37, and the M gray scale data is a group of gray scale data.
[0072] Then, the gray scale data meeting the preset screening condition is determined according to the quantity of each group of gray scale data in the at least one group of gray scale data.
[0073] The screening condition can be related to the quantity of each group of gray scale data. For example, the gray scale data in the first X groups can be sorted according to the quantity of the gray scale data contained in each group, and the gray scale data in the first X groups is selected as the gray scale data meeting the preset screening condition, and X is a preset quantity.
[0074] The embodiment groups the gray scale data according to the value, and selects the gray scale data meeting the screening condition according to the quantity of the contained gray scale data, so as to select a part of the gray scale data from the gray scale data with the same value for downgrading, and another part remains the original value, so that the brightness change of the downgraded gray scale data and the gray scale data without downgrading is not obvious, and the image display quality is maintained on the basis of reducing the panel power consumption.
[0075] In some optional implementation of the embodiment, at least one group of gray scale data with the largest quantity of contained gray scale data can be determined as the gray scale data meeting the preset screening condition. For example, a group of gray scale data contains M gray scale data, and the quantity of each group of gray scale data is less than M, and the group of gray scale data is the gray scale data meeting the screening condition. For another example, if multiple groups of gray scale data contain M gray scale data, and the quantity of each group of gray scale data is less than M, then the multiple groups of gray scale data are the gray scale data meeting the screening condition. By setting at least one group of gray scale data with the largest quantity as the gray scale data meeting the preset screening condition, a part of some gray scale data with the largest quantity can be downgraded, so that the display brightness change after downgrading is not too obvious, thereby maintaining the image display quality.
[0076] In some optional implementation of the embodiment, the step 1032 can be performed as follows:
[0077] Firstly, from the preset at least two gray scale data segments, determine the target gray scale data segment to which the gray scale data meeting the preset screening condition belongs.
[0078] Among them, the at least two gray scale data segments can be set according to actual needs in advance. The variation of the gray scale value covered by each segment can be the same or different.
[0079] Then, the preset adjustment ratio corresponding to the target gray scale data segment is taken as the adjustment ratio corresponding to the gray scale data meeting the preset screening condition.
[0080] Among them, the at least two gray scale data segments are sorted in ascending order, and the adjustment ratio corresponding to the previous gray scale data segment of the adjacent two gray scale data segments is greater than the adjustment ratio corresponding to the next gray scale data segment.
[0081] As an example, each gray scale data segment and the corresponding adjustment ratio are shown in Table 1 as follows:
[0082] Table 1
[0083] Grey scale data Adjustment 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 gray scale data segment, the larger the corresponding adjustment ratio. The reason for setting this rule is that, as shown in FIG. 1, it shows the gray scale-brightness curve of the pixel. As can be seen from FIG. 1, the size of the gray scale data is related to the display brightness, and the smaller the value of the gray scale data, the smaller the degree of brightness change corresponding to the adjacent two gray scale data, that is, the smaller the curve slope; the larger the value of the gray scale data, the larger the degree of brightness change corresponding to the adjacent two gray scale data, that is, the larger the curve slope. Figure 5 Figure 5
[0085] For the gray scale data with smaller values, since the brightness change of the adjacent gray scale data is small, the brightness change after the gray scale data is reduced is not obvious, so a larger adjustment ratio can be used to reduce more gray scale data, so that the power consumption is reduced more greatly; for the gray scale data with larger values, since the brightness change of the adjacent gray scale data is large, a smaller adjustment ratio can be used to reduce less gray scale data, so as to avoid significant change in overall brightness.
[0086] Referring to FIGS. 2 and 3, Figure 6A and Figure 6B which show the schematic diagrams before and after the adjustment of the target gray scale data subset. As shown in FIG. 2, Figure 6A As shown, in the target gray scale data subset, the gray scale data with the value of 37 has the largest quantity, and these gray scale data are the gray scale data meeting the preset screening condition. According to Table 1, it is determined that the adjustment ratio corresponding to the gray scale data 37 is 50%, and then 50% of the gray scale data with the value of 37 is selected as the gray scale data to be adjusted. The gray scale data to be adjusted is reduced by one gray scale, and the adjusted gray scale data is 36.
[0087] The embodiment achieves a balance between reducing power consumption and maintaining image display brightness by setting multiple gray scale data segments and setting corresponding adjustment ratios according to the sizes of the gray scale data in each segment, thereby helping to avoid sudden changes in picture brightness after gray scale adjustment on the basis of reducing power consumption of the display panel.
[0088] In some optional implementation manners of the embodiment, as shown in the following table 2, the method further includes the following steps after step 104. Figure 7
[0089] Step 105: replacing the adjusted gray scale data in the corresponding position of the gray scale data set to obtain a replaced gray scale data set.
[0090] Specifically, the electronic device can find the gray scale data in the corresponding position of the gray scale data set according to the coordinates of the pixels corresponding to the adjusted gray scale data, and replace the found gray scale data with the adjusted gray scale data.
[0091] Step 106: displaying an image on the display panel based on the replaced gray scale data set.
[0092] Each gray scale data in the replaced gray scale data set corresponds to each pixel in the above figure, and drives each pixel on the display panel to display a color according to the corresponding gray scale according to the adjusted gray scale data.
[0093] The embodiment reduces the power consumption of the display panel by reducing the order of a part of the gray scale data in the gray scale data set and displaying an image on the display panel, while maintaining the quality of the image display.
[0094] Figure 8 A structure diagram of a gray scale data adjustment device provided by the embodiment of the present application is shown. Specifically, the device includes:
[0095] The acquisition module 801 is configured to acquire a gray scale data set of an image to be displayed.
[0096] The first determination module 802 is configured to determine a target gray scale data subset to be adjusted from the gray scale data set.
[0097] The second determination module 803 is configured to determine, from the target gray scale data subset, the gray scale data meeting the preset adjustment condition as the gray scale data to be adjusted.
[0098] The adjustment module 804 is configured to adjust the gray scale data to be adjusted based on the preset gray scale data reduction amount, to obtain the adjusted gray scale data.
[0099] In some optional implementation of the embodiment, the first determination module comprises: a division unit configured to divide the image into a preset number of image regions; and a first determination unit configured to determine a target image region from the preset number of image regions, and determine the gray scale data subset corresponding to the target image region as the target gray scale data subset.
[0100] In some optional implementation of the embodiment, the second determination module comprises: a second determination unit configured to determine, from the target gray scale data subset, the gray scale data meeting the preset screening condition; an acquisition unit configured to acquire the preset adjustment ratio corresponding to the gray scale data meeting the preset screening condition; and a third determination unit configured to determine, according to the adjustment ratio, the gray scale data to be adjusted from the gray scale data meeting the preset screening condition.
[0101] In some optional implementation of the embodiment, the second determination unit comprises: a first determination sub-unit configured to determine, from the target gray scale data subset, at least one group of gray scale data, wherein the number of gray scale data in each group of gray scale data in the at least one group of gray scale data is the same; and a second determination sub-unit configured to determine, according to the number of gray scale data in each group of gray scale data in the at least one group of gray scale data, the gray scale data meeting the preset screening condition.
[0102] In some optional implementation of the embodiment, the second determination sub-unit is further configured to determine, as the gray scale data meeting the preset screening condition, at least one group of gray scale data containing the largest number of gray scale data.
[0103] In some optional implementation of the embodiment, the acquisition unit comprises: a third determination sub-unit configured to determine, from the preset at least two gray scale data segments, a target gray scale data segment to which the gray scale data meeting the preset screening condition belongs; and a fourth determination sub-unit configured to acquire, as the adjustment ratio corresponding to the gray scale data meeting the preset screening condition, the preset adjustment ratio corresponding to the target gray scale data segment, wherein the at least two gray scale data segments are sorted in ascending order, and the adjustment ratio corresponding to a previous gray scale data segment of adjacent two gray scale data segments is greater than the adjustment ratio corresponding to a subsequent gray scale data segment.
[0104] In some optional implementations of the embodiment, the apparatus further includes: a replacing module, configured to replace the adjusted gray scale data with gray scale data at a corresponding position in the set of gray scale data to obtain a set of replaced gray scale data; and a display module, configured to display the image on the display panel based on the set of replaced gray scale data.
[0105] The gray scale data adjusting apparatus provided in the embodiment can be a gray scale data adjusting apparatus as shown in Figure 8 the method, and thus achieves the technical effects of the gray scale data adjusting method. For brevity, details are not described herein.
[0106] Figure 9 A structure diagram of a display panel provided in the embodiment is shown in Figure 9 The display panel 900 shown in the figure includes a display panel body 901 and a driving module 902, and the driving module 902 is connected to the display panel body 901. The display panel body can be provided with a pixel unit array, and necessary signal interfaces, circuit boards, signal transmission lines, etc. The driving module 902 can send various driving signals to the display panel body 901 through the signal interfaces, such as a scanning driving signal for each row of the pixel unit array, a gray scale data signal for each column of the pixel column unit array, etc.
[0107] The driving module 902 can be used to execute the method steps provided in the method embodiments described above, for example, including:
[0108] obtaining a set of gray scale data of an image to be displayed; determining a target gray scale data subset to be adjusted from the set of gray scale data; determining gray scale data meeting a preset adjustment condition as gray scale data to be adjusted from the target gray scale data subset; and adjusting the gray scale data to be adjusted based on a preset gray scale data reduction amount to obtain adjusted gray scale data.
[0109] The display panel provided in the embodiment can be a display panel as shown in Figure 9 the method, and thus achieves the technical effects of the gray scale data adjusting method. For brevity, details are not described herein.
[0110] The embodiment of the present application further provides a storage medium (computer readable storage medium). The storage medium stores one or more programs. The storage medium can include a volatile memory, such as a random access memory; the storage medium can also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk, or a solid state disk; and the storage medium can also include a combination of the above kinds of memories.
[0111] When one or more programs stored in the storage medium are executed by one or more processors, the above-mentioned gray scale data adjustment method performed on the electronic device side is implemented.
[0112] The above-mentioned processor is configured to execute the program stored in the memory to implement the following steps of the gray scale data adjustment method performed on the electronic device side:
[0113] Obtain a set of gray scale data of an image to be displayed; determine a target gray scale data subset to be adjusted from the set of gray scale data; determine gray scale data meeting a preset adjustment condition from the target gray scale data subset as gray scale data to be adjusted; and adjust the gray scale data to be adjusted based on a preset gray scale data reduction amount to obtain adjusted gray scale data.
[0114] Those skilled in the art will further appreciate that the steps of the examples described in connection with the embodiments disclosed herein can be embodied in electronic hardware, computer software, or combinations of both. The various examples have been described in relation to the presently illustrated embodiments, as a method and / or an apparatus by way of example only, and various modifications and improvements will occur to those skilled in the art from the above description. Such modifications and improvements are intended to fall within the scope of the application.
[0115] The steps of the circuits or algorithms described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in random access memory (RAM), flash memory, read-only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, 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 herein are for the purpose of describing particular example embodiments only and are not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. The terms "comprises", "comprising", "includes", "including" and the like are to be construed to be inclusive (i.e., to include both instances of open and closed transitions) unless otherwise indicated. The steps, processes, and operations described herein are not to be construed as necessarily requiring their performance in the particular order in which they are described unless otherwise indicated. It is also to be understood that additional or alternative steps can be employed.
[0117] The foregoing detailed description of the application has been presented for purposes of illustration and description. Various modifications and changes can be made to these embodiments without departing from the spirit and scope of the application. It is intended that the scope of the application should not be limited by the particular representative embodiments described above.
Claims
1. A method for adjusting grayscale data, characterized in that, The method includes: Obtain the grayscale data set of the image to be displayed; Determine the target grayscale data subset to be adjusted from the grayscale data set; From the target grayscale data subset, grayscale data that meets the preset adjustment conditions are determined as grayscale data to be adjusted; Based on a preset grayscale data reduction amount, the grayscale data to be adjusted is adjusted to obtain the adjusted grayscale data. The step of determining grayscale data that meets preset adjustment conditions from the target grayscale data subset as grayscale data to be adjusted includes: From the target grayscale data subset, determine the grayscale data that meets the preset filtering conditions; Obtain the preset adjustment ratio corresponding to the grayscale data that meets the preset filtering conditions; According to the adjustment ratio, the number of grayscale data to be adjusted is determined from the grayscale data that meet the preset screening conditions.
2. The method according to claim 1, characterized in that, Determining the target grayscale data subset to be adjusted from the grayscale data set includes: The image is divided into regions to obtain a preset number of image regions; The target image region is determined from the preset number of image regions, and the grayscale data subset corresponding to the target image region is determined as the target grayscale data subset.
3. The method according to claim 1, characterized in that, The step of determining grayscale data that meets preset filtering conditions from the target grayscale data subset includes: From the target grayscale data subset, at least one set of grayscale data is determined, wherein the values of each set of grayscale data in the at least one set of grayscale data are the same; Based on the number of grayscale data in each of the at least one set of grayscale data, determine the grayscale data that meets the preset filtering conditions.
4. The method according to claim 3, characterized in that, The step of determining grayscale data that meets preset filtering conditions based on the number of grayscale data in each of the at least one set of grayscale data includes: Identify at least one set of grayscale data that contains the most grayscale data as grayscale data that meets the preset filtering criteria.
5. The method according to claim 1, characterized in that, The step of obtaining the preset adjustment ratio corresponding to the grayscale data that meets the preset filtering conditions includes: From at least two preset grayscale data segments, determine the target grayscale data segment to which the grayscale data that meets the preset filtering conditions belongs; The preset adjustment ratio corresponding to the target grayscale data segment is used as the adjustment ratio for obtaining the grayscale data that meets the preset filtering conditions. 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.
6. The method according to claim 1, characterized in that, After adjusting the grayscale data to be adjusted based on a preset grayscale data reduction amount to obtain the adjusted grayscale data, the method further includes: The adjusted grayscale data replaces the corresponding grayscale data in the grayscale data set to obtain the replaced grayscale data set. The image is displayed on the display panel based on the replaced grayscale data set.
7. A grayscale data adjustment device, characterized in that, The device includes: The acquisition module is used to acquire the grayscale data set of the image to be displayed; The first determining module is used to determine the target grayscale data subset to be adjusted from the grayscale data set; The second determining module is used to determine grayscale data that meet the preset adjustment conditions from the target grayscale data subset 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, so as to obtain the adjusted grayscale data. The step of determining grayscale data that meets preset adjustment conditions from the target grayscale data subset as grayscale data to be adjusted includes: From the target grayscale data subset, determine the grayscale data that meets the preset filtering conditions; Obtain the preset adjustment ratio corresponding to the grayscale data that meets the preset filtering conditions; According to the adjustment ratio, the number of grayscale data to be adjusted is determined from the grayscale data that meet the preset screening conditions.
8. A display panel, characterized in that, The display panel includes: 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 according to any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the grayscale data adjustment method according to any one of claims 1-6.
Citation Information
Patent Citations
Gamma adjusting method and device of display panel
CN111798799A
Image pixel data processing method and device, display and medium
CN118982968A