Display driving method, device, display device and computer readable storage medium
By automatically acquiring and calculating the gray scale value and brightness of the display, and determining the display driving gray scale value, the problem of low efficiency of the driving method in the existing technology is solved, and more efficient driving gray scale adjustment is achieved.
Patent Information
- Application Number
- CN202210347208.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-01
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-04-01
AI Technical Summary
In the prior art, the display driving method is relatively inefficient and requires a large amount of manpower and material resources to manually adjust it to achieve the required picture effect.
By obtaining the gray step value corresponding to the two frames displayed by the display, the average brightness of all ash levels in the first frame screen is calculated as the target brightness, and the gray range range is determined according to the gray level difference between the two frames. Use the central point and the brightness of the associated point within the gray level to automatically determine the driving gray order value of the second frame.
No need to manually adjust the driving gray level value, which improves the efficiency of determining the driving ash level, shorten time, and reduce the waste of human and material resources.
Smart Images

Figure CN114783338B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of panel driving, and in particular to a display driving method, device, display device and computer-readable storage medium. Background Art
[0002] In the image display of the monitor, grayscale is to divide the brightness change between the brightest and the darkest into several parts, so as to input the signal and control the corresponding screen brightness. Each digital image is composed of many points, which are also called pixels. Usually, each pixel can present many different colors. It is composed of three sub-pixels: red, green, and blue (RGB). For each sub-pixel, the light source behind it can show different brightness levels. Grayscale represents the different brightness levels from the darkest to the brightest. The more intermediate levels there are, the more delicate the picture effect can be presented. In other words, the color change of each point on the screen is actually caused by the grayscale change of the three RGB sub-pixels that constitute this point. Therefore, when the monitor is actually displayed, it is usually necessary to convert the brightness of the image that the user needs to see and the grayscale value of the sub-pixel of the monitor to display the image of the corresponding brightness on the monitor.
[0003] In the prior art, in order to speed up the response speed of the picture, when the picture is converted from low grayscale to high grayscale, a voltage greater than the target voltage is usually provided (conversely, a lower voltage is provided) so that the brightness reaches the target brightness faster. From the perspective of grayscale, it is to provide a higher or lower grayscale value. At present, when debugging grayscale, the value from low grayscale to high grayscale, or from high grayscale to low grayscale is manually adjusted, and whether the adjusted picture meets the requirements is manually judged, which wastes a lot of manpower and material resources and has low efficiency. Summary of the invention
[0004] The present application aims to provide a display driving method, device, server and computer-readable storage medium, aiming to solve the problem that the electric driving method in the prior art is low in efficiency and wastes a lot of manpower and material resources.
[0005] In a first aspect, an embodiment of the present application provides a display driving method, the display driving method comprising:
[0006] Acquire a first grayscale corresponding to a first picture displayed on the display, and a second grayscale corresponding to a second picture displayed on the display, wherein the display time of the second picture is after the display time of the first picture;
[0007] Acquire an average brightness of all grayscales within a first grayscale range, and use the average brightness as a target brightness when the display displays the second picture;
[0008] Determine the magnitude of the first grayscale and the second grayscale to determine a second grayscale range in which the driving grayscale corresponding to the second picture is located, wherein the first grayscale range and the second grayscale range constitute a display grayscale range of the display;
[0009] Acquire the brightness of the center point and the brightness of the center associated point within the second grayscale range, wherein the center associated point is a grayscale point separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point;
[0010] Determining a driving grayscale value for displaying the second picture according to the brightness of the central point, the brightness of the central associated point and the target brightness;
[0011] The display is driven by the driving grayscale value to display the second picture.
[0012] In a possible embodiment, the display grayscale range includes a first grayscale threshold and a second grayscale threshold, the first grayscale threshold is the minimum grayscale in the display grayscale range, and the second grayscale threshold is the maximum grayscale in the display grayscale range;
[0013] The determining the magnitude of the first grayscale and the second grayscale to determine a second grayscale range of the driving grayscale corresponding to the second picture includes:
[0014] Obtaining a grayscale difference between the first grayscale and the second grayscale;
[0015] If the grayscale difference is greater than a preset first grayscale difference threshold, determining whether the grayscale difference is equal to a preset second grayscale difference threshold;
[0016] If the grayscale difference is not equal to the preset second grayscale difference threshold, determining a third grayscale that is smaller than the preset grayscale value of the second grayscale;
[0017] The second grayscale range is obtained by taking the third grayscale as the maximum grayscale in the second grayscale range and taking the first grayscale threshold as the minimum grayscale in the second grayscale range.
[0018] In a possible embodiment, the method further includes: if the grayscale difference is equal to a preset second grayscale difference threshold, determining the second grayscale as the driving grayscale.
[0019] In a possible embodiment, the method further includes:
[0020] If the grayscale difference is less than a preset second grayscale difference threshold, determining a fourth grayscale greater than the preset grayscale value of the second grayscale;
[0021] The fourth grayscale is used as the minimum grayscale in the second grayscale range, and the second grayscale threshold is used as the maximum grayscale in the second grayscale range, so as to obtain the second grayscale range.
[0022] In a possible embodiment, the brightness of the center point and the brightness of the center associated point within the second grayscale range are obtained, the center associated point is a grayscale point that is separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point:
[0023] Determine a maximum grayscale threshold and a minimum grayscale threshold within the second grayscale range;
[0024] Determine, according to the maximum grayscale threshold and the minimum grayscale threshold, a center point grayscale and a center associated point grayscale corresponding to the center point within the second grayscale range, wherein the center associated point is a grayscale point separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point;
[0025] The brightness of the center point corresponding to the center point grayscale and the brightness of the center associated point corresponding to the center associated point are measured.
[0026] In a possible embodiment, determining the driving grayscale value for displaying the second picture according to the brightness of the central point, the brightness of the central associated point and the target brightness includes:
[0027] Determine the brightness of the center point and the brightness of the target;
[0028] If the brightness of the center point is greater than the target brightness, the grayscale of the center point is used as the maximum grayscale in the second grayscale range, and the fourth grayscale or the first grayscale threshold is used as the minimum grayscale in the second grayscale range, to obtain an updated second grayscale range;
[0029] If the brightness of the center point is less than the target brightness, the grayscale of the center associated point is used as the minimum grayscale within the second grayscale range, and the second grayscale threshold or the third grayscale is used as the maximum grayscale within the second grayscale range to obtain an updated second grayscale range.
[0030] In a possible embodiment, the method further includes:
[0031] Determining whether the target brightness is within a brightness interval consisting of a minimum brightness corresponding to a minimum grayscale and a maximum brightness corresponding to a maximum grayscale in the updated second grayscale range;
[0032] If the target brightness is within the brightness range, calculating a first brightness difference between the brightness of the central associated point and the target brightness;
[0033] Calculating a second brightness difference between the brightness of the center point and the target brightness;
[0034] Calculating a third brightness difference between the brightness of the central point and the brightness of the central associated point;
[0035] Determine whether the sum of the first brightness difference value and the second brightness difference value is equal to the third brightness difference value;
[0036] If the sum of the first brightness difference value and the second brightness difference value is equal to the third brightness difference value, determining whether the first brightness difference value is greater than or equal to the second brightness difference value;
[0037] If the first brightness difference is greater than or equal to the second brightness difference, the center point grayscale is used as the driving grayscale, and the driving grayscale value is determined;
[0038] If the first brightness difference is smaller than the second brightness difference, the central associated point grayscale is used as the driving grayscale, and the driving grayscale value is determined.
[0039] In a second aspect, an embodiment of the present application further provides a display driving device, the display driving device comprising:
[0040] A grayscale acquisition unit, used to acquire a first grayscale corresponding to a first picture displayed on the display, and a second grayscale corresponding to a second picture displayed, wherein the second picture is displayed after the first picture;
[0041] A first brightness acquisition unit, used to acquire an average brightness of all grayscales within a first grayscale range, and use the average brightness as a target brightness when the display displays the second picture;
[0042] a grayscale determination unit, configured to determine the magnitude of the first grayscale and the second grayscale, so as to determine a second grayscale range of the driving grayscale corresponding to the second picture, wherein the first grayscale range and the second grayscale range constitute a display grayscale range of the display;
[0043] A second brightness acquisition unit, configured to acquire the brightness of a center point and a center associated point within the second grayscale range, wherein the center associated point is a grayscale point that is separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point;
[0044] a grayscale value determining unit, configured to determine a driving grayscale value for displaying the second picture according to the brightness of the central point, the brightness of the central associated point and the target brightness;
[0045] A driving unit is used to drive the display to display the second picture by using the driving grayscale value.
[0046] In a third aspect, an embodiment of the present application provides a display device, the display device comprising a display and one or more processors;
[0047] Memory; and
[0048] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the display driving method as described in any one of the above items.
[0049] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute the steps in the display driving method as described in any one of the above items.
[0050] The present application provides a display driving method, device, display device and computer-readable storage medium, including obtaining a first grayscale corresponding to a first picture displayed on a display panel and a second grayscale corresponding to a second picture, taking the average brightness of all grayscales in the first grayscale range as the target brightness when displaying the second picture, and determining the second grayscale range where the driving grayscale corresponding to the second picture is located according to the size of the first grayscale and the second grayscale; determining the driving grayscale value corresponding to the actual display of the second picture according to the brightness of the center point within the second grayscale range, the brightness of the center associated point and the target brightness. There is no need to manually adjust the size of the driving grayscale value, and the grayscale range where the driving grayscale is located can be further narrowed according to the size of the first grayscale and the second grayscale, thereby shortening the time for determining the driving grayscale and improving the efficiency of determining the driving grayscale. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0052] Figure 1 A schematic diagram of a scene of a display driving system provided in an embodiment of the present application;
[0053] Figure 2 A schematic diagram of a flow chart of an embodiment of a display driving method provided in the present application;
[0054] Figure 3 A schematic diagram of a flow chart of an embodiment of determining a second grayscale range provided in an embodiment of the present application;
[0055] Figure 4A schematic diagram of a flow chart of an embodiment of determining the brightness of a central point and central associated points provided in an embodiment of the present application;
[0056] Figure 5 A schematic flow diagram of an embodiment of determining a driving grayscale value according to brightness provided in an embodiment of the present application;
[0057] Figure 6 A schematic diagram of a flow chart of an embodiment of determining a driving gray scale within a second gray scale range provided in an embodiment of the present application;
[0058] Figure 7 A schematic diagram of an embodiment of determining a driving gray scale provided in an embodiment of the present application;
[0059] Figure 8 A schematic diagram of an embodiment of a display driving device provided in the present application;
[0060] Fig. 9 It shows a schematic diagram of the structure of the display device involved in the embodiment of the present application. DETAILED DESCRIPTION
[0061] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0062] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are used only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0063] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.
[0064] It should be noted that since the method of the embodiment of the present application is executed in the server, the processing objects of each server exist in the form of data or information. For example, time is actually time information. It can be understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data for the server to process. The details will not be repeated here.
[0065] The embodiments of the present application provide a display driving method, device, display device and computer-readable storage medium, which are described in detail below.
[0066] like Figure 1 As shown, it is a schematic diagram of a scenario of a display driving system provided in an embodiment of the present application. The display driving system may include a plurality of hosts 100 and servers 200. The hosts 100 and the servers 200 are connected via a network. A display driving device is integrated in the server 200. Figure 1 In the server, host 100 can access server 200.
[0067] In the embodiment of the present invention, the server 200 is mainly used to obtain a first grayscale corresponding to a first picture displayed by the display, and a second grayscale corresponding to a second picture displayed, and the display time of the second picture is after the first picture; obtain the average brightness of all grayscales within the first grayscale range, and use the average brightness as the target brightness when the display displays the second picture; judge the size of the first grayscale and the second grayscale to determine the second grayscale range in which the driving grayscale corresponding to the second picture is located, and the first grayscale range and the second grayscale range constitute the display grayscale range of the display;
[0068] The brightness of the center point and the brightness of the center-related point within the second grayscale range are obtained, wherein the center-related point is a grayscale point that is separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center-related point; according to the brightness of the center point, the brightness of the center-related point and the target brightness, a driving grayscale value for displaying the second picture is determined; and the display is driven to display the second picture using the driving grayscale value.
[0069] In the embodiment of the present invention, the server 200 may be an independent server, or a server network or server cluster composed of servers. For example, the server 200 described in the embodiment of the present invention includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of a plurality of servers. Among them, the cloud server is composed of a large number of computers or network servers based on cloud computing. In the embodiment of the present invention, communication between the server and the host can be achieved through any communication method, including but not limited to mobile communications based on the 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communications based on TCP / IP Protocol Suite (TCP / IP), User Datagram Protocol (UDP), etc.
[0070] It is understandable that the host 100 used in the embodiment of the present invention may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such a host may include: a cellular or other communication device having a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific host 100 may be a desktop terminal or a mobile terminal, and the host 100 may also be a mobile phone, a tablet computer, a laptop computer, etc.
[0071] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer servers, or server network connections, as shown in Figure 1 Only one server and two hosts are shown. It can be understood that the display driving system can also include one or more other servers, and / or one or more hosts connected to the server network, which is not specifically limited here.
[0072] In addition, if Figure 1 As shown, the display driving system may further include a memory for storing data, such as grayscale data, for example, grayscale data corresponding to a picture to be displayed on the display panel.
[0073] It should be noted that Figure 1 The scenario diagram of the display driving system shown is only an example. The display driving system and scenario described in the embodiment of the present invention are intended to more clearly illustrate the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention. Ordinary technicians in this field can know that with the evolution of the display driving system and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.
[0074] First, a display driving method, device, display device and computer-readable storage medium are provided in the embodiments of the present application, which are described below respectively.
[0075] like Figure 2 As shown, it is a schematic diagram of a flow chart of an embodiment of a display driving method provided by the present application, which may include:
[0076] 21. Obtain a first grayscale corresponding to a first picture displayed on the display, and a second grayscale corresponding to a second picture displayed on the display, wherein the second picture is displayed after the first picture.
[0077] When the display panel displays an image normally, each frame of the image corresponds to a certain grayscale. Therefore, in the embodiment of the present application, the first grayscale corresponding to the first image displayed by the display and the second grayscale corresponding to the second image displayed by the display can be obtained; and the display time of the second image is after the first image.
[0078] 22. Obtain an average brightness of all grayscales within the first grayscale range, and use the average brightness as a target brightness when the display displays the second picture.
[0079] In the embodiment of the present application, the first grayscale range includes a plurality of grayscale values, and the first grayscale is a grayscale value within the first grayscale range. When the display actually displays the second picture, when the grayscale of the display changes from the first grayscale to the second grayscale, it is actually necessary to provide a grayscale value greater than or less than the second grayscale to drive the second picture, and the grayscale value greater than or less than the second grayscale corresponds to a brightness, namely the target brightness.
[0080] In the embodiment of the present application, the average brightness of all grayscales within the first grayscale range can be used as the target brightness when the display displays the second picture; and the driving grayscale corresponding to the target brightness is determined based on the target brightness.
[0081] 23. Determine the magnitude of the first grayscale and the second grayscale to determine the second grayscale range in which the driving grayscale corresponding to the second picture is located.
[0082] The picture displayed by the monitor usually corresponds to a display grayscale range, such as 0-255 grayscale; the embodiment of the present application usually needs to determine the driving grayscale corresponding to the second picture within the display grayscale range. When the display grayscale range is large, it takes a lot of time, which is not conducive to the display of the monitor.
[0083] Therefore, in an embodiment of the present application, the display grayscale range of the display is first divided, and the grayscale range of the driving grayscale is narrowed to obtain a second grayscale range; subsequently, only the grayscale values within the second grayscale range need to be judged, and there is no need to judge all grayscale values within the display grayscale range.
[0084] In some embodiments, the magnitude of the first grayscale and the second grayscale can be determined to determine the second grayscale range in which the driving grayscale corresponding to the second picture is located. The first grayscale range and the second grayscale range constitute the display grayscale range of the display area.
[0085] In a specific embodiment, the first grayscale range may be grayscale 0-192, and the target brightness is the average brightness of the brightness corresponding to all grayscales in the grayscale range 0-192. The second grayscale range is grayscale 193-255, and the first grayscale range and the second grayscale range constitute the display grayscale range 0-255 of the display.
[0086] 24. Obtain the brightness of the center point and the brightness of the center-related point within the second grayscale range, where the center-related point is a grayscale point that is spaced from the center point by a preset grayscale value.
[0087] After determining the second grayscale range, a grayscale point in the middle of the second grayscale range can be obtained, which is the center point; specifically, half of the sum of the maximum grayscale and the minimum grayscale in the second grayscale range can be used as the center point. After determining the center point, a grayscale point separated from the center point by a preset grayscale value can be further determined, which is the center association point; and the second grayscale range can be further narrowed according to the center point and the center association point to improve the efficiency of determining the driving grayscale.
[0088] In some embodiments, the preset grayscale value may be one grayscale value, two grayscale values, etc.; it may be specifically set according to actual needs and the size of the displayed grayscale range. Generally speaking, the grayscale of the center point is smaller than the grayscale of the center associated point; that is, the grayscale of the center associated point may generally be obtained by adding the preset grayscale value to the grayscale of the center point. After determining the grayscale of the center point and the grayscale of the center associated point, the brightness of the center point and the brightness of the center associated point may be further determined.
[0089] In a specific embodiment, the second grayscale range may be 193-255, in which case the grayscale of the center point in the second grayscale range may be (193+255) / 2, and the center associated point may be [(193+255) / 2]+1, and the preset grayscale value is 1. Then, the brightness corresponding to the grayscale (193+255) / 2 of the center point and the brightness of the center associated point [(193+255) / 2]+1 are determined.
[0090] It should be noted that in an embodiment of the present application, if the calculation result of half of the sum of the maximum grayscale and the minimum grayscale in the second grayscale range is not an integer, the calculation result can be rounded forward or backward, and the rounded value is used as the grayscale of the center point. For example, when the second grayscale range is 194-255 grayscales, half of the sum of the maximum grayscale and the minimum grayscale in the second grayscale range is 224.5, then the grayscale of the center point is selected from either 224 grayscales or 225 grayscales.
[0091] 25. Determine a driving grayscale value for displaying the second picture according to the brightness of the center point, the brightness of the center-related point, and the target brightness.
[0092] 26. Use the driving grayscale value to drive the display to display the second picture.
[0093] After determining the brightness of the center point, the brightness of the center associated point and the target brightness, the driving grayscale value corresponding to the second picture can be determined according to the three; and the driving grayscale value is used to drive the display to display the second picture.
[0094] The display driving method provided by the embodiment of the present application includes obtaining the first grayscale corresponding to the first picture displayed by the display panel and the second grayscale corresponding to the second picture, taking the average brightness of all grayscales in the first grayscale range as the target brightness when displaying the second picture, and determining the second grayscale range where the driving grayscale corresponding to the second picture is located according to the size of the first grayscale and the second grayscale; determining the driving grayscale value corresponding to the actual display of the second picture according to the brightness of the center point in the second grayscale range, the brightness of the center associated point and the target brightness. There is no need to manually adjust the size of the driving grayscale value, and the grayscale range where the driving grayscale is located can be further narrowed according to the size of the first grayscale and the second grayscale, thereby shortening the time for determining the driving grayscale and improving the efficiency of determining the driving grayscale.
[0095] In the embodiment of the present application, the display grayscale range corresponding to the display includes a first grayscale threshold and a second grayscale threshold; wherein the first grayscale threshold is the minimum grayscale in the display grayscale range, and the second grayscale threshold is the maximum grayscale in the display grayscale range. For example, if the display grayscale range is 0-255 grayscales, the first grayscale threshold is 0, and the second grayscale threshold is 255.
[0096] like Figure 3As shown, a schematic diagram of a flow chart of an embodiment of determining a second grayscale range provided in an embodiment of the present application may include:
[0097] 31. Obtain a grayscale difference between the first grayscale and the second grayscale.
[0098] 32. If the grayscale difference is greater than the preset first grayscale difference threshold, determine whether the grayscale difference is equal to the preset second grayscale difference threshold.
[0099] 33. If the grayscale difference is not equal to the preset second grayscale difference threshold, determine a third grayscale that is smaller than the preset grayscale value of the second grayscale.
[0100] 34. The third grayscale is used as the maximum grayscale in the second grayscale range, and the first grayscale threshold is used as the minimum grayscale in the second grayscale range to obtain the second grayscale range.
[0101] 35. If the grayscale difference is equal to a preset second grayscale difference threshold, determine that the second grayscale is the driving grayscale.
[0102] In the embodiment of the present application, it is first necessary to compare the size between the known first grayscale and the second grayscale to reduce the size corresponding to the second grayscale range. Therefore, the grayscale difference obtained by subtracting the second grayscale from the first grayscale is first calculated, and the size relationship between the grayscale difference and the preset grayscale difference threshold is determined.
[0103] The relationship between the grayscale difference and the preset first grayscale difference threshold can be first determined. If the grayscale difference is greater than the preset first grayscale difference threshold, it is necessary to determine again whether the grayscale difference is equal to the preset second grayscale difference threshold; this is to avoid the situation where the difference between the first grayscale and the second grayscale is small or the first grayscale is equal to the second grayscale, resulting in no meaning of adjustment. Therefore, in the embodiment of the present application, the second grayscale difference threshold is usually 0 grayscale or 1 grayscale. After determining that the grayscale difference is greater than the first grayscale difference threshold, it is also necessary to determine whether the grayscale difference is equal to the preset second grayscale difference threshold to exclude the situation where the difference between the first grayscale and the second grayscale is small, and there is no meaning of adjusting the grayscale.
[0104] If the grayscale difference is not equal to the preset second grayscale difference threshold, a third grayscale smaller than the second grayscale preset grayscale value is further determined; in the embodiment of the present application, the second grayscale is not directly used, but other grayscales smaller than or greater than the second grayscale preset grayscale value are determined to narrow the second grayscale range.
[0105] The preset grayscale value in the embodiment of the present application can be grayscale 1, and the third grayscale is a grayscale value that is one grayscale less than the second grayscale. For example, if the second grayscale is grayscale 193, the third grayscale is 193-1=192. Of course, in other embodiments, the size of the preset grayscale value can also be adjusted according to actual needs and the display grayscale range corresponding to the display, which is not limited here.
[0106] After the third grayscale is determined, the third grayscale can be used as the maximum grayscale in the second grayscale range, and the first grayscale threshold in the displayed grayscale range can be used as the minimum grayscale in the second grayscale range to obtain the second grayscale range, which is the first grayscale threshold minus the third grayscale.
[0107] If the grayscale difference is equal to the preset second grayscale difference threshold, it means that the difference between the first grayscale and the second grayscale is small, and the picture does not change significantly when the picture is converted from the first grayscale to the second grayscale. Therefore, the second grayscale can be directly used as the driving grayscale for driving the second picture, and the second grayscale range does not exist at this time.
[0108] On the basis of the above embodiment, if the grayscale difference is less than the preset second grayscale difference threshold, a fourth grayscale greater than the preset grayscale value of the second grayscale can be determined; and the fourth grayscale is used as the minimum grayscale in the second grayscale range, and the second grayscale threshold in the displayed grayscale range is used as the maximum grayscale in the second grayscale range, so as to obtain the second grayscale range. At this time, the second grayscale range is the fourth grayscale-the second grayscale threshold. Among them, the method for obtaining the fourth grayscale can refer to the method for obtaining the third grayscale mentioned above, which will not be repeated here.
[0109] The embodiment of the present application mainly utilizes a similar binary division idea to continuously narrow the second grayscale range until a driving grayscale corresponding to the second picture is determined within the second grayscale range.
[0110] Therefore, after determining the second grayscale, it is necessary to determine the center point and the center associated point in the second grayscale range again, and further narrow the second grayscale range according to the center point and the center associated point. In the embodiment of the present application, the second grayscale range is narrowed mainly by using the brightness of the center point and the brightness of the center associated point.
[0111] Specifically, Figure 4 As shown, a schematic diagram of a process of determining the brightness of a central point and a central associated point provided in an embodiment of the present application may include:
[0112] 41. Determine a maximum grayscale threshold and a minimum grayscale threshold within the second grayscale range.
[0113] 42. Determine the center point grayscale and the center associated point grayscale corresponding to the center point in the second grayscale range according to the maximum grayscale threshold and the minimum grayscale threshold.
[0114] 43. Measure the brightness of the center point corresponding to the grayscale of the center point, and the brightness of the center-related point corresponding to the center-related point.
[0115] Specifically, for the second grayscale range, there must be a maximum grayscale and a minimum grayscale, that is, a maximum grayscale threshold and a minimum grayscale threshold. In a specific embodiment, the second grayscale range can be 193-255, at which time the maximum grayscale threshold can be 255, and the minimum grayscale threshold is 193.
[0116] After determining the maximum and minimum grayscale thresholds within the second grayscale range, the grayscale at the center of the second grayscale range can be calculated, which is the center point grayscale. For example, the center point grayscale can be (193+255) / 2; that is, the center point grayscale is half of the sum of the maximum grayscale threshold and the minimum grayscale threshold. Of course, if half of the sum of the two is not an integer, the calculation result can be rounded forward or backward.
[0117] The center association point is a grayscale point that is separated from the center point by a preset grayscale value, for example, the center association point may be [(193+255) / 2]+1. Generally speaking, the grayscale of the center point is smaller than the grayscale of the center association point; that is, the grayscale of the center association point is obtained by adding the preset grayscale value to the grayscale of the center point.
[0118] After determining the grayscale corresponding to the center point and the grayscale corresponding to the center associated point, the brightness of the center point and the brightness of the center associated point can be directly measured. In the embodiment of the present application, not only the brightness of the center point but also the brightness of the center associated point is obtained, which is to reduce the error in measuring brightness.
[0119] In the embodiment of the present application, the driving grayscale value for displaying the second picture can be determined based on the brightness of the center point, the brightness of the center associated point and the target brightness. Figure 5 As shown, a schematic flow diagram of an embodiment of determining a driving grayscale value according to brightness provided in an embodiment of the present application may include:
[0120] 51. Determine the brightness of the center point and the target brightness.
[0121] 52. If the brightness of the center point is greater than the target brightness, the grayscale of the center point is used as the maximum grayscale in the second grayscale range, and the fourth grayscale or the first grayscale threshold is used as the minimum grayscale in the second grayscale range to obtain an updated second grayscale range.
[0122] In the embodiment of the present application, the second grayscale range needs to be continuously updated and narrowed to reduce the amount of calculation and improve efficiency. The second grayscale range can be narrowed by using the brightness of the center point and the size of the target brightness.
[0123] In some embodiments, if the brightness of the center point is greater than the target brightness, it means that the driving grayscale corresponding to the target brightness is smaller than the grayscale corresponding to the center point; the grayscale of the center point can be assigned to the maximum grayscale threshold in the second grayscale range, that is, the grayscale of the center point is used as the maximum grayscale threshold in the new second grayscale range; and the minimum grayscale threshold in the new second grayscale range remains unchanged.
[0124] If the minimum grayscale threshold before the update is the fourth grayscale, the minimum grayscale threshold after the update is still the fourth grayscale. At this time, the updated second grayscale range is the fourth grayscale-center point grayscale. If the minimum grayscale threshold before the update is the first grayscale threshold, the minimum grayscale threshold after the update is still the first grayscale threshold, and the updated second grayscale range is the first grayscale threshold-center point grayscale. That is, when the brightness of the center point is greater than the target brightness, only the maximum grayscale threshold in the second grayscale range is changed, and the minimum grayscale threshold remains unchanged to obtain the updated second grayscale range.
[0125] 53. If the central point brightness is less than the target brightness, the grayscale of the central associated point is used as the minimum grayscale in the second grayscale range, and the second grayscale threshold or the third grayscale is used as the maximum grayscale in the second grayscale range to obtain an updated second grayscale range.
[0126] If the center point brightness is less than the target brightness, it means that the driving grayscale corresponding to the target brightness is greater than the center point grayscale. At this time, the center associated point grayscale can be used as the minimum grayscale within the second grayscale range; and the maximum grayscale within the second grayscale range remains unchanged.
[0127] In some embodiments, the maximum grayscale in the second grayscale range may be the second grayscale threshold, and the updated second grayscale range is the center associated point grayscale minus the second grayscale threshold. In other embodiments, the maximum grayscale in the second grayscale range may be the third grayscale, i.e., a grayscale greater than the second grayscale preset grayscale value; in this case, the updated second grayscale range may be the center associated point grayscale minus the third grayscale.
[0128] In the above embodiment, after the second grayscale range is updated using the brightness of the center point and the target brightness, it is necessary to obtain the maximum grayscale threshold and the minimum grayscale threshold in the updated second grayscale range again, and calculate the updated center point grayscale and the center associated point grayscale; further measure the brightness of the center point and the center associated point, and re-compare the brightness of the new center point with the target brightness to update the new second grayscale range again. The specific method for updating the second grayscale can refer to the above content and will not be repeated here.
[0129] While continuously updating the second grayscale range, it is also necessary to determine whether the target brightness is within the brightness interval formed by the brightness corresponding to the minimum grayscale and the brightness corresponding to the maximum grayscale in the updated second grayscale range. If so, it means that the driving grayscale corresponding to the target brightness is within the second grayscale range at this time. Then it is also necessary to determine the driving grayscale within the second grayscale range at this time. Figure 6 As shown, it is a schematic diagram of a flow chart of an embodiment of determining a driving grayscale within a second grayscale range provided in an embodiment of the present application; it may include:
[0130] 61. If the target brightness is within the brightness range, calculate a first brightness difference between the brightness of the central associated point and the target brightness.
[0131] 62. Calculate a second brightness difference between the center point brightness and the target brightness.
[0132] 63. Calculate a third brightness difference between the brightness of the center point and the brightness associated with the center.
[0133] 64. Determine whether the sum of the first brightness difference value and the second brightness difference value is equal to the third brightness difference value.
[0134] 65. If the sum of the first brightness difference value and the second brightness difference value is equal to the third brightness difference value, determine whether the first brightness difference value is greater than or equal to the second brightness difference value.
[0135] 66. If the first brightness difference is greater than or equal to the second brightness difference, the center point grayscale is used as the driving grayscale, and the driving grayscale value is determined.
[0136] 67. If the first brightness difference is smaller than the second brightness difference, the grayscale of the central associated point is used as the driving grayscale, and the driving grayscale value is determined.
[0137] Specifically, if the target brightness is within the brightness interval formed by the minimum brightness corresponding to the minimum grayscale in the second grayscale range and the maximum brightness of the maximum grayscale, it is necessary to calculate the first brightness difference between the brightness of the central associated point and the target brightness, the second brightness difference between the brightness of the central point and the brightness of the central associated point, and the third brightness difference between the brightness of the central point and the brightness of the central associated point. And determine whether the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference.
[0138] If the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference; again determine whether the first brightness difference is greater than or equal to the second brightness difference. If so, the grayscale corresponding to the center point is used as the driving grayscale for driving the second picture; if not, the grayscale of the center associated point is used as the driving grayscale for driving the second picture.
[0139] In the embodiment of the present application, the second grayscale range is continuously narrowed by using the idea of binary division. While narrowing the second grayscale range, the first brightness difference value, the second brightness difference value and the third brightness difference value corresponding to the new second grayscale range need to be obtained; and the following steps are performed: Figure 6 Until the target brightness is within the brightness interval formed by the minimum brightness corresponding to the minimum grayscale in the reduced second grayscale range and the maximum brightness corresponding to the maximum grayscale.
[0140] When the target brightness interval is within the above brightness interval, it is necessary to determine the brightness with the smaller brightness difference between the target brightness and the brightness of the center point and the brightness of the center-related point in the new second grayscale range; and use the grayscale corresponding to the brightness with the smaller difference as the driving grayscale for driving the second picture. For example, if the brightness difference between the target brightness and the brightness of the center point is less than the brightness difference between the target brightness and the brightness of the center-related point, the grayscale of the center point is used as the driving grayscale.
[0141] like Figure 7 FIG. 1 is a schematic diagram of an embodiment of determining a driving grayscale according to an embodiment of the present application. Figure 7 The first picture and the second picture, as well as the first grayscale corresponding to the first picture and the second grayscale corresponding to the second picture are obtained. The target brightness is determined according to the average brightness of all grayscales within the first grayscale range. Then, the magnitude relationship between the first grayscale and the second grayscale is compared to determine the second grayscale range in which the driving grayscale corresponding to the second picture is located.
[0142] If the grayscale difference between the first grayscale and the second grayscale is equal to 1 or 0, it means that the difference between the first grayscale and the second grayscale is small, and the value of the second grayscale is directly used as the driving grayscale. If the value of the first grayscale is greater than the value of the second grayscale, and the grayscale difference between the first grayscale and the second grayscale is not equal to 0 or 1, the minimum grayscale threshold in the display grayscale range corresponding to the display is used as the minimum grayscale in the second grayscale range, and the third grayscale that is less than the preset grayscale value of the second grayscale is used as the maximum grayscale in the second grayscale range. If the value of the first grayscale is less than the value of the second grayscale, the maximum grayscale threshold in the display grayscale range corresponding to the display is used as the maximum grayscale in the second grayscale range, and the fourth grayscale that is greater than the preset grayscale value of the second grayscale is used as the minimum grayscale in the second grayscale range.
[0143] After determining the second grayscale range, the grayscale corresponding to the center point in the second grayscale range and the grayscale corresponding to the center associated point can be determined; and the center associated point is a grayscale that is separated from the center point by a preset grayscale value, and usually the grayscale value of the center associated point is greater than the grayscale of the center point. Measure the brightness of the center point and the brightness of the center associated point at the same time. Then compare the brightness of the center point with the target brightness. If the brightness of the center point is greater than the target brightness, the center point is taken as the maximum grayscale in the second grayscale range, that is, the grayscale of the center point is assigned to the maximum grayscale in the second grayscale range. If the brightness of the center point is less than the target brightness, the grayscale of the center associated point is taken as the minimum grayscale in the second grayscale range, that is, the grayscale of the center associated point is assigned to the minimum grayscale in the second grayscale range. Use the above method to continuously narrow the second grayscale range.
[0144] While narrowing the second grayscale range, it is also necessary to determine whether the target brightness is within the brightness interval formed by the brightness corresponding to the maximum grayscale in the second grayscale range and the brightness of the minimum grayscale. If so, calculate the first brightness difference between the brightness of the center associated point and the target brightness, calculate the second brightness difference between the brightness of the center point and the target brightness, and calculate the third brightness difference between the brightness of the center associated point and the brightness of the center point. And determine whether the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference.
[0145] If the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference, it is determined whether the first brightness difference is greater than or equal to the second brightness difference; if so, the grayscale of the center point is used as the driving grayscale, that is, the grayscale of the center point is assigned to the driving grayscale. If not, the grayscale of the center associated point is used as the driving grayscale, that is, the grayscale of the center associated point is assigned to the driving grayscale.
[0146] The present application also provides a display driving device, such as Figure 8 As shown, the display driving device may include:
[0147] The grayscale acquisition unit 801 is used to acquire a first grayscale corresponding to a first picture displayed on the display, and a second grayscale corresponding to a second picture displayed, where the second picture is displayed after the first picture.
[0148] The first brightness acquisition unit 802 is used to acquire the average brightness of all grayscales within the first grayscale range, and use the average brightness as the target brightness when the display displays the second picture.
[0149] The grayscale determination unit 803 is used to determine the magnitude of the first grayscale and the second grayscale to determine a second grayscale range of the driving grayscale corresponding to the second picture. The first grayscale range and the second grayscale range constitute a display grayscale range of the display.
[0150] The second brightness acquisition unit 804 is used to acquire the brightness of the center point and the brightness of the center associated point within the second grayscale range. The center associated point is a grayscale point that is separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point.
[0151] The grayscale value determining unit 805 is used to determine the driving grayscale value for displaying the second picture according to the brightness of the center point, the brightness of the center associated point and the target brightness.
[0152] The driving unit 806 is used to drive the display to display the second image by using the driving grayscale value.
[0153] The display driving device provided by the embodiment of the present application first obtains the first grayscale corresponding to the first picture displayed by the display panel and the second grayscale corresponding to the second picture, takes the average brightness of all grayscales within the first grayscale range as the target brightness when displaying the second picture, and determines the second grayscale range where the driving grayscale corresponding to the second picture is located according to the size of the first grayscale and the second grayscale; determines the driving grayscale value corresponding to the actual display of the second picture according to the brightness of the center point within the second grayscale range, the brightness of the center associated point and the target brightness. There is no need to manually adjust the size of the driving grayscale value, and the grayscale range where the driving grayscale is located can be further narrowed according to the size of the first grayscale and the second grayscale, thereby shortening the time for determining the driving grayscale and improving the efficiency of determining the driving grayscale.
[0154] In some embodiments, the display grayscale range includes a first grayscale threshold and a second grayscale threshold, the first grayscale threshold is the minimum grayscale in the display grayscale range, and the second grayscale threshold is the maximum grayscale in the display grayscale range. The grayscale judgment unit 803 can also be used to: obtain the grayscale difference between the first grayscale and the second grayscale; if the grayscale difference is greater than the preset first grayscale difference threshold, determine whether the grayscale difference is equal to the preset second grayscale difference threshold; if the grayscale difference is not equal to the preset second grayscale difference threshold, determine a third grayscale that is less than the preset grayscale value of the second grayscale; use the third grayscale as the maximum grayscale in the second grayscale range, and use the first grayscale threshold as the minimum grayscale in the second grayscale range to obtain the second grayscale range.
[0155] In some embodiments, the grayscale determination unit 803 may also be configured to: if the grayscale difference is equal to a preset second grayscale difference threshold, determine that the second grayscale is a driving grayscale.
[0156] In some embodiments, the grayscale judgment unit 803 can also be used to: if the grayscale difference is less than a preset second grayscale difference threshold, determine a fourth grayscale that is greater than the second grayscale preset grayscale value; use the fourth grayscale as the minimum grayscale within the second grayscale range, and use the second grayscale threshold as the maximum grayscale within the second grayscale range to obtain the second grayscale range.
[0157] In some embodiments, the second brightness acquisition unit 804 can also be used to: determine the maximum grayscale threshold and the minimum grayscale threshold within the second grayscale range; determine the center point grayscale and the center associated point grayscale corresponding to the center point within the second grayscale range based on the maximum grayscale threshold and the minimum grayscale threshold, the center associated point being a grayscale point that is separated from the center point by a preset grayscale value, and the grayscale of the center point is less than the grayscale of the center associated point; measure the brightness of the center point corresponding to the center point grayscale, and the brightness of the center associated point corresponding to the center associated point.
[0158] In some embodiments, the grayscale value determination unit 805 can also be used to: determine the size of the brightness of the center point and the target brightness; if the brightness of the center point is greater than the target brightness, the grayscale of the center point is used as the maximum grayscale in the second grayscale range, and the fourth grayscale or the first grayscale threshold is used as the minimum grayscale in the second grayscale range to obtain an updated second grayscale range; if the brightness of the center point is less than the target brightness, the grayscale of the center-associated point is used as the minimum grayscale in the second grayscale range, and the second grayscale threshold or the third grayscale is used as the maximum grayscale in the second grayscale range to obtain an updated second grayscale range.
[0159] In some embodiments, the grayscale value determination unit 805 may also be used to: determine whether the target brightness is within a brightness interval consisting of a minimum brightness corresponding to the minimum grayscale in the updated second grayscale range and a maximum brightness corresponding to the maximum grayscale; if the target brightness is within the brightness interval, calculate a first brightness difference between the brightness of the center associated point and the target brightness; calculate a second brightness difference between the brightness of the center point and the target brightness; calculate a third brightness difference between the brightness of the center point and the brightness of the center associated point;
[0160] Determine whether the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference; if the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference, determine whether the first brightness difference is greater than or equal to the second brightness difference; if the first brightness difference is greater than or equal to the second brightness difference, use the center point grayscale as the driving grayscale and determine the driving grayscale value; if the first brightness difference is less than the second brightness difference, use the center associated point grayscale as the driving grayscale and determine the driving grayscale value.
[0161] An embodiment of the present application also provides a display device, which includes a display and one or more processors, a memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the display driving method as described in any one of the above items.
[0162] like Fig. 9 As shown, it shows a schematic diagram of the structure of the display device involved in the embodiment of the present application, specifically:
[0163] The display device may include components such as a processor 901 with one or more processing cores, a memory 902 with one or more computer-readable storage media, a power supply 903, and an input unit 904. Those skilled in the art will appreciate that the display device structure shown in the figure does not constitute a limitation on the display device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0164] in:
[0165] The processor 901 is the control center of the display device. It uses various interfaces and lines to connect various parts of the entire display device. By running or executing software programs and / or modules stored in the memory 902 and calling data stored in the memory 902, it executes various functions of the display device and processes data, thereby monitoring the display device as a whole. Optionally, the processor 901 may include one or more processing cores; preferably, the processor 901 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 901.
[0166] The memory 902 can be used to store software programs and modules. The processor 901 executes various functional applications and data processing by running the software programs and modules stored in the memory 902. The memory 902 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the display device, etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 902 may also include a memory controller to provide the processor 901 with access to the memory 902.
[0167] The display device also includes a power supply 903 for supplying power to each component. Preferably, the power supply 903 can be logically connected to the processor 901 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions. The power supply 903 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
[0168] The display device may further include an input unit 904, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0169] Although not shown, the display device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 901 in the display device will load the executable files corresponding to the processes of one or more application programs into the memory 902 according to the following instructions, and the processor 901 will run the application programs stored in the memory 902, thereby realizing various functions, as follows:
[0170] Obtaining a first grayscale corresponding to a first picture displayed on the display, and a second grayscale corresponding to a second picture displayed, wherein the display time of the second picture is after the first picture; obtaining an average brightness of all grayscales within the first grayscale range, and using the average brightness as a target brightness when the display displays the second picture; judging the magnitude of the first grayscale and the second grayscale to determine a second grayscale range in which the driving grayscale corresponding to the second picture is located, wherein the first grayscale range and the second grayscale range constitute a display grayscale range of the display;
[0171] The brightness of the center point and the brightness of the center-related point within the second grayscale range are obtained, wherein the center-related point is a grayscale point that is separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center-related point; according to the brightness of the center point, the brightness of the center-related point and the target brightness, a driving grayscale value for displaying the second picture is determined; and the display is driven to display the second picture using the driving grayscale value.
[0172] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0173] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any circuit board defect detection method provided in the embodiment of the present application. For example, the computer program is loaded by the processor to execute the following steps:
[0174] Obtaining a first grayscale corresponding to a first picture displayed on the display, and a second grayscale corresponding to a second picture displayed, wherein the display time of the second picture is after the first picture; obtaining an average brightness of all grayscales within the first grayscale range, and using the average brightness as a target brightness when the display displays the second picture; judging the magnitude of the first grayscale and the second grayscale to determine a second grayscale range in which the driving grayscale corresponding to the second picture is located, wherein the first grayscale range and the second grayscale range constitute a display grayscale range of the display;
[0175] The brightness of the center point and the brightness of the center-related point within the second grayscale range are obtained, wherein the center-related point is a grayscale point that is separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center-related point; according to the brightness of the center point, the brightness of the center-related point and the target brightness, a driving grayscale value for displaying the second picture is determined; and the display is driven to display the second picture using the driving grayscale value.
[0176] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.
[0177] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.
[0178] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0179] The above is a detailed introduction to a display driving method, device, display device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A display driving method, characterized in that: The display driving method comprises: Acquire a first grayscale corresponding to a first picture displayed on the display, and a second grayscale corresponding to a second picture displayed on the display, wherein the display time of the second picture is after the display time of the first picture; Acquire an average brightness of all grayscales within a first grayscale range, and use the average brightness as a target brightness when the display displays the second picture; Determine the magnitude of the first grayscale and the second grayscale to determine a second grayscale range in which the driving grayscale corresponding to the second picture is located, wherein the first grayscale range and the second grayscale range constitute a display grayscale range of the display; Acquire the brightness of the center point and the brightness of the center associated point within the second grayscale range, wherein the center associated point is a grayscale point separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point; Determining a driving grayscale value for displaying the second picture according to the brightness of the central point, the brightness of the central associated point and the target brightness; Using the driving grayscale value to drive the display to display the second picture; The display grayscale range includes a first grayscale threshold and a second grayscale threshold, the first grayscale threshold is the minimum grayscale in the display grayscale range, and the second grayscale threshold is the maximum grayscale in the display grayscale range; the determining the size of the first grayscale and the second grayscale to determine the second grayscale range of the driving grayscale corresponding to the second picture includes: obtaining a grayscale difference between the first grayscale and the second grayscale; if the grayscale difference is greater than a preset first grayscale difference threshold, determining whether the grayscale difference is equal to a preset second grayscale difference threshold; if the grayscale difference is not equal to the preset second grayscale difference threshold, determining a third grayscale that is less than the preset grayscale value of the second grayscale; using the third grayscale as the maximum grayscale in the second grayscale range, and using the first grayscale threshold as the minimum grayscale in the second grayscale range, to obtain the second grayscale range; The method further includes: if the grayscale difference is equal to a preset second grayscale difference threshold, determining the second grayscale as the driving grayscale; The determining of the driving grayscale value for displaying the second picture according to the brightness of the center point, the brightness of the center associated point and the target brightness includes: judging the size of the brightness of the center point and the target brightness; if the brightness of the center point is greater than the target brightness, taking the grayscale of the center point as the maximum grayscale within the second grayscale range, and the fourth grayscale or the first grayscale threshold as the minimum grayscale within the second grayscale range, to obtain an updated second grayscale range, wherein the fourth grayscale is greater than the preset grayscale value of the second grayscale; if the brightness of the center point is less than the target brightness, taking the grayscale of the center associated point as the minimum grayscale within the second grayscale range, and the second grayscale threshold or the third grayscale as the maximum grayscale within the second grayscale range, to obtain an updated second grayscale range; The method also includes: determining whether the target brightness is within a brightness interval consisting of a minimum brightness corresponding to a minimum grayscale and a maximum brightness corresponding to a maximum grayscale in the updated second grayscale range; if the target brightness is within the brightness interval, calculating a first brightness difference between the brightness of the center associated point and the target brightness; calculating a second brightness difference between the brightness of the center point and the target brightness; calculating a third brightness difference between the brightness of the center point and the brightness of the center associated point; determining whether the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference; if the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference, determining whether the first brightness difference is greater than or equal to the second brightness difference; if the first brightness difference is greater than or equal to the second brightness difference, taking the center point grayscale as the driving grayscale and determining the driving grayscale value; if the first brightness difference is less than the second brightness difference, taking the center associated point grayscale as the driving grayscale and determining the driving grayscale value.
2. The display driving method according to claim 1, characterized in that: The method further comprises: If the grayscale difference is less than a preset second grayscale difference threshold, determining a fourth grayscale greater than the preset grayscale value of the second grayscale; The fourth grayscale is used as the minimum grayscale in the second grayscale range, and the second grayscale threshold is used as the maximum grayscale in the second grayscale range, so as to obtain the second grayscale range.
3. The display driving method according to claim 2, characterized in that: The brightness of the center point and the brightness of the center associated point within the second grayscale range are obtained, wherein the center associated point is a grayscale point separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point: Determine a maximum grayscale threshold and a minimum grayscale threshold within the second grayscale range; Determine, according to the maximum grayscale threshold and the minimum grayscale threshold, a center point grayscale and a center associated point grayscale corresponding to the center point within the second grayscale range, wherein the center associated point is a grayscale point separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point; The brightness of the center point corresponding to the center point grayscale and the brightness of the center associated point corresponding to the center associated point are measured.
4. A display driving device, characterized in that: The display driving device comprises: A grayscale acquisition unit, used to acquire a first grayscale corresponding to a first picture displayed on the display, and a second grayscale corresponding to a second picture displayed, wherein the second picture is displayed after the first picture; A first brightness acquisition unit, used to acquire an average brightness of all grayscales within a first grayscale range, and use the average brightness as a target brightness when the display displays the second picture; a grayscale determination unit, configured to determine the magnitude of the first grayscale and the second grayscale, so as to determine a second grayscale range of the driving grayscale corresponding to the second picture, wherein the first grayscale range and the second grayscale range constitute a display grayscale range of the display; A second brightness acquisition unit, configured to acquire the brightness of a center point and a center associated point within the second grayscale range, wherein the center associated point is a grayscale point that is separated from the center point by a preset grayscale value, and the grayscale of the center point is smaller than the grayscale of the center associated point; a grayscale value determining unit, configured to determine a driving grayscale value for displaying the second picture according to the brightness of the central point, the brightness of the central associated point and the target brightness; A driving unit, configured to drive the display to display the second picture using the driving grayscale value; The display grayscale range includes a first grayscale threshold and a second grayscale threshold, the first grayscale threshold is the minimum grayscale in the display grayscale range, and the second grayscale threshold is the maximum grayscale in the display grayscale range; the determining the size of the first grayscale and the second grayscale to determine the second grayscale range of the driving grayscale corresponding to the second picture includes: obtaining a grayscale difference between the first grayscale and the second grayscale; if the grayscale difference is greater than a preset first grayscale difference threshold, determining whether the grayscale difference is equal to a preset second grayscale difference threshold; if the grayscale difference is not equal to the preset second grayscale difference threshold, determining a third grayscale that is less than the preset grayscale value of the second grayscale; using the third grayscale as the maximum grayscale in the second grayscale range, and using the first grayscale threshold as the minimum grayscale in the second grayscale range, to obtain the second grayscale range; If the grayscale difference is equal to a preset second grayscale difference threshold, determining the second grayscale as the driving grayscale; The determining of the driving grayscale value for displaying the second picture according to the brightness of the center point, the brightness of the center associated point and the target brightness includes: judging the size of the brightness of the center point and the target brightness; if the brightness of the center point is greater than the target brightness, taking the grayscale of the center point as the maximum grayscale within the second grayscale range, and the fourth grayscale or the first grayscale threshold as the minimum grayscale within the second grayscale range, to obtain an updated second grayscale range, wherein the fourth grayscale is greater than the preset grayscale value of the second grayscale; if the brightness of the center point is less than the target brightness, taking the grayscale of the center associated point as the minimum grayscale within the second grayscale range, and the second grayscale threshold or the third grayscale as the maximum grayscale within the second grayscale range, to obtain an updated second grayscale range; Determine whether the target brightness is within the brightness interval formed by the minimum brightness corresponding to the minimum grayscale in the updated second grayscale range and the maximum brightness corresponding to the maximum grayscale; if the target brightness is within the brightness interval, calculate the first brightness difference between the brightness of the center associated point and the target brightness; calculate the second brightness difference between the brightness of the center point and the target brightness; calculate the third brightness difference between the brightness of the center point and the brightness of the center associated point; determine whether the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference; if the sum of the first brightness difference and the second brightness difference is equal to the third brightness difference, determine whether the first brightness difference is greater than or equal to the second brightness difference; if the first brightness difference is greater than or equal to the second brightness difference, use the center point grayscale as the driving grayscale, and determine the driving grayscale value; if the first brightness difference is less than the second brightness difference, use the center associated point grayscale as the driving grayscale, and determine the driving grayscale value.
5. A display device, characterized in that: The display device includes a display and one or more processors; Memory; as well as One or more application programs, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to implement the display driving method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the display driving method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Low gray scale white balance control method and control system and displayer
CN105306917A
Pixel driving method and device
CN106782421A