Display control chip, display control method, display processing device and electronic equipment

By obtaining the digital brightness value and initial grayscale in the display control chip, determining the target compensation value and performing grayscale compensation, the problem of image display effect deviation at different brightness is solved, and a more uniform display brightness is achieved.

CN119446031APending Publication Date: 2025-02-14BEIJING ESWIN COMPUTING TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411773841.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the field of display technology, there is a deviation in the display effect when the same image is displayed at different overall brightness, resulting in uneven brightness.

Method used

A display control chip and method are provided, by obtaining the digital brightness value of the display screen and the initial grayscale of the image, determining the target compensation value, and then compensating the initial grayscale, and adjusting the grayscale of the pixel array display image of the display screen.

Benefits of technology

The display effect deviation of displaying the same image at different overall brightness is reduced, and the brightness uniformity of the entire display screen is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention discloses a display control chip, a display control method, a display processing device and electronic equipment, and belongs to the technical field of display. The display control chip is applied to a display screen, the display screen comprises a pixel array, and the display control chip is configured to obtain a digital brightness value of the display screen and an initial gray scale of an image to be displayed; determining a target compensation value based on the digital brightness value and an initial compensation value of the initial gray scale; compensating the initial gray scale based on the target compensation value to obtain an adjusted gray scale; and controlling a pixel array of the display screen to display an image according to the adjusted gray scale. Under the condition that a specific display area is not limited, the initial compensation value is adjusted according to different digital brightness values to obtain the target compensation value capable of changing the gray scale of the whole display screen, the target compensation value can be dynamically adjusted along with the change of the digital brightness values, and the gray scale of the whole display screen can be changed under the condition that different digital brightness values are reduced. The display effect deviation of the same image displayed by the display screen enables the display brightness of the whole display screen to be more uniform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of display technology, and in particular to a display control chip, a display control method, a display processing device and an electronic device. Background Art

[0002] In the field of display technology, a display screen is lit up based on the brightness indicated by DBV (Digital Brightness Value) to display an image. Different DBVs indicate different overall brightness of the display screen. Under different overall brightness, the display effect of the same image displayed on the display screen has deviations. Therefore, it is necessary to provide a display control device for a display screen to reduce the deviation. Summary of the invention

[0003] The embodiments of the present application provide a display control chip, a display control method, a display processing device and an electronic device to reduce the deviation of the display effect of the same image under different overall brightness. The technical solution is as follows:

[0004] In one aspect, a display control chip is provided, which is applied to a display screen, wherein the display screen includes a pixel array, and the display control chip is configured as follows:

[0005] Acquire the digital brightness value of the display screen and the initial grayscale of the image to be displayed;

[0006] determining a target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale;

[0007] Compensating the initial grayscale based on the target compensation value to obtain an adjusted grayscale;

[0008] The pixel array of the display screen is controlled to display the image according to the adjusted gray scale.

[0009] In a possible embodiment, when the display control chip determines the target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale, it is configured to: determine multiple grayscale ranges based on the digital brightness value, and different grayscale ranges indicate the correspondence between adjustment coefficients of different initial grayscales and different initial compensation values; determine the grayscale range where the initial grayscale is located; determine the adjustment coefficient corresponding to the initial grayscale through the grayscale range where the initial grayscale is located; and adjust the initial compensation value according to the adjustment coefficient to obtain the target compensation value.

[0010] In a possible embodiment, when determining multiple grayscale ranges based on the digital brightness value, the display control chip is configured to: determine a first grayscale value and a second grayscale value based on the digital brightness value; determine the multiple grayscale ranges according to the first grayscale value, the second grayscale value, a first grayscale reference offset value and a second grayscale reference offset value, the first grayscale value and the second grayscale value indicating boundaries of the multiple grayscale ranges, and the adjustment coefficients within the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value, respectively, are linearly related to the initial grayscale.

[0011] In a possible implementation manner, the plurality of grayscale ranges include a first grayscale range, a second grayscale range, a third grayscale range, a fourth grayscale range, and a fifth grayscale range;

[0012] The first grayscale range is a grayscale range less than the first grayscale value, the second grayscale range is a grayscale range greater than the first grayscale value and less than the third grayscale value, the third grayscale range is a grayscale range greater than the third grayscale value and less than the fourth grayscale value, the fourth grayscale range is a grayscale range greater than the fourth grayscale value and less than the second grayscale value, and the fifth grayscale range is a grayscale range greater than the second grayscale value;

[0013] The third grayscale value is a grayscale value obtained by offsetting the first grayscale value according to the first grayscale reference offset value, and the fourth grayscale value is a grayscale value obtained by offsetting the second grayscale value according to the second grayscale reference offset value.

[0014] In a possible implementation, when the display control chip determines the first grayscale value and the second grayscale value based on the digital brightness value, the display control chip is configured to: determine the first grayscale value based on the digital brightness value and a first grayscale segmentation function, the first grayscale segmentation function includes a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-function indicates a corresponding relationship between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range;

[0015] The second grayscale value is determined based on the digital brightness value and a second grayscale segmented function, the second grayscale segmented function includes a plurality of second grayscale sub-functions with different slopes, the second grayscale sub-functions indicate a correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value and the first reference range and the second reference range are inconsistent.

[0016] On the other hand, a display screen display control method is also provided, the method comprising:

[0017] Obtain the digital brightness value of the display screen and the initial grayscale of the image to be displayed;

[0018] determining a target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale;

[0019] Compensating the initial grayscale based on the target compensation value to obtain an adjusted grayscale;

[0020] The pixel array of the display screen is controlled to display the image according to the adjusted gray scale.

[0021] In a possible implementation, the determining of the target compensation value based on the initial compensation value of the digital brightness value and the initial grayscale includes: determining a plurality of grayscale ranges based on the digital brightness value, different grayscale ranges indicating the correspondence between adjustment coefficients of different initial grayscales and different initial compensation values; determining the grayscale range in which the initial grayscale is located; determining the adjustment coefficient corresponding to the initial grayscale through the grayscale range in which the initial grayscale is located; and adjusting the initial compensation value according to the adjustment coefficient to obtain the target compensation value.

[0022] In a possible implementation, determining multiple grayscale ranges based on the digital brightness value includes: determining a first grayscale value and a second grayscale value based on the digital brightness value; determining the multiple grayscale ranges according to the first grayscale value, the second grayscale value, a first grayscale reference offset value and a second grayscale reference offset value, the first grayscale value and the second grayscale value indicating boundaries of the multiple grayscale ranges, and the adjustment coefficients within the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value, respectively, are linearly related to the initial grayscale.

[0023] In a possible embodiment, the multiple grayscale ranges include a first grayscale range, a second grayscale range, a third grayscale range, a fourth grayscale range and a fifth grayscale range; the first grayscale range is a grayscale range less than the first grayscale value, the second grayscale range is a grayscale range greater than the first grayscale value and less than the third grayscale value, the third grayscale range is a grayscale range greater than the third grayscale value and less than the fourth grayscale value, the fourth grayscale range is a grayscale range greater than the fourth grayscale value and less than the second grayscale value, and the fifth grayscale range is a grayscale range greater than the second grayscale value; wherein the third grayscale value is the grayscale value obtained after the first grayscale value is offset according to the first grayscale reference offset value, and the fourth grayscale value is the grayscale value obtained after the second grayscale value is offset according to the second grayscale reference offset value.

[0024] In a possible implementation, determining the first grayscale value and the second grayscale value based on the digital brightness value includes: determining the first grayscale value based on the digital brightness value and a first grayscale segmented function, the first grayscale segmented function including a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-function indicating the correspondence between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range; determining the second grayscale value based on the digital brightness value and the second grayscale segmented function, the second grayscale segmented function including a plurality of second grayscale sub-functions with different slopes, the second grayscale sub-function indicating the correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value, and the first reference range and the second reference range are inconsistent.

[0025] On the other hand, a display processing device is provided, which is applied to a display screen, wherein the display screen includes a pixel array, and the display processing device includes an interpolation module, a gain calculation module, a mapping module, and a compensation module connected in sequence;

[0026] The interpolation module is used to obtain a digital brightness value of the display screen, determine a first grayscale value and a second grayscale value based on the digital brightness value, and transmit the first grayscale value and the second grayscale value to the gain calculation module;

[0027] The gain calculation module is used to obtain an initial grayscale of the image to be displayed and receive the first grayscale value and the second grayscale value, determine an adjustment coefficient corresponding to the initial grayscale based on the first grayscale value and the second grayscale value, and transmit the adjustment coefficient to the mapping module;

[0028] The mapping module is used to obtain the initial compensation value of the initial grayscale and receive the adjustment coefficient, determine the target compensation value according to the adjustment coefficient and the initial compensation value of the initial grayscale, and transmit the target compensation value to the compensation module;

[0029] The compensation module is used to obtain the initial grayscale and receive the target compensation value, and compensate the initial grayscale based on the target compensation value to obtain an adjusted grayscale, so that the pixel array of the display screen displays the image according to the adjusted grayscale.

[0030] In a possible implementation, when the gain calculation module determines the adjustment coefficient corresponding to the initial grayscale based on the first grayscale value and the second grayscale value, it is used to determine a plurality of grayscale ranges according to the first grayscale value, the second grayscale value, the first grayscale reference offset value, and the second grayscale reference offset value; determine the grayscale range in which the initial grayscale is located; and determine the adjustment coefficient corresponding to the initial grayscale according to the grayscale range in which the initial grayscale is located;

[0031] Among them, different grayscale ranges indicate the correspondence between adjustment coefficients of different initial grayscales and different initial compensation values, the first grayscale value and the second grayscale value indicate the boundaries of the multiple grayscale ranges, and the adjustment coefficients in the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value are linearly related to the initial grayscale.

[0032] In a possible implementation manner, when the mapping module determines the target compensation value according to the adjustment coefficient and the initial compensation value of the initial grayscale, the mapping module is configured to adjust the initial compensation value according to the adjustment coefficient to obtain the target compensation value.

[0033] In a possible implementation, when the interpolation module determines the first grayscale value and the second grayscale value based on the digital brightness value, it is used to obtain a first grayscale segmentation function and a second grayscale segmentation function, and determine the first grayscale value based on the digital brightness value and the first grayscale segmentation function, the first grayscale segmentation function includes a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-function indicates a corresponding relationship between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range;

[0034] The second grayscale value is determined based on the digital brightness value and the second grayscale piecewise function, the second grayscale piecewise function includes a plurality of second grayscale sub-functions with different slopes, the second grayscale sub-functions indicate the correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value, and the first reference range and the second reference range are inconsistent.

[0035] On the other hand, an electronic device is provided, comprising any one of the display control chips described above.

[0036] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor so that a computer implements the display control method described in any one of the above aspects.

[0037] On the other hand, a computer program product or a computer program is also provided, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the display control method described in any one of the above aspects.

[0038] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0039] The technical solution provided by the present application aims at the situation that grayscale compensation may be over-compensated or under-compensated. Before compensating the grayscale displayed on the display screen, the digital brightness value of the display screen is obtained, and the influence of the digital brightness value on the compensation effect is considered. Without limiting a specific display area, the initial compensation value is adjusted for different digital brightness values ​​in combination with the initial grayscale of the image to obtain a target compensation value that can change the grayscale of the entire display screen, that is, the target compensation value can be dynamically adjusted with the change of the digital brightness value, thereby reducing the deviation of the display effect of the same image displayed on the display screen at different digital brightness values, thereby making the display brightness of the entire display screen more uniform. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] 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 ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 It is a schematic diagram of an implementation environment of a display control method provided in an embodiment of the present application;

[0042] Figure 2 is a flow chart of a display control method provided by an embodiment of the present application;

[0043] Figure 3 is a schematic diagram of a functional relationship between a digital brightness value and a first grayscale value provided in an embodiment of the present application;

[0044] Figure 4 is a schematic diagram of a functional relationship between a digital brightness value and a second grayscale value provided in an embodiment of the present application;

[0045] Figure 5 is a schematic diagram of a functional relationship between an initial grayscale and an adjustment coefficient provided in an embodiment of the present application;

[0046] Figure 6 is another schematic diagram of the functional relationship between the initial grayscale and the adjustment coefficient provided in an embodiment of the present application;

[0047] Figure 7 is another schematic diagram of the functional relationship between the initial grayscale and the adjustment coefficient provided in an embodiment of the present application;

[0048] Figure 8 is a structural schematic diagram of a display processing device provided in an embodiment of the present application;

[0049] Fig. 9 It is a structural schematic diagram of another display processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0051] It should be noted that the terms "first", "second", etc. (if any) in the specification of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application.

[0052] In display technology, adjusting DBV is a direct means of controlling the brightness of the display. As a numerical indicator, DBV adjusts the overall brightness of the display by changing the voltage or current intensity of the display pixels to achieve switching from high brightness to low brightness mode. For example, when the DBV value decreases, the corresponding voltage on the display will also decrease synchronously, resulting in a decrease in the overall brightness of the display. However, in the process of adjusting the brightness of the display, due to the aging of the luminescent material on the display, or the different adjustment ratios of different grayscales in the process of adjusting the overall brightness of the display, different grayscales need to be adjusted.

[0053] In the related art, compensation is performed for grayscale within a pre-selected fixed grayscale range. The compensation method may be to obtain the compensated grayscale by adding a determined initial compensation value to the initial grayscale. The method for determining the initial compensation value may be to determine the gap between the display effect of the initial grayscale and the expected display effect during the process of testing the display effect of the display screen, and determine the initial compensation value based on the gap.

[0054] However, in the related art, the grayscale range for grayscale compensation is fixed, and the grayscale initial compensation values ​​of two adjacent grayscales in the grayscale range for grayscale compensation and the grayscale range for no grayscale compensation do not take into account the transition situation. For example, when DBV = 100, grayscales below grayscale 16 are not compensated, and grayscales above grayscale 16 need to be compensated. In other words, grayscale 16 is a grayscale that is not initially compensated, and grayscale 17 is a grayscale that is initially compensated. If initial compensation is performed directly at grayscale 17, the part where grayscale 16 and grayscale 17 meet will suddenly switch from no compensation to compensation, resulting in a sudden change in the picture.

[0055] In addition, since the grayscale range for grayscale compensation is fixed, in high-brightness mode, due to the high sensitivity of the display to voltage changes at high brightness, pixels in the low grayscale range may be more susceptible to overcompensation, causing the display screen to appear too bright or color distorted in these areas. In low-brightness mode, due to the reduced sensitivity of the display to voltage changes, pixels in the low grayscale range may not be adequately compensated, resulting in undercompensation, making these areas appear relatively dark.

[0056] The embodiment of the present application provides a display control method for reducing the deviation of the display effect of the same image displayed on the display screen under different overall brightness. Figure 1 , which shows a schematic diagram of an implementation environment of the display control method provided in an embodiment of the present application. The implementation environment may include: an electronic device 101 and a display screen 102, and the electronic device 101 and the display screen 102 are connected via a wired or wireless connection. Optionally, the display screen 102 may be a display screen installed on the electronic device 101, in which case the display screen 102 is a part of the electronic device 101.

[0057] The embodiment of the present application does not limit the type of the electronic device 101. For example, the electronic device 101 may be a terminal or a server. Optionally, the terminal may be any electronic product that can interact with a user through one or more methods such as a keyboard, a touchpad, a touch screen, a remote control, voice interaction, or a handwriting device, such as a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, etc. The server may be a single server, a server cluster consisting of multiple servers, or a cloud computing service center.

[0058] The embodiment of the present application does not limit the type of the display screen 102. For example, the display screen 102 may be a LED (Light Emitting Diode) display screen or an LCD (Liquid Crystal Display) display screen.

[0059] Those skilled in the art should understand that the above-mentioned electronic device 101 and display screen 102 are only examples, and other existing or future electronic devices and displays that are applicable to the present application should also be included in the scope of protection of the present application and are included here by reference.

[0060] See also Figure 2 , Figure 2Flow chart of a display control method provided in an embodiment of the present application. The method is described by taking an electronic device as an example, and the electronic device is connected to a display screen. For example, the electronic device can be Figure 1 The electronic device 101 shown in the figure may have a display screen. Figure 1 The display screen 102 is shown. Figure 2 As shown, the display control method includes but is not limited to the following steps 201 to 204.

[0061] Step 201 : obtaining a digital brightness value of a display screen and an initial grayscale of an image to be displayed.

[0062] The digital brightness value is a quantitative indicator used in display devices to indicate the brightness of the display screen. The digital brightness value indicates the brightness level of the display screen under the current setting, which can be understood as the overall brightness value of the display screen. For example, increasing the digital brightness value increases the overall brightness of the display screen, and decreasing the digital brightness value decreases the overall brightness of the display screen. The representation of DBV may vary depending on different display technologies (such as LCD, OLED, etc.) and manufacturers, and can be adjusted within a certain range.

[0063] The present application embodiment does not limit the method for obtaining the digital brightness value of the display screen. For example, if the display screen provides a hardware interface or register for querying the brightness value of the display screen, the current DBV of the display screen can be obtained by reading the value of the hardware interface or register. Alternatively, at the operating system level of the computer device, there is a corresponding API (Application Programming Interface) for obtaining the brightness of the display screen, etc.

[0064] Based on the overall brightness value of the display, grayscale is the expression of the brightness level of the image, and is the transition level of the image from dark to bright. On the display, the number of grayscales determines the richness of details that the image can express. The initial grayscale refers to the grayscale value corresponding to each pixel of the image to be displayed without any processing. The initial grayscale indicates the initial brightness distribution of the image on the display device.

[0065] The embodiments of the present application do not limit the method for obtaining the initial grayscale of an image. For example, for an image stored in an electronic device, the initial grayscale value of each pixel can be obtained by parsing the pixel data of the image file. Alternatively, if the electronic device provides an interface or function for directly obtaining the image data to be displayed, the initial grayscale of the image can also be obtained through the interface.

[0066] Step 202: determining a target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale.

[0067] In the embodiment of the present application, the initial compensation value may be pre-calculated and used to adjust the grayscale of the image affected by the brightness of the display screen. From the above content, it can be seen that the initial grayscale compensation value of two adjacent grayscales in the grayscale range for grayscale compensation and the grayscale range for non-grayscale compensation does not take into account the transition situation, and there is a situation where the brightness of two adjacent grayscales changes suddenly. Therefore, it is necessary to re-determine the target compensation value, and the determination of the target compensation value needs to take into account the impact of the sudden change in the brightness of two adjacent grayscales.

[0068] In one possible implementation, the process of determining a target compensation value based on a digital brightness value and an initial compensation value of an initial grayscale includes determining a plurality of grayscale ranges based on the digital brightness value, wherein different grayscale ranges indicate a correspondence between adjustment coefficients of different initial grayscales and different initial compensation values; determining a grayscale range in which the initial grayscale is located; determining an adjustment coefficient corresponding to the initial grayscale through the grayscale range in which the initial grayscale is located; and adjusting the initial compensation value according to the adjustment coefficient to obtain a target compensation value.

[0069] Exemplarily, the grayscale space is divided into multiple ranges according to the digital brightness value, so that the grayscale range can be flexibly adjusted without being limited to the brightness compensation adjustment under a specific display brightness. For each grayscale range, a set of corresponding relationships between the initial grayscale and the adjustment coefficient is defined. The adjustment coefficient can be obtained based on experiments or algorithm optimization, and is used to optimize the display effect according to the initial grayscale of the image and the digital brightness value of the current display screen.

[0070] The computer device adjusts the initial compensation value according to the determined adjustment coefficient. For example, the adjustment process may be to multiply the initial compensation value and the adjustment coefficient to obtain an adjusted compensation value, which is the target compensation value and is used in subsequent display screen compensation processing to improve the display effect.

[0071] In one possible implementation, the process of determining multiple grayscale ranges based on digital brightness values ​​includes: determining a first grayscale value and a second grayscale value based on the digital brightness value; determining multiple grayscale ranges according to the first grayscale value, the second grayscale value, the first grayscale reference offset value, and the second grayscale reference offset value, the first grayscale value and the second grayscale value indicating boundaries of the multiple grayscale ranges, and the adjustment coefficients within the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value, respectively, are linearly related to the initial grayscale.

[0072] According to the current digital brightness value, the computer device determines the influence of the display screen brightness on the image display effect. Based on the digital brightness value, the computer device determines two grayscale values ​​as the boundaries of multiple grayscale ranges, namely the first grayscale value and the second grayscale value. In other words, no adjustment is required outside the grayscale range defined by the first grayscale value and the second grayscale value. The first grayscale value may be a low grayscale threshold value, and the second grayscale value may be a high grayscale threshold value. The determination process of the low grayscale threshold value and the high grayscale threshold value may refer to steps 2021-2023.

[0073] In addition to the first grayscale value and the second grayscale value as the direct grayscale range boundaries, the first grayscale reference offset value and the second grayscale reference offset value are also introduced. The grayscale reference offset value is used to determine the grayscale range of grayscale compensation transition when defining the grayscale range. The grayscale range can also be considered as a transition area, that is, the present application sets a threshold for the grayscale compensation range under the digital brightness value. At the same time, considering that the brightness compensation difference is too large when the grayscale changes, resulting in a sudden change in the display screen, a transition area is added. Furthermore, multiple grayscale ranges can be defined by the first grayscale value, the second grayscale value, the first grayscale reference offset value and the second grayscale reference offset value. Each grayscale range corresponds to the adjustment method that the grayscale value of the image within the range needs to follow. For example, the brightness compensation value is linearly adjusted in the grayscale transition area from 0 to 1.

[0074] In a possible implementation, the process of determining the first grayscale value and the second grayscale value based on the digital brightness value includes: determining the first grayscale value based on the digital brightness value and the first grayscale segmented function, the first grayscale segmented function includes a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-function indicates the correspondence between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range. Determining the second grayscale value based on the digital brightness value and the second grayscale segmented function, the second grayscale segmented function includes a plurality of second grayscale sub-functions with different slopes, the second grayscale sub-function indicates the correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value, and the first reference range and the second reference range are inconsistent.

[0075] The first grayscale segmentation function is composed of a plurality of first grayscale sub-functions with different slopes. Each sub-function describes a specific correspondence between a digital brightness value and a first grayscale value. The segmentation design allows different conversion rules to be applied in different DBV ranges, thereby more accurately controlling the calculation of the first grayscale value. By inputting the current DBV value into the first grayscale segmentation function and selecting the corresponding first grayscale sub-function for calculation according to the specific range of DBV, the first grayscale value is finally obtained.

[0076] In the embodiment of the present application, the first grayscale value is limited to the first reference range, which means that the first grayscale value is within the low grayscale range, and the second grayscale value is limited to the second reference range, which means that the second grayscale value is within the high grayscale range. Exemplarily, the low grayscale range and the high grayscale range are freely set according to display requirements.

[0077] Regarding the second grayscale segmentation function, since it is similar to the first grayscale segmentation function, the second grayscale segmentation function is also composed of multiple second grayscale sub-functions with different slopes. Each sub-function also describes the correspondence between DBV and the second grayscale value. In addition, the second grayscale sub-function may have a slope or intercept different from that of the first grayscale sub-function to reflect the different adjustment strategies of the second grayscale value under different DBVs. The second grayscale value is obtained by inputting the DBV value into the second grayscale segmentation function and selecting the corresponding second grayscale sub-function for calculation according to the range of DBV. In an embodiment of the present application, the segmentation function method can significantly improve the flexibility and adaptability of image display. By adjusting the parameters of the segmentation function, it can be optimized for different display devices and content types to improve the image display effect.

[0078] Exemplarily, the process of determining the low grayscale threshold value (ie, the first grayscale value) may include the following steps 2021 to 2024.

[0079] Step 2021, determine the interpolation binding point.

[0080] In an embodiment of the present application, the interpolation binding points (taking the interpolation binding points including point1 to point5 as an example) are predefined digital brightness values, which are used to divide the brightness range into several intervals. In each interval, the low grayscale threshold value will be calculated by a linear function. The low grayscale threshold value (taking the low grayscale threshold values ​​corresponding to the interpolation binding points as low_th1 to low_th5 as an example) corresponds to the low grayscale threshold value of each interpolation binding point. The present application is not limited to the brightness compensation adjustment under a specific display brightness, so the predefined digital brightness value can be flexibly adjusted, and the embodiment of the present application does not limit the selection method of the interpolation binding point, that is, the digital brightness value, which can be selected based on experience or randomly.

[0081] In addition, when the digital brightness value is adjusted, the present application supports dynamically adjusting the divided brightness range according to the change in brightness to adjust the grayscale compensation range. Therefore, the present application does not need to store the compensation value, but dynamically determines it according to the actual situation. For example, when the digital brightness value increases from 100nit (nits) to 300nit, the grayscale compensation range under 101nit~299nit is determined in a linear manner according to the digital brightness value. The embodiment of the present application does not limit the method for determining the low grayscale threshold value corresponding to the interpolation binding point. For example, it can be that an image is displayed under an interpolation binding point, based on user needs and the difference between the actual display effect and the expected display effect of the displayed image.

[0082] Step 2022: determine the interpolation slope according to the interpolation binding point and the low grayscale threshold value corresponding to the interpolation binding point.

[0083] For example, the embodiment of the present application takes 5 interpolation binding points, and these 5 interpolation binding points correspond to 4 interpolation slopes k1 to k4 as an example. These 4 interpolation slope values ​​define the change rate of the low grayscale threshold value between adjacent interpolation binding points.

[0084] Step 2023: Determine a first grayscale piecewise function based on the interpolation binding point, the interpolation slope, and the low grayscale threshold value corresponding to the interpolation binding point.

[0085] See also Figure 3 A schematic diagram of the functional relationship between a digital brightness value and a first grayscale value is shown. The horizontal axis is the digital brightness value, and the vertical axis is the first grayscale value (low_th). The five preset interpolation binding points include dbv point1, dbvpoint2, dbv point3, dbv point4 and dbv point5. The first grayscale value corresponding to the interpolation binding point dbvpoint1 is low_th1, the first grayscale value corresponding to the interpolation binding point dbv point2 is low_th2, the first grayscale value corresponding to the interpolation binding point dbv point3 is low_th3, the first grayscale value corresponding to the interpolation binding point dbv point4 is low_th4, and the first grayscale value corresponding to the interpolation binding point dbvpoint5 is low_th5. The slopes corresponding to different first grayscale sub-functions are -k1, -k2, -k3 and -k4, respectively. The slope is determined based on the correspondence between the determined interpolation binding point and the first grayscale value.

[0086] based on Figure 3 The functional relationship diagram of the digital brightness value and the first grayscale value shown can determine the first grayscale segmentation function. The first grayscale segmentation function is as follows:

[0087]

[0088] Among them, the slope of the first sub-grayscale function in the first grayscale segmented function can be positive or negative, which is set due to different user needs and the display effect of the display screen. For example, if the first grayscale value corresponding to different interpolation binding points determined by the user increases with the increase of the value of the interpolation binding point, the slope is positive.

[0089] Optionally, the process of determining the high grayscale threshold value (that is, the second grayscale value) may refer to the process of determining the low grayscale threshold value. Figure 4 A schematic diagram of the functional relationship between a digital brightness value and a second grayscale value is shown. The horizontal axis is the digital brightness value (DBV), and the vertical axis is the second grayscale value (high_th). The five preset interpolation binding points include dbv point6, dbv point7, dbv point8, dbv point9 and dbvpoint10. The first grayscale value corresponding to the interpolation binding point dbv point6 is high_th1, the first grayscale value corresponding to the interpolation binding point dbv point7 is high_th2, the first grayscale value corresponding to the interpolation binding point dbv point8 is high_th3, the first grayscale value corresponding to the interpolation binding point dbv point9 is high_th4, and the first grayscale value corresponding to the interpolation binding point dbv point10 is high_th5. The slopes corresponding to different first grayscale sub-functions are -k5, -k6, -k7 and -k8, respectively. The slope is determined based on the correspondence between the determined interpolation binding point and the first grayscale value.

[0090] based on Figure 4 The functional relationship diagram of the digital brightness value and the second grayscale value shown can determine the second grayscale segmentation function. The second grayscale segmentation function is as follows:

[0091]

[0092] Among them, the slope of the second sub-grayscale function in the second grayscale segmented function can be positive or negative, which is set due to different user needs and the display effect of the display screen. For example, if the second grayscale value corresponding to the different interpolation binding points determined by the user increases with the increase of the value of the interpolation binding point, the slope is positive. In the embodiment of the present application, max(gray)-high_th is the second grayscale value. In addition, high_th1 to high_th5 are all greater than or equal to 0, that is, the second grayscale value in the embodiment of the present application is less than max(gray).

[0093] Step 2024: determine a first grayscale value based on the digital brightness value and the first grayscale segmentation function.

[0094] For example, based on the above Figure 3 The corresponding first grayscale segmentation function and Figure 4Corresponding to the second grayscale segmentation function, the digital brightness value is substituted into the first grayscale segmentation function to obtain the first grayscale value, and the digital brightness value is substituted into the second grayscale segmentation function to obtain the second grayscale value.

[0095] In a possible implementation, the slope of the first grayscale sub-function and the slope of the second grayscale sub-function are integer powers of 2. The slope is usually used to describe the degree of inclination of the grayscale sub-function. In the grayscale segmented function, the slope represents the speed or degree of change of the grayscale value when the digital brightness value changes. In a computer system, multiplication and division calculations consume high hardware resources and are relatively slow in execution. By setting the slope k to an integer power of 2, shift operations can be used to replace multiplication and division, thereby optimizing performance and reducing resource consumption.

[0096] For example, assuming that the slope k2 is 8 (that is, 2 3 ), when k2×(dbv-dbv_point2) needs to be calculated, it can be considered as shifting the result of (dbv-dbv_point2) to the left by 3 bits. For example, dbv=200, dbv_point2=150. The usual multiplication calculation is: k2×(dbv-dbv_point2)=8×(200-150)=8×50=400. But using the shift operation, the calculation process can be (dbv-dbv_point2)=(200-150)=50, shifting the binary representation of 50 to the left by 3 bits, the binary representation of 50 is 00110010, the binary representation of 50 is shifted to the left by 3 bits to get 110010000, and the decimal representation of 110010000 is 400.

[0097] When the slope k is a negative integer power of 2, a right shift operation can be used. For example, if k3 is 1 / 8 (i.e. 2 -3 ), then calculating k3×(dbv-dbv_point3) is equivalent to shifting the result of (dbv-dbv_point3) right by 3 bits. The right shift process can be referred to the left shift process in the above content, which will not be repeated here.

[0098] In a possible implementation, the plurality of grayscale ranges include a first grayscale range, a second grayscale range, a third grayscale range, a fourth grayscale range, and a fifth grayscale range. The first grayscale range is a grayscale range less than the first grayscale value, the second grayscale range is a grayscale range greater than the first grayscale value and less than the third grayscale value, the third grayscale range is a grayscale range greater than the third grayscale value and less than the fourth grayscale value, the fourth grayscale range is a grayscale range greater than the fourth grayscale value and less than the second grayscale value, and the fifth grayscale range is a grayscale range greater than the second grayscale value. The third grayscale value is a grayscale value obtained by offsetting the first grayscale value according to the first grayscale reference offset value, and the fourth grayscale value is a grayscale value obtained by offsetting the second grayscale value according to the second grayscale reference offset value.

[0099] The first grayscale value is the low grayscale threshold value, the second grayscale value is the high grayscale threshold value, and the calculation formulas of the third grayscale value and the fourth grayscale value can refer to the following formula 3:

[0100]

[0101] Among them, low_th is the first grayscale value, max(gray) is the maximum grayscale, max(gray)-high_th is the second grayscale value, low_slope is the first grayscale offset value, high_slope is the second grayscale offset value, low_th+low_slope is the third grayscale value, max(gray)-high_th-high_slope is the fourth grayscale value. offset_mask is the grayscale point, low_mask_start is the low grayscale starting point, low_mask_end is the low grayscale ending point, high_mask_start is the high grayscale starting point, and high_mask_end is the high grayscale ending point. The first grayscale offset value and the second grayscale offset value are both freely set by the user according to needs.

[0102] Based on the above grayscale points, five grayscale ranges are determined. The corresponding relationship between the initial grayscale indicated by the five grayscale ranges and the adjustment coefficient can be seen in the following formula 4:

[0103]

[0104] Wherein, gary is the initial gray scale, mask_gain is the adjustment coefficient, gray < low_mask_start is the first gray scale range less than the first gray scale value, low_mask_start ≤ gray < low_mask_end is the second gray scale range greater than the first gray scale value and less than the third gray scale value, low_mask_end ≤ gray ≤ high_mask_start is the third gray scale range greater than the third gray scale value and less than the fourth gray scale value, high_mask_start < gray ≤ high_mask_end is the fourth gray scale range greater than the fourth gray scale value and less than the second gray scale value, and gray > high_mask_end is the fifth gray scale range greater than the second gray scale value.

[0105] The first 0 is the correspondence between the initial gray scale and the adjustment coefficient in the first gray scale range, (gray - low_mask_start) / (low_slope) is the correspondence between the initial gray scale and the adjustment coefficient in the second gray scale range, 1 is the correspondence between the initial gray scale and the adjustment coefficient in the third gray scale range, (high_mask_end - gray) / (high_slope) is the correspondence between the initial gray scale and the adjustment coefficient in the fourth gray scale range, and the second 0 is the correspondence between the initial gray scale and the adjustment coefficient in the fifth gray scale range. Optionally, for the convenience of the computer device to calculate, the first gray scale reference offset value and the second gray scale reference offset value can be integer powers of 2.

[0106] See Figure 5 As shown in the schematic diagram of the functional relationship between the initial gray scale and the adjustment coefficient, wherein, the adjustment coefficient corresponding to the initial gray scale in the area less than low_mask_start (i.e., the first gray scale value) is 0. The adjustment coefficient corresponding to the initial gray scale in the area between low_mask_start and low_mask_end (i.e., the third gray scale value) is linearly related to the initial gray scale. In addition, the value of low_mask_start can be less than 0, so that the functional relationship between the initial gray scale between low_mask_start and low_mask_end can change from a non-zero value to 1, making the obtained target compensation value larger, thereby avoiding under-compensation.

[0107] See Figure 6 As shown in another schematic diagram of the functional relationship between the initial gray scale and the adjustment coefficient, wherein, the adjustment coefficient corresponding to the initial gray scale in the area greater than high_mask_end (i.e., the second gray scale value) is 0. The adjustment coefficient corresponding to the initial gray scale in the area between high_mask_start (i.e., the fourth gray scale value) and high_mask_end (i.e., the second gray scale value) is linearly related to the initial gray scale.

[0108] See also Figure 7 Another schematic diagram of the functional relationship between the initial grayscale and the adjustment coefficient is shown, wherein the adjustment coefficient corresponding to the initial grayscale in the area between low_mask_end (ie, the third grayscale value) and high_mask_start (ie, the fourth grayscale value) is 1.

[0109] In addition, see Figure 7 , wherein the low grayscale threshold value (i.e., the first grayscale value) can be adjusted according to the value of DBV, and the adjustment process can refer to the process of determining the first grayscale value according to DBV described in step 302 (i.e., formula 1). The high grayscale threshold value (i.e., the second grayscale value) can be adjusted according to the value of DBV, and the adjustment process can refer to the process of determining the second grayscale value according to DBV described in step 302 (i.e., formula 2).

[0110] On the basis of determining the adjustment coefficient, the initial compensation value is compensated based on the adjustment coefficient to obtain the target compensation value, which can be calculated by the following formula 5:

[0111] o_offset=i_offset×mask_gain (Formula 5)

[0112] Among them, i_offset is the initial compensation value, mask_gain is the adjustment coefficient, and o_offset is the target compensation value.

[0113] Step 203 , compensating the initial grayscale based on the target compensation value to obtain an adjusted grayscale.

[0114] The embodiment of the present application does not limit the compensation method, for example, the adjusted grayscale is calculated by the following formula 6.

[0115] A=gray+o_offset (Formula 6)

[0116] Among them, gray is the initial grayscale, o_offset is the target compensation value, and A is the adjusted grayscale. By compensating the initial grayscale based on the target compensation value, the display effect can be improved.

[0117] Step 204: Control the pixel array of the display screen to display the image according to the adjusted grayscale.

[0118] When the display screen displays an image, the image can be formed by controlling the grayscale of each pixel in the pixel array on the display screen. Before the adjusted grayscale is applied to the display screen, the adjusted grayscale needs to be converted into a control signal that the display screen can understand. The control signal is sent to each pixel on the display screen. Each pixel adjusts the brightness according to the received control signal, thereby forming a complete image together with the surrounding pixels. In other words, the present application adjusts the display brightness of the entire display screen through the adjusted grayscale, is not limited to a specific display area, and aims to enhance the compensation display effect of the entire display screen at different brightnesses, and achieves a uniform display brightness effect for the entire display screen by changing the grayscale of the entire display screen.

[0119] In summary, the display control method provided in the embodiment of the present application is for the situation that there may be over-compensation or under-compensation of grayscale compensation. Before compensating the grayscale displayed on the display screen, the digital brightness value of the display screen is obtained, and the influence of the digital brightness value on the compensation effect is considered. Without limiting to a specific display area, the initial compensation value is adjusted for different digital brightness values ​​in combination with the initial grayscale of the image to obtain a target compensation value that can change the grayscale of the entire display screen, that is, the target compensation value can be dynamically adjusted with the change of the digital brightness value, thereby reducing the deviation of the display effect of the same image displayed on the display screen at different digital brightness values, thereby making the display brightness of the entire display screen more uniform.

[0120] In addition, the grayscale range is determined according to the digital brightness value, so that the determined grayscale starting point and end point match the digital brightness value. Furthermore, the first grayscale reference offset value and the second grayscale reference offset value are freely set by the user, which can make the transition process more in line with user needs.

[0121] The embodiment of the present application further provides a display control chip, which is applied to a display screen, the display screen includes a pixel array, and the display control chip is configured as follows:

[0122] Obtain the digital brightness value of the display screen and the initial grayscale of the image to be displayed;

[0123] determining a target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale;

[0124] Compensating the initial grayscale based on the target compensation value to obtain an adjusted grayscale;

[0125] The pixel array of the display screen is controlled to display the image according to the adjusted gray scale.

[0126] In one possible embodiment, when the display control chip determines the target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale, it is configured to: determine multiple grayscale ranges based on the digital brightness value, and different grayscale ranges indicate the correspondence between adjustment coefficients of different initial grayscales and different initial compensation values; determine the grayscale range where the initial grayscale is located; determine the adjustment coefficient corresponding to the initial grayscale through the grayscale range where the initial grayscale is located; and adjust the initial compensation value according to the adjustment coefficient to obtain the target compensation value.

[0127] In a possible embodiment, when the display control chip determines multiple grayscale ranges based on the digital brightness value, it is configured to: determine a first grayscale value and a second grayscale value based on the digital brightness value; determine multiple grayscale ranges according to the first grayscale value, the second grayscale value, the first grayscale reference offset value and the second grayscale reference offset value, the first grayscale value and the second grayscale value indicate boundaries of the multiple grayscale ranges, and the adjustment coefficients in the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value, respectively, are linearly related to the initial grayscale.

[0128] In a possible implementation, the plurality of grayscale ranges include a first grayscale range, a second grayscale range, a third grayscale range, a fourth grayscale range, and a fifth grayscale range;

[0129] The first grayscale range is a grayscale range less than the first grayscale value, the second grayscale range is a grayscale range greater than the first grayscale value and less than the third grayscale value, the third grayscale range is a grayscale range greater than the third grayscale value and less than the fourth grayscale value, the fourth grayscale range is a grayscale range greater than the fourth grayscale value and less than the second grayscale value, and the fifth grayscale range is a grayscale range greater than the second grayscale value;

[0130] The third grayscale value is a grayscale value obtained by offsetting the first grayscale value according to the first grayscale reference offset value, and the fourth grayscale value is a grayscale value obtained by offsetting the second grayscale value according to the second grayscale reference offset value.

[0131] In a possible implementation, when the display control chip determines the first grayscale value and the second grayscale value based on the digital brightness value, it is configured to: determine the first grayscale value based on the digital brightness value and a first grayscale segmentation function, the first grayscale segmentation function includes a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-function indicates a corresponding relationship between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range;

[0132] A second grayscale value is determined based on the digital brightness value and the second grayscale segmented function, the second grayscale segmented function includes multiple second grayscale sub-functions with different slopes, the second grayscale sub-functions indicate the correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value, and the first reference range and the second reference range are inconsistent.

[0133] In a possible implementation, the display control chip includes: Figure 8 or Fig. 9 The display processing device shown.

[0134] The above-mentioned display control chip may have over-compensation or under-compensation for grayscale compensation. Before compensating the grayscale displayed on the display screen, the digital brightness value of the display screen is obtained, and the influence of the digital brightness value on the compensation effect is considered. Without limiting a specific display area, the initial compensation value is adjusted for different digital brightness values ​​in combination with the initial grayscale of the image to obtain a target compensation value that can change the grayscale of the entire display screen, that is, the target compensation value can be dynamically adjusted with the change of the digital brightness value, thereby reducing the deviation of the display effect of the same image displayed on the display screen at different digital brightness values, thereby making the display brightness of the entire display screen more uniform.

[0135] In addition, the grayscale range is determined according to the digital brightness value, so that the determined grayscale starting point and end point match the digital brightness value. Furthermore, the first grayscale reference offset value and the second grayscale reference offset value are freely set by the user, which can make the transition process more in line with user needs.

[0136] The present application also provides a display processing device, which is applied to a display screen, and the display screen includes a pixel array. Figure 8 As shown, the display processing device includes an interpolation module 801, a gain calculation module 802, a mapping module 803 and a compensation module 804 connected in sequence;

[0137] An interpolation module 801 is used to obtain a digital brightness value of the display screen, determine a first grayscale value and a second grayscale value based on the digital brightness value, and transmit the first grayscale value and the second grayscale value to a gain calculation module 802;

[0138] The gain calculation module 802 is used to obtain the initial grayscale of the image to be displayed and receive the first grayscale value and the second grayscale value, determine the adjustment coefficient corresponding to the initial grayscale based on the first grayscale value and the second grayscale value, and transmit the adjustment coefficient to the mapping module 803;

[0139] A mapping module 803 is used to obtain an initial compensation value of an initial grayscale and receive an adjustment coefficient, determine a target compensation value according to the adjustment coefficient and the initial compensation value of the initial grayscale, and transmit the target compensation value to a compensation module 804;

[0140] The compensation module 804 is used to obtain an initial grayscale and receive a target compensation value, and compensate the initial grayscale based on the target compensation value to obtain an adjusted grayscale, so that the pixel array of the display screen displays an image according to the adjusted grayscale.

[0141] In a possible implementation, when the gain calculation module 802 determines the adjustment coefficient corresponding to the initial grayscale based on the first grayscale value and the second grayscale value, it is used to determine multiple grayscale ranges according to the first grayscale value, the second grayscale value, the first grayscale reference offset value and the second grayscale reference offset value; determine the grayscale range where the initial grayscale is located; determine the adjustment coefficient corresponding to the initial grayscale according to the grayscale range where the initial grayscale is located;

[0142] Among them, different grayscale ranges indicate the correspondence between adjustment coefficients of different initial grayscales and different initial compensation values, the first grayscale value and the second grayscale value indicate the boundaries of multiple grayscale ranges, and the adjustment coefficients in the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value are linearly related to the initial grayscale.

[0143] In a possible implementation manner, when determining the target compensation value according to the adjustment coefficient and the initial compensation value of the initial grayscale, the mapping module 803 is configured to adjust the initial compensation value according to the adjustment coefficient to obtain the target compensation value.

[0144] In a possible implementation, when the interpolation module 801 determines the first grayscale value and the second grayscale value based on the digital brightness value, it is used to obtain a first grayscale segmentation function and a second grayscale segmentation function, and determine the first grayscale value based on the digital brightness value and the first grayscale segmentation function, the first grayscale segmentation function includes a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-function indicates a corresponding relationship between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range;

[0145] A second grayscale value is determined based on the digital brightness value and the second grayscale segmented function, the second grayscale segmented function includes multiple second grayscale sub-functions with different slopes, the second grayscale sub-functions indicate the correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value, and the first reference range and the second reference range are inconsistent.

[0146] In a possible implementation, the interpolation module 801 includes a low grayscale mask boundary interpolation module 8011 and a high grayscale mask boundary interpolation module 8012. The low grayscale mask boundary interpolation module 8011 is used to determine a first grayscale value based on a digital brightness value, and the high grayscale mask boundary interpolation module 8012 is used to determine a second grayscale value based on a digital brightness value. The gain calculation module 802 is a mask gain calculation module 8021, and the mapping module 803 is an offset remapping module 8031. For ease of understanding, Fig. 9 Taking the structure of the display processing device shown in FIG. 1 as an example, the display processing device provided in the embodiment of the present application is illustrated. Fig. 9 As shown, the display processing device includes a low grayscale mask boundary interpolation module 8011 , a high grayscale mask boundary interpolation module 8012 , a mask gain calculation module 8021 , an offset remapping module 8031 ​​and a compensation module 804 .

[0147] Among them, the compensation offset value is the initial compensation value in the method embodiment, the DBV input is the digital brightness value of the display screen obtained, and the user module is a user module matched with the display screen, which is used to receive the user's settings. For example, the user module obtains the low / high grayscale interpolation binding point and the threshold value corresponding to the insertion binding point, and the low / high grayscale interpolation slope (i.e., the slope of the first grayscale sub-function and the second grayscale sub-function) based on the register configuration. Among them, the low grayscale interpolation binding point and the threshold value corresponding to the insertion binding point, and the low grayscale interpolation slope are low grayscale boundary parameters, and the high grayscale interpolation binding point and the threshold value corresponding to the insertion binding point, and the high grayscale interpolation slope are high grayscale boundary parameters.

[0148] Afterwards, the user module inputs the low grayscale boundary parameters to the low grayscale mask boundary interpolation module 8011. When the low grayscale mask boundary interpolation module 8011 determines the first grayscale value based on the digital brightness value, it is used to determine the interpolation interval range of the DBV (i.e., the first grayscale sub-function where the DBV is located) according to the DBV input, select the first grayscale sub-function of the corresponding interval to obtain the low grayscale threshold value under the current DBV, i.e., the first grayscale value, and input it to the mask gain calculation module 8021. When the high grayscale mask boundary interpolation module 8012 determines the second grayscale value based on the digital brightness value, it is used to determine the interpolation interval range of the DBV (i.e., the second grayscale sub-function where the DBV is located) according to the DBV input, select the second grayscale sub-function of the corresponding interval to obtain the high grayscale threshold value under the current DBV, i.e., the second grayscale value, and input it to the mask gain calculation module 8021. Among them, the process of the low grayscale mask boundary interpolation module 8011 determining the first grayscale value and the process of the high grayscale mask boundary interpolation module 8012 determining the second grayscale value can refer to step 2021 to step 2024, which will not be repeated here.

[0149] The mask gain calculation module 8021 is used to obtain the low and high grayscale boundary starting points and end points (i.e., the low grayscale starting point, the low grayscale end point, the high grayscale starting point and the high grayscale end point) according to the low and high grayscale threshold values, the first grayscale reference offset value and the second grayscale reference offset value, determine whether the initial grayscale of the image input is within the boundary interval, determine the adjustment coefficient according to the above formula 4, and transmit it to the offset remapping module 8031. The offset remapping module 8031 ​​is used to determine the target compensation value according to the adjustment coefficient and the initial compensation value, and transmit the target compensation value to the compensation module 804. Among them, when the offset remapping module 8031 ​​determines the target compensation value according to the adjustment coefficient and the initial compensation value, it is used to adjust the initial compensation value according to the adjustment coefficient to obtain the target compensation value. The compensation module 804 is used to add the target compensation value to the initial grayscale, and finally output the compensated image result.

[0150] It should be noted that the above Figure 8 or Fig. 9 When the display processing device provided in the embodiment realizes its functions, only the division of the above-mentioned functional modules is used as an example. In actual functions, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the display control chip, display processing device and method embodiment provided in the above embodiment belong to the same concept, and the specific implementation process can be found in the method embodiment.

[0151] An embodiment of the present application also provides an electronic device, comprising any one of the above-mentioned display control chips.

[0152] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor of a computer device to enable the computer to implement any of the above display control methods.

[0153] In a possible implementation, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc. Alternatively, the computer-readable storage medium may be a non-transitory computer-readable storage medium.

[0154] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs any of the above display control methods.

[0155] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the digital brightness values ​​and initial grayscale involved in this application are obtained with full authorization.

[0156] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0157] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A display control chip, characterized in that: Applied to a display screen, the display screen includes a pixel array, and the display control chip is configured as follows: Acquire the digital brightness value of the display screen and the initial grayscale of the image to be displayed; determining a target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale; Compensating the initial grayscale based on the target compensation value to obtain an adjusted grayscale; The pixel array of the display screen is controlled to display the image according to the adjusted gray scale.

2. The display control chip according to claim 1, characterized in that: When determining the target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale, the display control chip is configured as follows: Determining a plurality of grayscale ranges based on the digital brightness value, wherein different grayscale ranges indicate corresponding relationships between adjustment coefficients of different initial grayscales and different initial compensation values; Determine the grayscale range in which the initial grayscale is located; Determining an adjustment coefficient corresponding to the initial grayscale according to the grayscale range in which the initial grayscale is located; The initial compensation value is adjusted according to the adjustment coefficient to obtain the target compensation value.

3. The display control chip according to claim 2, characterized in that: When determining a plurality of grayscale ranges based on the digital brightness value, the display control chip is configured as follows: determining a first grayscale value and a second grayscale value based on the digital brightness value; The multiple grayscale ranges are determined according to the first grayscale value, the second grayscale value, the first grayscale reference offset value and the second grayscale reference offset value, the first grayscale value and the second grayscale value indicate boundaries of the multiple grayscale ranges, and the adjustment coefficients in the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value are linearly related to the initial grayscale.

4. The display control chip according to claim 2 or 3, characterized in that: The plurality of grayscale ranges include a first grayscale range, a second grayscale range, a third grayscale range, a fourth grayscale range, and a fifth grayscale range; The first grayscale range is a grayscale range less than the first grayscale value, the second grayscale range is a grayscale range greater than the first grayscale value and less than the third grayscale value, the third grayscale range is a grayscale range greater than the third grayscale value and less than the fourth grayscale value, the fourth grayscale range is a grayscale range greater than the fourth grayscale value and less than the second grayscale value, and the fifth grayscale range is a grayscale range greater than the second grayscale value; The third grayscale value is a grayscale value obtained by offsetting the first grayscale value according to the first grayscale reference offset value, and the fourth grayscale value is a grayscale value obtained by offsetting the second grayscale value according to the second grayscale reference offset value.

5. The display control chip according to claim 3, characterized in that: When the display control chip determines the first grayscale value and the second grayscale value based on the digital brightness value, the display control chip is configured as follows: determining the first grayscale value based on the digital brightness value and a first grayscale segmentation function, wherein the first grayscale segmentation function includes a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-functions indicating a corresponding relationship between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range; The second grayscale value is determined based on the digital brightness value and a second grayscale segmented function, the second grayscale segmented function includes a plurality of second grayscale sub-functions with different slopes, the second grayscale sub-functions indicate a correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value and the first reference range and the second reference range are inconsistent.

6. A display screen display control method, characterized in that: The method comprises: Obtain the digital brightness value of the display screen and the initial grayscale of the image to be displayed; determining a target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale; Compensating the initial grayscale based on the target compensation value to obtain an adjusted grayscale; The pixel array of the display screen is controlled to display the image according to the adjusted gray scale.

7. The method according to claim 6, characterized in that The determining of the target compensation value based on the digital brightness value and the initial compensation value of the initial grayscale comprises: Determining a plurality of grayscale ranges based on the digital brightness value, wherein different grayscale ranges indicate corresponding relationships between adjustment coefficients of different initial grayscales and different initial compensation values; Determine the grayscale range in which the initial grayscale is located; Determining an adjustment coefficient corresponding to the initial grayscale according to the grayscale range in which the initial grayscale is located; The initial compensation value is adjusted according to the adjustment coefficient to obtain the target compensation value.

8. The method according to claim 7, characterized in that The determining of a plurality of grayscale ranges based on the digital brightness value comprises: determining a first grayscale value and a second grayscale value based on the digital brightness value; The multiple grayscale ranges are determined according to the first grayscale value, the second grayscale value, the first grayscale reference offset value and the second grayscale reference offset value, the first grayscale value and the second grayscale value indicate boundaries of the multiple grayscale ranges, and the adjustment coefficients in the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value are linearly related to the initial grayscale.

9. The method according to claim 7 or 8, characterized in that: The plurality of grayscale ranges include a first grayscale range, a second grayscale range, a third grayscale range, a fourth grayscale range, and a fifth grayscale range; The first grayscale range is a grayscale range less than the first grayscale value, the second grayscale range is a grayscale range greater than the first grayscale value and less than the third grayscale value, the third grayscale range is a grayscale range greater than the third grayscale value and less than the fourth grayscale value, the fourth grayscale range is a grayscale range greater than the fourth grayscale value and less than the second grayscale value, and the fifth grayscale range is a grayscale range greater than the second grayscale value; The third grayscale value is a grayscale value obtained by offsetting the first grayscale value according to the first grayscale reference offset value, and the fourth grayscale value is a grayscale value obtained by offsetting the second grayscale value according to the second grayscale reference offset value.

10. The method according to claim 8, characterized in that The determining the first grayscale value and the second grayscale value based on the digital brightness value comprises: determining the first grayscale value based on the digital brightness value and a first grayscale segmentation function, wherein the first grayscale segmentation function includes a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-functions indicating a corresponding relationship between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range; The second grayscale value is determined based on the digital brightness value and a second grayscale segmented function, the second grayscale segmented function includes a plurality of second grayscale sub-functions with different slopes, the second grayscale sub-functions indicate a correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value and the first reference range and the second reference range are inconsistent.

11. A display processing device, characterized in that: Applied to a display screen, the display screen includes a pixel array, and the display processing device includes an interpolation module, a gain calculation module, a mapping module and a compensation module connected in sequence; The interpolation module is used to obtain a digital brightness value of the display screen, determine a first grayscale value and a second grayscale value based on the digital brightness value, and transmit the first grayscale value and the second grayscale value to the gain calculation module; The gain calculation module is used to obtain an initial grayscale of the image to be displayed and receive the first grayscale value and the second grayscale value, determine an adjustment coefficient corresponding to the initial grayscale based on the first grayscale value and the second grayscale value, and transmit the adjustment coefficient to the mapping module; The mapping module is used to obtain the initial compensation value of the initial grayscale and receive the adjustment coefficient, determine the target compensation value according to the adjustment coefficient and the initial compensation value of the initial grayscale, and transmit the target compensation value to the compensation module; The compensation module is used to obtain the initial grayscale and receive the target compensation value, and compensate the initial grayscale based on the target compensation value to obtain an adjusted grayscale, so that the pixel array of the display screen displays the image according to the adjusted grayscale.

12. The display processing device according to claim 11, characterized in that: When the gain calculation module determines the adjustment coefficient corresponding to the initial grayscale based on the first grayscale value and the second grayscale value, it is used to determine a plurality of grayscale ranges according to the first grayscale value, the second grayscale value, the first grayscale reference offset value and the second grayscale reference offset value; determine the grayscale range where the initial grayscale is located; and determine the adjustment coefficient corresponding to the initial grayscale according to the grayscale range where the initial grayscale is located; Among them, different grayscale ranges indicate the correspondence between adjustment coefficients of different initial grayscales and different initial compensation values, the first grayscale value and the second grayscale value indicate the boundaries of the multiple grayscale ranges, and the adjustment coefficients in the grayscale ranges corresponding to the first grayscale reference offset value and the second grayscale reference offset value are linearly related to the initial grayscale.

13. The display processing device according to claim 11 or 12, characterized in that: When determining the target compensation value according to the adjustment coefficient and the initial compensation value of the initial grayscale, the mapping module is used to adjust the initial compensation value according to the adjustment coefficient to obtain the target compensation value.

14. The display processing device according to claim 11 or 12, characterized in that: When the interpolation module determines the first grayscale value and the second grayscale value based on the digital brightness value, it is used to obtain a first grayscale segmentation function and a second grayscale segmentation function, and determine the first grayscale value based on the digital brightness value and the first grayscale segmentation function, wherein the first grayscale segmentation function includes a plurality of first grayscale sub-functions with different slopes, the first grayscale sub-function indicates a corresponding relationship between the digital brightness value and the first grayscale value, and the first grayscale value is a grayscale value within a first reference range; The second grayscale value is determined based on the digital brightness value and the second grayscale piecewise function, the second grayscale piecewise function includes a plurality of second grayscale sub-functions with different slopes, the second grayscale sub-functions indicate the correspondence between the digital brightness value and the second grayscale value, the second grayscale value is a grayscale value within a second reference range, the second grayscale value is greater than the first grayscale value, and the first reference range and the second reference range are inconsistent.

15. An electronic device, characterized in that: include: The display control chip according to any one of claims 1 to 5.

Citation Information

Cited By

  • Brightness compensation method and display device

    CN120452388A

  • Brightness compensation method and display device

    CN120452388B