Image processing method, device and storage medium
By using random jitter templates to process the image, the splash screen problem caused by traditional frame rate control-jitter technology is solved, and a smoother grayscale transition is achieved and periodic splash screen phenomenon is avoided.
Patent Information
- Application Number
- CN202211339575.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-27
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-10-27
AI Technical Summary
Traditional frame rate control-jitter technology causes periodic light and dark changes in images in liquid crystal display devices and light emitting diode panel display devices.
The random jitter template is used instead of the traditional periodic jitter template, and the image is jittered, destroying the periodic imaging rules, and using the random template to randomly perform jitter processing of image blocks in both space and time.
The periodic light and dark changes in the image display device are avoided, and the grayscale transition is smoother and softer.
Smart Images

Figure CN115662332B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an image processing method, device and storage medium. Background Art
[0002] Frame rate control (FRC)-dither technology is a display technology applied to liquid crystal display (LCD) or light-emitting diode / light-emitting diode panel (LED panel) display devices. This technology takes advantage of the visual inertia of the human eye and achieves the display of intermediate brightness by spatially and temporally mixing adjacent grayscales.
[0003] However, traditional FRC-dither technology may cause screen flickering, which is a periodic change in brightness and darkness in the displayed image. Summary of the Invention
[0004] Based on the above technical problems, the present application provides an image processing method, device and storage medium, which can use a random jitter template to replace the traditional periodic jitter template, destroy the periodic imaging law of jittering using the periodic jitter template, and thus avoid the screen flickering phenomenon of periodic light and dark changes in the displayed image.
[0005] In a first aspect, the present application provides an image processing method, which is applied to an image display device; the method includes: acquiring one or more frames of images to be processed; the color depth bit number of the image to be processed is greater than the color depth bit number of the image display device; dividing each frame of the image to be processed into multiple image blocks according to the size of a preset random template; the random template is a matrix of M rows and M columns of elements, where M is a positive integer; the size of the image block is M pixels × M pixels; for each image block of each frame of the image to be processed, randomly selecting one or more random templates to perform dithering processing on each image block to obtain an image to be displayed corresponding to each frame of the image to be processed, so that the image display device displays the image to be displayed; dithering processing is a process of transforming the pixel value in the image block according to the size relationship between the binary value of the decimal part of the pixel value in the image block and the binary value of the element in the random template.
[0006] In the image processing method provided by the present application, for each image block of each frame of the image to be processed, the image display device can randomly select one or more random templates to perform dithering processing on the image block, thereby obtaining the image to be displayed corresponding to each frame of the image to be processed. The random templates corresponding to the various image blocks in a frame of the image to be displayed are not related to each other, that is, the random templates have no periodicity or regularity in space, and the random templates corresponding to the image blocks at a certain fixed position within the frame period are also not related to each other at a certain frame interval, that is, the random templates have no periodicity or regularity in time. The texture of the image to be displayed obtained after dithering the image to be processed using a random template that has no regularity in space and time also has no regularity. While making the grayscale transition smoother and softer, it can also avoid the screen flashing phenomenon of periodic light and dark changes in the image displayed by the image display device.
[0007] In one possible implementation, the method further includes: after dividing each frame of the image to be processed into multiple image blocks according to the size of a preset random template, obtaining the position coordinates of each image block in the image to be processed; for the first image block in the multiple image blocks, randomly selecting one or more random templates for each image block of each frame of the image to be processed to perform dithering processing on each image block, so as to obtain the image to be displayed corresponding to each frame of the image to be processed, including: generating a random index of the first image block according to the position coordinates of the first image block; selecting one or more random templates according to the random index of the first image block; and using one or more random templates to perform dithering processing on the first image block to obtain the image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
[0008] The first image block may be any one of the multiple image blocks.
[0009] In another possible implementation, the method further includes: after dividing each frame of the image to be processed into multiple image blocks according to the size of a preset random template, obtaining the position coordinates of each image block in the image to be processed; grouping the multiple image blocks of each frame to obtain multiple groups of image blocks, each group of image blocks includes N image blocks, and N is an integer greater than or equal to 1; exchanging the position coordinates of any two groups of image blocks to obtain the staggered position coordinates obtained after the position coordinates of each image block are exchanged; for the first image block among the multiple image blocks, for each image block of each frame of the image to be processed, randomly selecting one or more random templates to perform dithering processing on each image block to obtain the image to be displayed corresponding to each frame of the image to be processed, including: generating a random index of the first image block according to the staggered position coordinates of the first image block; selecting one or more random templates according to the random index of the first image block; using one or more random templates to perform dithering processing on the first image block to obtain the image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
[0010] It should be understood that by exchanging the position coordinates of any two groups of image blocks, the interleaved position coordinates of the obtained image blocks are more random, and the random template selected by generating random indexes based on the interleaved position coordinates is less likely to produce regular textures after dithering the processed image.
[0011] In another possible implementation, each image block among the multiple image blocks includes a red R component, a green G component, and a blue B component; for the first image block among the multiple image blocks, for each image block of each frame of the image to be processed, one or more random templates are randomly selected to perform dithering processing on each image block to obtain an image to be displayed corresponding to each frame of the image to be processed, including: randomly selecting a first random template to perform dithering processing on the R component of the first image block, randomly selecting a second random template to perform dithering processing on the G component of the first image block, and randomly selecting a third random template to perform dithering processing on the B component of the first image block to obtain an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
[0012] Optionally, before acquiring one or more frames of images to be processed, the method further includes: acquiring an original template; dividing the elements in the original template into multiple groups, and rotating the multiple groups of elements by preset angles to obtain random templates; each group of elements includes one or more elements in the original template.
[0013] In one possible implementation, the elements in the original template are rotated by a preset angle to obtain a random template, including: dividing the elements in the original template into multiple first-level template blocks; each first-level template block includes one or more elements in the original template; and rotating multiple first-level template blocks by a preset angle to obtain a random template.
[0014] In another possible implementation, the elements in the original template are divided into multiple groups, and the multiple groups of elements are rotated by a preset angle to obtain a random template, including: dividing the elements in the original template into multiple first-level template blocks; each first-level template block includes multiple elements in the original template; rotating the multiple first-level template blocks by a first preset angle to obtain a first-level random template; dividing each first-level template block in the first-level random template into multiple second-level template blocks; each second-level template block includes one or more elements in the original template; rotating the multiple second-level template blocks divided from each first-level template block by a second preset angle to obtain a random template.
[0015] It should be understood that after obtaining the original template, the image processing method provided in the embodiment of the present application randomly rotates the elements in the original template to obtain a variety of different random templates, thereby improving the randomness of dithering the image to be processed using the random template. The texture of the image to be displayed obtained after dithering the image to be processed according to the highly random random template is more irregular.
[0016] In a second aspect, the present application provides an image processing device, which includes various modules used in the method described in the first aspect above.
[0017] In a third aspect, the present application provides an image display device, which includes a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the image acquisition device implements the method described in the first aspect above.
[0018] In a fourth aspect, the present application provides a computer program product. When the computer program product is run on an image display device, the image display device executes the steps of the related method described in the first aspect to implement the method described in the first aspect.
[0019] In a fifth aspect, the present application provides a readable storage medium, which includes: software instructions; when the software instructions are executed in an image display device, the image display device implements the method described in the first aspect above.
[0020] In a sixth aspect, the present application provides a chip comprising a processor and an interface, wherein the processor is coupled to a memory via the interface, and when the processor executes a computer program in the memory or an image display device executes instructions, the method described in the first aspect above is executed.
[0021] The beneficial effects of the second to sixth aspects mentioned above can be referred to those described in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0023] Figure 1 A schematic diagram of jitter;
[0024] Figure 2 This is a schematic diagram of frame rate control;
[0025] Figure 3 This is a frame rate control-jitter diagram;
[0026] Figure 4 Schematic diagram of the jitter template;
[0027] Figure 5 This is a schematic diagram of the jitter results;
[0028] Figure 6 Schematic diagram of a dither texture based on a 2-element × 2-element dither template;
[0029] Figure 7 Schematic diagram of a dither texture based on an 8-element × 8-element dither template;
[0030] Figure 8 A schematic diagram of the composition of an image processing system provided in an embodiment of the present application;
[0031] Figure 9 A schematic diagram of the composition of an image display device provided in an embodiment of the present application;
[0032] Figure 10 A flowchart of an image processing method provided in an embodiment of the present application;
[0033] Figure 11 A schematic diagram showing the relationship between the 8-element × 8-element random templates provided in an embodiment of the present application;
[0034] Figure 12 A schematic diagram of a dither texture based on an 8-element × 8-element random template provided in an embodiment of the present application;
[0035] Figure 13 A schematic diagram of the rotation of the original template provided in an embodiment of the present application;
[0036] Figure 14 A schematic diagram of the composition of the image processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In the following, the terms "first," "second," and "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the technical features indicated. Thus, a feature designated as "first," "second," or "third," etc., may explicitly or implicitly include one or more of the features.
[0038] First, the terms involved in the embodiments of the present application are introduced.
[0039] 1. Color depth: Also known as color bit depth, it is a unit of measure used to represent the number of colors in a digital image using bits. An image is composed of pixels, and the three primary color channels (red, green, and blue) of each pixel are mixed together to produce a variety of different colors. Each of the three primary color channels in a digital image has a range of values that can be assigned to it, and this range is stored as a number. How large or small this number can be is determined by the number of bits a computer uses to store it. A bit is simply a binary unit of information, represented digitally as either 0 or 1. To store increasingly complex information, computers need to use more bits of 0 or 1. A 1-bit integer can only have two values (0 or 1), but a 2-bit integer can have four values (00, 01, 10, and 11), and a 3-bit integer can have eight values (000, 001, 010, 011, 100, 101, 110, and 111), and so on. By increasing the number of bits per primary color channel, computers can store more complex color information.
[0040] LCD and LED display devices are now widely used due to their numerous advantages over cathode ray tube (CRT) displays. To reduce costs, LCD / LED display devices often use frame rate control and dithering techniques to increase the number of displayed colors or to create smoother, more fluid transitions between adjacent grayscale levels.
[0041] For example, a source driver (SD) chip with a 6-bit color depth can theoretically only generate 64 analog voltage levels, corresponding to 64 grayscale levels. An LCD / LED display device using this 6-bit SD chip can theoretically only display 260,000 colors (64×64×64). However, after dithering using frame rate control-dithering technology, the LCD / LED display device can display an image with an 8-bit color depth, or 16.7 million colors (256×256×256).
[0042] For example, Figure 1 This is a diagram of jitter. Figure 1As shown, taking the spatial combination of four pixels of 2 pixels × 2 pixels as an example, when the four pixels are all black, the visual effect displayed by the four pixels is black; when there is one white and three black pixels among the four pixels, the visual effect displayed by the four pixels is light black; when there are two white and two black pixels among the four pixels, the visual effect displayed by the four pixels is gray; when there are three white and one black pixels among the four pixels, the visual effect displayed by the four pixels is light gray; when the four pixels are all white, the visual effect displayed by the four pixels is white.
[0043] For example, Figure 2 This is a schematic diagram of frame rate control. Figure 2 As shown, taking 4 frames as a cycle as an example, when the pixels of the 4 frames are all white, the visual effect displayed by the 4 frames of images is white; when there are three white frames and one black frame in the 4 frames of pixels, the visual effect displayed by the 4 frames of images is light gray; when there are two white frames and two black frames in the 4 frames of pixels, the visual effect displayed by the 4 frames of images is gray; when there is one white frame and three black frames in the 4 frames of pixels, the visual effect displayed by the 4 frames of images is light black; when the pixels of the 4 frames are all black, the visual effect displayed by the 4 frames of images is black.
[0044] For example, Figure 3 This is a schematic diagram of frame rate control-jitter. Figure 3 As shown, taking the spatial combination of four pixels of 2 pixels × 2 pixels in 4 frames as an example, when the four pixels of the 4 frames are all white, the visual effect displayed by the four pixels of the 4 frames is white; when three pixels of the four pixels of the 4 frames are white and one pixel is black in each frame, the visual effect displayed by the four pixels of the 4 frames is light gray; when two pixels of the four pixels of the 4 frames are white and two pixels are black in each frame, the visual effect displayed by the four pixels of the 4 frames is gray; when one pixel of the four pixels of the 4 frames is white and three pixels are black in each frame, the visual effect displayed by the four pixels of the 4 frames is light black; when the four pixels of the 4 frames are all black, the visual effect displayed by the four pixels of the 4 frames is black.
[0045] Frame rate control-dithering technology usually uses a dithering template to process the image to be processed. The dithering template is a matrix with multiple rows and columns.
[0046] For example, Figure 4 is a schematic diagram of the jitter template. Figure 4 As shown, taking 4 frames as a cycle as an example, assuming that the dithering template used for the 4-frame image is a 2-element × 2-element dithering template, it will be repeated every 4 frames. Figure 4For the four templates shown, the dither templates corresponding to the four frames are (in clockwise order): Frame 1: 0, 2, 1, 3; Frame 2: 3, 0, 2, 1; Frame 3: 1, 3, 0, 2; Frame 4: 2, 1, 3, 0. It can be seen that the values in the dither template rotate 90° clockwise with each frame.
[0047] When using a 2×2 element dithering template, the four adjacent pixels are uniformized. Assume that each of the four pixels in the 2×2 pixel format of the image to be processed has a value of 10.75. After binary conversion, 10.75 is represented as 1010.11, and the binary value of the decimal fraction is 11. This decimal fraction, 11, is compared with the binary value of each value in the dithering template. When the binary value of the decimal fraction is greater than the binary value of the value at the corresponding position in the dithering template, the units digit of the value at the corresponding position in the image to be processed is increased by 1 and the decimal fraction is cleared. When the binary value of the decimal fraction is less than or equal to the binary value of the value at the corresponding position in the dithering template, the decimal fraction of the value at the corresponding position in the image to be processed is cleared to obtain the pixel value of the displayed image.
[0048] For example, Figure 5 This is a diagram of the jitter results. Figure 5 As shown, the same Figure 4 Taking the dither template shown as an example, the binary values of the values in the dither template corresponding to the four frames of image are (in clockwise order): Frame 1: 0, 10, 1, 11; Frame 2: 11, 0, 10, 1; Frame 3: 1, 11, 0, 10; Frame 4: 10, 1, 11, 0. Then, the binary value 11 of the decimal part of the four pixel values of the above image to be processed is compared with the binary values of the values at the corresponding positions in the dither template, and the results are (in clockwise order): Frame 1: 1, 1, 1, 0; Frame 2: 0, 1, 1, 1; Frame 3: 1, 0, 1, 1; Frame 4: 1, 1, 0, 1. Figure 5 In the display image, 0 indicates that the decimal place of the value at the corresponding position is cleared, and 1 indicates that the unit place of the value at the corresponding position is +1 and the decimal place is cleared.
[0049] Taking the above-mentioned 2×2 pixels of the image to be processed as an example, each pixel value is 10.75, then according to Figure 5The pixel values of the displayed image obtained by processing the dithering result shown in the figure are (in clockwise order): Frame 1: 11 (10.75 with the units digit + 1 and the decimal place cleared), 11, 11, 10 (10.75 with the decimal place cleared); Frame 2: 10, 11, 11, 11; Frame 3: 11, 10, 11, 11; Frame 4: 11, 11, 10, 11. The average pixel value of the four 2×2 pixels in each frame of the displayed image is (11+11+11+10) / 4=10.75, and the average pixel value of each pixel position in the four frames is also (11+11+11+10) / 4=10.75. Therefore, the dithering template can achieve approximate uniformity of grayscale in space and time.
[0050] It should be noted that the above description uses a 2-element × 2-element dither template as an example. In actual use, the dither template may also have other sizes, such as 1 element × 1 element, 4 elements × 4 elements, or 8 elements × 8 elements. The embodiment of the present application does not limit the specific size of the dither template.
[0051] However, the display image (or also called the jitter image) generated using the periodic jitter template has obvious regular textures. These textures will change periodically in the space and time of continuous video images, and will eventually produce a flickering screen phenomenon with light and dark changes on the displayed image, which is also known as the breathing effect.
[0052] For example, Figure 6 is a schematic diagram of a dither texture based on a 2-element × 2-element dither template. Figure 5 As shown, for the convenience of analysis, the fractional part of the pixel value of the image to be processed is set to fixed values 1, 2 and 3 respectively. Then, after the image to be processed is processed using a 2-element × 2-element dithering template, there will be Figure 6 The dither texture shown. The larger the value, the denser the dither texture.
[0053] For example, see Figure 7 , Figure 7 A dither texture based on an 8-element×8-element dither template is shown.
[0054] On this basis, the embodiments of the present application provide an image processing method, apparatus, device and readable storage medium, which can use a random jitter template to replace the traditional periodic jitter template, destroy the periodic imaging law of jittering using the periodic jitter template, and thus avoid the screen flickering phenomenon of periodic light and dark changes in the displayed image.
[0055] Figure 8 This is a schematic diagram of the composition of the image processing system provided in the embodiment of the present application. Figure 8As shown, the image processing system may include an image storage device 100 and an image display device 200. The image storage device 100 may be connected to the image display device 200 via a wired network or a wireless network.
[0056] The image storage device 100 is used to acquire and store images to be processed.
[0057] The image storage device 100 can be a computer or an electronic device with computing capabilities, such as a server. The server can be a single server or a server cluster consisting of multiple servers. In some embodiments, the server cluster can also be a distributed cluster. Alternatively, the image storage device 100 can be implemented entirely on a cloud platform. For example, the cloud platform can include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an inter-cloud, a multi-cloud, or any combination thereof.
[0058] Optionally, the image storage device 100 may also be a graphics processing unit (GPU) in the above electronic device, or a video memory in a GPU.
[0059] In some embodiments, the image storage device 100 is further configured to encode the image to be processed to obtain encoded image data.
[0060] In some embodiments, the image storage device 100 is further configured to send the encoded image data to the image display device 200 .
[0061] As described above, the image storage device 100 and the image display device 200 may be connected via a wired or wireless network. The wired or wireless network may include one or more media, devices, or lines capable of transmitting encoded image data from the image storage device 100 to the image display device.
[0062] In some embodiments, the wired network or wireless network may include one or more communication media that may enable the image storage device 100 to transmit the encoded image data directly to the image display device 200 in real time. In this embodiment, the image storage device 100 may modulate the encoded image data according to a communication standard (e.g., a wireless communication protocol) and transmit the modulated encoded image data to the image display device 200. The one or more communication media may include wireless and / or wired communication media, such as a radio frequency (RF) spectrum or one or more physical transmission lines.
[0063] Alternatively, the one or more communication media may form part of a packet-based network, such as a local area network, a wide area network, or a global network (such as the Internet).
[0064] Optionally, the one or more communication media may also include a router, a switch, a base station, or other devices that facilitate communication from the image storage apparatus 100 to the image display device 200 .
[0065] Optionally, the one or more physical transmission lines may include any one of the following: a video graphics array (VGA) / D-Sub interface line, a digital visual interface (DVI) line (such as DVI-A, DVI-D, DVI-I, etc.), a high definition multimedia interface (HDMI) line, a display port (DP) line, a universal serial bus (USB) line, or a Thunderbolt / Thunderbolt interface line, etc.
[0066] The image display device 200 is used to display images.
[0067] In some embodiments, the image display device 200 is further configured to receive the encoded image data sent by the image storage device 100 and decode the encoded image data to obtain an image to be processed.
[0068] In some embodiments, the image display device 200 is further used to perform frame rate control-dithering processing on the image to be processed, obtain the display image and display it. Figure 10 The image processing method is described in detail and will not be repeated here.
[0069] The image display device 200 may be a display device having an image display function, such as an LED / LCD display, an LED / LCD TV, a mobile phone, a notebook computer, an all-in-one computer, or a tablet computer.
[0070] It should be noted that Figure 8 While the image storage device 100 and the image display device 200 are shown as two independent devices, the image storage device 100 and the image display device 200 can be combined into a single device. That is, the image storage device 100 or its corresponding functions and the image display device 200 or its corresponding functions can be integrated into the same device. For example, the aforementioned mobile phone, laptop computer, tablet computer, or all-in-one computer, etc., are not limited to this embodiment of the present application.
[0071] The image processing method provided in the embodiments of the present application may be executed by the image display device 200. As described above, the image display device 200 may be a display device having an image display function, such as an LED / LCD display, an LED / LCD TV, a mobile phone, a laptop computer, an all-in-one computer, or a tablet computer. The image display device 200 may also be an application (APP) installed in the display device that provides image processing functions; or, the image display device 200 may also be a central processing unit (CPU) in the display device; or, the image display device 200 may also be a functional module in the display device for executing the image processing method. The embodiments of the present application are not limited to this.
[0072] Figure 9 This is a schematic diagram of the composition of the image display device provided in the embodiment of the present application. Figure 9 As shown, the image display device may include: a processor 10 , a memory 20 , a communication line 30 , a communication interface 40 , and an input / output interface 50 .
[0073] The processor 10 , the memory 20 , the communication interface 40 , and the input / output interface 50 may be connected via a communication line 30 .
[0074] The processor 10 is used to execute the instructions stored in the memory 20 to implement the image processing method provided in the following embodiments of the present application. The processor 10 can be a CPU, a general-purpose processor network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller (MCU) / single chip microcomputer / single chip microcomputer, a programmable logic device (PLD) or any combination thereof. The processor 10 can also be any other device with processing functions, such as a circuit, a device or a software module, which is not limited in the embodiments of the present application. In one example, the processor 10 may include one or more CPUs, such as Figure 9 As an optional implementation, the image display device may include multiple processors, for example, in addition to the processor 10, it may also include a processor 60 ( Figure 9 The dashed line is used as an example.
[0075] The memory 20 is used to store instructions. For example, the instruction may be a computer program. Optionally, the memory 20 may be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, etc., and the embodiments of the present application are not limited thereto.
[0076] It should be noted that the memory 20 may exist independently of the processor 10 or may be integrated with the processor 10. The memory 20 may be located inside the image display device or outside the image display device, which is not limited in the embodiment of the present application.
[0077] The communication line 30 is used to transmit information between the various components included in the computing and processing device.
[0078] Communication interface 40 is used to communicate with other devices (e.g., the image storage device 100) or other communication networks. Such other communication networks may be Ethernet, radio access networks (RAN), wireless local area networks (WLAN), etc. Communication interface 40 may be a module, circuit, transceiver, or any other device capable of communication.
[0079] Exemplarily, the communication interface 40 may be any one of the above-mentioned VGA interface, DVI interface, HDMI interface, DP interface, USB interface, or Thunderbolt interface.
[0080] The input / output interface 50 is used to implement human-computer interaction between the user and the computing device, such as action interaction, text interaction, or voice interaction.
[0081] For example, the input / output interface 50 may be a keyboard, a mouse, etc. Action interaction or text interaction between the user and the image display device may be achieved through the keyboard, the mouse, etc.
[0082] It should be noted that Figure 9The structure shown in the figure does not constitute a limitation on the image display device, except Figure 9 In addition to the components shown, the image display device may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components.
[0083] The image processing method provided in the embodiments of the present application is described below with reference to the accompanying drawings.
[0084] Figure 10 Schematic diagram of the flow of the image processing method provided in the embodiment of the present application. Optionally, the method can be performed by Figure 9 The image display device of the hardware structure shown is executed. Figure 10 As shown, the method may include S101 to S103.
[0085] S101: An image display device obtains one or more frames of images to be processed.
[0086] The color depth of the image to be processed is greater than the color depth of the image display device. Figure 8 The image processing system shown in FIG. 1 is described above and will not be described again here.
[0087] S102 : The image display device divides each frame of the image to be processed into a plurality of image blocks according to the size of a preset random template.
[0088] Based on the above description of frame rate control and dithering, the random template here can be understood as a matrix with M rows and M columns, where M is a positive integer. The image block size is M pixels × M pixels. For a frame of image to be processed with a size of A × B, the frame of image to be processed can be segmented into (A / M) × (B / M) image blocks. The random template can be pre-set in the image display device, for example, in a memory of the image display device.
[0089] For example, taking a random template that is a matrix of 8 rows of elements × 8 columns of elements as an example, assuming that a frame of an image to be processed with a size of 88 pixels × 64 pixels is segmented, a total of (88 / 8) × (64 / 8) = 88 image blocks can be segmented, and the size of each image block is 8 pixels × 8 pixels.
[0090] S103 . For each image block of each frame of the image to be processed, the image display device randomly selects one or more random templates to perform dithering processing on each image block to obtain an image to be displayed corresponding to each frame of the image to be processed, so that the image display device displays the image to be displayed.
[0091] Based on the above introduction to frame rate control - dithering, dithering can be understood as the process of transforming the pixel values in the image block according to the relationship between the binary value of the fractional part of the pixel value in the image block and the binary value of the element in the random template. The specific implementation of dithering the image block using the random template can refer to the above Figure 4 and Figure 5 It has been described in detail and will not be repeated here.
[0092] In some possible embodiments, after S102 , the method may further include: the image display device acquiring the position coordinates of each image block in the image to be processed.
[0093] For example, the image display device may obtain the horizontal and vertical coordinates of each image block in the image to be processed.
[0094] In one possible implementation, when the position coordinates of each image block in the image to be processed are obtained as described above, for the first image block among multiple image blocks, the above S103 may specifically include: the image display device generates a random index of the first image block according to the position of the first image block; the image display device selects one or more random templates according to the random index of the first image block; the image display device uses one or more random templates to perform dithering processing on the first image block to obtain an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
[0095] The first image block may be any one of the above-mentioned multiple image blocks.
[0096] Alternatively, the image display device may use the random index of the first image block as an access address of the memory to select one or more random templates. Alternatively, the image display device may use a pseudo-random binary sequence (PRBS) generator to generate a random number, and generate a random index based on the random number and the coordinates of each image block.
[0097] In another possible implementation, after obtaining the position coordinates of each image block in the image to be processed, the image display device may further group the multiple image blocks of each frame to obtain multiple groups of image blocks, each group of image blocks may include N image blocks, where N is an integer greater than or equal to 1; the image display device may further interchange the positions of any two groups of image blocks to obtain the interleaved position coordinates of each image block after the position coordinates of each image block are interchanged. In this case, for the first image block among the multiple image blocks, the above S103 may specifically include: the image display device generates a random index of the first image block based on the interleaved position of the first image block; the image display device selects one or more random templates based on the random index of the first image block; the image display device performs dithering processing on the first image block using the one or more random templates to obtain an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
[0098] For example, for an image to be processed that is divided into 8 rows and 11 columns, totaling 88 image blocks, the image display device can divide each row of the image to be processed into a group, each group of image blocks includes 11 image blocks, and the image display device can sequentially interchange the position coordinates of the image blocks in the odd rows with the image blocks in the even rows to obtain the staggered position coordinates of each image block. Alternatively, the image display device can also divide each column of the image to be processed into a group, each group of image blocks includes 8 image blocks, and the image display device can sequentially interchange the position coordinates of the image blocks in the odd columns with the image blocks in the even columns to obtain the staggered position coordinates of each image block. The embodiments of the present application do not limit the specific rules for grouping.
[0099] It should be noted that the two possible implementations described above use the first image block among multiple image blocks of a frame of image to be processed. Image blocks other than the first image block in the multiple image blocks of the frame of image to be processed can also be dithered according to the steps for the first image block to obtain processed image blocks. Other frames of image to be processed can also be dithered according to the steps for the frame of image to be processed to obtain the corresponding image to be displayed for each frame of image to be processed.
[0100] It should be understood that by exchanging the position coordinates of any two groups of image blocks, the interleaved position coordinates of the obtained image blocks are more random, and the random template selected by generating random indexes based on the interleaved position coordinates is less likely to produce regular textures after dithering the processed image.
[0101] In another possible implementation, each image block may include a red (red, R) component, a green (green, G) component, and a blue (blue, B) component. The three components of each image block may also correspond to different random templates. In this case, for the first image block among the multiple image blocks, the above S103 may specifically include: randomly selecting a first random template to perform dithering processing on the R component of the first image block, randomly selecting a second random template to perform dithering processing on the G component of the first image block, and randomly selecting a third random template to perform dithering processing on the B component of the first image block, to obtain an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
[0102] Any two of the first random template, the second random template, and the third random template may be the same or different, which is not limited in this embodiment of the present application.
[0103] For example, Figure 11 This is a schematic diagram of the relationship between the 8×8 random templates provided in the embodiment of this application. Figure 11 As shown, taking the size of the image to be processed as 88×64 as an example, assuming that the image display device uses an 8×8 random template to perform dithering processing on the image to be processed, the image display device can divide the image to be processed into 8 rows and 11 columns, totaling 88 image blocks. Then, for an image block at any position in the 88 image blocks, the random template corresponding to the image block at that position in different frames of the image to be processed is randomly selected, that is, there is no correlation between the random templates corresponding to the image blocks at that position in different frames of the image to be processed. At the same time, for a frame of the image to be processed, the random templates corresponding to adjacent image blocks in the image are also randomly selected, that is, there is no correlation between the random templates corresponding to adjacent image blocks in the same frame of the image to be processed.
[0104] Optionally, after the image display device obtains the image to be displayed corresponding to each frame of the image to be processed in S103, it may further display the image to be displayed.
[0105] For example, Figure 12 This is a schematic diagram of a jitter texture based on an 8×8 random template provided in an embodiment of the present application. Figure 11 As shown in the figure, taking the 8×8 random template to be processed as an example, the image to be displayed after processing is the same as the above Figure 6 and Figure 7 Compared with the jitter texture of the jitter template shown, the texture is irregular, randomized, and uniformed, and the continuous display of the image to be displayed processed by the random jitter template will not cause the screen flashing phenomenon of light and dark changes.
[0106] In the image processing method provided by the embodiment of the present application, for each image block of each frame of the image to be processed, the image display device can randomly select one or more random templates to perform dithering processing on the image block, thereby obtaining the image to be displayed corresponding to each frame of the image to be processed. The random templates corresponding to the various image blocks in a frame of the image to be displayed are independent of each other, that is, the random templates have no periodicity or regularity in space, and the random templates corresponding to the image blocks at a certain fixed position within the frame period are also independent of each other at a certain frame interval, that is, the random templates have no periodicity or regularity in time. The texture of the image to be displayed obtained after the frame rate control-dithering processing of the image to be processed using a random template that has no regularity in space and time also has no regularity. While making the grayscale transition smoother and softer, it can also avoid the screen flickering phenomenon of periodic light and dark changes in the image displayed by the image display device.
[0107] In some possible embodiments, before S101 , the method may further include: the image display device acquires a random template.
[0108] In a possible implementation, the image display device may receive a random template input by a manager.
[0109] As described above, the image display device may include an input / output interface. In this case, the image display device may receive the random template input by the administrator through the input / output interface.
[0110] For example, the image display device can display a random template editing interface, which can include M×M blank boxes to be input. The image display device can receive numbers entered by the administrator in the M×M blank boxes to be input through the keyboard or mouse as a random template.
[0111] In another possible implementation, the image display device may first obtain an original template, divide the elements in the original template into multiple groups, and rotate the multiple groups of elements by preset angles to obtain a random template.
[0112] Each group of elements includes one or more elements in the original template.
[0113] For example, when the elements in the original template are divided into four groups, the preset angle can be an integer multiple of 90° (e.g., 90°, 180°, 270°, -90°, -180°, or -270°). The specific value of the preset angle in the embodiment of the present application is not limited.
[0114] Optionally, the above-mentioned image display device divides the elements in the original template into multiple groups, and rotates the multiple groups of elements by a preset angle to obtain a random template, which may specifically include: the image display device divides the elements in the original template into multiple first-level template blocks; the image display device rotates the multiple first-level template blocks by a preset angle to obtain a random template.
[0115] Each first-level template block includes one or more elements in the original template.
[0116] Optionally, the preset angle may include a first preset angle and a second preset angle, and the first preset angle may be the same as or different from the second preset angle. In this case, the image display device divides the elements in the original template into multiple groups and rotates the multiple groups of elements by a preset angle to obtain a random template. This may specifically include: the image display device divides the elements in the original template into multiple primary template blocks; the image display device rotates the multiple primary template blocks by a first preset angle to obtain a primary random template; the image display device divides each primary template block in the primary random template into multiple secondary template blocks; and the image display device rotates the multiple secondary template blocks divided from each primary template block by a second preset angle to obtain a random template.
[0117] Each primary template block includes multiple elements in the original template, and each secondary template block includes one or more elements in the original template.
[0118] Similarly, the image display device may further divide the secondary template block into tertiary template blocks and quaternary template blocks, and rotate the tertiary template blocks and quaternary template blocks to obtain random templates.
[0119] For example, Figure 13 This is a schematic diagram of the rotation of the original template provided in the embodiment of the present application. Figure 13 As shown, taking the size of the original template as 8 elements × 8 elements as an example, the image display device can first divide the 8-element × 8-element original template into four 4-element × 4-element primary template blocks, and rotate the four primary template blocks clockwise or counterclockwise ( Figure 13The image display device may further divide each of the four first-level template blocks into four 2-element × 2-element second-level template blocks, and rotate the second-level template blocks in each first-level template block clockwise or counterclockwise by β°. Finally, the image display device may further divide each second-level template block into four 1-element × 1-element tertiary template blocks, and rotate the third-level template blocks in each second-level template block clockwise or counterclockwise by γ° to obtain a random template. Optionally, as described above, the image display device may include an input and output interface. In this case, the image display device may receive a rotation instruction from the administrator through the input and output interface, rotate the elements in the original template by a preset angle, and obtain a random template.
[0120] For example, taking the above-mentioned random template editing interface as an example, the template obtained by the image display device after receiving the numbers entered by the administrator in M×M blank boxes to be entered through the keyboard or mouse can be called the original template, and the box boundary line in the original template may include a rotation control; the image display device can also receive the administrator's dragging operation on the rotation control through the mouse, and in response to the dragging operation, rotate the elements in the original template to obtain a random template.
[0121] It should be understood that the image processing method provided in the embodiment of the present application obtains the original template and randomly rotates the elements in the original template to obtain a variety of different random templates, thereby improving the randomness of dithering the image to be processed using the random template. The texture of the image to be displayed obtained after dithering the image to be processed according to the highly random random template is more irregular.
[0122] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. It should be easy to realize that the technical goals in this field are combined with the units and algorithm steps of each example described in the embodiments disclosed herein, and the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technical goals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0123] In an exemplary embodiment, the present application further provides an image processing device, which can be applied to the above-mentioned image display device 200 . Figure 14 This is a schematic diagram of the composition of the image processing device provided in the embodiment of the present application. Figure 14 As shown, the device may include an acquisition module 1401 and a processing module 1402.
[0124] The acquisition module 1401 is configured to acquire one or more frames of an image to be processed; the color depth of the image to be processed is greater than the color depth of the image display device.
[0125] The processing module 1402 is used to divide each frame of the image to be processed into multiple image blocks according to the size of a preset random template; the random template is a matrix with M rows and M columns of elements, where M is a positive integer; the size of the image block is M pixels × M pixels; for each image block of each frame of the image to be processed, one or more random templates are randomly selected to perform dithering processing on each image block to obtain the image to be displayed corresponding to each frame of the image to be processed, so that the image display device displays the image to be displayed; dithering processing refers to transforming the pixel value in the image block according to the size relationship between the binary value of the decimal part of the pixel value in the image block and the binary value of the element in the random template.
[0126] In some possible embodiments, the acquisition module 1401 is further used to obtain the position coordinates of each image block in the image to be processed after the processing module 1402 divides each frame of the image to be processed into multiple image blocks according to the size of a preset random template. The processing module 1402 is further used to group the multiple image blocks of each frame to obtain multiple groups of image blocks, each group of image blocks may include N image blocks, N is an integer greater than or equal to 1; and interchange the position coordinates of any two groups of image blocks to obtain the staggered position coordinates of each image block. For the first image block among the multiple image blocks, the processing module 1402 is further specifically used to generate a random index of the first image block based on the staggered position coordinates of the first image block; select one or more random templates based on the random index of the first image block; and perform dithering processing on the first image block using the one or more random templates to obtain an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
[0127] In some further possible embodiments, each of the multiple image blocks includes a red R component, a green G component, and a blue B component. For a first image block among the multiple image blocks, the processing module 1402 is specifically configured to randomly select a first random template to perform dithering processing on the R component of the first image block, randomly select a second random template to perform dithering processing on the G component of the first image block, and randomly select a third random template to perform dithering processing on the B component of the first image block, thereby obtaining an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed in which the first image block is located.
[0128] In some other possible embodiments, the acquisition module 1401 is further configured to acquire an original template before acquiring one or more frames of images to be processed. The processing module 1402 is further configured to rotate elements in the original template by a preset angle to obtain a random template; the preset angle is an integer multiple of 90 degrees.
[0129] In some other possible embodiments, the processing module 1402 is specifically configured to divide the elements in the original template into four primary template blocks; and rotate the four primary template blocks by a preset angle to obtain a random template.
[0130] In some other possible embodiments, the preset angle includes a first preset angle and a second preset angle; the processing module 1402 is specifically used to divide the elements in the original template into 4 first-level template blocks; rotate the 4 first-level template blocks by the first preset angle to obtain a first-level random template; divide each first-level template block in the first-level random template into 4 second-level template blocks; rotate the 4 second-level template blocks divided from each first-level template block by the second preset angle to obtain a random template.
[0131] It should be noted that Figure 14 The module division described is illustrative and represents only one logical functional division. Actual implementations may employ different divisions. For example, two or more functions may be integrated into a single processing module. These integrated modules may be implemented as either hardware or software functional modules.
[0132] In an exemplary embodiment, the present application also provides a readable storage medium including software instructions, which, when executed on an image display device, enables the image display device to execute any one of the methods provided in the above embodiments.
[0133] In an exemplary embodiment, the present application also provides a computer program product including computer-executable instructions, which, when executed on an image display device, enables the image display device to execute any one of the methods provided in the above embodiments.
[0134] In an exemplary embodiment, the embodiment of the present application also provides a chip, including: a processor and an interface, the processor is coupled to the memory through the interface, when the processor executes the computer program in the memory or the image display device executes instructions, any one of the methods provided in the above embodiments is executed.
[0135] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer-executable instructions. When the computer-executable instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer-executable instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer-executable instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0136] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple components. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0137] Although the present application has been described with reference to specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely illustrative of the present application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, the present application is intended to include such modifications and variations as fall within the scope of the claims of the present application and their equivalents.
[0138] The above is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. An image processing method, characterized in that: The method is applied to an image display device; the method comprises: Acquire one or more frames of images to be processed; the color depth of the images to be processed is greater than the color depth of the image display device; Each frame of the image to be processed is divided into a plurality of image blocks according to a preset random template size; the random template is a matrix of M rows and M columns, where M is a positive integer; and the size of the image block is M pixels × M pixels; For each image block of each frame of the image to be processed, randomly selecting one or more random templates to perform dithering processing on each image block to obtain an image to be displayed corresponding to each frame of the image to be processed, so that the image display device displays the image to be displayed; the dithering processing refers to transforming the pixel values in the image block according to the relationship between the binary value of the decimal part of the pixel value in the image block and the binary value of the element in the random template; Wherein, for a first image block among the multiple image blocks, randomly selecting one or more random templates to perform dithering processing on each image block of each frame of the image to be processed, to obtain an image to be displayed corresponding to each frame of the image to be processed, includes: generating a random index of the first image block according to the interleaved position coordinates of the first image block; the interleaved position coordinates are obtained by grouping the plurality of image blocks and then exchanging the position coordinates of any two groups of image blocks; Select one or more random templates according to the random index of the first image block; the random index corresponds to the random template one by one; The first image block is subjected to dithering processing by using one or more of the random templates to obtain an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed in which the first image block is located.
2. The method according to claim 1, characterized in that The method further comprises: After dividing each frame of the image to be processed into a plurality of image blocks according to the size of the preset random template, obtaining the position coordinates of each image block in the image to be processed; Grouping multiple image blocks of each frame to obtain multiple groups of image blocks, each group of image blocks includes N image blocks, where N is an integer greater than or equal to 1; The position coordinates of any two groups of image blocks are exchanged to obtain the interleaved position coordinates of each image block after the position coordinates of the image blocks are exchanged.
3. The method according to claim 1, characterized in that Each image block among the plurality of image blocks includes a red R component, a green G component, and a blue B component; for a first image block among the plurality of image blocks, randomly selecting one or more random templates to perform dithering processing on each image block of each frame of the image to be processed, to obtain an image to be displayed corresponding to each frame of the image to be processed, including: A first random template is randomly selected to perform dithering processing on the R component of the first image block, a second random template is randomly selected to perform dithering processing on the G component of the first image block, and a third random template is randomly selected to perform dithering processing on the B component of the first image block, to obtain an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Before obtaining one or more frames of images to be processed, obtaining an original template; The elements in the original template are divided into multiple groups, and the multiple groups of elements are rotated by a preset angle to obtain the random template; each group of elements includes one or more elements in the original template.
5. The method according to claim 4, characterized in that The step of dividing the elements in the original template into multiple groups and rotating the multiple groups of elements by a preset angle to obtain the random template includes: Dividing the elements in the original template into a plurality of first-level template blocks; each first-level template block includes one or more elements in the original template; The multiple primary template blocks are rotated by a preset angle to obtain the random template.
6. The method according to claim 4, characterized in that The preset angles include a first preset angle and a second preset angle, and the steps of dividing the elements in the original template into multiple groups and rotating the multiple groups of elements by the preset angles to obtain the random template include: Dividing the elements in the original template into a plurality of first-level template blocks; each first-level template block includes a plurality of elements in the original template; Rotating the plurality of primary template blocks by the first preset angle to obtain a primary random template; Splitting each primary template block in the primary random template into a plurality of secondary template blocks; each secondary template block includes one or more elements in the original template; The plurality of secondary template blocks divided from each primary template block are rotated by the second preset angle to obtain the random template.
7. An image processing device, characterized in that The image processing device is applied to an image display device, and the device comprises: an acquisition module and a processing module; The acquisition module is used to acquire one or more frames of images to be processed; the color depth of the images to be processed is greater than the color depth of the image display device; The processing module is configured to divide each frame of the image to be processed into a plurality of image blocks according to a size of a preset random template; the random template is a matrix of M rows and M columns, where M is a positive integer; and the size of the image block is M pixels × M pixels; for each image block of each frame of the image to be processed, randomly select one or more of the random templates to perform dithering processing on each image block to obtain an image to be displayed corresponding to each frame of the image to be processed, so that the image display device displays the image to be displayed; the dithering processing refers to transforming the pixel values in the image block according to the relationship between the binary value of the decimal part of the pixel value in the image block and the binary value of the element in the random template; Among them, for the first image block among the multiple image blocks, the processing module is specifically used to generate a random index of the first image block based on the staggered position coordinates of the first image block; the staggered position coordinates are obtained by grouping the multiple image blocks and exchanging the position coordinates of any two groups of image blocks; one or more random templates are selected according to the random index of the first image block; the random index corresponds one-to-one to the random template; and the first image block is jittered using one or more random templates to obtain an image block corresponding to the first image block in the image to be displayed corresponding to the image to be processed where the first image block is located.
8. The device according to claim 7, characterized in that The acquisition module is further configured to obtain the position coordinates of each image block in the image to be processed after the processing module divides each frame of the image to be processed into multiple image blocks according to the size of the preset random template; the processing module is further configured to group the multiple image blocks of each frame to obtain multiple groups of image blocks, each group of image blocks including N image blocks, where N is an integer greater than or equal to 1; and interchange the positions of any two groups of image blocks to obtain interleaved position coordinates of each image block obtained after the position coordinates of the image blocks are interchanged. Each image block among the multiple image blocks includes a red R component, a green G component, and a blue B component; for a first image block among the multiple image blocks, the processing module is specifically configured to randomly select a first random template to perform dithering processing on the R component of the first image block, randomly select a second random template to perform dithering processing on the G component of the first image block, and randomly select a third random template to perform dithering processing on the B component of the first image block, to obtain an image block corresponding to the first image block in an image to be displayed corresponding to the image to be processed where the first image block is located; The acquisition module is further configured to acquire an original template before acquiring one or more frames of images to be processed; the processing module is further configured to divide the elements in the original template into multiple groups, and rotate the multiple groups of elements by a preset angle to obtain the random template; each group of elements includes one or more elements in the original template; The processing module is specifically configured to divide the elements in the original template into a plurality of first-level template blocks; each first-level template block includes one or more elements in the original template; and rotate the plurality of first-level template blocks by a preset angle to obtain the random template; The preset angles include a first preset angle and a second preset angle; the processing module is specifically used to divide the elements in the original template into multiple first-level template blocks; each first-level template block includes multiple elements in the original template; the multiple first-level template blocks are rotated by the first preset angle to obtain a first-level random template; each first-level template block in the first-level random template is divided into multiple second-level template blocks; each second-level template block includes one or more elements in the original template; the multiple second-level template blocks divided from each first-level template block are rotated by the second preset angle to obtain the random template.
9. An image display device, characterized in that: The device includes: a processor and a memory; The memory stores instructions executable by the processor; When the processor is configured to execute the instructions, the image display device implements the method according to any one of claims 1 to 6.
10. A readable storage medium, characterized in that: The readable storage medium includes: software instructions; When the software instructions are executed in an image display device, the image display device is enabled to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Display control method, device and system
CN112614456A
Display control method, device and system
CN112614457A