Display apparatus, image display method, storage medium, and program product
By using the brightness coefficient of the reference frame image in the display device to control the brightness of the image to be displayed, the problem of screen flickering when the display device continuously displays multiple frames of images is solved, smooth changes in brightness are achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202410341206.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-22
- Publication Date
- 2025-09-23
AI Technical Summary
The existing image display method has the problem of display screen flickering when the display device continuously displays multiple frames of images.
The brightness of the image to be displayed is controlled by the brightness coefficient of the reference frame image, and the brightness coefficient of the image to be displayed is determined so that it is related to the brightness coefficient of the reference frame image, thereby reducing brightness mutation and achieving smooth brightness changes.
The screen flickering phenomenon when the display device continuously displays multiple frames of images is reduced, thereby improving the user experience.
Smart Images

Figure CN120690147A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to display technology, and more specifically, to a display device, an image display method, a storage medium, and a program product. Background Art
[0002] During image display, a display device can implement peak luminance control (PLC) of the image to be displayed to control the brightness of the image. Currently, the existing PLC process mainly involves: determining the average picture level (APL) corresponding to the image to be displayed based on the grayscale value of each pixel of the image to be displayed; determining the brightness coefficient of the image to be displayed based on the APL of the image to be displayed and a preset PLC curve; and then using the brightness coefficient of the image to be displayed to control the brightness of the image to be displayed. However, when using this existing image display method, the display device may experience flickering when displaying multiple frames of images continuously. Summary of the Invention
[0003] The exemplary embodiments of the present application provide a display device, an image display method, a storage medium, and a program product, which can improve the smoothness of image display brightness and reduce the problem of display screen flicker.
[0004] In a first aspect, the present application provides a display device, comprising:
[0005] A display screen, for displaying images;
[0006] The processing device connected to the display screen is configured to:
[0007] Acquire image data of an image to be displayed;
[0008] Determining a brightness coefficient of the image to be displayed based on image data of the image to be displayed and a brightness coefficient of a reference frame image; the reference frame image includes at least one frame image displayed before the image to be displayed;
[0009] The image to be displayed is displayed based on the brightness coefficient of the image to be displayed.
[0010] In some embodiments of the present application, determining the brightness coefficient of the image to be displayed based on the image data of the image to be displayed and the brightness coefficient of the reference frame image includes:
[0011] determining an image similarity between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image;
[0012] Based on the image similarity and the brightness coefficient of the reference frame image, a brightness coefficient of the image to be displayed is determined.
[0013] In some embodiments of the present application, determining the brightness coefficient of the image to be displayed based on the image similarity and the brightness coefficient of the reference frame image includes:
[0014] determining a first initial brightness coefficient of the image to be displayed based on the image data of the image to be displayed;
[0015] The brightness coefficient of the image to be displayed is determined according to a magnitude relationship between the brightness coefficient of the reference frame image and the first initial brightness coefficient of the image to be displayed, as well as the image similarity.
[0016] In some embodiments of the present application, determining the brightness coefficient of the image to be displayed based on the magnitude relationship between the brightness coefficient of the reference frame image and the first initial brightness coefficient of the image to be displayed, and the image similarity, includes:
[0017] In response to a first initial brightness coefficient of the image to be displayed being greater than a brightness coefficient of the reference frame image, obtaining a first brightness coefficient variation based on the image similarity by using a first brightness coefficient variation calculation method;
[0018] In response to a first initial brightness coefficient of the image to be displayed being less than a brightness coefficient of the reference frame image, obtaining a second brightness coefficient change based on the image similarity by using a second brightness coefficient change calculation method;
[0019] Based on the target brightness coefficient change and the brightness coefficient of the reference frame image, the brightness coefficient of the image to be displayed is obtained; the target brightness coefficient change is the first brightness coefficient change, or the second brightness coefficient change; the first brightness coefficient change and the second brightness coefficient change are both negatively correlated with the image similarity.
[0020] In some embodiments of the present application, obtaining the brightness coefficient of the image to be displayed based on the target brightness coefficient change and the brightness coefficient of the reference frame image includes:
[0021] In response to the first initial brightness coefficient of the image to be displayed being greater than the brightness coefficient of the reference frame image, obtaining a second initial brightness coefficient of the image to be displayed based on the sum of the brightness coefficient of the reference frame image and the amount of change in the first brightness coefficient, and using the minimum value of the first initial brightness coefficient and the second initial brightness coefficient as the brightness coefficient of the image to be displayed;
[0022] In response to the first initial brightness coefficient of the image to be displayed being less than the brightness coefficient of the reference frame image, a third initial brightness coefficient of the image to be displayed is obtained based on the difference obtained by subtracting the change in the second brightness coefficient from the brightness coefficient of the reference frame image, and the maximum value between the first initial brightness coefficient and the third initial brightness coefficient is used as the brightness coefficient of the image to be displayed.
[0023] In some embodiments of the present application, the processing device is further configured to:
[0024] In response to the first initial brightness coefficient of the image to be displayed being equal to the brightness coefficient of the reference frame image, the first initial brightness coefficient is used as the brightness coefficient of the image to be displayed.
[0025] In some embodiments of the present application, determining the image similarity between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image includes:
[0026] determining a mean square error of image pixels between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image;
[0027] The image similarity between the image to be displayed and the reference frame image is obtained according to the image pixel mean square error between the image to be displayed and the reference frame image.
[0028] In a second aspect, the present application provides an image display method, the method comprising:
[0029] Acquire image data of an image to be displayed;
[0030] Determining a brightness coefficient of the image to be displayed based on image data of the image to be displayed and a brightness coefficient of a reference frame image; the reference frame image includes at least one frame image displayed before the image to be displayed;
[0031] The image to be displayed is displayed based on the brightness coefficient of the image to be displayed.
[0032] In a third aspect, the present application provides a computer-readable storage medium having computer-executable instructions stored thereon. When the computer-executable instructions are executed by a processor, the method described in the second aspect is implemented.
[0033] In a fourth aspect, the present application provides a computer program product, comprising a computer program, which implements the method described in the second aspect when executed by a processor.
[0034] The display device, image display method, storage medium and program product provided by the present application determine the brightness coefficient of the image to be displayed through the image data of the image to be displayed and the brightness coefficient of at least one frame image displayed before the image to be displayed, so that the brightness coefficient of the image to be displayed is correlated with the brightness coefficient of the reference frame image, that is, the brightness of the image to be displayed is correlated with the brightness of the reference frame image, thereby reducing the possibility of a sudden change in the brightness of the image to be displayed compared with the brightness of the reference frame image, and improving the smoothness of the brightness change from the reference frame image to the brightness of the image to be displayed, thereby reducing the flickering of the display screen when the display device continuously displays multiple frames of images, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the implementation methods in the embodiments of the present application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technology descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0036] Figure 1 A schematic diagram of the architecture of a backlight system for a display device;
[0037] Figure 2 It is a schematic diagram of a PLC curve;
[0038] Figure 3 A flowchart of an image display method provided in this application;
[0039] Figure 4 A schematic diagram of a process for determining the brightness coefficient of an image to be displayed provided by this application;
[0040] Figure 5 A schematic diagram of the relationship between the target brightness coefficient change and image similarity provided in this application;
[0041] Figure 6 A schematic diagram of another process for determining the brightness coefficient of an image to be displayed provided by this application;
[0042] Figure 7 This is a schematic structural diagram of an image display device provided in this application. DETAILED DESCRIPTION
[0043] In order to make the purpose, implementation mode and advantages of the present application clearer, the exemplary implementation mode of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0044] It should be noted that the brief descriptions of terms in this application are only for the purpose of facilitating the understanding of the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.
[0045] In addition, the terms "comprises" and "comprising" and any variations thereof are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0046] The display device provided in the embodiments of the present application can have various implementation forms, for example, a smart TV, a laser projection device, a monitor, an electronic bulletin board, an electronic table, a laptop computer, etc. The display technologies of the display device mainly include backlight display technology and direct display technology.
[0047] Taking backlight display technology as an example, backlight display is widely used in liquid crystal displays (LCDs). For example, Figure 1 FIG. 1 is a schematic diagram of the backlight system of a display device. Figure 1 Taking the backlight system shown in the figure as an example, during the hybrid dimming process, the image quality processing chip can obtain the video stream to be displayed and process the video stream. The image quality processing chip can separate the processed video stream into image data and backlight data, which are used to illuminate the screen (for example, the image quality processing chip can transmit the image data to the TCON so that the TCON can illuminate the screen based on the image data) and the backlight panel respectively.
[0048] For the backlight part, the image quality processing chip can determine the APL value of each partition of the backlight panel according to the backlight data, as well as the average value of the APL value of each partition of the backlight panel (which can be simply referred to as the average APL value). Then, the image quality processing chip can send the APL value of each partition of the backlight panel, as well as the average APL value, to the microcontroller unit (MCU). The MCU can determine the brightness coefficient based on the average APL value and the APL value of each partition, as well as the pre-stored peak brightness curve (PLC curve), and determine the current value and PWM signal of each partition based on the brightness coefficient, and send the current value and PWM signal of each partition to the backlight controller (backlight controller, BCON). The BCON can send the current value and PWM signal of each partition to the driver chip on the light board (that is, the backlight board), so that the driver chip can light up the light board according to the current value and PWM signal of each partition, thereby realizing hybrid dimming based on current and PWM signals.
[0049] Take emissive display technology as an example, such as organic light-emitting diode (OLED) displays. Direct display technology produces images by using organic materials to emit light at each pixel. Each pixel in an OLED display is a light-emitting diode that emits light spontaneously when current passes through it. OLED is a device that uses a multi-layer organic thin film structure to generate electroluminescence. It is easy to manufacture and only requires a low driving voltage, making OLED better for flat-panel display applications. OLED displays are thinner and lighter than LCDs, have higher brightness, lower power consumption, faster response, higher clarity, better flexibility, and higher luminous efficiency, meeting user needs for display technology.
[0050] Display devices that use direct display technology or backlight display technology can achieve image brightness control by controlling the peak brightness of the image to be displayed during the image display process. At present, the existing PLC process mainly involves: determining the APL corresponding to the image to be displayed based on the grayscale value of each pixel of the image to be displayed. The APL defines how much of the displayed image is bright and how much is dark. For example, on a black background, when the white frame is a quarter of the size of the entire image, it is 25% APL, half of the screen will be 50% APL, and the full white screen will be 100% APL. Then, based on the APL of the image to be displayed and the preset PLC curve, the brightness coefficient of the image to be displayed is determined; then the brightness coefficient of the image to be displayed is used to achieve brightness control of the image to be displayed.
[0051] The brightness coefficient can be used to adjust the brightness of the display device. The brightness coefficient is usually a value between 0 and 1, which can represent the ratio between the actual brightness of the image and the maximum possible brightness. Figure 2 This is a schematic diagram of a PLC curve. Figure 2 As shown, the vertical axis represents the brightness coefficient and the horizontal axis represents the APL value. The brightness coefficient gradually decreases as the APL increases.
[0052] However, the inventors of the present application have discovered that when using the above-mentioned existing image display method to display images, there may be problems such as flickering of the display screen and intermittent brightness when the display device continuously displays multiple frames of images.
[0053] Taking into account the above-mentioned problems existing in existing image display methods, the present application proposes a display method for controlling the brightness of an image to be displayed based on the brightness coefficient of a reference frame image preceding the image to be displayed. Through the above-mentioned method, the brightness coefficient of the reference frame image is combined to determine the brightness coefficient of the image to be displayed, so that the brightness coefficient of the image to be displayed is correlated with the brightness coefficient of the reference frame image, that is, the brightness of the image to be displayed is correlated with the brightness of the reference frame image, reducing the sudden change in the brightness of the image to be displayed compared to the brightness of the reference frame image, and making the brightness of the reference frame image to the brightness of the image to be displayed change smoothly, thereby reducing the flickering of the display screen when the display device continuously displays multiple frames of images, and improving the user experience.
[0054] It should be understood that the present application does not limit the application scenarios of the image display method. For example, the image display method provided by the present application can be used in a display device based on backlight display technology, and can also be used in a display device based on direct display technology.
[0055] In addition, it should be understood that the present application does not limit the execution subject of the image display method. For example, the execution subject of the image display method can be any processing device with processing capabilities in the display device, such as the aforementioned MCU, TCON, or system-on-chip (SOC). The display device may also include a display screen that can be used to display images. The processing device can be connected to the display screen to control the display screen to display images through the image display method provided by this application.
[0056] The following detailed description of the technical solution of the present application is provided in conjunction with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0057] Figure 3 This is a flow chart of an image display method provided by this application. Figure 3As shown, the method may include the following steps:
[0058] S101: Acquire image data of an image to be displayed.
[0059] Optionally, this application does not limit the above-mentioned image to be displayed. For example, the image to be displayed can be any frame of any displayable content such as a video, a video stream, or an image. The implementation method for the processing device to obtain the image data of the image to be displayed can refer to any existing method for determining the image data of the image to be displayed, and will not be described in detail here. Exemplarily, the above-mentioned image data can include, for example, the grayscale value of each pixel in the image to be displayed.
[0060] S102 : Determine a brightness coefficient of the image to be displayed based on the image data of the image to be displayed and the brightness coefficient of the reference frame image.
[0061] The reference frame image may include at least one frame image displayed before the image to be displayed. For example, in some embodiments, the reference frame image may be a frame image before the image to be displayed.
[0062] As mentioned above, the brightness coefficient can be used to represent the ratio between the actual brightness of an image and the maximum possible brightness.
[0063] Optionally, the processing device may determine the brightness coefficient of the reference frame image using the image display method provided in this application before displaying the reference frame image, and display the reference frame image based on the brightness coefficient of the reference frame image. After determining the brightness coefficient of the reference frame image, the processing device may also store the brightness coefficient. In other words, the processing device may, for example, obtain the brightness coefficient of the reference frame image from its own stored data, and then determine the brightness coefficient of the image to be displayed based on the image data of the image to be displayed and the brightness coefficient of the reference frame image.
[0064] As a possible implementation, the processing device may, for example, obtain an initial brightness coefficient of the image to be displayed based on the image data of the image to be displayed using any existing method for determining the brightness coefficient of an image. Then, when the absolute value of the difference between the initial brightness coefficient of the image to be displayed and the brightness coefficient of the reference frame image is greater than a preset value, the processing device determines the brightness coefficient of the image to be displayed using the preset value and the brightness coefficient of the reference frame image.
[0065] For example, if the initial brightness coefficient of the image to be displayed is greater than the brightness coefficient of the reference frame image, and the absolute value of the difference between the initial brightness coefficient of the image to be displayed and the brightness coefficient of the reference frame image is greater than a preset value, the processing device may use the sum of the brightness coefficient of the reference frame image and the preset value as the brightness coefficient of the image to be displayed. If the initial brightness coefficient of the image to be displayed is less than the brightness coefficient of the reference frame image, and the absolute value of the difference between the initial brightness coefficient of the image to be displayed and the brightness coefficient of the reference frame image is greater than a preset value, the processing device may use the difference obtained by subtracting the preset value from the brightness coefficient of the reference frame image as the brightness coefficient of the image to be displayed. If the absolute value of the difference between the initial brightness coefficient of the image to be displayed and the brightness coefficient of the reference frame image is less than or equal to the preset value, the processing device may use the initial brightness coefficient of the image to be displayed as the brightness coefficient of the image to be displayed.
[0066] S103 : Display the image to be displayed based on the brightness coefficient of the image to be displayed.
[0067] Optionally, the processing device may display the image to be displayed based on the brightness coefficient of the image to be displayed. For example, the method may refer to any existing method for displaying an image based on the brightness coefficient of the image, which will not be described in detail in this application.
[0068] In this embodiment, the brightness coefficient of the image to be displayed is determined by the image data of the image to be displayed and the brightness coefficient of at least one frame of image displayed before the image to be displayed, so that the brightness coefficient of the image to be displayed is correlated with the brightness coefficient of the reference frame image, that is, the brightness of the image to be displayed is correlated with the brightness of the reference frame image, thereby reducing the possibility of a sudden change in the brightness of the image to be displayed compared with the brightness of the reference frame image, and improving the smoothness of the brightness change from the reference frame image to the brightness of the image to be displayed, thereby reducing the flickering of the display screen when the display device continuously displays multiple frames of images, and improving the user experience.
[0069] The following describes in detail how the processing device determines the brightness coefficient of the image to be displayed based on the image data of the image to be displayed and the brightness coefficient of the reference frame image:
[0070] Figure 4 This is a flow chart of determining the brightness coefficient of an image to be displayed provided by this application. Figure 4 As shown, as a possible implementation, the aforementioned step S102 may include the following steps:
[0071] S201 : Determine the image similarity between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image.
[0072] In some embodiments, the processing device may first determine the mean square error of image pixels between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image.
[0073] Optionally, the image data of the reference frame image may be pre-stored in the processing device. The manner in which the processing device acquires the image data of the reference frame image may be the same as or different from the manner in which the image data of the image to be displayed is not limited in this application.
[0074] Exemplarily, the processing device may obtain the image pixel mean-square error (MSE) between the image to be displayed and the reference frame image by, for example, the following formula (1):
[0075]
[0076] Among them, the above-mentioned MSE represents the mean square error of the image pixels between the image to be displayed and the reference frame image. Taking the total number of pixels in the image to be displayed and the total number of pixels in the reference frame image as an example, m can represent the total number of pixels in the image to be displayed (that is, the total number of pixels in the reference frame image). Yi represents the pixel grayscale value of the i-th pixel in the reference frame image. Taking the example that the pixel grayscale value of the i-th pixel includes the grayscale values of the three colors red (R), green (G), and blue (B), Yi can represent the maximum value of the pixel grayscale value of the i-th pixel in the reference frame image. Yi′ represents the maximum value of the pixel grayscale value of the i-th pixel in the image to be displayed.
[0077] After obtaining the image pixel mean square error between the image to be displayed and the reference frame image, the processing device can obtain the image similarity between the image to be displayed and the reference frame image based on the image pixel mean square error between the image to be displayed and the reference frame image.
[0078] The higher the image similarity between the image to be displayed and the reference frame image, the smaller the change from the reference frame image to the image to be displayed. The lower the image similarity between the image to be displayed and the reference frame image, the greater the change from the reference frame image to the image to be displayed.
[0079] Taking the case where each pixel has a width of 8 bits and the maximum value of the pixel grayscale value is 255 as an example, the processing device can calculate the image similarity between the image to be displayed and the reference frame image by, for example, the following formula (2):
[0080]
[0081] Wherein, Sim represents the image similarity between the image to be displayed and the reference frame image.
[0082] Through the above method, the image similarity between the image to be displayed and the reference frame image is determined based on the mean square error of the image pixels between the image to be displayed and the reference frame image. Because the mean square error can be used to reflect the degree of difference between the estimator and the estimated quantity, the image similarity is determined by the mean square error, which improves the accuracy of determining the image similarity.
[0083] In some embodiments, the processing device may determine the image similarity between the to-be-displayed image and the reference frame image based on the image data of the to-be-displayed image and the image data of the reference frame image. This may also refer to any existing method for determining similarity between images, for example, by inputting the to-be-displayed image and the reference frame image into a pre-trained similarity model to obtain image similarity. The pre-trained similarity model may be trained, for example, by referring to any existing neural network model training method, and will not be further described herein.
[0084] S202 : Determine a brightness coefficient of the image to be displayed based on the image similarity and the brightness coefficient of the reference frame image.
[0085] In some embodiments, the processing device may first determine a first initial brightness coefficient of the image to be displayed based on the image data of the image to be displayed. The processing device may then determine the brightness coefficient of the image to be displayed based on the magnitude relationship between the brightness coefficient of the reference frame image and the first initial brightness coefficient of the image to be displayed, as well as the image similarity.
[0086] Optionally, the method by which the processing device determines the first initial brightness coefficient based on the image data of the image to be displayed may refer to any existing method for determining the brightness coefficient of an image based on image data. For example, the processing device may first determine the APL value of the image to be displayed based on the image data of the image to be displayed, and then obtain the first initial brightness coefficient of the image to be displayed based on the APL value and a preset mapping relationship between the APL value and the brightness coefficient.
[0087] Optionally, the processing device can, for example, first determine the brightness coefficient change based on the size relationship between the brightness coefficient of the reference frame image and the first initial brightness coefficient of the image to be displayed, as well as the above-mentioned image similarity, and then obtain the brightness coefficient of the image to be displayed based on the brightness coefficient change.
[0088] For example, in response to the first initial brightness coefficient of the image to be displayed being greater than the brightness coefficient of the reference frame image, the processing device may obtain a first brightness coefficient change based on image similarity using a first brightness coefficient change calculation method. Alternatively, in response to the first initial brightness coefficient of the image to be displayed being less than the brightness coefficient of the reference frame image, the processing device may obtain a second brightness coefficient change based on image similarity using a second brightness coefficient change calculation method. After obtaining the target brightness coefficient change (the target brightness coefficient change is the first brightness coefficient change or the second brightness coefficient change), the processing device may obtain the brightness coefficient of the image to be displayed based on the target brightness coefficient change and the brightness coefficient of the reference frame image.
[0089] Exemplarily, the processing device may obtain the target brightness coefficient change by, for example, the following formula (3):
[0090]
[0091] Wherein, chg represents the target brightness coefficient change, and sim represents the image similarity between the image to be displayed and the reference frame image. Y0 can be used to represent the target brightness coefficient change corresponding to when the image similarity is 0. Y1 can be used to represent the target brightness coefficient change corresponding to when the image similarity is 100%. The processing device can, for example, use the above formula (3) as the "first brightness coefficient change calculation method" and the "second brightness coefficient change calculation method". The Y0 and Y1 corresponding to the "first brightness coefficient change calculation method" and the "second brightness coefficient change calculation method" can be different. The above Y0 and Y1 can both be pre-stored in the processing device.
[0092] The first brightness coefficient change amount and the second brightness coefficient change amount may both be negatively correlated with the image similarity. Figure 5 This is a schematic diagram of the relationship between the target brightness coefficient change and image similarity provided by this application. Figure 5 As shown, the target brightness coefficient change, that is, the first brightness coefficient change and the second brightness coefficient change, can both be positive values. The higher the image similarity between the image to be displayed and the reference frame image, the smaller the change from the reference frame image to the image to be displayed, and the smaller the first brightness coefficient change and the second brightness coefficient change can be, because more similar image content is more easily noticed if the brightness is adjusted significantly. The lower the image similarity between the image to be displayed and the reference frame image, the greater the change from the reference frame image to the image to be displayed, and the larger the first brightness coefficient change and the second brightness coefficient change can be.
[0093] Through the above method, the first brightness coefficient change can be calculated by the "first brightness coefficient change calculation method", and the second brightness coefficient change can be calculated by the "second brightness coefficient change calculation method", which improves the flexibility of determining the target brightness coefficient change and lays the foundation for subsequent determination of the brightness coefficient of the image to be displayed based on the target brightness coefficient change.
[0094] Taking the example that the first initial brightness coefficient of the image to be displayed is greater than the brightness coefficient of the reference frame image, illustratively, the processing device can, for example, obtain the second initial brightness coefficient of the image to be displayed based on the sum of the brightness coefficient of the reference frame image and the change in the first brightness coefficient, and use the minimum value of the above-mentioned first initial brightness coefficient and the second initial brightness coefficient as the brightness coefficient of the image to be displayed.
[0095] In some embodiments, the processing device may further determine the second initial brightness coefficient of the image to be displayed within a preset brightness coefficient range. For example, if the sum of the brightness coefficient of the reference frame image and the first brightness coefficient change is greater than or equal to the maximum value of the preset brightness coefficient range, the processing device may use the maximum value of the preset brightness coefficient range as the second initial brightness coefficient of the image to be displayed. If the sum of the brightness coefficient of the reference frame image and the first brightness coefficient change is within the preset brightness coefficient range, the processing device may use the sum of the brightness coefficient of the reference frame image and the first brightness coefficient change as the second initial brightness coefficient of the image to be displayed.
[0096] Exemplarily, the above-mentioned preset brightness coefficient range may be, for example, [0, 511].
[0097] Taking the example that the first initial brightness coefficient of the image to be displayed is smaller than the brightness coefficient of the reference frame image, illustratively, the processing device can, for example, obtain the third initial brightness coefficient of the image to be displayed based on the difference obtained by subtracting the change in the second brightness coefficient from the brightness coefficient of the reference frame image, and use the maximum value of the above-mentioned first initial brightness coefficient and the third initial brightness coefficient as the brightness coefficient of the image to be displayed.
[0098] In some embodiments, the processing device may further determine the third initial brightness coefficient of the image to be displayed within a preset brightness coefficient range. For example, if the difference obtained by subtracting the second brightness coefficient change amount from the brightness coefficient of the reference frame image is less than or equal to the minimum value of the preset brightness coefficient range, the processing device may use the minimum value of the preset brightness coefficient range as the third initial brightness coefficient of the image to be displayed. If the difference obtained by subtracting the second brightness coefficient change amount from the brightness coefficient of the reference frame image is within the preset brightness coefficient range, the processing device may use the difference obtained by subtracting the second brightness coefficient change amount from the brightness coefficient of the reference frame image as the third initial brightness coefficient of the image to be displayed.
[0099] Through the above method, if the first initial brightness coefficient of the image to be displayed is greater than the brightness coefficient of the reference frame image, then the brightness coefficient of the image to be displayed is increased by the first brightness coefficient change relative to the reference frame image; if the first initial brightness coefficient of the image to be displayed is less than the brightness coefficient of the reference frame image, then the brightness coefficient of the image to be displayed is reduced by the second brightness coefficient change relative to the reference frame image, thereby realizing the determination of the brightness coefficient of the image to be displayed based on the brightness coefficient of the reference frame image.
[0100] If the first initial brightness coefficient of the image to be displayed is equal to the brightness coefficient of the reference frame image, it indicates that the brightness difference between the image to be displayed and the reference frame image is small. Optionally, the processing device may use the first initial brightness coefficient as the brightness coefficient of the image to be displayed. Then, the processing device may perform the aforementioned step S103 based on the brightness coefficient of the image to be displayed.
[0101] Through the above method, the processing device can directly use the first initial brightness coefficient of the image to be displayed as the brightness coefficient of the image to be displayed when the first initial brightness coefficient of the image to be displayed is equal to the brightness coefficient of the reference frame image, thereby improving the efficiency of determining the brightness coefficient of the image to be displayed, and thereby improving the efficiency of the display device in displaying images.
[0102] In this embodiment, the brightness coefficient of the image to be displayed can be obtained based on the image similarity between the image to be displayed and the reference frame image, as well as the brightness coefficient of the reference frame image. Through the above method, the brightness variation range of the image to be displayed relative to the reference frame image can be controlled based on the image similarity between the image to be displayed and the reference frame image, ensuring a smooth brightness transition. Furthermore, by dynamically adjusting the brightness coefficient variation range, the brightness variation of the image to be displayed relative to the reference frame image is limited, thereby achieving a smooth transition in display brightness.
[0103] For example, Figure 6 This is another flow chart of determining the brightness coefficient of an image to be displayed provided by this application. Figure 6 As shown, illustratively, the processing device can calculate the first initial brightness coefficient of the current frame (image to be displayed), and obtain the brightness coefficient of the previous frame (reference frame image), as well as the similarity between the previous and next frame images.
[0104] The processing device can then determine whether the first initial brightness coefficient is greater than the brightness coefficient of the previous frame, and based on the determination of whether the first initial brightness coefficient is greater than the brightness coefficient of the previous frame, adaptively adjust the target brightness coefficient change according to the image similarity. Referring to the aforementioned formula (3), two sets (Y0, Y1) can be used to calculate the corresponding target brightness coefficient change for brightness increases / decreases.
[0105] If the first initial brightness coefficient is greater than the brightness coefficient of the previous frame, the processing device can limit the brightness coefficient of the current frame to "the sum of the brightness coefficient of the previous frame and the change in the first brightness coefficient" to obtain the brightness coefficient of the image to be displayed; if the first initial brightness coefficient is less than the brightness coefficient of the previous frame, the processing device can limit the brightness coefficient of the current frame to "the difference obtained by subtracting the change in the second brightness coefficient from the brightness coefficient of the previous frame" to obtain the brightness coefficient of the image to be displayed.
[0106] like Figure 6 Taking the image display method shown in FIG. 1 as an example, the image display method is exemplarily described below using an example process:
[0107] <Update Image Frame>
[0108] Assuming that the output brightness coefficient of the previous frame is 512, the APL of the current frame is larger than that of the previous frame, and the brightness coefficient is 400 when searching the PLC brightness curve;
[0109] The current frame brightness coefficient (400) < the previous frame brightness coefficient (512) is satisfied;
[0110] Assuming the image similarity calculation result is 50%, and taking the aforementioned formula (3) as an example, assuming Y0 = 50 and Y1 = 10, the target brightness coefficient change calculation result is 30; the difference between the brightness coefficient of the reference frame image and the second brightness coefficient change is 512-30 = 482. Among them, the larger value of the current frame brightness coefficient (400) and 482 is 482, so the brightness coefficient of the current frame image is 482, that is, the PLC module outputs the current frame brightness coefficient of 482.
[0111] <Update Image Frame>
[0112] The APL of the current frame is larger than that of the previous frame. The brightness coefficient is 450 when the PLC brightness curve is searched.
[0113] The current frame brightness coefficient (450) is less than the previous frame brightness coefficient (482).
[0114] Assuming the image similarity calculation result is 70%, and taking the aforementioned formula (3) as an example, assuming Y0 = 50 and Y1 = 10, the target brightness coefficient change calculation result is 22; the difference between the brightness coefficient of the reference frame image and the second brightness coefficient change is 482-22 = 460. Among them, the larger value of the current frame brightness coefficient (450) and 460 is 460, so the brightness coefficient of the current frame image is 460, that is, the PLC module outputs the current frame brightness coefficient of 460.
[0115] <Update Image Frame>
[0116] The APL of the current frame is smaller than that of the previous frame. The brightness coefficient is 480 when the PLC brightness curve is searched.
[0117] The current frame brightness coefficient (480) is greater than the previous frame brightness coefficient (460).
[0118] Assuming that the image similarity calculation result is 65%, and taking the aforementioned formula (3) as an example, assuming Y0 = 40 and Y1 = 5, the target brightness coefficient change calculation result is 17; then the sum of the brightness coefficient of the reference frame image and the first brightness coefficient change is 460 + 17 = 477. Among them, the smaller value of the current frame brightness coefficient (480) and 477 is 477, so the brightness coefficient of the current frame image is 477, that is, the PLC module outputs the current frame brightness coefficient of 477.
[0119] Through the above method, the variation range of the brightness coefficient of the current frame output can be limited, thereby achieving smooth control of peak brightness, avoiding image flickering caused by excessive brightness adjustment of the previous and next frames, and improving the user experience.
[0120] Figure 7 This is a schematic diagram of the structure of an image display device provided by this application. Figure 7 As shown, the image display device 30 includes: an acquisition module 31, a processing module 32, and a display module 33.
[0121] The acquisition module 31 is used to acquire image data of an image to be displayed.
[0122] The processing module 32 is configured to determine the brightness coefficient of the image to be displayed based on the image data of the image to be displayed and the brightness coefficient of a reference frame image, wherein the reference frame image includes at least one frame image displayed before the image to be displayed.
[0123] The display module 33 is configured to display the image to be displayed based on the brightness coefficient of the image to be displayed.
[0124] Optionally, the processing module 32 is specifically used to determine the image similarity between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image; and determine the brightness coefficient of the image to be displayed based on the image similarity and the brightness coefficient of the reference frame image.
[0125] Optionally, the processing module 32 is specifically used to determine the first initial brightness coefficient of the image to be displayed based on the image data of the image to be displayed; determine the brightness coefficient of the image to be displayed according to the size relationship between the brightness coefficient of the reference frame image and the first initial brightness coefficient of the image to be displayed, as well as the image similarity.
[0126] Optionally, the processing module 32 is specifically configured to, in response to the first initial brightness coefficient of the image to be displayed being greater than the brightness coefficient of the reference frame image, obtain a first brightness coefficient change based on the image similarity using a first brightness coefficient change calculation method; in response to the first initial brightness coefficient of the image to be displayed being less than the brightness coefficient of the reference frame image, obtain a second brightness coefficient change based on the image similarity using a second brightness coefficient change calculation method; and obtain the brightness coefficient of the image to be displayed based on a target brightness coefficient change and the brightness coefficient of the reference frame image. The target brightness coefficient change is the first brightness coefficient change or the second brightness coefficient change; and both the first brightness coefficient change and the second brightness coefficient change are negatively correlated with the image similarity.
[0127] Optionally, the processing module 32 is specifically used to obtain the second initial brightness coefficient of the image to be displayed based on the sum of the brightness coefficient of the reference frame image and the change in the first brightness coefficient in response to the first initial brightness coefficient of the image to be displayed being greater than the brightness coefficient of the reference frame image, and use the minimum value of the first initial brightness coefficient and the second initial brightness coefficient as the brightness coefficient of the image to be displayed; in response to the first initial brightness coefficient of the image to be displayed being less than the brightness coefficient of the reference frame image, obtain the third initial brightness coefficient of the image to be displayed based on the difference obtained by subtracting the change in the second brightness coefficient from the brightness coefficient of the reference frame image, and use the maximum value of the first initial brightness coefficient and the third initial brightness coefficient as the brightness coefficient of the image to be displayed.
[0128] Optionally, the processing module 32 is further configured to, in response to a first initial brightness coefficient of the image to be displayed being equal to a brightness coefficient of the reference frame image, use the first initial brightness coefficient as the brightness coefficient of the image to be displayed.
[0129] Optionally, the processing module 32 is specifically used to determine the image pixel mean square error between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image; and obtain the image similarity between the image to be displayed and the reference frame image based on the image pixel mean square error between the image to be displayed and the reference frame image.
[0130] The image display device provided in this application is used to execute the aforementioned image display method embodiment. Its implementation principle and technical effects are similar and will not be described in detail.
[0131] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used for the methods in the above embodiments.
[0132] The present application also provides a program product, the program product including execution instructions stored in a readable storage medium. At least one control module of a display device can read the execution instructions from the readable storage medium, and at least one control module executes the execution instructions to cause the display device to implement the image display methods provided in the various embodiments described above.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
[0134] For ease of explanation, the above description has been made with reference to specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations are possible. The above embodiments are selected and described to better explain the principles and practical applications, so that those skilled in the art can better utilize the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that: The display device comprises: A display screen, for displaying images; The processing device connected to the display screen is configured to: Acquire image data of an image to be displayed; Determining a brightness coefficient of the image to be displayed based on image data of the image to be displayed and a brightness coefficient of a reference frame image; the reference frame image includes at least one frame image displayed before the image to be displayed; The image to be displayed is displayed based on the brightness coefficient of the image to be displayed.
2. The display device according to claim 1, wherein The determining the brightness coefficient of the image to be displayed based on the image data of the image to be displayed and the brightness coefficient of the reference frame image includes: determining an image similarity between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image; Based on the image similarity and the brightness coefficient of the reference frame image, a brightness coefficient of the image to be displayed is determined.
3. The display device according to claim 2, wherein The determining the brightness coefficient of the image to be displayed based on the image similarity and the brightness coefficient of the reference frame image includes: determining a first initial brightness coefficient of the image to be displayed based on the image data of the image to be displayed; The brightness coefficient of the image to be displayed is determined according to a magnitude relationship between the brightness coefficient of the reference frame image and the first initial brightness coefficient of the image to be displayed, as well as the image similarity.
4. The display device according to claim 3, wherein Determining the brightness coefficient of the image to be displayed based on the magnitude relationship between the brightness coefficient of the reference frame image and the first initial brightness coefficient of the image to be displayed, and the image similarity, includes: In response to a first initial brightness coefficient of the image to be displayed being greater than a brightness coefficient of the reference frame image, obtaining a first brightness coefficient variation based on the image similarity by using a first brightness coefficient variation calculation method; In response to a first initial brightness coefficient of the image to be displayed being less than a brightness coefficient of the reference frame image, obtaining a second brightness coefficient change based on the image similarity by using a second brightness coefficient change calculation method; Based on the target brightness coefficient change and the brightness coefficient of the reference frame image, the brightness coefficient of the image to be displayed is obtained; the target brightness coefficient change is the first brightness coefficient change, or the second brightness coefficient change; the first brightness coefficient change and the second brightness coefficient change are both negatively correlated with the image similarity.
5. The display device according to claim 4, wherein: The obtaining of the brightness coefficient of the image to be displayed based on the target brightness coefficient variation and the brightness coefficient of the reference frame image includes: In response to the first initial brightness coefficient of the image to be displayed being greater than the brightness coefficient of the reference frame image, obtaining a second initial brightness coefficient of the image to be displayed based on the sum of the brightness coefficient of the reference frame image and the amount of change in the first brightness coefficient, and using the minimum value of the first initial brightness coefficient and the second initial brightness coefficient as the brightness coefficient of the image to be displayed; In response to the first initial brightness coefficient of the image to be displayed being less than the brightness coefficient of the reference frame image, a third initial brightness coefficient of the image to be displayed is obtained based on the difference obtained by subtracting the change in the second brightness coefficient from the brightness coefficient of the reference frame image, and the maximum value between the first initial brightness coefficient and the third initial brightness coefficient is used as the brightness coefficient of the image to be displayed.
6. The display device according to claim 4 or 5, characterized in that The processing device is further configured to: In response to the first initial brightness coefficient of the image to be displayed being equal to the brightness coefficient of the reference frame image, the first initial brightness coefficient is used as the brightness coefficient of the image to be displayed.
7. The display device according to any one of claims 1 to 4, characterized in that: The determining, based on the image data of the image to be displayed and the image data of the reference frame image, the image similarity between the image to be displayed and the reference frame image includes: determining a mean square error of image pixels between the image to be displayed and the reference frame image based on the image data of the image to be displayed and the image data of the reference frame image; The image similarity between the image to be displayed and the reference frame image is obtained according to the image pixel mean square error between the image to be displayed and the reference frame image.
8. An image display method, characterized in that: The method comprises: Acquire image data of an image to be displayed; Determining a brightness coefficient of the image to be displayed based on image data of the image to be displayed and a brightness coefficient of a reference frame image; the reference frame image includes at least one frame image displayed before the image to be displayed; The image to be displayed is displayed based on the brightness coefficient of the image to be displayed.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the method of claim 8 is implemented.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the method of claim 8 when the computer program is executed by a processor.