Image display method and device, electronic device, and storage medium

By dispersing image data into multiple subframes in the display screen and gradually deleting low-bit data, the problem of traditional chips requiring twice the frame storage space is solved, and the maximum savings in storage space and cost reduction are achieved.

CN114416010BActive Publication Date: 2025-02-21CHIPONE TECHNOLOGY (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210051001.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-17
Publication Date
2025-02-21
Estimated Expiration
2042-01-17

AI Technical Summary

Technical Problem

Traditional PWM chips require twice the frame image storage space in medium and high-end displays, resulting in increased chip cost.

Method used

By receiving image data transmitted from high to low according to bit bits of the pixel, and starting the display of subframes after receiving part of the high bits, the entire frame of image data is scattered to multiple subframes, and the image data of the low bits are placed in Specify subframes, and gradually delete the image data of the low bits after displaying the specified subframes, freeing up storage space.

Benefits of technology

Maximize storage space and reduce chip costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114416010B_ABST
    Figure CN114416010B_ABST
Patent Text Reader

Abstract

The present application provides an image display method and device, electronic device, and storage medium, the method comprising: receiving and storing image data transmitted from high to low according to the bit of pixels; after receiving part of the high-bit image data, starting to display subframes in sequence; wherein the whole frame image data is dispersed into multiple subframes, and the low-bit image data is placed in a designated subframe; after displaying the designated subframe, gradually deleting part of the low-bit image data, releasing storage space for storing the bit of the next frame image. This solution saves storage space to the maximum extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a method and device for displaying an image, an electronic device, and a non-transitory electronic device-readable storage medium. Background Art

[0002] In traditional PWM chips, the data transmitted by the bus is the grayscale value as a whole (usually 16-bit grayscale value); in traditional single / double latch chips, the grayscale value as a whole is divided into several bits, and different bits are sent in different time periods. In mid-to-high-end display screens, constant current source driver chips that can output high-refresh PWM are usually used. Such chips usually receive and store all grayscale data, and then use the PWM generation unit to generate PWM drive signals.

[0003] Storing and continuously displaying all received images usually requires twice the frame image storage space, which increases the cost of the chip. Summary of the invention

[0004] The embodiment of the present application provides a method for displaying an image, so as to reduce data storage space as much as possible.

[0005] The present application provides a method for displaying an image, the method comprising:

[0006] Receive and store image data transmitted from high to low according to the bit position of pixels;

[0007] After receiving part of the high-bit image data, the sub-frames are displayed in sequence; wherein the whole frame image data is dispersed into multiple sub-frames, and the low-bit image data is placed in the designated sub-frame;

[0008] After displaying the designated subframe, some low-bit image data are deleted successively to release storage space for storing bits of the next frame of image.

[0009] In one embodiment, the grayscale value displayed by each subframe is the sum of the subframe integer grayscale and the subframe remainder grayscale.

[0010] In one embodiment, after receiving part of the high-bit image data, starting to display subframes in sequence includes:

[0011] When receiving the image data of the first bit and the subsequent bit corresponding to the subframe integer, the subframe integer grayscale and the subframe remainder grayscale of the first subframe are calculated;

[0012] The display of the first subframe starts according to the subframe integer grayscale and the subframe remainder grayscale of the first subframe.

[0013] In one embodiment, the sub-frame integer grayscale is the product of the value of the first bit corresponding to the sub-frame integer and a preset non-dispersed period.

[0014] In one embodiment, the first bit corresponding to the subframe integer is determined according to the frame grayscale value, a preset non-dispersed period, and a preset total number of subframes.

[0015] In one embodiment, the method further comprises:

[0016] Evenly distributing the weight of the second bit to multiple subframes according to the second bit corresponding to the number of non-dispersed subframes and a preset non-dispersed period;

[0017] According to the image data of the second bit and the preset non-dispersed period, a sub-frame remainder grayscale of each sub-frame is obtained.

[0018] In one embodiment, the method further comprises:

[0019] According to the third bit corresponding to the unbroken remainder, the image data of the third bit is displayed in a designated subframe.

[0020] The embodiment of the present application further provides an image display device, the device comprising:

[0021] A data receiving module, used for receiving and storing image data transmitted from high to low according to the bit positions of pixels;

[0022] The subframe display module is used to start displaying subframes in sequence when receiving part of the high-bit image data; wherein the whole frame image data is dispersed into a plurality of subframes, and the low-bit image data is placed in a designated subframe;

[0023] The data deletion module is used to successively delete part of the low-bit image data after displaying the designated subframe, so as to release storage space for storing the bits of the next frame of image.

[0024] The present application also provides an electronic device, including:

[0025] Memory for storing computer programs;

[0026] A processor is used to execute the computer program to implement the above method.

[0027] An embodiment of the present application also provides a non-transitory electronic device readable storage medium, including: a program, when the program is executed by an electronic device, the electronic device executes the above method.

[0028] The embodiment of the present application provides a technical solution, which receives and stores image data transmitted from high to low according to the bit position of pixels; after receiving part of the high-bit image data, the subframes are displayed in sequence; wherein the whole frame image data is dispersed into multiple subframes, and the low-bit image data is placed in a designated subframe; after displaying the designated subframe, part of the low-bit image data is deleted successively to release storage space for storing the bit position of the next frame image. Thus, the storage space can be saved to the maximum extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings required for use in the embodiments of the present application are briefly introduced below.

[0030] Figure 1 A schematic diagram of an application scenario of the image display method provided in an embodiment of the present application;

[0031] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0032] Figure 3 It is a flowchart of an image display method provided in an embodiment of the present application;

[0033] Figure 4 is a timing diagram of an image display method provided in an embodiment of the present application;

[0034] Figure 5 It is a block diagram of an image display device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0036] Similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0037] Figure 1 Schematic diagram of an application scenario of the image display method provided in the embodiment of the present application. Figure 1As shown, the application scenario includes a data sending device 110 and a data receiving device 120, and the data sending device 110 is connected to the data receiving device 12 through a bus. The data receiving device 12 may be a display driver chip. The data sending device 110 may first transmit the high-bit image data of the entire frame to the data receiving device 12 according to the bit of the pixel, and then transmit the low-bit image data. The data receiving device 12 may cache the received image data. After transmitting part of the high-bit image data, the data sending device 110 may send a frame synchronization signal to the data receiving device 12 through the bus, instructing the data receiving device 12 to start displaying the subframe. As needed, the data receiving device 12 may also generate a frame synchronization signal internally after receiving part of the high-bit image data, and automatically start displaying the subframe without waiting for the data sending device 110 to send a frame synchronization signal.

[0038] For example, assuming that the entire frame of image data is 16 bits, the highest bit of all pixels is transmitted first, named g

[15] (g[n] represents the n+1th bit of all pixels), followed by the second highest bit of all pixels, i.e. g

[14] , and so on, and finally g[0]. After g[15:8] is transmitted and then g[7] is transmitted, a frame synchronization signal can be initiated. After receiving the frame synchronization signal, the data receiving device 12 can immediately initiate display of the current frame content.

[0039] Since the content of the current frame has not been fully received at this time, the embodiment of the present application distributes the entire frame image data into multiple sub-frames, so the display of the first sub-frame starts at this time. Taking the display of 16 sub-frames as an example, after receiving the g[7] bit, the sub-frame display starts, and then the lower bits are received while the remaining sub-frames are displayed.

[0040] The low-bit image data can be displayed in one of the designated subframes as soon as possible after being received, so the data receiving device 12 can gradually delete some of the low-bit image data after displaying the designated subframe, freeing up storage space for storing the bits of the next frame of image data. Compared with receiving all the data and then displaying it, this can save storage space to the maximum extent.

[0041] Figure 2 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device can be used as the above-mentioned data receiving device 120, and the electronic device 200 can be used to execute the image display method provided in an embodiment of the present application. Figure 2 As shown, the electronic device 200 includes: one or more processors 202, and one or more memories 204 storing processor executable instructions. The processor 202 is configured to execute the image display method provided in the following embodiment of the present application.

[0042] The processor 202 may be a device including a central processing unit (CPU), a graphics processing unit (GPU), or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may process data of other components in the electronic device 200, and may also control other components in the electronic device 200 to perform desired functions.

[0043] The memory 204 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 202 may run the program instructions to implement the image display method described below. Various applications and various data, such as various data used and / or generated by the application, may also be stored in the computer-readable storage medium.

[0044] In one embodiment, Figure 2 The electronic device 200 shown may also include an input device 206, an output device 208, and a data acquisition device 210, and these components are interconnected via a bus system 212 and / or other forms of connection mechanisms (not shown). It should be noted that Figure 2 The components and structures of the electronic device 200 shown are merely exemplary and non-limiting. The electronic device 200 may also have other components and structures as required.

[0045] The input device 206 may be a device used by a user to input instructions, and may include one or more of a keyboard, a mouse, a microphone, a touch screen, etc. The output device 208 may output various information (e.g., images or sounds) to the outside (e.g., a user), and may include one or more of a display, a speaker, etc. The data acquisition device 210 may acquire an image of an object, and store the acquired image in the memory 204 for use by other components. Exemplarily, the data acquisition device 210 may be a camera.

[0046] In one embodiment, the various components in the example electronic device 100 for implementing the image display method of the embodiment of the present application can be integrated or dispersed, such as integrating the processor 202, memory 204, input device 206 and output device 208 into one, while separating the data acquisition device 210.

[0047] In one embodiment, the example electronic device 200 for implementing the image display method of the embodiment of the present application can be implemented as a smart device with a display function such as a smart phone, a laptop computer, etc.

[0048] Figure 3 FIG. 1 is a flow chart of a method for displaying an image provided by an embodiment of the present application. The method may be executed by the data receiving device 12, such as Figure 3 As shown, the method includes the following steps S310-S330.

[0049] Step S310: receiving and storing image data transmitted from high to low according to the bit positions of pixels.

[0050] The grayscale value of each pixel can be represented by binary, for example, 11111010, which represents the bits from high to low from left to right. Assume that each pixel is 16 bits, named g

[15] g

[14] ...g[1]g[0], g

[15] is the highest bit, g[0] is the lowest bit, so first receive and store the g

[15] bits of all pixels, then receive the g

[14] bits of all pixels, and so on.

[0051] Step S320: after receiving part of the high-bit image data, start displaying the subframes in sequence; wherein the whole frame of image data is dispersed into a plurality of subframes, and the low-bit image data is placed in a designated subframe.

[0052] The embodiment of the present application disperses the grayscale data of the entire frame into multiple subframes, and the cumulative displayed grayscale of the subframes is equal to the frame grayscale value. That is, for any pixel, the sum of the grayscale values ​​of the pixel in each subframe is equal to the grayscale value of the pixel in the original image frame. The embodiment of the present application uses the frame grayscale value to represent the total grayscale of the original image frame (for example, 256 grayscales). The high bit in the above step S320 can be the first bit corresponding to the subframe integer i plus one bit. The low bit can be the bit corresponding to the undispersed remainder r plus one bit. The specific principle is detailed below.

[0053] Step S330: After displaying the designated subframe, some low-bit image data is deleted successively to release storage space for storing bits of the next frame of image.

[0054] Since the low-bit image data has been displayed in the specified subframe, the low-bit image data can be deleted first to free up space to store the bits of the next frame of image, thereby eliminating the need for two frames of storage space, saving storage space and reducing chip costs.

[0055] The scheme provided by the embodiment of the present application is described in detail below. First, some terms are explained. Assuming that the frame grayscale value is g, the total number of subframes is M, the S-PWM technology disperses the display of the entire frame grayscale data into multiple subframes, and the cumulative display grayscale of the subframe is equal to the frame grayscale value. In order to avoid flickering, the frame grayscale value will be scattered into the subframe for display. In order to avoid inconsistent brightness of the driving lamp beads due to too low grayscale, the minimum display unit K is set to multiple clock cycles. The subframe displays at least one minimum display unit K. K is generally a power of 2, and K is defined as an unbroken cycle.

[0056] A subframe integer i is defined, i being equal to g divided by M multiplied by K, ie, i=g / (M*K).

[0057] For uniform display, each subframe needs to display at least grayscale I, where I is equal to i multiplied by K, ie, I=i*K, and I is defined as an integer grayscale of the subframe.

[0058] Define Fr as the frame grayscale remainder, which is equal to the remainder of g divided by M multiplied by K, that is, Fr=g%(M*K).

[0059] Define d as the number of unbroken subframes, which is equal to Fr divided by K, that is, d=Fr / K.

[0060] Define the remainder r that is not broken up, r is equal to the remainder of Fr over K, that is, r = Fr% K, and display it in the specified subframe.

[0061] For example, the period K is equal to 16, the total number of subframes M is equal to 16 groups, and the frame grayscale g[15:0] is 16 bits.

[0062] r=g[15:0]%16=g[3:0], that is, the remainder without breaking up is the lower 4 bits of the frame grayscale value.

[0063] d=(g[15:0]%(16*16)) / 16=g[7:4], that is, the number of sub-frames that are not dispersed is the 5th to 8th bit of the grayscale value of the entire frame.

[0064] i=(g[15:0] / (16*16))=g[15:8], that is, the subframe integer is the high 8 bits of the frame grayscale value.

[0065] I=(g[15:0] / (16*16))*16=g[15:8]*16, that is, the sub-frame integer grayscale is the high 8 bits of the frame grayscale value multiplied by K.

[0066] In one embodiment, when image data of a first bit and a subsequent bit corresponding to a subframe integer are received, the subframe integer grayscale and the subframe remainder grayscale of the first subframe are calculated; and display of the first subframe is started based on the subframe integer grayscale and the subframe remainder grayscale of the first subframe.

[0067] The grayscale value displayed in each subframe is the sum of the subframe integer grayscale I and the subframe remainder grayscale. The subframe integer grayscale I refers to the grayscale value displayed in each subframe. The subframe integer i refers to the number of subframes displayed by the subframe integer grayscale. The subframe remainder grayscale refers to the grayscale value of the frame grayscale remainder Fr dispersed in each subframe. The sum of the subframe remainder grayscales of all subframes is equal to the frame grayscale remainder Fr.

[0068] The subframe integer grayscale I is the product of the value of the first bit corresponding to the subframe integer i and the preset non-dispersed period K. The first bit corresponding to the subframe integer i is determined according to the frame grayscale value, the preset non-dispersed period K and the preset total number of subframes M.

[0069] For example, the non-dispersed period K is equal to 16, the total number of subframes M is equal to 16 groups, and the frame grayscale g[15:0] is 16 bits. The subframe integer i is the upper eight bits g[15:8], that is, the first bit is the upper eight bits. Therefore, after receiving the first bit g[15:8] corresponding to the subframe integer and the next bit g[7], the display of the first subframe begins. Since the subframe integer grayscale I is the product of the first bit g[15:8] corresponding to the subframe integer i and the non-dispersed period K, that is, I = (g[15:0] / (16*16))*16 = g[15:8]*16, that is, the subframe integer grayscale is the upper 8 bits of the frame grayscale value multiplied by K.

[0070] In one embodiment, the weight of the second bit can be evenly distributed to multiple subframes based on the second bit corresponding to the number of unbroken subframes and a preset unbroken period; the subframe remainder grayscale of each subframe is obtained based on the image data of the second bit and the preset unbroken period.

[0071] Take K equal to 16, M equal to 16 groups, and frame grayscale g[15:0] is 16 bits as an example. It can be seen from the above formula that the number of subframes d that are not scattered is the 5th to 8th bit of the grayscale value of the whole frame g[7:4], that is, the second bit is g[7:4]. Since data is stored and read bit by bit, the data cannot be read out and then calculated. The embodiment of the present application requires that the total number of subframes M is a power of 2, so that the number of subframes d that are not scattered corresponds to the middle bits of the total grayscale g, and there will be no situation where it cannot be divided evenly. Since the weight of the total grayscale bit g[7] is 128, the unscattered period K is 16, it is evenly distributed to the subframes, and every 2 subframes display K periods. The cumulative grayscale is (M / 2)*K=(16 / 2)*16=128, which is equal to the weight of g[7]. Therefore, the weight of g[7] can be distributed to the subframes with serial numbers 0 / 2 / 4 / 6 / 9 / 11 / 13 / 15. The subframe remainder grayscale of the subframes with serial numbers 0 / 2 / 4 / 6 / 9 / 11 / 13 / 15 is g[7]*K.

[0072] Similarly, the weight of the total grayscale g[6] is 64. Evenly distribute it to the subframes. Every 4 subframes display K cycles. The accumulated grayscale is (M / 4)*K=(16 / 4)*16=64, which is equal to the weight of g[6]. Therefore, the weight of g[6] can be distributed to the subframes with numbers 1 / 5 / 10 / 14. The subframe remainder grayscale of the subframes with numbers 1 / 5 / 10 / 14 is g[6]*K.

[0073] Similarly, the weight of the total grayscale g[5] is 32. Evenly distribute it to the subframes. Every 8 subframes display K cycles. The accumulated grayscale is (M / 8)*K=(16 / 8)*16=32, which is equal to the weight of g[5]. Therefore, the weight of g[5] can be distributed to the two subframes with sequence numbers 3 / 12. The subframe remainder grayscale of the two subframes with sequence numbers 3 / 12 is g[5]*K.

[0074] Similarly, the weight of the total grayscale g[4] is 16. Evenly distribute it to the subframes. Every 16 subframes display K cycles. The accumulated grayscale is (M / 16)*K=(16 / 16)*16=16, which is equal to the weight of g[4]. Therefore, the weight of g[4] can be distributed to the subframe numbered 7. The subframe remainder grayscale of the subframe numbered 7 is g[4]*K.

[0075] In one embodiment, according to the third bit corresponding to the unbroken remainder, the image data of the third bit is displayed in a designated subframe.

[0076] Still take K equals 16, M equals 16 groups, and frame grayscale g[15:0] is 16 bits. The remainder r is not scattered, which is equal to g[3:0] in this example, that is, the third bit is the lower four bits. The remainder r is not scattered. After the bus reception is completed, it can be displayed in any subsequent subframe. The earlier it is displayed, the earlier the storage space is released.

[0077] In summary, taking K equal to 16, M equal to 16 groups, and frame grayscale g[15:0] being 16 bits as an example, in order to facilitate reception, this embodiment adopts a quasi-binary method to display the subframe remainder grayscale.

[0078] Subframe number 0 / 2 / 4 / 6 / 9 / 11 / 13 / 15, display grayscale: I+g[7]*K=g[15:8]*16+g[7]*16;

[0079] Subframe number 1 / 5 / 10 / 14 / , display grayscale: I+g[6]*K=g[15:8]*16+g[6]*16;

[0080] Subframe number 3 / 12, display grayscale: I+g[5]*K=g[15:8]*16+g[5]*16;

[0081] Subframe number 7, display grayscale: I+g[4]*K=g[15:8]*16+g[4]*16;

[0082] Subframe number 8, display grayscale: I+r=g[15:8]*16+g[3:0].

[0083] like Figure 4 As shown in the figure, from top to bottom are the image frame synchronization signal (Video_Vsync), image data (Video), display frame synchronization signal (Display_Vsync) and subframe display order (Display_Group). After the image frame synchronization signal, the next frame of data is sent. Image frame synchronization is an internal signal of the sending device, and the bus protocol can also send it. g[n] represents the nth bit of all pixels in the display area (i.e., the n+1th bit); G n Represents the grayscale value of subframe number n.

[0084] from Figure 4 It can be seen that the data transmission device starts from the high bit g

[15] to transmit the image data in sequence. The subframe with sequence number 0 needs to display I+g[7]*K=(g[15:8]+g[7])*K, so it can be displayed immediately after the bus receives the grayscale bit g[15:7]. Figure 4 As can be seen from the figure, after the data receiving device receives the g[7] bit, the display frame synchronization signal becomes high level and the display of the subframe numbered 0 begins.

[0085] When displaying subframe number 0, it takes about 1 / 16 frame time to receive the next frame bit g[6]. Therefore, when displaying subframe number 1, the required frame bits g[15:8] and g[6] have been received, ensuring continuous display.

[0086] Under the premise that the full frame bits must be transmitted continuously in each frame time, when displaying subframe number 3, g[5] has been received, when displaying subframe number 7, g[4] has been received, and when displaying subframe number 8, g[3:0] have all been received. Therefore, it is not necessary to receive each bit first for subframe display. The display of the first subframe can start after receiving some high-bit image data.

[0087] Since the image data of the g[3:0] bits are no longer needed after the display of subframe No. 8, and the image data of the g[4] bits are needed after the display of subframe No. 7, in order to release the storage space as early as possible and start storing the bits of the next frame of image in advance, after the display of subframe No. 8, the g[4] bits and g[3:0] bits of the current frame are no longer needed and can be released to store the bits of the next frame of image.

[0088] Similarly, after displaying subframe number 12, the g[5] bit of the current frame can be released.

[0089] After displaying subframe number 14, the g[6] frame bit of the current frame may be released.

[0090] After displaying subframe number 15, all bits of the current frame may be released.

[0091] Since some bits of the previous frame have been released when a new frame starts to be stored (for example, g[4:0] is released first), the storage space does not need two full frames. Furthermore, since the display does not require a full frame of bits (for example, the display can start after receiving g[15:7]), the current frame bits are released again after the display middle end time (in this embodiment, the 8th subframe), which can save storage space to the maximum extent.

[0092] The following is an embodiment of the device of the present application, which can be used to execute the above-mentioned display method embodiment of the image of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the display method of the image of the present application.

[0093] Figure 5 FIG. 1 is a block diagram of an image display device according to an embodiment of the present application. Figure 5 As shown, the device includes: a data receiving module 510, a subframe display module 520, and a data deleting module 530.

[0094] The data receiving module 510 is used to receive and store the image data transmitted from high to low according to the bit positions of the pixels;

[0095] The subframe display module 520 is used to start displaying subframes in sequence after receiving part of the high-bit image data; wherein the whole frame image data is dispersed into a plurality of subframes, and the low-bit image data is placed in a designated subframe;

[0096] The data deletion module 530 is used to successively delete some low-bit image data after displaying the designated subframe, so as to release storage space for storing bits of the next frame of image.

[0097] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned image display method, and will not be repeated here.

[0098] In several embodiments provided in the present application, the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are merely schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a part of a code, and a module, a program segment or a part of a code contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they may 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 the flowchart, and the combination of boxes in the block diagram and / or the flowchart, 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.

[0099] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0100] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

Claims

1. A method for displaying an image, characterized in that: The method comprises: Receive and store image data transmitted from high to low according to the bit position of pixels; After receiving part of the high-bit image data, the sub-frames are displayed in sequence; wherein the whole frame image data is dispersed into multiple sub-frames, and the low-bit image data is placed in the designated sub-frame; After displaying the designated subframe, gradually deleting some low-bit image data to release storage space for storing bits of the next frame of image; The grayscale value displayed in each subframe is the sum of the subframe integer grayscale and the subframe remainder grayscale; Wherein, the subframe integer grayscale is the grayscale value displayed in each subframe, and the subframe integer grayscale is equal to the subframe integer i multiplied by the unbroken period K; the subframe integer i is the number of subframes displayed by the subframe integer grayscale, and the subframe integer i is determined by the following formula (1); The subframe remainder grayscale is the grayscale value of the frame grayscale remainder Fr dispersed in each subframe, and the frame grayscale remainder Fr is determined by the following formula (2); i=g / (M*K)(1) Fr=g%(M*K)(2) Wherein, g is the frame grayscale value, M is the total number of subframes; the non-dispersed period K is the minimum display unit; in the above formula (1), i is equal to g divided by M multiplied by K; in the above formula (2), Fr is equal to the remainder of g divided by M multiplied by K; The method further comprises: Evenly distributing the weight of the second bit to multiple subframes according to the second bit corresponding to the number of non-dispersed subframes and a preset non-dispersed period; Obtaining a subframe remainder grayscale of each subframe according to the image data of the second bit and a preset non-dispersed period; The number of non-dispersed sub-frames is equal to the frame grayscale remainder Fr divided by the non-dispersed period K.

2. The method according to claim 1, characterized in that After receiving part of the high-bit image data, starting to display subframes in sequence includes: When receiving the image data of the first bit and the subsequent bit corresponding to the subframe integer, the subframe integer grayscale and the subframe remainder grayscale of the first subframe are calculated; The display of the first subframe starts according to the subframe integer grayscale and the subframe remainder grayscale of the first subframe.

3. The method according to claim 2, characterized in that The subframe integer grayscale is the product of the value of the first bit corresponding to the subframe integer and a preset non-dispersed period.

4. The method according to claim 3, characterized in that The first bit corresponding to the subframe integer is determined according to the frame grayscale value, a preset non-dispersed period, and a preset total number of subframes.

5. The method according to claim 1, characterized in that The method further comprises: According to the third bit corresponding to the unbroken remainder, displaying the image data of the third bit in a designated subframe; The non-dispersed remainder is equal to the remainder of the frame grayscale remainder Fr and the non-dispersed period K.

6. An image display device, characterized in that: The device comprises: A data receiving module, used for receiving and storing image data transmitted from high to low according to the bit positions of pixels; The subframe display module is used to start displaying subframes in sequence after receiving part of the high-bit image data; wherein the whole frame image data is dispersed into multiple subframes, and the low-bit image data is placed in a designated subframe; A data deletion module, used to successively delete some low-bit image data after displaying the designated subframe, so as to release storage space for storing bits of the next frame of image; The grayscale value displayed in each subframe is the sum of the subframe integer grayscale and the subframe remainder grayscale; Wherein, the subframe integer grayscale is the grayscale value displayed in each subframe, and the subframe integer grayscale is equal to the subframe integer i multiplied by the unbroken period K; the subframe integer i is the number of subframes displayed by the subframe integer grayscale, and the subframe integer i is determined by the following formula (1); The subframe remainder grayscale is the grayscale value of the frame grayscale remainder Fr dispersed in each subframe, and the frame grayscale remainder Fr is determined by the following formula (2); i=g / (M*K)(1) Fr=g%(M*K)(2) Wherein, g is the frame grayscale value, M is the total number of subframes; the non-dispersed period K is the minimum display unit; i in the above formula (1) is equal to g divided by M times K; Fr in the above formula (2) is equal to the remainder of g divided by M times K; The subframe display module is also used for: Evenly distributing the weight of the second bit to multiple subframes according to the second bit corresponding to the number of non-dispersed subframes and a preset non-dispersed period; Obtaining a subframe remainder grayscale of each subframe according to the image data of the second bit and a preset non-dispersed period; The number of non-dispersed sub-frames is equal to the frame grayscale remainder Fr divided by the non-dispersed period K.

7. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the method according to any one of claims 1 to 5.

8. A non-transitory electronic device readable storage medium, characterized in that: The invention comprises: a program, which, when executed by an electronic device, causes the electronic device to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • DMD high-gray-scale image display method and device

    CN110706633A

  • Pixel and micro LED display device comprising same

    CN111179819A