This application claims priority of Chinese Patent Application No. 202211696594.5, filed on Dec. 28, 2022, the entire content of which is hereby incorporated by reference.
The present disclosure relates to the field of display technology and, more specifically, to a control method and a control device for a display panel, a storage medium, and an electronic device.
With increasing requirements of the appearance, color, and display usability of the display, the display technology continues to develop and progress. At present, the mainstream displays in the market mainly include liquid crystal displays, plasma displays, organic light-emitting diode displays, light-emitting diode displays, field emission displays, etc. The display of organic light-emitting diode (OLED) is an important display panel, which has excellent characteristics such as self-illumination, no need for backlight, wide color gamut, high contrast, thin, wide viewing angle, fast response speed, can be used for flexible panels, wide operating temperature range, simple structure and manufacturing process, etc.
However, at present, the voltage drop compensation and partial highlighting of the display panel cannot be achieved at the same time, and only a compromising operation scheme can be used during the working process of the display panel.
One aspect of the present disclosure provides a control method for a display panel. The display mode of display panel includes a normal display mode and a partial highlight display mode. The control method includes in the partial highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale displayed corresponding to each pixel, and a number of pixels displaying the corresponding grayscale; determining a target gamma curve based on the display information, a difference between a display brightness corresponding to the grayscale in the target gamma curve and a target display brightness required for the pixels to display the corresponding grayscale in the partial highlight display mode being within a predetermined range; and controlling the pixels in the display area to display based on the target gamma curve.
Another aspect of the present disclosure provides a control device for a display panel. The display mode of the display panel includes a normal display mode and a partial highlight display mode. The control device includes an acquisition module, the acquisition module being configured to acquire display information of a display area in the display panel in the partial highlight display mode, the display information including a grayscale displayed corresponding to each pixel, and a number of pixels displaying the corresponding grayscale; a determination module, the determination module being configured to determine a target gamma curve based on the display information, a difference between a display brightness corresponding to the grayscale in the target gamma curve and a target display brightness required for the pixels to display the corresponding grayscale in the partial highlight display mode being within a predetermined range; and a control module, the control module being configured to control the pixels in the display area to display based on the target gamma curve.
Another aspect of the present disclosure provides a computer-readable storage medium. The computer-readable storage medium stores program instructions, the program instructions are used to implement a control method for a display panel. The display mode of the display panel includes a normal display mode and a partial highlight display mode. The control method includes in the partial highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale displayed corresponding to each pixel, and a number of pixels displaying the corresponding grayscale; determining a target gamma curve based on the display information, a difference between a display brightness corresponding to the grayscale in the target gamma curve and a target display brightness required for the pixels to display the corresponding grayscale in the partial highlight display mode being within a predetermined range; and controlling the pixels in the display area to display based on the target gamma curve.
Another aspect of the present disclosure provides an electronic device. The electronic device includes at least one processor, at least one memory connected to the at least one processor, and a bus. The at least one processor and the at least one memory are configured to communicate to each other through the bus. The at least one processor is configured to call a program instruction store in the at least one memory to obtain display information of a display area in a display panel in a partial highlight display mode, the display information including a grayscale displayed corresponding to each pixel, and a number of pixels displaying the corresponding grayscale; determine a target gamma curve based on the display information, a difference between a display brightness corresponding to the grayscale in the target gamma curve and a target display brightness required for the pixels to display the corresponding grayscale in the partial highlight display mode being within a predetermined range; and control the pixels in the display area to display based on the target gamma curve.
Consistent with the present disclosure, in the display panel control method provided by the embodiments of the present disclosure, when the display panel performs partial highlighting, the target gamma curve to be used can be determined based on the display information, and the pixels in the display area can be controlled based on the target gamma curve to adjust the brightness of the display area. The method of determining the target gamma curve based on the display information is more flexible, and adjusting the brightness through the target gamma curve does not depend on the voltage drop characteristics of the display panel. In this way, in the partial highlight display mode, the brightness of the partial highlight area is no longer limited by the voltage drop characteristics of the display panel. Therefore, when the voltage drop compensation function in the display panel is turned on such that the display panel can perform uniform display, the brightness of the partial highlight area will not be reduced, that is, the brightness of the partial highlight area in the partial highlight display mode can be improved. Therefore, the display panel control method can improve the brightness of the partial highlight area in the partial highlight display mode while ensuring the uniform display of the display panel.
In addition, in conventional technology, the maximum brightness in the partial highlight display mode is related to the voltage drop of the display panel, and the extent of the voltage drop after the display panel is manufactured is limited, which will also affect the further improvement of the brightness of the partial highlight area. In the display panel control method provided by the embodiments of the present disclosure, the brightness of the partial highlight area is determined based on the target gamma curve, and the brightness is no longer limited by the voltage drop characteristics of the display panel. In this way, when higher brightness is required in the partial highlight area, the brightness information can be represented in the display information, and this brightness information may also be included in the target gamma curve determined based on the display information. In this way, the brightness of the partial highlight area can be adjusted based on the target gamma curve, thereby further improving the brightness of the partial highlight area.
In order to illustrate the technical solutions in accordance with the embodiments of the present disclosure more clearly, the accompanying drawings to be used for describing the embodiments are introduced briefly in the following. It is apparent that the accompanying drawings in the following description are only some embodiments of the present disclosure. Persons of ordinary skill in the art can obtain other accompanying drawings in accordance with the accompanying drawings without any creative efforts.
The technical solutions provided by the embodiments of the present disclosure will be described clearly and completely as follow in conjunction with the drawings. It is apparent that the described embodiments are only a few rather than all of the embodiments according to the present disclosure. Any other embodiments obtained by those skilled in the art based on the embodiments in the present disclosure without any creative work fall in the scope of the present disclosure.
As described above, at present, the voltage drop compensation and partial highlighting of the display panel cannot be achieved at the same time, and only a compromising operation scheme can be used during the working process of the display panel.
That is, in conventional technology, the voltage drop compensation function is used to reduce the influence of the voltage drop on the display panel, but in the partial highlight display mode, a relatively large voltage drop is needed to achieve partial highlight display. Therefore, the two schemes are mutually exclusive and cannot be achieved at the same time. Therefore, in conventional technology, during the working process of the display panel, only one of the schemes can be selected or a compromising operation scheme can be selected.
Based on this, embodiments of the present disclosure provide a display panel control method, a display panel control device, a storage medium, and an electronic device. The display panel control method can be used to improve the brightness of the partial highlight area under the partial highlight display of the display panel while ensuring the display uniformity of the display panel.
In order to make the objectives, technical solutions, and advantages of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be described below with reference to the drawings.
In the embodiments of the present disclosure, the display panel includes a normal display mode and a partial highlight display mode.
S101, in the partial highlight display mode, obtaining display information of a display area in the display panel, the display information including the grayscale displayed corresponding to each pixel, and the number of pixels that display the corresponding grayscale.
S102, determining a target gamma curve based on the display information, a difference between the display brightness corresponding to the grayscale in the target gamma curve and target display brightness required for the pixels to display the corresponding grayscale in the partial highlight display mode being within a predetermined range.
S103, controlling the pixels in the display area to display based on the target gamma curve.
More specifically, before controlling the display panel to display the next frame in the embodiments of the present disclosure, the integrated circuit (IC, the driver chip used to control the display panel to display) in the display panel may first obtain the display information of the entire display area in the next frame of the display panel. That is, to obtain the grayscale corresponding to each pixel in the entire display panel in the next frame, and the number of pixels that display the corresponding grayscale. Based on the obtained display information, the display area and display brightness of the next frame of the display panel can be determined.
The target gamma curve corresponding to the next frame displayed on the display panel may be determined based on the determined display area and display brightness of the next frame of the display panel, and the pixels in the display panel may be controlled to display based on the target gamma curve. In some embodiments, the difference between the display brightness corresponding to the grayscale in the target gamma curve and the target display brightness required for the pixel to display the corresponding grayscale in the partial highlight display mode may be within a predetermined range. Ideally, the display brightness corresponding to the grayscale in the target gamma curve is equal to the target display brightness required for the pixel to display the corresponding grayscale in the partial highlight display mode. For example, in the partial highlight display mode, the target display brightness required for a pixel to display the 255 grayscale may be 800 nit, then the gamma curve corresponding to the 255 grayscale corresponding to 800 nit may be determined as the target gamma curve; or, the target display brightness required for the pixel to display the 255 grayscale in the partial highlight display mode may be 1000 nit, then the gamma curve corresponding to the 255 grayscale corresponding to 100 nit may be determined as the target gamma curve.
In order to better understand the display panel control method provided by the embodiments of the present disclosure, the display panel control method described above will be described in detail below with an example.
In conventional technology, as shown in
Obviously, after the voltage drop compensation operation is completed, the maximum brightness of the partial highlight display becomes 500 nit. Therefore, in conventional technology, the schemes of the voltage drop compensation scheme and the partial highlight scheme of the display panel are mutually exclusive and cannot be achieved at the same time. Therefore, in the conventional technology, in the working process of the display panel, only one of the schemes can be selected or a compromising operation scheme can be selected to either ensure the uniform display of the display panel, or perform partial highlighting or reduce the extent of the voltage drop compensation. For example, when the second frame is displayed, the brightness of 600 nit of the pixels displaying the 255 grayscale in the partial highlight area may be adjusted to 580 nit.
In the display panel control method provided by the embodiments of the present disclosure, in the normal display mode, the gamma curve corresponding to the 255 grayscale and 500 nit can still be used. After switching from the normal display mode to the partial highlight display mode, in the target gamma curve determined based on the display information, the 255 grayscale may correspond to 600 nit. When the display panel displays based on the target gamma curve, the brightness of the 255 grayscale displayed in the partial highlight area can be 600 nit. Since the method of improving the brightness of the partial highlight area in the technical solution of the present disclosure is no longer based on voltage drop, but based on the selected target gamma curve for brightness adjustment, when the voltage drop is compensated, the display brightness of the partial highlight area can be maintained at 600 nit without being reduced, which is effectively increased by 50 nit compared with the conventional technology.
It can be seen from the above description that in the display panel control method provided by the embodiments of the present disclosure, when the display panel performs partial highlighting, the target gamma curve to be used can be determined based on the display information, and the pixels in the display area can be controlled based on the target gamma curve to adjust the brightness of the display area. The method of determining the target gamma curve based on the display information is more flexible, and adjusting the brightness through the target gamma curve does not depend on the voltage drop characteristics of the display panel. In this way, in the partial highlight display mode, the brightness of the partial highlight area is no longer limited by the voltage drop characteristics of the display panel. Therefore, when the voltage drop compensation function in the display panel is turned on such that the display panel can perform uniform display, the brightness of the partial highlight area will not be reduced, that is, the brightness of the partial highlight area in the partial highlight display mode can be improved. Therefore, the display panel control method can improve the brightness of the partial highlight area in the partial highlight display mode while ensuring the uniform display of the display panel.
In addition, in conventional technology, the maximum brightness in the partial highlight display mode is related to the voltage drop of the display panel, and the extent of voltage drop after the display panel is manufactured is limited, which will also affect the improvement of the brightness of the partial highlight area. In the display panel control method provided by the embodiments of the present disclosure, the brightness of the partial highlight area can be determined based on the target gamma curve, and the brightness is no longer limited by the voltage drop characteristics of the display panel. In this way, when higher brightness is required in the partial highlight area, the brightness information can be represented in the display information, and this brightness information may also be included in the target gamma curve determined based on the display information. In this way, the brightness of the partial highlight area can be adjusted based on the target gamma curve, thereby further improving the brightness of the partial highlight area.
It should be noted that after the voltage drop compensation function is turned on, the display uniformity of the display panel described above may refer to the display uniformity of other areas in the display panel except for the partial highlight area, or the display uniformity between each partial highlight area when there are multiple partial highlight areas with the same brightness in the display panel.
S201, calculating the weight coefficient of the first grayscale based on the display information, the weight coefficient of the first grayscale being GAPL,
where i indicates the grayscale, ki indicates the grayscale coefficient of the grayscale, and Ni indicates the number of pixels displaying the grayscale i in the display area.
S202, determining the target gamma curve based on the first grayscale weight coefficient.
More specifically, in the embodiments of the present disclosure, 0<ki≤1 and ki<k2<k3 . . . <k255 Before controlling the display panel to display the next frame, the IC in the display panel may first obtain the display information of the entire display area in the next frame of the display panel, that is, obtain the grayscale corresponding to each pixel in the entire display panel of the next frame, and the number of pixels that display the corresponding grayscale. The first grayscale weight coefficient may be calculated based on the importance of pixels displaying different grayscales and the number of pixels corresponding to grayscales relative to the entire display area. That is, the calculated first grayscale weight coefficients of different values may represent display areas and display brightness of different areas, and then used to characterize and determine the display area and display brightness of the next frame of the display panel. Therefore, the method of determining the target gamma curve based on the first grayscale weight coefficient is more accurate, and the method of calculating the first grayscale weight coefficient is relatively simple, which will not introduce calculation burden to the IC in the display panel.
It should be understood that when calculating the weight coefficient of the first grayscale, if the number Ni of pixels corresponding to a certain grayscale is 0, that is, there is no pixel displayed in this grayscale in the panel, then substituting Ni=0 into the calculation will cause this item to be infinite. Therefore, a threshold can be set in advance. During calculation, IC may discard items greater than the threshold and not include them in the final summation operation to ensure the rationality of the calculation results. In addition, the threshold may be selected and set based on actual needs. For example, the threshold may be set to 1, and the IC may discard items greater than 1 during calculation.
S301, pre-storing a plurality of gamma curves in the display panel, the plurality of gamma curves including M highlight corresponding and basic gamma curves corresponding to the partial highlight display mode, the display brightness corresponding to the first grayscale in any one of the M highlight gamma curves being greater than the display brightness corresponding to the first grayscale in the basic gamma curve, and the display brightness corresponding to the first grayscale in any two highlight gamma curves in the M highlight gamma curves being different, M being a positive integer greater than or equal to 1.
S302, setting a plurality of value ranges based on the plurality of stored gamma curves, the number of value ranges being K, K=M+1, and one value range corresponding to one gamma curve in the plurality of gamma curves.
S303, based on the value range of the first grayscale weight coefficient, determining the gamma curve corresponding to the value range as the target gamma curve.
Refer to
It should also be noted that the display panel also stores a gamma curve (the G1 curve) corresponding to the normal display mode, where brightness corresponding to the 255 grayscale in the gamma curve corresponding to the normal display mode is 500 nit.
When the calculated first grayscale weight coefficient is within the value range of 0≤GAPL≤0.3, the area of the first display area when the next frame of the display panel is partially displayed may be relatively large, however, compared with the display, it is also a partial display, but in the case of a relatively large partial display area, a better can be achieved without particularly high brightness. Therefore, a highlight gamma curve with a brightness of 800 nit corresponding to the 255 grayscale can be used to control the pixels in the display area for display.
When the calculated first grayscale weight coefficient is within the value range of 0.3<GAPL≤0.6, the area of the first display area when the next frame of the display panel is partially displayed may be relatively moderate, that is, the area of the partially displayed area may be further reduced. At this time, when the display area is relatively moderate, the display brightness needs to be appropriately increased. Therefore, it is a highlight gamma curve with a brightness of 1000 nit corresponding to the 255 grayscale can be used to control the pixels in the display area for display.
When the calculated first grayscale weight coefficient is within the value range of 0.6<GAPL≤1.0, the area of the first display area when the next frame of the display panel is partially displayed may be relatively small, that is, the area of the partially displayed area may be further reduced. In order to ensure a good display, the display brightness needs to be increased to a relatively large extent when the display area is relatively small. Therefore, a highlight gamma curve with a brightness of 1200 nit corresponding to the 255 grayscale can be used to control the pixels in the display area to realize the highlight display of a relatively small area.
In the display panel control method provided by the embodiments of the present disclosure, a plurality of highlight gamma curves to be used in the partial highlight display mode and a basic gamma curve can be pre-stored in the display panel, a plurality of value ranges can be set based on these pre-stored gamma curves, and the value ranges may correspond to the pre-stored gamma curves in a one-to-one relationship. In this way, after calculating the first grayscale weight coefficient, the corresponding value range of the first grayscale weight coefficient can be determined, thereby determining a gamma curve as the target gamma curve. That is, the control method provided by the embodiments of the present disclosure can accurately determine the target gamma curve from a plurality of gamma curves based on the value range of the first grayscale weight coefficient. Further, compared with the situation where only one gamma curve can be used for adjustment, the control method described above can also realize diversified adjustment of the brightness of the display panel, which is beneficial to further improving the display brightness of the partial highlight area in the partial highlight display mode.
It should be noted that in the foregoing embodiment, only three value ranges are used as an example for illustration. In some other embodiments of the present disclosure, the number of value ranges can be increased or decreased based on actual situation.
S401, pre-storing the basic gamma curve corresponding to the partial highlight display mode in the display panel.
S402, determining the target gamma curve based on the first grayscale weight coefficient and the basic gamma curve.
More specifically, considering the IC storage cost in the display panel, in some embodiments, there may be no need to pre-store a plurality of highlight gamma curves required in the partial highlight display mode in the IC of the display panel, and only one basic gamma curve corresponding to the partial highlight display mode and one gamma curve corresponding to the normal display mode may be stored.
Therefore, the calculated first grayscale weight coefficient may be used as a gain value, and the data corresponding to the target gamma curve may be determined based on the basic gamma curve. In some embodiments, based on the first grayscale weight coefficient and the basic gamma curve, the target gamma curve may be determined by multiplying the brightness corresponding to each grayscale on the basic gamma curve by the first grayscale weight coefficient to obtain the target gamma curve. In this way, different first grayscale weight coefficients combined with the pre-stored basic gamma curves can obtain different target gamma curve data corresponding to different first grayscale weight coefficients, and the pixels in the display area can be controlled to display based on the obtained data of the target gamma curve.
That is, in the embodiments of the present disclosure, under the condition that the dynamic adjustment of the brightness of the partial highlight display mode can be realized, the storage cost of the IC can also be reduced and the operating speed of the IC can be improved. In addition, the first grayscale weight coefficient can be used as the gain value, different gain values can be used to obtain the target gamma curve of different data, which is equivalent to being able to divide the value range infinitely, such that the determined target gamma curve is more accurate.
S501, pre-storing a first gamma curve and a second gamma curve in the display panel, the display brightness corresponding to the first grayscale in the first gamma curve being greater than the display brightness corresponding to the first grayscale in the second gamma curve.
S502, obtaining the number of pixels in the display area whose grayscale is greater than a preset grayscale.
S503, determining whether the number of pixels is smaller than a first set threshold.
S504, if the number of pixels is less than the first set threshold, selecting the first gamma curve as the target gamma curve.
S505, if the number of pixels is greater than or equal to the first set threshold, selecting the second gamma curve as the target gamma curve.
More specifically, in the embodiments of the present disclosure, only two gamma curves may need to be pre-stored in the IC of the display panel, that is, the first gamma curve and the second gamma curve. The display brightness corresponding to the first grayscale in the first gamma curve may be greater than the display brightness corresponding to the first grayscale in the second gamma curve. For example, the display brightness corresponding to the 255 grayscale in the first gamma curve may be 1000 nit, and the display brightness corresponding to the 255 grayscale in the second gamma curve may be 500 nit.
It should be noted that in the embodiments of the present disclosure, the preset grayscale may be the 180 grayscale as an example, and the display panel may have 10,000 pixels as an example, and the first set threshold may be 5,000 as an example.
Subsequently, the number of pixels in the display area whose grayscale is greater than the preset grayscale may be obtained, such as obtaining the number of pixels in the display area whose grayscale is greater than the 180 grayscale. When the number of pixels obtained is less than 5,000, it is considered that the display panel will enter the partial highlight display mode for partial highlight display. At this time, the first gamma curve can be used as the target gamma curve to control the display of pixels in the display area, thereby improving the brightness in the partial highlight display mode. Conversely, when the number of pixels obtained is greater than or equal to 5,000, it is considered that the display panel does not need to enter the partial highlight display mode for partial highlight display. At this time, the second gamma curve can be used as the target gamma curve to control the pixels in the display area to display normally.
That is, in this embodiment, there is no need to calculate the first grayscale weight coefficient of the pixels, and only the number of pixels whose grayscale displayed by the pixels is greater than the preset grayscale needs to be generally counted. Further, whether the display panel needs to enter the partial highlight display mode for partial highlight display can be determined based on the set first set threshold. If the display panel needs to enter the partial highlight display mode for partial highlight display, the highlight target gamma curve can be selected to control the display of pixels. This technical solution is relatively simple and easy to implement.
S601, determining Y first display areas of the display panel, the display brightness of Y first display areas being greater than the display brightness of a second display area, the second display area being the display area other than the first display areas, the grayscale displayed by the pixels in the Y first display areas being the same, which is a second grayscale.
S602, determining two first display areas from the Y first display areas, the distance between the two determined first display areas being greater than a second set threshold.
S603, randomly selecting one first display area from the two determined first display areas as the target display area.
S604, calculating the first grayscale weight coefficient based on the display information, the first grayscale weight coefficient being GAPL,
where i represents the grayscale, ki represents the grayscale coefficient of the grayscale, when i is not the second grayscale, Ni represents the number of pixels displaying the grayscale i; when i is the second grayscale, Ni represents the number of pixels displaying the grayscale i in the target display area.
S605, determining the target gamma curve based on the first grayscale weight coefficient.
Refer to
Considering the viewing angle of the user, when the distance between the two first display areas on the display panel is relatively far, such as shown in
If the sum of the two first display areas is used as the actual effective partial highlight area in the partial highlight display mode, it is obvious that when calculating the weight coefficient of the first grayscale and counting the number of pixels displaying the second grayscale, the sum of the number of pixels displaying the second grayscale in the two first display areas are being counted. Compared with only counting the number of pixels displaying the second grayscale in one of the first display areas, there are more pixels displaying the second grayscale when two first display areas are being counted. Based on the formula of the first grayscale weight coefficient, it can be seen that the obtained first grayscale weight coefficient will become smaller, and the area of the partial highlight area represented by the first grayscale weight coefficient is the sum of the areas of the two first display areas. Therefore, the brightness corresponding to the 255 grayscale in the selected target gamma curve is also low. For example, the brightness corresponding to the 255 grayscale in the selected target gamma curve may be 800 nit, which shows that it does not meet the actual application needs of the user.
Therefore, in the embodiments of the present disclosure, when there are a plurality of first display areas as the partial highlight area, the distance between any two first display areas can be determined. When the distance between the two first display areas is greater than the second set threshold, it may indicate that the user cannot view the two first display areas at the same time when viewing. That is, the user can only use one of the first display areas as the target display area to read information. At this time, a first display area can be randomly selected from the two first display areas as the target display area.
Therefore, when counting the number of pixels displaying the second grayscale when calculating the weight coefficient of the first grayscale, the number of pixels displaying the second grayscale in one of the first display areas may be counted, that is, the number of pixels displaying the second grayscale in the target display area may be counted. Compared with the sum of the number of pixels displaying the second grayscale in the two first display areas, the number of pixels displaying the second grayscale will decrease. Based on the formula of the first grayscale weight coefficient, it can be seen that the obtained first grayscale weight coefficient will increase. The area of the partial highlight area represented by the first grayscale weight coefficient may be the area of the target display area. In addition, the brightness corresponding to the 255 grayscale in the selected target gamma curve may also increase. For example, the brightness corresponding to the 255 grayscale in the selected target gamma curve may be 1000 nit, and the display can meet the actual application needs of the user at this time, and effectively realize the highlight display of a small area, that is, the highlight display can be satisfied when viewing any first display area.
That is, in the embodiments of the present disclosure, the actual situation of user's viewing angle is taken into account, therefore, the target gamma curve meeting the actual needs can be more reasonable determined, and the pixels in the display area can be controlled to display based on the target gamma curve thereby improving the display effect in the partial highlight display mode.
S701, determining Y first display areas of the display panel, the display brightness of Y first display areas being greater than the display brightness of a second display area, the second display area being the display area other than the first display areas, the grayscale displayed by the pixels in the Y first display areas being different.
S702, determining two first display areas from the Y first display areas, the distance between the two determined first display areas being greater than the second set threshold.
S703, randomly selecting one first display area from the two determined first display areas as the target display area.
S704, determining the grayscale displayed by the pixels in the target display area, which is a third grayscale.
S705, calculating the first grayscale weight coefficient based on the display information, the first grayscale weight coefficient being GAPL,
where i represents the grayscale, ki represents the grayscale coefficient of the grayscale, when i is not the third grayscale, Ni represents the number of pixels displaying the grayscale i; when i is the third grayscale, Ni represents the number of pixels displaying the grayscale i in the target display area.
S706, determining the target gamma curve based on the first grayscale weight coefficient.
More specifically, refer to
Considering the viewing angle of the user, when the distance between the two first display areas on the display panel is relatively far, such as shown in
Therefore, in the embodiments of the present disclosure, when there are a plurality of first display areas as the partial highlight area, the distance between any two first display areas can be determined. When the distance between the two first display areas is greater than the second set threshold, it may indicate that the user cannot view the two first display areas at the same time when viewing. That is, the user can only use one of the first display areas as the target display area to read information. At this time, a first display area can be randomly selected from the two first display areas as the target display area.
Therefore, when counting the number of pixels displaying the third grayscale when calculating the weight coefficient of the first grayscale, only the number of pixels displaying the third grayscale in the target display area may be counted. The area of the partial highlight area represented by the first grayscale weight coefficient calculated at this time may be the area of the target display area. The determined target gamma curve may also be relatively in line with the actual viewing situation of the user, such that the display can meet the actual application needs of the user at this time, and effectively realize the highlight display of a small area.
After the target gamma curve is determined, the brightness of different first display areas may be adjusted based on the target gamma curve. For example, if the grayscale displayed by the pixels in a first display area is the 120 grayscale, then the brightness of the first display area may be set to the brightness corresponding to the 120 grayscale on the target gamma curve; and if the grayscale displayed by the pixels in the other first display area is the 210 grayscale, then the brightness of the first display area may be set to the brightness corresponding to the 210 grayscale on the target gamma curve.
That is, in the embodiments of the present disclosure, the actual situation of user's viewing angle is taken into account, therefore, the target gamma curve meeting the actual needs can be more reasonable determined, and the pixels in the display area can be controlled to display based on the target gamma curve thereby improving the display effect in the partial highlight display mode.
S801, determining H first display areas of the display panel, the display brightness of H first display areas being greater than the display brightness of a second display area, the second display area being the display area other than the first display areas, the grayscale displayed by the pixels in the H first display areas being the same, which is a fourth grayscale.
S802, respectively calculating the first grayscale weight coefficients corresponding to each first display area to obtain H first grayscale weight coefficients GAPL,
where i represents the grayscale, ki represents the grayscale coefficient of the grayscale, when i is not the fourth grayscale, Ni represents the number of pixels displaying the grayscale i; when i is the fourth grayscale, Ni represents the number of pixels displaying the grayscale i in the target display area.
S803, determining a first grayscale weight coefficient from H first grayscale weight coefficients as a final first grayscale weight coefficient.
S804, determining the target gamma curve based on the final first grayscale weight coefficient.
More specifically, refer to
Subsequently, the first grayscale weight coefficient corresponding to each first display area may be calculated. For example, when counting the number of pixels displaying the fourth grayscale when calculating the first grayscale weight coefficient of the first-occurring first display area, on the number of pixels displaying the fourth grayscale in the first-occurring first display area may be counted, and the number of pixels displaying other grayscales may be counted normally based on the display area.
In this way, H first grayscale weight coefficients may be obtained. Based on the H first grayscale weight coefficients, for example, processing such as averaging, selecting a mode, or selecting a maximum value to determine a first grayscale weight coefficient as the final first grayscale weight coefficient may be performed. The target gamma curve may be determined based on the final first grayscale weight coefficient, and the pixels in the display area may be controlled to display based on the target gamma curve. In this way, the situation where some first display areas with a smaller area are too bright and some first display areas with a larger area are too dark can be avoided. The brightness of the H first display areas can be equalized, thereby improving the display effect of the display panel in the partial highlight display mode.
S901, determining H first display areas of the display panel, the display brightness of H first display areas being greater than the display brightness of a second display area, the second display area being the display area other than the first display areas, the grayscale displayed by the pixels in the H first display areas being different.
S902, respectively calculating the first grayscale weight coefficients corresponding to each first display area to obtain H first grayscale weight coefficients GAPL,
where i represents the grayscale, ki represents the grayscale coefficient of the grayscale, when i is not the grayscale displayed by the pixels in the first display area currently calculated, Ni represents the number of pixels displaying the grayscale in the display area; when i is the grayscale displayed by the pixels in the first display area currently calculated, Ni represents the number of pixels displaying the grayscale in the currently calculated first display area.
S903, determining a first grayscale weight coefficient from H first grayscale weight coefficients as a final first grayscale weight coefficient.
S904, determining the target gamma curve based on the final first grayscale weight coefficient.
More specifically, refer to
Subsequently, the first grayscale weight coefficient corresponding to each first display area may be calculated. When counting the number of pixels displaying the grayscale and the grayscale is the grayscale displayed by the pixels in the currently calculated first display area, only the number of pixels displaying the grayscale in the current calculated first display area may be counted, and the number of pixels displaying other grayscales may be counted normally based on the display area.
In this way, H first grayscale weight coefficients may be obtained. Based on the H first grayscale weight coefficients, for example, processing such as averaging, selecting a mode, or selecting a maximum value to determine a first grayscale weight coefficient as the final first grayscale weight coefficient may be performed. The target gamma curve may be determined based on the final first grayscale weight coefficient, and the pixels in the display area may be controlled to display based on the target gamma curve. In this way, the situation where some first display areas with a smaller area are too bright and some first display areas with a larger area are too dark can be avoided. The brightness of the H first display areas can be equalized, thereby improving the display effect of the display panel in the partial highlight display mode.
S1031, stopping the voltage drop compensation function of the display panel when controlling the pixels in the display area to display based on the target gamma curve.
More specifically, in the display panel control method provided by the embodiments of the present disclosure, if it is determined that the 255 grayscale in the target gamma curve determined based on the display information corresponds to 800 nit, then when the display panel displays based on the target gamma curve, the brightness of the pixels displaying the 255 grayscale may be 800 nit. If the display is switched to display the partial highlight area, based on the characteristics of the display panel, the brightness of the pixels displayed the 255 grayscale in the partial highlight area may also be automatically increased, for example, automatically increased to 1000 nit. If the voltage drop compensation operation is not performed at this time, then 1000 nit is the maximum brightness of the partial highlight area in the partial highlight display mode in this technical solution. Compared with the 600 nit in the conventional technology, the brightness of the partial highlight display mode in the partial highlight display mode is improved.
If the voltage drop compensation operation is performed at the same time, the maximum brightness of the partial highlight area in the partial highlight display mode becomes 800 nit after the voltage drop compensation operation is completed. At this time, 800 nits is the maximum brightness of the partial highlight area in the partial highlight display mode in this technical solution.
Therefore, in the embodiments of the present disclosure, when the pixels in the display area are controlled to display based on the target gamma curve, stopping the voltage drop compensation function of the display panel can further improve the brightness of the display panel in the partial highlight display mode.
S104, adjusting the brightness of the display area based on the target gamma curve.
More specifically, in the embodiments of the present disclosure, due to the voltage drop on the display panel, the brightness of pixels in different areas may vary even when they display the same grayscale at the same time. Therefore, in the embodiments of the present disclosure, the brightness of the pixels in the display area can also be adjusted based on the determined target gamma curve to ensure the display effect of the display panel and ensure that the pixels displaying the same grayscale have the same brightness.
Based on the same inventive concept, an embodiment of the present disclosure also provides a display panel control device, which can be used to implement the display panel control method described in the foregoing embodiments. Refer to
More specifically, in the embodiments of the present disclosure, in the partial highlight display mode, the display information of the display area in the display panel may be obtained. The display information may include the grayscale displayed corresponding to each pixels, and the number of pixels that display the corresponding grayscale. Further, the target gamma curve may be determined based on the display information, and the difference between the display brightness in the target gamma curve and the target display brightness required for the pixels to display the corresponding grayscale in the partial highlight display mode may be within a predetermined range. Furthermore, the pixels in the display area may be controlled to display based on the target gamma curve. The display panel control device can not only ensure the uniform display of the display panel, but also improve the brightness of the partial highlight area in the partial highlight display mode.
In some embodiments, the determination module 12 may include a calculation unit. The calculation unit may be configured to calculate the first grayscale weight coefficient based on the display information. The weight coefficient of the first grayscale may be represented by GAPL,
where i indicates the grayscale, ki indicates the grayscale coefficient of the grayscale, and Ni indicates the number of pixels displaying the grayscale i in the display area.
In some embodiments, the determination module 12 may further include a determination unit. The determination unit may be configured to determine the target gamma curve based on the first grayscale weight coefficient.
More specifically, the determination unit may be configured to pre-store a plurality of gamma curves in the display panel. The plurality of gamma curves may include M highlight gamma curves and a basic gamma curve corresponding to the partial highlight display mode. The display brightness corresponding to the first grayscale in any one of the M highlight gamma curves may be greater than the display brightness corresponding to the first grayscale in the basic gamma curve. In addition, the display brightness corresponding to the first grayscale of any two highlight gamma curves in the M highlight gamma curves may be different, and M may be a positive integer greater than or equal to 1. The determination unit may also be configured to set a plurality of value ranges based on the plurality of stored gamma curves, the number of the value range being K, K=M+1, and one value range corresponding to one gamma curve in the plurality of gamma curves; and, based on the value range of the first grayscale weight coefficient, use the gamma curve corresponding to the value range as the target gamma curve.
Alternatively, the determination unit may be configured to pre-store the basic gamma curve corresponding to the partial highlight display mode in the display panel; and, determine the target gamma curve based on the first grayscale weight coefficient and the basic gamma curve.
It should be noted that the principle of the control device provided in the embodiments of the present disclosure is the same as that of the control method provided in the foregoing embodiments of the present disclosure, which will not be repeated here.
An embodiment of the present disclosure further provides a computer-readable storage medium. The computer-readable storage medium stored computer-executable instructions, and the computer-executable instructions can be used to execute the display panel control method described in the foregoing embodiments.
An embodiment of the present disclosure further provides an electronic device. Refer to
The electronic device may include at least one processor 21, at least one memory 22 connected to the at least one processor 21, and a bus 23.
In some embodiments, the processor 21 and the memory 22 may communicate with each other through the bus 23.
In some embodiments, the processor 21 may be configured to call the program instructions in the memory 22 to execute the display panel control method described in the foregoing embodiments.
The technical solutions provided by the present disclosure are described in detail above. The principle and implementation of the present disclosure are described herein using specific examples. The above description of the embodiments is merely for helping in understanding the method and the core ideas of the present disclosure. At the same time, those skilled in the art can change the specific embodiments and application scopes of the disclosure, based on the idea of the present disclosure. Therefore, the contents of the specification are not intended to limit the scope of the disclosure.
Various embodiments in the present disclosure are described in a progressive manner. Each embodiment may focus on the differences from other embodiments, and same or similar parts between various embodiments may be referred to each other. The apparatuses disclosed in various embodiments correspond to the methods disclosed in various embodiments, the description of the apparatuses may be relatively simple, and relevant parts may refer to the description of method embodiments.
It should be noted that the relationship terms used in the text of this application, such as first and second, are only for distinguishing an object or operation from another object or operation, but not for defining or implying any practical relation or order between the object or operation. The terms “include”, “contain” or other alternatives shall be non-exclusiveness, the inclusion of a series of element such as process, method, object or equipment shall include not only the already mentioned elements but also those elements not mentioned, and shall include the elements which are inherent in the process, method, object or equipment. However, under the condition of no more limitations, the definition of an essential element limited by the sentence “including a . . . ” shall not obviate that in addition to containing the said essential element in the process, method, object or equipment, other essential element of the same nature may also exist in the above-mentioned process, method, object or equipment.
The above description of disclosed embodiments enables those skilled in the art to implement or use the present disclosure. Various modifications to these embodiments may be obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure may not be limited to various embodiments shown in the present disclosure but should conform to the widest scope consistent with the principles and novel features disclosed in the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202211696594.5 | Dec 2022 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
8836733 | Lee | Sep 2014 | B2 |
20050157921 | Herron | Jul 2005 | A1 |
20070252846 | Ozawa | Nov 2007 | A1 |
20080088858 | Marcu | Apr 2008 | A1 |
20080180385 | Yoshida | Jul 2008 | A1 |
20100156956 | Madden | Jun 2010 | A1 |
20110103685 | Bhatt | May 2011 | A1 |
20150181188 | Higashi | Jun 2015 | A1 |
20150294627 | Yoo | Oct 2015 | A1 |
20150324961 | Hu | Nov 2015 | A1 |
20170084242 | Kang | Mar 2017 | A1 |
20170134642 | Yoshikawa | May 2017 | A1 |
20180053290 | Hu | Feb 2018 | A1 |
20200051487 | Peng | Feb 2020 | A1 |
20200344400 | Matsuoka | Oct 2020 | A1 |
20210150968 | Chen | May 2021 | A1 |
20210264838 | Park | Aug 2021 | A1 |
20230114963 | Jun | Apr 2023 | A1 |
20230353880 | Kadoi | Nov 2023 | A1 |
Number | Date | Country | |
---|---|---|---|
20240221574 A1 | Jul 2024 | US |