Image display processing method, device, computer device and storage medium
By segmenting the image data into the IC image block in the LED display device for black frame detection and superimposing processing, the problem of display abnormality in the energy-saving mode is solved, and a stable image display is achieved.
Patent Information
- Application Number
- CN202211026888.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2042-08-25
AI Technical Summary
Existing LED display devices are prone to abnormal image display problems in energy-saving mode, especially when the IC chip enters the energy-saving mode with a high image display frame rate, it cannot be displayed normally.
By obtaining the image display frame rate, the IC chip's restart time and the black frame detection threshold, segmenting the image data into IC image blocks, black frame detection is performed, energy-saving and eliminating images are generated, and superimposing them with the black frame IC image blocks, and finally merged into complete image data to ensure normal display.
Effectively turn off the energy-saving function, avoiding display abnormalities in the IC chip in the energy-saving mode, ensuring the stability and normality of the image display.
Smart Images

Figure CN115409750B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of LED control technology, and in particular to an image display processing method, apparatus, computer equipment, storage medium, and computer program product. Background Art
[0002] As people become more energy-conscious, the demand for energy-saving LED (Light Emitting Diode) products is also increasing. The LED light board (module), the display component of LED products, is a major energy consumer. The LED light board primarily consists of multiple ICs (Integrated Circuits) that control the display, the LEDs, and a baseboard.
[0003] Traditional energy-saving research focuses on IC chips. Existing IC chips generally have energy-saving features. While different manufacturers' energy-saving solutions may vary, they are almost always achieved by reducing IC circuit power consumption. One such energy-saving principle involves detecting whether the content displayed by the IC chip is completely black (a black frame). If so, the IC's circuitry is shut down, leaving only essential circuits operational, thus avoiding energy waste. While this method is a promising energy-saving approach, it has a drawback: the time it takes to restart the shut-down circuits is significant. For example, if a video has a high frame rate and a black area (i.e., an IC) is completely black during a frame, subsequent video frames will not display properly in the black area, while other areas will display normally. While this issue can be addressed by disabling the IC chip's energy-saving feature, re-enabling it to save energy is necessary. Furthermore, the video content played is random, and there's no guarantee that the video will always be displayed at a low frame rate or at a high frame rate without black areas. Changing IC chip parameters can also be difficult for other reasons. Therefore, the traditional approach of directly disabling the energy-saving feature to prevent IC chip display anomalies is ineffective and still prone to display anomalies.
[0004] Therefore, it is necessary to provide a solution for effectively turning off the energy-saving function to avoid display abnormalities. Summary of the Invention
[0005] Based on this, it is necessary to provide an image display processing method, device, computer equipment, computer-readable storage medium and computer program product that can effectively turn off the energy-saving function and ensure normal image display to address the above technical problems.
[0006] In a first aspect, the present application provides an image display processing method. The method comprises:
[0007] Obtain the image display frame rate, image data to be distributed to the IC chip, the IC chip restart time, and the black frame detection threshold;
[0008] When it is determined, based on the restart time of the IC chip and the image display frame rate, that the IC chip cannot display the image normally after entering the energy-saving mode at the image display frame rate, the image data is divided into IC image blocks with the IC chip as the display control unit, and black frame detection is performed on the IC image blocks according to the black frame detection threshold to screen out black frame IC image blocks, which are IC image blocks in a black frame state;
[0009] Generate an energy-saving elimination image based on a black frame detection threshold and a minimum pixel value of a black frame IC image block;
[0010] Superimpose the black frame IC image block with the corresponding energy-saving elimination image to obtain a superimposed IC image block;
[0011] The IC image blocks are merged to obtain complete image data.
[0012] In one embodiment, generating the energy-saving elimination image based on the black frame detection threshold and the minimum pixel value of the black frame IC image block includes:
[0013] Determining a jitter amplitude parameter of the black frame IC image block based on a black frame detection threshold and a minimum pixel value of the black frame IC image block;
[0014] Get the dither table of the black frame IC image block;
[0015] Generate a dithered image according to the dither table and the dither amplitude parameter;
[0016] The jittered image is amplified according to the jitter amplitude parameter to generate an energy-saving eliminated image.
[0017] In one embodiment, generating a dithered image according to the dither table and the dither amplitude parameter includes:
[0018] Compare the cache value of each unit in the jitter table with the preset jitter judgment threshold to obtain a comparison result;
[0019] According to the comparison result, a dithered image corresponding to the black frame IC image block is generated.
[0020] In one embodiment, the dither table of the black frame IC image block is obtained based on the following method:
[0021] Get the size parameters of the black frame IC image block;
[0022] Determine the dither table size based on the size parameters of the black frame IC image block and construct an initial dither table;
[0023] The elements of the data set determined by the dither table size are respectively filled into the initial dither table to obtain the dither table of the black frame IC image block. The maximum value of the data set is determined based on the number of pixels of the IC image block.
[0024] In one embodiment, judging, based on the restart time of the IC chip and the image display frame rate, whether the IC chip can normally display an image after entering the energy-saving mode at the image display frame rate includes:
[0025] Determine the frame interval according to the image display frame rate;
[0026] If the frame interval is less than the restart time of the IC chip, it is determined that the image cannot be displayed normally after the IC chip enters the energy-saving mode at the image display frame rate.
[0027] In one embodiment, dividing the image data into IC image blocks with IC chips as control display units includes:
[0028] Obtaining a mapping relationship between the spatial position information of the IC chip and the pixel position of the image data;
[0029] According to the mapping relationship, the image data is divided into IC image blocks with the IC chip as the control display unit.
[0030] In a second aspect, the present application further provides an image display processing device. The device includes:
[0031] A data acquisition module, configured to acquire an image display frame rate, image data to be distributed to an IC chip, a restart time of the IC chip, and a black frame detection threshold;
[0032] a black frame detection module for, when determining, based on the IC chip restart time and the image display frame rate, that the IC chip cannot display images normally after entering the energy-saving mode at the image display frame rate, dividing the image data into IC image blocks with the IC chip as the display control unit, and performing black frame detection on the IC image blocks according to a black frame detection threshold, thereby screening out black frame IC image blocks, which are IC image blocks in a black frame state;
[0033] An energy-saving elimination image generation module is used to generate an energy-saving elimination image based on a black frame detection threshold and a minimum pixel value of a black frame IC image block;
[0034] An image superposition module is used to superimpose the black frame IC image block with the corresponding energy-saving elimination image to obtain a superimposed IC image block;
[0035] The image merging module is used to merge the IC image blocks to obtain complete image data.
[0036] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:
[0037] Obtain the image display frame rate, image data to be distributed to the IC chip, the IC chip restart time, and the black frame detection threshold;
[0038] When it is determined, based on the restart time of the IC chip and the image display frame rate, that the IC chip cannot display the image normally after entering the energy-saving mode at the image display frame rate, the image data is divided into IC image blocks with the IC chip as the display control unit, and black frame detection is performed on the IC image blocks according to the black frame detection threshold to screen out black frame IC image blocks, which are IC image blocks in a black frame state;
[0039] Generate an energy-saving elimination image based on a black frame detection threshold and a minimum pixel value of a black frame IC image block;
[0040] Superimpose the black frame IC image block with the corresponding energy-saving elimination image to obtain a superimposed IC image block;
[0041] The IC image blocks are merged to obtain complete image data.
[0042] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:
[0043] Obtain the image display frame rate, image data to be distributed to the IC chip, the IC chip restart time, and the black frame detection threshold;
[0044] When it is determined, based on the restart time of the IC chip and the image display frame rate, that the IC chip cannot display the image normally after entering the energy-saving mode at the image display frame rate, the image data is divided into IC image blocks with the IC chip as the display control unit, and black frame detection is performed on the IC image blocks according to the black frame detection threshold to screen out black frame IC image blocks, which are IC image blocks in a black frame state;
[0045] Generate an energy-saving elimination image based on a black frame detection threshold and a minimum pixel value of a black frame IC image block;
[0046] Superimpose the black frame IC image block with the corresponding energy-saving elimination image to obtain a superimposed IC image block;
[0047] The IC image blocks are merged to obtain complete image data.
[0048] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:
[0049] Obtain the image display frame rate, image data to be distributed to the IC chip, the IC chip restart time, and the black frame detection threshold;
[0050] When it is determined, based on the restart time of the IC chip and the image display frame rate, that the IC chip cannot display the image normally after entering the energy-saving mode at the image display frame rate, the image data is divided into IC image blocks with the IC chip as the display control unit, and black frame detection is performed on the IC image blocks according to the black frame detection threshold to screen out black frame IC image blocks, which are IC image blocks in a black frame state;
[0051] Generate an energy-saving elimination image based on a black frame detection threshold and a minimum pixel value of a black frame IC image block;
[0052] Superimpose the black frame IC image block with the corresponding energy-saving elimination image to obtain a superimposed IC image block;
[0053] The IC image blocks are merged to obtain complete image data.
[0054] The above-mentioned image display processing method, device, computer equipment, storage medium and computer program product pre-judge the energy-saving display anomaly of the image data input to the IC chip based on the restart time of the IC chip and the image display frame rate. If it is determined that the IC chip will not be able to display the image normally after entering the energy-saving mode at the image display frame rate, then according to the black frame detection threshold, the IC image block with the IC chip as the control display unit is subjected to black frame detection, and the black frame IC image block is screened out. Then, based on the black frame detection threshold and the minimum pixel value of the black frame IC image block, an energy-saving elimination image is generated, and the IC image block is superimposed with the corresponding energy-saving elimination image. Finally, the IC image block is merged to obtain complete image data. In the above scheme, the pixel value of the IC image block after the superimposition processing is greater than the preset black frame detection threshold of the IC chip. In this way, the IC chip can be prevented from entering the energy-saving mode after the image data is distributed to the IC chip, thereby eliminating the possibility of display anomalies after the IC chip enters the energy-saving mode. Therefore, the scheme of the present application can effectively turn off the energy-saving function and ensure normal image display. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A diagram showing an application environment of an image display processing method in one embodiment;
[0056] Figure 2 1 is a flow chart of an image display processing method according to an embodiment;
[0057] Figure 3 A technical application diagram of an image display processing method in one embodiment;
[0058] Figure 4 A schematic flow chart of steps for generating an energy-saving elimination image in one embodiment;
[0059] Figure 5 A diagram illustrating a principle of generating an energy-saving elimination image in another embodiment;
[0060] Figure 6 A data flow diagram of an image display processing method in another embodiment;
[0061] Figure 7 is a structural block diagram of an image display processing device in one embodiment;
[0062] Figure 8 is a structural block diagram of an image display processing device in another embodiment;
[0063] Figure 9 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0065] The image display processing method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, the host computer 100, the sending card 102 and the receiving card 104 communicate with each other, and the receiving card 104 is connected to multiple IC chips. Specifically, the sending card 102 may package the image data to be distributed to the IC chip 106 and data including the image display frame rate and the restart time of the IC chip and send them to the receiving card 104. The receiving card 104 obtains the image data to be input into the IC chip, the image display frame rate and the restart time of the IC chip. When it is determined based on the restart time of the IC chip and the image display frame rate that the IC chip cannot display the image normally after entering the energy-saving mode at the image display frame rate, the image data is divided into IC image blocks with the IC chip as the control display unit, and black frame detection is performed on the IC image blocks to filter out the black frame IC image blocks in the black frame state. Based on the black frame detection threshold and the minimum pixel value of the black frame IC image blocks, an energy-saving elimination image is generated, and the black frame IC image block is superimposed with the corresponding energy-saving elimination image to obtain the superimposed IC image block. The IC image blocks are merged to obtain complete image data. In this way, the IC chip can be prevented from entering the energy-saving mode, thereby eliminating the possibility of display abnormalities in the IC chip.
[0066] In one embodiment, Figure 2 As shown, a method for image display processing is provided, which is applied to Figure 1 The receiving card 104 in the embodiment is used as an example for explanation. It is understandable that the method can also be applied to a sending card or a host computer. In this embodiment, the method includes the following steps:
[0067] Step 100 , obtaining the image display frame rate, the image data to be distributed to the IC chip, and the restart time of the IC chip.
[0068] Image display frame rate refers to the frame rate, which can be the frequency (rate) at which a bitmap image in units of frames appears continuously on the display. The restart time of the IC chip refers to the time it takes for the IC chip to restart after shutting down the circuit for energy saving. The restart time of the IC chip is provided by the IC chip manufacturer. You can also adjust the image display frame rate by testing the video and observe the abnormal display phenomenon to get a rough value of the restart time. It is not limited here. In this embodiment, the image data can be receiving card image data. Specifically, the video image can be divided into multiple channel images by the sending card, each channel image contains multiple receiving card images, and one receiving card can process the pixel data of multiple IC chips. In this embodiment, the IC chips on the LED light board are all chips of the same model. Figure 3 As shown, the technical solution of the present application is implemented before distributing the receiving card image to multiple IC chips. In specific implementation, before distributing the receiving card image to multiple IC chips, the receiving card image, the image display frame rate of the display and the restart time of the IC chip are first obtained.
[0069] In step 200, when it is determined that the IC chip cannot display the image normally after entering the energy-saving mode at the image display frame rate based on the restart time of the IC chip and the image display frame rate, the image data is divided into IC image blocks with the IC chip as the control display unit, and black frame detection is performed on the IC image blocks to filter out black frame IC image blocks. The black frame IC image blocks are IC image blocks in the black frame state.
[0070] Specifically, after obtaining the receiving card image, the display image frame rate, and the IC chip restart time, an energy-saving abnormality condition detection can be performed based on the IC chip restart time and image display frame rate. This is to detect whether the IC chip can display the image normally after entering energy-saving mode at the current image display frame rate. If it is determined that a display abnormality may occur after the IC chip enters energy-saving mode, it is necessary to detect whether the image data meets the IC chip's energy-saving requirements. The energy-saving requirements of IC chips vary from manufacturer to manufacturer. In this embodiment, the detection of whether the image data meets the energy-saving requirements is performed by performing black frame detection on the image data as an example, that is, detecting whether the image data is a black frame. The so-called display abnormality refers to the situation where, after the IC chip enters energy-saving mode, the image displayed as a black frame on the IC chip basis may not be displayed normally, which may cause subsequent images to not be displayed normally. In this embodiment, since a receiving card can process pixel data from multiple IC chips, and the pixel data controlled by the IC chip may not be continuous, it is necessary to segment the image data into IC image blocks, each of which is controlled by the IC chip. Black frame detection is performed on the IC image block basis to obtain the black frame detection results for the IC image block. During specific implementation, the IC image block can be used as a unit to detect whether the pixel value of the IC image block is less than or equal to the black frame detection threshold DTH. If the pixel values of the IC image block are all less than or equal to DTH, it means that the IC image block is a black frame, otherwise the IC image block is a non-black frame, thereby screening out the black frame IC image block. In this embodiment, the pixel value of the pixel can be the numerical value of all RGB (Red, Green, Blue) channels. Among them, the black frame detection threshold is also provided by the IC chip manufacturer. It is understandable that in other embodiments, the receiving card image to be distributed can be segmented and cached in advance, and the IC image block in the cached data is used for subsequent black frame detection and image processing. When it is determined that the IC chip may have an abnormal display in energy-saving mode, the IC image block in the cached data is read, and black frame detection is performed on the IC image block one by one.
[0071] Step 300 : generating an energy-saving elimination image based on a black frame detection threshold and a minimum pixel value of a black frame IC image block.
[0072] The energy-saving elimination image is an image used to prevent the IC chip from entering energy-saving mode. The minimum black frame pixel value refers to the minimum pixel value in the black frame IC image block. In specific implementation, the pixel values of the pixels in the IC image block can be compared one by one using a bubble comparison method to obtain the minimum pixel value, which is recorded as IMin. In specific implementation, the determination of the jitter amplitude parameter D is related to the black frame judgment threshold DTH and the minimum pixel value IMin of the IC image block. The specific calculation method is as follows:
[0073] D=DTH-IMin+1
[0074] If the IC image block is detected as a black frame IC image block, an energy-saving elimination image is generated based on the black frame detection threshold and the minimum pixel value of the black frame IC image block. Specifically, the IC image block can be jittered and amplified based on the black frame detection threshold and the minimum pixel value of the black frame IC image block to generate the energy-saving elimination image.
[0075] Step 400 : superimpose the IC image block with the corresponding energy-saving elimination image, and merge the superimposed IC image block to obtain complete image data.
[0076] After generating the energy-saving elimination image corresponding to the black frame IC image block, the pixel channel values of the black frame IC image block and the corresponding energy-saving elimination image can be added one by one to perform a superposition process to obtain the superimposed IC image block. Because the amplification process is performed on the black frame IC image block based on the black frame detection threshold, in this embodiment, some pixel values of the superimposed IC image block are greater than the black frame detection threshold.
[0077] Step 500: merge the IC image blocks to obtain complete image data.
[0078] After obtaining the IC image blocks after the overlay processing, all IC image blocks can be merged according to the mapping relationship between the spatial position information of the IC chip and the IC image blocks to obtain a complete receiving card image. In this way, since IC image blocks may contain black frames, the pixel values of some of them after the overlay processing are greater than the black frame detection threshold. This can prevent the IC chip from triggering the energy saving process and entering energy saving mode after the receiving card image is distributed to it.
[0079] The above-mentioned image display processing method is different from the traditional practice of performing energy-saving abnormal display processing after distributing image data to the IC chip. The solution of the present application implements energy-saving display abnormality prediction before distributing the image data to the IC chip, that is, based on the restart time of the IC chip and the image display frame rate, if it is determined that the IC chip will not be able to display the image normally after entering the energy-saving mode at the image display frame rate, then black frame detection is performed on the IC image block with the IC chip as the control display unit according to the black frame detection threshold, and the black frame IC image block is screened out. Then, based on the black frame detection threshold and the minimum pixel value of the black frame IC image block, an energy-saving elimination image is generated. The IC image block is superimposed with the corresponding energy-saving elimination image, and finally the IC image block is merged to obtain complete image data. In the above-mentioned solution, the pixel value of the IC image block after superimposition processing is greater than the preset black frame detection threshold of the IC chip. In this way, the IC chip can be prevented from entering the energy-saving mode after the image data is distributed to the IC chip, thereby eliminating the possibility of display abnormality after the IC chip enters the energy-saving mode. Therefore, the solution of the present application can effectively turn off the energy-saving function and ensure normal image display.
[0080] In one embodiment, based on the restart time of the IC chip and the image display frame rate, determining whether the IC chip can display the image normally after entering the energy-saving mode at the image display frame rate includes: determining the frame interval based on the image display frame rate; if the frame interval is less than the restart time of the IC chip, determining that the IC chip cannot display the image normally after entering the energy-saving mode at the image display frame rate.
[0081] The frame interval refers to the time interval between frame transmissions. In this embodiment, the inverse of the image display frame rate can be taken as the frame interval, and then it is determined whether the frame interval is less than the restart time of the IC chip. If the frame interval is less than the restart time of the IC chip, it indicates that the frame interval cannot meet the reaction time of the IC chip to exit the energy-saving mode, thereby determining that under the current image display frame rate, the IC chip will not be able to display the image normally after entering the energy-saving mode. In another embodiment, if the frame interval is greater than or equal to the restart time of the IC chip, it indicates that the frame interval can meet the reaction time of the IC chip to exit the energy-saving mode, thereby determining that under the current image display frame rate, the IC chip will not be able to display the image normally after entering the energy-saving mode, that is, even if the IC chip triggers the energy-saving operation, it can display the image normally. In this embodiment, by comparing the frame interval and the restart time of the IC chip, it is possible to simply and effectively determine whether an abnormal display will occur after the IC chip enters the energy-saving mode.
[0082] In another embodiment, the possibility of abnormal display of the IC chip in the energy-saving mode can be judged based on the IC chip restart time RT, image display frame rate FR and error threshold TH, where TH is set between [5, 10] clock cycles to ensure that the IC chip operates in a stable state. Specifically, if the judgment process is as follows:
[0083]
[0084] If the frame interval is greater than or equal to the sum of the IC chip's restart time RT and the error threshold TH, it indicates that the frame interval can meet the IC chip's reaction time to exit the energy-saving mode. This means that under the current image display frame rate, the IC chip will not be unable to display images normally after entering the energy-saving mode, and subsequent display operations can be performed directly without eliminating the energy-saving process. If the judgment process is as follows:
[0085]
[0086] If the frame interval is less than the sum of the IC chip's restart time RT and the error threshold TH, it indicates that the frame interval cannot meet the IC chip's reaction time to exit energy-saving mode. This indicates that, at the current image display frame rate, the IC chip will not be able to display images normally after entering energy-saving mode. In this case, it may be necessary to perform energy-saving elimination processing, and further detect whether the image frame input to the IC chip is a black frame. If it is a black frame, energy-saving elimination processing is performed. If it is not a black frame, no processing is required and it is displayed directly. In this embodiment, by adding an error threshold to perform energy-saving anomaly judgment, the judgment result can be made more objective and reasonable, and the IC chip can operate in a stable state.
[0087] In one embodiment, dividing the image data into IC image blocks with the IC chip as the control display unit includes: obtaining the mapping relationship between the spatial position information of the IC chip and the pixel position of the image data, and dividing the image data into IC image blocks with the IC chip as the control display unit according to the mapping relationship.
[0088] In a specific implementation, segmenting the receiving card image into IC image blocks can be performed by obtaining a mapping relationship between the spatial position information of the IC chips distributed on the LED light board and the pixel position of the receiving card image, that is, obtaining a mapping relationship between the portion of pixels in the receiving card image controlled and displayed by each IC chip on the LED light board. Then, based on this mapping relationship, the receiving card image is segmented into multiple IC image blocks according to the IC display area. Based on the position information of the IC chip, the IC image block corresponding to the control and display of the IC chip can be found, that is, the IC chip and the IC image block are associated through the position information of the IC chip. In this embodiment, segmenting the receiving card image based on the mapping relationship between the spatial position information of the IC chips distributed on the LED light board and the pixel position of the receiving card image can accurately obtain the IC image block controlled and displayed by each IC chip, which facilitates subsequent image processing.
[0089] like Figure 4 As shown, in one embodiment, generating an energy-saving elimination image based on a black frame detection threshold and a minimum pixel value of a black frame IC image block includes:
[0090] Step 320 : Determine the jitter amplitude parameter of the black frame IC image block based on the black frame detection threshold and the minimum pixel value of the black frame IC image block.
[0091] Step 340: Obtain a dither table of the black frame IC image block.
[0092] Step 360: Generate a dithered image according to the dither table and the dither amplitude parameter.
[0093] Step 380: amplify the jittered image according to the jitter amplitude parameter to generate an energy-saving image.
[0094] The dithering amplitude parameter refers to the dithering amplification, which is used to amplify the dithering image. By dithering the color values by the dithering amplitude, the number of available colors can be increased. In this embodiment, the dithering amplitude parameter is determined based on the black frame detection threshold. In specific implementation, the process of generating the energy-saving elimination image may be: based on the black frame detection threshold, the dithering amplitude parameter of the black frame IC image block is determined, and then, according to the position information of the IC chip corresponding to the black frame IC image block, the dithering table of the black frame IC image block is obtained from the preset dithering table data set, and the cache value of each unit in the dithering table of the black frame IC image block, that is, the unit value, is compared with the dithering judgment value JV. If the unit value in the dithering table is greater than or equal to JV, the value of the corresponding pixel in the dithering image is 1, otherwise it is 0. After the dithering image corresponding to the black frame IC image block is generated, the dithering image may be amplified according to the dithering amplitude parameter, that is, if the dithering amplitude is D, the dithering image is amplified by D times to obtain the energy-saving elimination image. Specifically, the process of generating a dithering image according to the dithering judgment value JV and the dithering table, and then generating an energy-saving elimination image can be referred to. Figure 5In this embodiment, the jitter determination value JV can be determined based on the height parameter IC_H and width parameter IC_W of the IC image block, i.e., JV = IC_W × IC_H – 1. In this embodiment, by amplifying the jittered image according to the jitter amplitude, the pixel values of the generated energy-saving elimination image can be ensured to be sufficiently large, so that the pixel values of the image processed by image superposition are always greater than the black frame detection threshold.
[0095] In one embodiment, the jitter table of the black frame IC image block is obtained based on the following method: obtaining the size parameters of the black frame IC image block, determining the size of the jitter table based on the size parameters of the black frame IC image block, constructing an initial jitter table, and filling the elements of the data set determined by the size of the jitter table into the initial jitter table respectively to obtain the jitter table of the black frame IC image block, and the maximum value of the data set is determined based on the number of pixels of the IC image block.
[0096] The size parameters of the black frame IC image block include a height parameter × IC_H and a width parameter IC_W. It is understandable that in actual applications, in order to speed up image processing, a corresponding dither table can be pre-built for each IC image block. When it is necessary to generate an energy-saving elimination image, the dither table of the IC image block can be obtained according to the position information of the IC chip. Regardless of whether it is an IC image block or a black frame IC image block, the generation process of the corresponding dither table can be: based on the width parameter IC_W and height parameter IC_H of the IC image block, an initial dither table of size S is generated, that is, S = IC_W × IC_H, where S is the number of pixels in the IC image. Then, a data set U = {0,…,S-1} is constructed, and the data in the data set U is randomly filled into the initial dither table to ensure that the value of each unit in the dither table is within [0,S-1] and that the values of each unit are not repeated. When it is necessary to generate an energy-saving elimination image for a black frame IC image block, a dither table for the black frame IC image block can be obtained based on the position information of the IC chip corresponding to the black frame IC image block. In this embodiment, the dither table is constructed based on the size parameters of the IC image block, which is simple and efficient.
[0097] In order to make a clearer description of the image display processing method provided by this application, the following Figure 6 And a specific embodiment is used to illustrate:
[0098] The sending card packages the receiving card image data to be distributed to the IC chip, the image display frame rate, the IC chip restart time, and the black frame detection threshold, and sends it to the receiving card. The receiving card obtains the image display frame rate FR, the receiving card image data to be distributed to the IC chip, and the IC chip restart time RT. Then, it takes the inverse of the image display frame rate as the frame interval. Based on the IC chip restart time RT, the image display frame rate FR, and the error threshold TH, it determines the possibility of abnormal display in the IC chip's energy-saving mode. TH takes a value between [5,10] clock cycles to ensure that the IC chip operates in a stable state. Specifically, if the judgment process is as follows:
[0099]
[0100] If the frame interval is greater than or equal to the sum of the IC chip's restart time RT and the error threshold TH, it indicates that the frame interval can meet the IC chip's reaction time to exit the energy-saving mode. This means that under the current image display frame rate, the IC chip will not be unable to display images normally after entering the energy-saving mode, and subsequent display operations can be performed directly without eliminating the energy-saving process. If the judgment process is as follows:
[0101]
[0102] If the frame interval is less than the sum of the restart time RT of the IC circuit chip and the error threshold TH, it indicates that the frame interval cannot meet the reaction time of the IC chip to exit the energy-saving mode. In this way, it is determined that under the current image display frame rate, the IC chip will not be able to display the image normally after entering the energy-saving mode. At this time, the enable of the energy-saving abnormality condition is on. In this case, it may be necessary to eliminate the energy-saving process, and it is necessary to further detect whether the image frame input to the IC chip is a black frame. Specifically, the mapping relationship between each IC chip on the LED light board and the corresponding control display of part of the pixels in the receiving card image is obtained, and then, according to the mapping relationship, the receiving card image is divided into multiple IC image blocks according to the IC display area. It can be based on the IC image block to detect whether the RGB (Red, Green, Blue) channel value of the image data is less than or equal to the black frame detection threshold DTH. If the pixel values of all pixels of the input image are less than or equal to DTH, it means that the IC image block is a black frame IC image block, otherwise the IC image block is a non-black frame IC image block. If the black frame detection result corresponding to the IC image block indicates that the IC image block is a black frame IC image block, then the energy-saving mode is also enabled, the minimum pixel value of the black frame IC image block is obtained, and the dither amplitude parameter of the black frame IC image block is determined based on the minimum pixel value and the black frame detection threshold. A dither table for the black frame IC image block is obtained, and the cell value in the dither table of the black frame IC image block is compared with the dither judgment value JV. If the cell value in the dither table is greater than or equal to JV, the value of the corresponding pixel in the dithered image is 1, otherwise it is 0. After generating the dithered image corresponding to the IC image block, the dithered image can be amplified according to the dither amplitude parameter. That is, if the dither amplitude is D, the dithered image is amplified by D times to obtain the energy-saving elimination image. Afterwards, since the energy-saving abnormal condition is enabled and the energy-saving mode is also enabled, it is necessary to enable the output synthesis enable to add the pixel channel values of the IC image block and the corresponding energy-saving elimination image one by one to perform superposition processing to obtain the superimposed IC image block. At this time, some pixel values of the superimposed IC image block are greater than the black frame detection threshold. After obtaining the superimposed IC image block, all IC image blocks can be merged according to their spatial positions to obtain a complete receiving card image. Furthermore, the merged complete receiving card image can be output for subsequent image caching and pixel distribution operations.
[0103] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0104] Based on the same inventive concept, the present application also provides an image display processing device for implementing the aforementioned image display processing method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more of the following embodiments of the image display processing device can be found in the above-mentioned limitations of the image display processing method and will not be further elaborated here.
[0105] In one embodiment, Figure 7 As shown, an image display processing device is provided, including: a data acquisition module 710, a black frame detection module 720, an energy-saving elimination image generation module 730, an image overlay module 740 and an image merging module 750, wherein:
[0106] The data acquisition module 710 is used to acquire the image display frame rate, the image data to be distributed to the IC chip, the restart time of the IC chip, and the black frame detection threshold.
[0107] The black frame detection module 720 is used to divide the image data into IC image blocks with the IC chip as the display control unit when it is determined based on the restart time of the IC chip and the image display frame rate that the IC chip cannot display the image normally after entering the energy-saving mode at the image display frame rate, and perform black frame detection on the IC image blocks according to the black frame detection threshold to filter out black frame IC image blocks. The black frame IC image blocks are IC image blocks in the black frame state.
[0108] The energy-saving elimination image generation module 730 is configured to generate an energy-saving elimination image based on a black frame detection threshold and a minimum pixel value of a black frame IC image block.
[0109] The image superposition module 740 is configured to superimpose the black frame IC image block with the corresponding energy-saving elimination image to obtain a superimposed IC image block.
[0110] The image merging module 750 is used to merge the IC image blocks to obtain complete image data.
[0111] In the above-mentioned image display processing device, unlike the traditional practice of performing energy-saving display abnormality processing after distributing image data to the IC chip, the solution of the present application implements energy-saving display abnormality prediction of image data input to the IC chip before distributing the image data to the IC chip, that is, based on the restart time of the IC chip and the image display frame rate. If it is determined that the IC chip will not be able to display the image normally after entering the energy-saving mode at the image display frame rate, black frame detection is performed on the IC image block with the IC chip as the control display unit according to the black frame detection threshold, and black frame IC image blocks are screened out. Then, based on the black frame detection threshold and the minimum pixel value of the black frame IC image block, an energy-saving elimination image is generated. The IC image block is superimposed with the corresponding energy-saving elimination image, and finally the IC image block is merged to obtain complete image data. In the above-mentioned solution, the pixel value of the IC image block after superimposition processing is greater than the preset black frame detection threshold of the IC chip. In this way, the IC chip can be prevented from entering the energy-saving mode after the image data is distributed to the IC chip, thereby eliminating the possibility of display abnormality after the IC chip enters the energy-saving mode. Therefore, the solution of the present application can effectively disable the energy-saving function and ensure normal image display.
[0112] In one embodiment, the energy-saving elimination image generation module 730 is also used to determine the jitter amplitude parameter of the black frame IC image block based on the black frame detection threshold and the minimum pixel value of the black frame IC image block, obtain the jitter table of the black frame IC image block, generate a jitter image according to the jitter table and the jitter amplitude parameter, and amplify the jitter image according to the jitter amplitude parameter to generate an energy-saving elimination image.
[0113] In one embodiment, the energy-saving elimination image generation module 730 is further used to compare the cache value of each unit in the jitter table with a preset jitter judgment threshold to obtain a comparison result, and generate a jitter image corresponding to the black frame IC image block based on the comparison result.
[0114] like Figure 8 As shown, in one embodiment, the device further includes a jitter table generation module 725, which is used to obtain size parameters of the black frame IC image block, determine the jitter table size according to the size parameters of the black frame IC image block, construct an initial jitter table, and fill the elements of the data set determined by the jitter table size into the initial jitter table respectively to obtain the jitter table of the black frame IC image block, and the maximum value of the data set is determined based on the number of pixels of the IC image block.
[0115] like Figure 8As shown, in one embodiment, the device also includes an energy-saving abnormal condition detection module 715, which is used to determine the frame interval based on the image display frame rate. If the frame interval is less than the restart time of the IC chip, it is determined that the IC chip will not be able to display the image normally after entering the energy-saving mode at the image display frame rate.
[0116] In one embodiment, the black frame detection module 720 is further configured to obtain a mapping relationship between the spatial position information of the IC chip and the pixel position of the image data, and divide the image data into IC image blocks with the IC chip as the control display unit according to the mapping relationship.
[0117] Each module in the above-mentioned image display processing device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0118] In one embodiment, a computer device is provided. The computer device may be a terminal in an LED display system, and its internal structure diagram may be as follows: Figure 9 As shown. The computer device includes a processor, a memory and a communication interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an image display processing method is implemented.
[0119] Those skilled in the art will understand that Figure 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0120] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above-mentioned image display processing method when executing the computer program.
[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned image display processing method are implemented.
[0122] In one embodiment, a computer program product is provided, comprising a computer program, which implements the steps in the above-mentioned image display processing method when executed by a processor.
[0123] It should be noted that the data involved in this application (including but not limited to data used for acquisition, analysis, storage, etc.) are all information and data authorized by the user or fully authorized by all parties.
[0124] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0125] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0126] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. An image display processing method, characterized in that: The method comprises: Obtaining an image display frame rate, image data to be distributed to an IC chip, a restart time of the IC chip, and a black frame detection threshold; When it is determined, based on the restart time of the IC chip and the image display frame rate, that the IC chip cannot display an image normally after entering the energy-saving mode at the image display frame rate, the image data is divided into IC image blocks with the IC chip as a display control unit, and black frame detection is performed on the IC image blocks according to the black frame detection threshold to screen out black frame IC image blocks, where the black frame IC image blocks are IC image blocks in a black frame state; generating an energy-saving elimination image based on the black frame detection threshold and the minimum pixel value of the black frame IC image block; Superimposing the black frame IC image block with the corresponding energy-saving elimination image to obtain a superimposed IC image block; The IC image blocks are merged to obtain complete image data.
2. The image display processing method according to claim 1, wherein: Generating an energy-saving elimination image based on the black frame detection threshold and the minimum pixel value of the black frame IC image block includes: determining a jitter amplitude parameter of the black frame IC image block based on the black frame detection threshold and the minimum pixel value of the black frame IC image block; Obtaining a dither table of the black frame IC image block; generating a dithered image according to the dither table and the dither amplitude parameter; The jittered image is amplified according to the jitter amplitude parameter to generate an energy-saving eliminated image.
3. The image display processing method according to claim 2, wherein: Generating a dithered image according to the dither table and the dither amplitude parameter includes: Comparing the cache value of each unit in the jitter table with a preset jitter judgment threshold to obtain a comparison result; According to the comparison result, a dithered image corresponding to the black frame IC image block is generated.
4. The method according to claim 2, characterized in that The jitter table of the black frame IC image block is obtained based on the following method: Obtaining size parameters of the black frame IC image block; Determine the dither table size according to the size parameters of the black frame IC image block and construct an initial dither table; The elements of the data set determined by the dither table size are respectively filled into the initial dither table to obtain the dither table of the black frame IC image block, and the maximum value of the data set is determined based on the number of pixels of the IC image block.
5. The image display processing method according to any one of claims 1 to 4, characterized in that: Judging, according to the restart time of the IC chip and the image display frame rate, whether the IC chip can normally display an image after entering the energy-saving mode at the image display frame rate includes: Determining a frame interval according to the image display frame rate; If the frame interval is less than the restart time of the IC chip, it is determined that the IC chip cannot display images normally after entering the energy-saving mode at the image display frame rate.
6. The image display processing method according to any one of claims 1 to 4, characterized in that: The dividing the image data into IC image blocks with IC chips as control display units includes: Acquire a mapping relationship between the spatial position information of the IC chip and the pixel position of the image data; According to the mapping relationship, the image data is divided into IC image blocks with the IC chip as a control display unit.
7. An image display processing device, characterized in that: The device comprises: A data acquisition module, configured to acquire an image display frame rate, image data to be distributed to an IC chip, a restart time of the IC chip, and a black frame detection threshold; a black frame detection module for, when determining, based on the restart time of the IC chip and the image display frame rate, that the IC chip cannot display an image normally after entering the energy-saving mode at the image display frame rate, dividing the image data into IC image blocks with the IC chip as a display control unit, and performing black frame detection on the IC image blocks according to the black frame detection threshold, thereby screening out black frame IC image blocks, wherein the black frame IC image blocks are IC image blocks in a black frame state; an energy-saving elimination image generation module, configured to generate an energy-saving elimination image based on the black frame detection threshold and the minimum pixel value of the black frame IC image block; An image superposition module, configured to superimpose the black frame IC image block with the corresponding energy-saving elimination image to obtain a superimposed IC image block; The image merging module is used to merge the IC image blocks to obtain complete image data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Mobile terminal and display screen region display method thereof
CN102622177A
A display control method of a silicon-based micro-display and the silicon-based micro-display
CN109785793A