Image display method and device and computer program product
By detecting the continuity of image frame content and turning off the processing algorithm when the frame is not displayed, the problem of high power consumption in the prior art is solved, and more efficient power usage and consistent display quality are achieved.
Patent Information
- Application Number
- CN202510063855.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-05-13
AI Technical Summary
The existing image display method consumes a high power consumption in each frame of image processing, resulting in excessive power consumption.
By detecting whether the contents of the adjacent frames of the image to be displayed are the same, the number of consecutive frames is determined, and the processing algorithm is turned off within the time interval where the frame is not displayed, to reduce power consumption.
It effectively reduces the power consumption during image display, ensures consistency of display quality, and improves the display quality of images.
Smart Images

Figure CN119987523A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular, to a method, device and computer program product for displaying an image. Background Art
[0002] The image display device usually performs color gamut parameter calculation, pixel optimization processing parameter calculation, dimming data calculation, block non-uniformity compensation data calculation, and gamma correction calculation on the image to be displayed after receiving the image to be displayed. After this series of algorithm processing, the image to be displayed can be displayed normally.
[0003] At present, in the process of image display, most image display methods perform complete algorithm processing on each frame of the image to be displayed, that is, the above-mentioned series of algorithms.
[0004] However, generally speaking, the more algorithms are run during the image display process, the greater the power consumption will be. In the current image display methods of this type, since each frame of the image to be displayed is subjected to complete algorithm processing, the power consumption is correspondingly high. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a method, device and computer program product for displaying an image, which can reduce power consumption during the image display process by determining a non-display frame from adjacent frame pictures of the image to be displayed and shutting down the corresponding processing algorithm in the time interval corresponding to the non-display frame.
[0006] In a first aspect, an embodiment of the present application provides a method for displaying an image, comprising: detecting whether the contents of any two adjacent frames of an image to be displayed are the same, and determining the number of consecutive frames of the image with the same content; judging whether the number of consecutive frames reaches a frame number threshold; if it is determined that the number of consecutive frames reaches the frame number threshold, determining non-display frames and display frames in the image with the consecutive number of frames; and displaying based on the non-display frames and the display frames.
[0007] The above-mentioned image display method reduces power consumption during image display by determining the number of consecutive frames of pictures with the same content from adjacent frames of the image to be displayed, and further determining the non-display frames from these consecutive frames of pictures with the same content, and shutting down the corresponding processing algorithm in the time interval corresponding to the non-display frames.
[0008] In combination with the first aspect, optionally, the displaying based on the non-display frame and the display frame includes: turning off the generation of a clock signal in a time interval corresponding to the non-display frame.
[0009] The above image display method controls the algorithm required for displaying the image through the clock signal, thereby achieving more accurate time management. In addition, the clock signal can uniformly manage the timing of multiple modules, thereby reducing the complexity of the control logic.
[0010] In combination with the first aspect, optionally, determining the non-display frames and the display frames in the picture of the continuous frame number includes: determining the number of periodic frames in the picture of the continuous frame number; and selecting at least one non-adjacent frame from the picture of the periodic frame number as the non-display frame.
[0011] In the above-mentioned method for displaying an image, during the display process of the image, it is usually necessary to charge the capacitor corresponding to each pixel. In the time interval corresponding to the non-display frame, the charging of the capacitor will be suspended. Therefore, the picture displayed in the time interval depends on the amount of electricity stored in the capacitor. And as time goes by, the amount of electricity stored in the capacitor will become less and less due to the discharge of the capacitor, so that the brightness of the displayed picture will become lower and lower, and the color will become lighter and lighter. In order to ensure that there is no obvious difference in the display quality of the image in the time interval corresponding to the display frame and the non-display frame during the display process of the image, it is necessary to store enough electricity in the capacitor, and in the time interval corresponding to the non-display frame, it will not be excessively discharged to cause the brightness of the display to be significantly reduced, the color to be significantly faded, etc. By determining the number of periodic frames in the picture of the continuous frame number, and selecting at least one non-adjacent frame of the picture from the picture of the periodic frame number as the non-display frame, it is avoided that two consecutive frames appear as non-display frames in the picture within the periodic frame number. Correspondingly, the discharge time of the capacitor is shortened, thereby ensuring to a certain extent that during the image display process, there will be no obvious difference in the image display quality in the time interval corresponding to the display frame and the non-display frame, ultimately improving the image display quality.
[0012] In combination with the first aspect, optionally, selecting at least one non-adjacent frame of the picture from the periodic frame number as the non-displayed frame includes: selecting at least one non-adjacent frame of the picture from the periodic frame number as the non-displayed frame, which is not simultaneously located at the first frame and the last frame of the periodic frame number and is not adjacent to the picture.
[0013] The above-mentioned image display method, by selecting at least one frame of the image of the periodic frame number that is not simultaneously located at the first frame and the last frame of the periodic frame number and is not adjacent as a non-display frame, avoids the situation where the adjacent first frame and the last frame are continuously non-displayed between adjacent periods, thereby further avoiding the situation where two consecutive frames are non-display frames during the image display process. Thereby, the discharge time of the capacitor is also shortened, and finally, it is further ensured that during the image display process, there will be no obvious difference in the image display quality in the time interval corresponding to the display frame and the non-display frame.
[0014] In combination with the first aspect, optionally, the detecting whether the contents of any two adjacent frames of images in the image to be displayed are the same, and determining the number of consecutive frames of the images with the same contents, includes: using a first cyclic redundancy check algorithm to calculate a first cyclic redundancy check code of the first image and a second cyclic redundancy check code of the second image in the any two adjacent frames of images; using a second cyclic redundancy check algorithm to calculate a third cyclic redundancy check code of the first image and a fourth cyclic redundancy check code of the second image in the any two adjacent frames of images; and when the first cyclic redundancy check code is the same as the second cyclic redundancy check code, and the third cyclic redundancy check code is the same as the fourth cyclic redundancy check code, determining that the contents of the any two adjacent frames of images are the same.
[0015] The above-mentioned image display method performs two independent cyclic redundancy check code calculations on two frames of pictures whose contents need to be determined to be the same, and determines that the contents of the two frames of pictures are the same when the two calculation results are the same (the first cyclic redundancy check code is the same as the second cyclic redundancy check code, and the third cyclic redundancy check code is the same as the fourth cyclic redundancy check code). Even in the case of extremely small data differences, these differences can still be effectively identified. Thereby, the accuracy of determining whether the contents of two frames of pictures are the same is improved.
[0016] In combination with the first aspect, optionally, the displaying based on the non-display frame and the display frame includes: increasing a pixel voltage of the image to be displayed in a previous display frame adjacent to the non-display frame.
[0017] The above-mentioned image display method increases the pixel voltage of the previous display frame adjacent to the non-display frame so that the capacitor can store more electricity, thereby reducing the probability of the image display quality being significantly reduced due to the reduction of the electricity stored in the capacitor during the time interval corresponding to the non-display frame. Finally, the image display quality is further improved.
[0018] In combination with the first aspect, optionally, increasing the pixel voltage of the image to be displayed in the previous display frame adjacent to the non-display frame includes: obtaining the pixel voltage of the image to be displayed in the previous display frame adjacent to the non-display frame; determining the target pixel voltage according to the target pixel brightness of the image to be displayed in the time interval corresponding to the non-display frame; and determining the compensation pixel voltage according to the pixel voltage, the target pixel voltage and the discharge speed of the pixel; wherein the compensation pixel voltage is used to compensate the pixel voltage.
[0019] The above-mentioned image display method determines the compensation pixel voltage through the pixel voltage, the target pixel voltage and the discharge speed of the pixel to compensate the pixel voltage, thereby realizing precise control of the display effect and further improving the display quality of the image.
[0020] In combination with the first aspect, optionally, increasing the pixel voltage of the image to be displayed in the previous display frame adjacent to the non-display frame further includes: generating a brightness compensation signal according to the compensation pixel voltage and storing it in a memory.
[0021] The above-mentioned image display method stores the brightness compensation signal corresponding to the compensated pixel voltage in a memory, thereby eliminating the need to repeatedly calculate the compensated pixel voltage of the previous displayed frame of each non-displayed frame, thereby further saving power consumption during the image display process and reducing the demand for a data processing unit.
[0022] In the second aspect, the embodiments of the present application also provide an image display device, including a processor, a timing controller, a driver and a display panel; the processor is used to detect whether the contents of any two adjacent frames of an image to be displayed are the same, and determine the number of consecutive frames of the image with the same content; judge whether the number of consecutive frames reaches a frame number threshold; the timing controller is used to determine the non-display frames and the display frames in the image with the consecutive frame number when it is determined that the number of consecutive frames reaches the frame number threshold; the driver is used to control the display panel to display based on the non-display frames and the display frames.
[0023] The above-mentioned image display device has the same beneficial effects as the image display method provided by the above-mentioned first aspect, or any optional implementation manner of the first aspect, and will not be described in detail here.
[0024] In a third aspect, an embodiment of the present application further provides a computer program product, including a computer program / instructions, which implement the method described above when executed by a processor.
[0025] The above-mentioned storage medium has the same beneficial effects as the above-mentioned first aspect, or the image display method provided by any optional implementation manner of the first aspect, and will not be elaborated here.
[0026] In summary, the image display method, device and computer program product provided by the present application reduce the power consumption during the image display process by shutting down the corresponding processing algorithm in the time interval corresponding to the determined non-display frame. By determining the number of periodic frames in the picture of the continuous frame number, and selecting at least one non-adjacent frame from the picture of the periodic frame number as the non-display frame, the discharge time of the capacitor is shortened, thereby ensuring to a certain extent that during the image display process, there will be no obvious difference in the display quality of the image in the time interval corresponding to the display frame and the non-display frame, and finally improving the display quality of the image. Further, by selecting at least one non-adjacent frame of the picture of the periodic frame number that is not located at the first frame and the last frame in the periodic frame number as the non-display frame, it is further ensured that during the image display process, there will be no obvious difference in the display quality of the image in the time interval corresponding to the display frame and the non-display frame. By increasing the pixel voltage of the previous display frame adjacent to the non-display frame, so that the capacitor can store more electricity, the probability of the situation in which the quality of the image display is significantly reduced due to the reduction of the electricity stored in the capacitor in the time interval corresponding to the non-display frame is reduced. Ultimately, the display quality of the image is further improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 is a flowchart of the operation of the image to be displayed during the display process;
[0029] Figure 2 A flowchart of a method for displaying an image provided in an embodiment of the present application;
[0030] Figure 3 A schematic diagram of controlling display frames and non-display frames provided in an embodiment of the present application;
[0031] Figure 4 A specific flow chart of step S150 in the image display method provided in an embodiment of the present application;
[0032] Figure 5 A specific flow chart of step S110 in the image display method provided in an embodiment of the present application;
[0033] Figure 6 A timing diagram of signal processing in the image display process provided by an embodiment of the present application;
[0034] Figure 7 A specific flow chart of step S172 in the image display method provided in an embodiment of the present application;
[0035] Figure 8 A schematic diagram of the structure of an image display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] The following embodiments of the technical solution of the present application will be described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0037] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0038] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0039] See also Figure 1 , Figure 1 It is a flowchart of the calculation of the image to be displayed during the display process. After receiving the image to be displayed, it is usually necessary to perform color gamut parameter calculation, pixel optimization processing parameter calculation, dimming data calculation, block unevenness compensation data calculation and Gamma correction calculation on the image to be displayed. After this series of algorithm processing, the image to be displayed can be displayed normally.
[0040] See also Figure 2 , Figure 2 : is a flow chart of a method for displaying an image provided by an embodiment of the present application. The method for displaying an image provided by an embodiment of the present application may include:
[0041] Step S110: Detect whether the contents of any two adjacent frames of the image to be displayed are the same, and determine the number of consecutive frames of the image with the same content.
[0042] In the above step S110, the image to be displayed can be a video or a static screen saver image, which displays images with different contents in different time periods. The contents of any two adjacent frames of images are the same, which can be the same color value at each pixel position of the image, the same resolution, and the same size. For example, a screen saver image file switches images every 1 second. When the screen saver image file is displayed, 24 frames of images are displayed every 1 second. Then, within 1 second when the image is not switched, there are 24 consecutive frames of images with the same content, that is, the number of consecutive frames of images with the same content is 24.
[0043] Step S130: Determine whether the number of consecutive frames reaches a frame number threshold.
[0044] If it is determined that the number of consecutive frames reaches the frame number threshold, step S150 is executed: determining the non-display frames and the display frames in the pictures of the consecutive frame number.
[0045] In the above-mentioned steps S130 and S150, exemplarily, the frame number threshold is 3, and the number of consecutive frames of pictures with the same content in the image to be displayed is 3, then the frame number threshold is reached. In this case, the display frame and the non-display frame can be determined in the three consecutive frames. Specifically, the first frame and the third frame of the three consecutive frames can be determined as display frames. The second frame is determined as a non-display frame. Among them, the display frame can be a single-frame picture that needs to be calculated through algorithms such as color gamut parameter calculation, pixel optimization processing parameter calculation, dimming data calculation, block non-uniform compensation data calculation, and gamma correction to be displayed normally, and the non-display frame can be a single-frame picture that does not need to go through this series of algorithms for display.
[0046] Step S170: Display based on the non-display frame and the display frame.
[0047] In the above step S170, i.e., in the time interval corresponding to the display frame, the color gamut parameter calculation, pixel optimization processing parameter calculation, dimming data calculation, block non-uniformity compensation data calculation and gamma correction algorithms are started to perform calculations, and the display frame is displayed normally. In the time interval corresponding to the non-display frame, this series of algorithms are turned off, and the non-display frame is not displayed.
[0048] Please refer to Figure 3 , Figure 3 Schematic diagram of control of display frame and non-display frame provided by the embodiment of the present application. Figure 3 It can be seen that among the three consecutive identical frames, the third frame is selected as a non-display frame and is not displayed during the display process.
[0049] In the above implementation process, the number of consecutive frames with the same content is determined from adjacent frames of the image to be displayed, and the non-display frames are further determined from these consecutive frames with the same content, and the corresponding processing algorithm is turned off in the time interval corresponding to the non-display frame, thereby reducing the power consumption during the image display process.
[0050] In some optional implementations, step S170 may include:
[0051] Step S171: Turn off the generation of clock signals in the time interval corresponding to the non-display frame.
[0052] In the above step S171, algorithms such as color gamut parameter calculation, pixel optimization processing parameter calculation, dimming data calculation, block non-uniformity compensation data calculation and gamma correction are usually controlled by clock signals. These algorithms can be turned off by turning off the clock signal in the time interval corresponding to the non-display frame.
[0053] In addition, for different display panels, the power driver integrated circuit in the display panel can be adaptively shut down and adjusted.
[0054] In the above implementation process, the algorithm required for displaying the image is controlled by the clock signal, thereby achieving more accurate time management. In addition, the clock signal can uniformly manage the timing of multiple modules, thereby reducing the complexity of the control logic.
[0055] Please refer to Figure 4 , Figure 4 is a specific flow chart of step S150 in the image display method provided in the embodiment of the present application. In some optional implementations, step S150 may include:
[0056] Step S151: Determine the number of periodic frames in a picture of consecutive frames.
[0057] Step S152: selecting at least one non-adjacent frame from the periodic frame number of pictures as a non-display frame.
[0058] For example, the images to be displayed are 5 consecutive A frames, 5 consecutive B frames, and 5 consecutive C frames. Then the number of frames in a cycle can be determined to be 5. The non-displayed frames selected can be the second frame and the fourth frame in each cycle. Correspondingly, the displayed frames can be the first frame, the third frame, and the fifth frame.
[0059] In the above implementation process, since it is usually necessary to charge the capacitor corresponding to each pixel during the display process of the image. And the charging of the capacitor will be suspended in the time interval corresponding to the non-display frame. Therefore, the picture displayed in this time interval depends on the amount of electricity stored in the capacitor. And as time goes by, the amount of electricity stored in the capacitor will become less and less due to the discharge of the capacitor, so that the brightness of the displayed picture will become lower and lower, and the color will become lighter and lighter. In order to ensure that there is no obvious difference in the display quality of the image in the time interval corresponding to the display frame and the non-display frame during the display process of the image, it is necessary to store enough electricity in the capacitor, and it will not be excessively discharged in the time interval corresponding to the non-display frame, resulting in a significant reduction in the brightness of the display, a significant lightening of the color, etc. By determining the number of periodic frames in the picture of the continuous frame number, and selecting at least one non-adjacent frame of the picture from the picture of the periodic frame number as the non-display frame, it is avoided that two consecutive frames appear as non-display frames in the picture within the periodic frame number. Correspondingly, the discharge time of the capacitor is shortened, thereby ensuring to a certain extent that during the image display process, there will be no obvious difference in the image display quality in the time interval corresponding to the display frame and the non-display frame, ultimately improving the image display quality.
[0060] In some optional implementations, step S152 may include:
[0061] Step S1521: selecting at least one frame of the pictures of the periodic frame number, which is not located at the first frame and the last frame of the periodic frame number and is not adjacent to each other, as a non-display frame.
[0062] In the above step S1521, the previous example is continued to be used for explanation. When the number of cycle frames is 5, by determining the second frame picture and the fourth frame picture in each cycle as non-display frames, it is possible to avoid the situation where two consecutive frames appear as non-display frames in the pictures within the cycle frame number. Although, by determining the first frame picture, the third frame picture and the fifth frame picture in each cycle as non-display frames, it is also possible to avoid the situation where two consecutive frames appear as non-display frames in the pictures within the cycle frame number. However, since the determined non-display frames include the first frame (first frame picture) and the last frame (fifth frame picture) at the same time, it will appear in two adjacent cycles, the last frame (fifth frame picture) of the previous cycle and the first frame (first frame picture) of the next cycle are both selected as non-display frames, and the last frame (fifth frame picture) of the previous cycle and the first frame (first frame picture) of the next cycle are adjacent, so in the display process of the entire image, there will still be a situation where two consecutive frames are not displayed.
[0063] In the above implementation process, by selecting at least one non-adjacent frame in the periodic frame number as a non-display frame, the situation where the adjacent first frame and the adjacent last frame are continuously non-display between adjacent periods is avoided, thereby further avoiding the situation where two consecutive frames are non-display frames during the image display process. This also shortens the discharge time of the capacitor, and ultimately further ensures that during the image display process, there will be no obvious difference in the image display quality in the time interval corresponding to the display frame and the non-display frame.
[0064] Please refer to Figure 5 , Figure 5 is a specific flow chart of step S110 in the image display method provided in the embodiment of the present application. In some optional implementations, step S110 may include:
[0065] Step S111: using a first cyclic redundancy check algorithm to calculate a first cyclic redundancy check code of a first picture and a second cyclic redundancy check code of a second picture in any two adjacent frames of pictures.
[0066] Step S112: Calculate the third cyclic redundancy check code of the first picture and the fourth cyclic redundancy check code of the second picture in any two adjacent frames of pictures using the second cyclic redundancy check algorithm.
[0067] Step S113: when the first cyclic redundancy check code is the same as the second cyclic redundancy check code, and the third cyclic redundancy check code is the same as the fourth cyclic redundancy check code, it is determined that the contents of any two adjacent frames of pictures are the same.
[0068] In the above steps, for example, two simple black and white pictures, each picture consists of 4 pixels, each pixel is represented by 1 byte (0 represents black, 255 represents white). The pixel values of picture 1 are sequentially composed of a byte array: [0, 255, 0, 255]. The pixel values of picture 2 are sequentially composed of a byte array: [0, 255, 0, 255] (same as picture 1).
[0069] The first cyclic redundancy check algorithm (taking CRC-8 as an example) is used to calculate the first cyclic redundancy check code and the second cyclic redundancy check code respectively. Starting from the first byte 0 of the byte array, an XOR operation is performed with the initial value of the CRC register (usually set to 0). Then shift according to the rule of the generating polynomial 0×131 (binary 100110001). Then process the next byte 255 and repeat the above operation until all bytes [0,255,0,255] are processed. The final value in the CRC register is the first cyclic redundancy check code of image 1, assuming it is 0×12. The same method is used to process image 2. Since the data is the same, the second cyclic redundancy check code of image 2 is also 0×12.
[0070] The second ring redundancy check algorithm (taking CRC-4 as an example) is used to calculate the third cyclic redundancy check code and the fourth cyclic redundancy check code respectively. The first calculation result 0×12 can be used as new data and converted into a byte array [0×12]. Then, according to the CRC-4 generating polynomial 0×15 (binary is 10101), the calculation is performed to finally obtain the third cyclic redundancy check code of picture 1, which is assumed to be 0×5. Similarly, the first result 0×12 is used as the new data, and CRC-4 is calculated to obtain the fourth cyclic redundancy check code of picture 2, which is also 0×5. When the first cyclic redundancy check code is the same as the second cyclic redundancy check code, and the third cyclic redundancy check code is the same as the fourth cyclic redundancy check code, it can be determined that the content of picture 1 is the same as that of picture 2.
[0071] In the above implementation process, two independent cyclic redundancy check code calculations are performed on the two frames of pictures whose contents need to be determined to be the same, and when the two calculation results are the same (the first cyclic redundancy check code is the same as the second cyclic redundancy check code, and the third cyclic redundancy check code is the same as the fourth cyclic redundancy check code), the two frames of pictures are determined to have the same contents. Even in the case of extremely small data differences, these differences can still be effectively identified. This improves the accuracy of determining whether the contents of two frames of pictures are the same.
[0072] In some optional implementations, step S170 may include:
[0073] Step S172: increasing the pixel voltage of the image to be displayed in the previous display frame adjacent to the non-display frame.
[0074] In the above step S172, since the charging of the capacitor is suspended in the time interval corresponding to the non-display frame, the image displayed in the time interval depends on the amount of electricity stored in the capacitor. Therefore, in order to reduce the effect of image display caused by the discharge of the capacitor and the decreasing amount of electricity stored in the capacitor, the pixel voltage of the previous display frame adjacent to the non-display frame can be increased so that the capacitor can store more electricity.
[0075] In the above implementation process, by increasing the pixel voltage of the previous display frame adjacent to the non-display frame, the capacitor can store more electricity, thereby reducing the probability of the image display quality being significantly reduced due to the reduction of the electricity stored in the capacitor during the time interval corresponding to the non-display frame. Finally, the image display quality is further improved.
[0076] Please refer to Figure 6 , Figure 6 is a timing diagram of signal processing in the image display process provided by the embodiment of the present application. Figure 6It can be seen from the figure that according to the detection signal and the vertical synchronization scanning signal, when there are several consecutive frames of the image to be displayed with the same content, a non-display frame can be selected from them and the display frame is not displayed during the image display process. In the time interval corresponding to the previous frame of the non-display frame, the pixel voltage can be compensated.
[0077] Please refer to Figure 7 , Figure 7 is a specific flow chart of step S172 in the image display method provided in the embodiment of the present application. In some optional implementations, step S172 may include:
[0078] Step S1721: obtaining the pixel voltage of the image to be displayed in the previous display frame adjacent to the non-display frame.
[0079] Step S1722: Determine the target pixel voltage according to the target pixel brightness of the image to be displayed in the time interval corresponding to the non-display frame.
[0080] Step S1723: determining the compensation pixel voltage according to the pixel voltage, the target pixel voltage and the discharge speed of the pixel.
[0081] Among them, the compensation pixel voltage is used to compensate the pixel voltage. The relationship between the above parameters can be: target pixel voltage = pixel voltage - discharge speed × discharge time + compensation pixel voltage. The discharge time can be the length of the time interval corresponding to the non-display frame. The target pixel voltage is determined according to the target pixel brightness, which can be determined by the corresponding relationship between the pixel brightness and the pixel voltage.
[0082] In the above implementation process, the compensation pixel voltage is determined by the pixel voltage, the target pixel voltage and the discharge speed of the pixel to compensate the pixel voltage, thereby achieving precise control of the display effect and further improving the display quality of the image.
[0083] In some optional implementations, step S171 may further include:
[0084] Step S1714: Generate a brightness compensation signal according to the compensated pixel voltage and store it in a memory.
[0085] The memory may specifically be a latch.
[0086] In the above implementation process, by storing the brightness compensation signal corresponding to the compensated pixel voltage in the memory, there is no need to repeatedly calculate the compensated pixel voltage of the previous display frame of each non-displayed frame, thereby further saving power consumption during the image display process and reducing the demand for the data processing unit.
[0087] See also Figure 8 , Figure 8It is a structural schematic diagram of an image display device 800 provided in an embodiment of the present application. Based on the same concept, an embodiment of the present application also provides an image display device 800, which may include: a processor 810, a timing controller 820, a driver 830 and a display panel 840. The processor 810 can be used to detect whether the contents of any two adjacent frames of the image to be displayed are the same, and determine the number of consecutive frames of the image with the same content. Determine whether the number of consecutive frames reaches a frame number threshold. The timing controller 820 can be used to determine the non-display frames and display frames in the picture of the continuous number of frames when it is determined that the number of consecutive frames reaches the frame number threshold. The driver 830 can be used to control the display panel 840 to display based on the non-display frames and the display frames.
[0088] It should be understood that the device corresponds to the above-mentioned image display method embodiment and can execute each step involved in the above-mentioned method embodiment. The specific functions of the device can be found in the description above to avoid repetition.
[0089] The embodiment of the present application also provides a computer program product, which can be stored in a storage medium. The storage medium includes a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program executes the above method when executed by a processor.
[0090] Among them, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0091] In summary, the image display method, device and computer program product provided by each embodiment of the present application reduce the power consumption during the image display process by shutting down the corresponding processing algorithm in the time interval corresponding to the determined non-display frame. By determining the number of periodic frames in the picture of the continuous frame number, and selecting at least one non-adjacent frame from the picture of the periodic frame number as the non-display frame, the discharge time of the capacitor is shortened, thereby ensuring to a certain extent that during the display process of the image, there will be no obvious difference in the display quality of the image in the time interval corresponding to the display frame and the non-display frame, and finally improving the display quality of the image. Further, by selecting at least one non-adjacent frame of the picture of the periodic frame number that is not simultaneously located in the first frame and the last frame of the periodic frame number as the non-display frame, it is further ensured that during the display process of the image, there will be no obvious difference in the display quality of the image in the time interval corresponding to the display frame and the non-display frame. By increasing the pixel voltage of the previous display frame adjacent to the non-display frame, so that the capacitor can store more electricity, the probability of the situation in which the quality of the image display is significantly reduced due to the reduction of the electricity stored in the capacitor in the time interval corresponding to the non-display frame is reduced. Ultimately, the display quality of the image is further improved.
[0092] In several embodiments provided in the embodiments of the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in a different order than the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of boxes in the block diagram and / or flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] The above description is only an optional implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be covered within the protection scope of the embodiments of the present application.
Claims
1. A method for displaying an image, characterized in that: include: Detecting whether the contents of any two adjacent frames of the image to be displayed are the same, and determining the number of consecutive frames of the image with the same content; Determine whether the number of consecutive frames reaches the frame number threshold; If it is determined that the continuous frame number reaches the frame number threshold, then determining non-display frames and display frames in the pictures of the continuous frame number; as well as Display is performed based on the non-display frame and the display frame.
2. The method according to claim 1, characterized in that The displaying based on the non-display frame and the display frame includes: The generation of the clock signal in the time interval corresponding to the non-display frame is turned off.
3. The method according to claim 1, characterized in that The determining of non-display frames and display frames in the picture of the continuous number of frames includes: Determine the number of periodic frames in the picture of the continuous number of frames; At least one non-adjacent frame of the picture is selected from the pictures of the periodic frame number as the non-display frame.
4. The method according to claim 2, characterized in that: The selecting at least one non-adjacent frame of the picture from the periodic frame number of pictures as the non-display frame comprises: At least one frame of the picture in the periodic frame number that is not located at the first frame and the last frame in the periodic frame number and is not adjacent to each other is selected as the non-displayed frame.
5. The method according to claim 1, characterized in that The detecting whether the contents of any two adjacent frames of pictures in the image to be displayed are the same, and determining the number of consecutive frames of the pictures with the same contents, includes: Calculating a first cyclic redundancy check code of a first picture and a second cyclic redundancy check code of a second picture in any two adjacent frames of pictures by using a first cyclic redundancy check algorithm; Calculating a third cyclic redundancy check code of a first picture and a fourth cyclic redundancy check code of a second picture in any two adjacent frames of pictures by using a second cyclic redundancy check algorithm; and When the first cyclic redundancy check code is the same as the second cyclic redundancy check code, and the third cyclic redundancy check code is the same as the fourth cyclic redundancy check code, it is determined that the contents of any two adjacent frames of pictures are the same.
6. The method according to claim 1, characterized in that The displaying based on the non-display frame and the display frame includes: The pixel voltage of the image to be displayed in the previous display frame adjacent to the non-display frame is increased.
7. The method according to claim 6, characterized in that The step of increasing the pixel voltage of the image to be displayed in a previous display frame adjacent to the non-display frame comprises: Acquiring a pixel voltage of the image to be displayed in a previous display frame adjacent to the non-display frame; Determining a target pixel voltage according to a target pixel brightness of the image to be displayed in a time interval corresponding to a non-display frame; and A compensation pixel voltage is determined according to the pixel voltage, the target pixel voltage and the discharge speed of the pixel; wherein the compensation pixel voltage is used to compensate the pixel voltage.
8. The method according to claim 7, characterized in that The step of increasing the pixel voltage of the image to be displayed in a previous display frame adjacent to the non-display frame further includes: A brightness compensation signal is generated according to the compensated pixel voltage and stored in a memory.
9. An image display device, characterized in that: Including processor, timing controller, driver and display panel; The processor is used to detect whether the contents of any two adjacent frames of the image to be displayed are the same, and determine the number of consecutive frames of the image with the same content; and determine whether the number of consecutive frames reaches a frame number threshold; The timing controller is used to determine the non-display frames and the display frames in the pictures of the continuous frame number when it is determined that the continuous frame number reaches the frame number threshold; The driver is used to control the display panel to display based on the non-display frame and the display frame.
10. A computer program product, characterized in that The method comprises a computer program / instruction which, when executed by a processor, implements the method according to any one of claims 1 to 8.