Image display method, image display device, and computer readable storage medium
Through the pseudo-random number dithering method and error diffusion template, the problem of artificial texture in digital halftone technology is solved, the accuracy and continuity of image display are improved, and the LED display effect is significantly improved.
Patent Information
- Application Number
- CN202210268066.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-17
AI Technical Summary
Existing digital halftone technology easily produces artificial textures in image display, resulting in poor display effects.
The pseudo-random number dithering method is used to replace the ordered dither template. By obtaining the dynamic range that can be displayed on the display screen, compressing the grayscale histogram of the target image, using a pseudo-random number generation algorithm to generate the dither value, and adjusting the display of pixels based on the dither value. Gray value, combined with the error diffusion template, adjusts the display gray value of neighboring pixels.
It effectively reduces the generation of artificial textures and improves the accuracy and continuity of image display. Especially in LED display, it reduces flickering and significantly improves the display effect.
Smart Images

Figure CN114845093B
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an image display method, an image display device, and a computer-readable storage medium. Background Art
[0002] With the development of science and technology, we have entered an era of information explosion, especially image and video data. Due to its intuitiveness in transmitting and expressing information, its application scope is becoming wider and wider. Among them, the development of LED (Light-Emitting Diode) display technology, a medium for information display, has been applied to various fields due to its advantages such as low cost, low power consumption, high visibility and freedom of assembly.
[0003] Digital halftone technology is a method to improve the display accuracy of display devices. It uses the human eye's characteristic of viewing close parts as a whole to enable low dynamic range display devices to present more gray levels when displaying. As a type of digital halftone, the time domain dithering method uses the human eye's visual persistence characteristics to improve the display accuracy of the display through flickering. It is widely used because it is simple to implement and has significant effects.
[0004] However, current digital halftone technology generally uses an ordered dithering template, which easily produces artificial textures and results in poor image display effects. Summary of the invention
[0005] The present application provides an image display method, an image display device, and a computer-readable storage medium.
[0006] The present application provides an image display method, the image display method comprising:
[0007] Get the dynamic range that the display can display;
[0008] Compressing the grayscale histogram of the target image to the dynamic range, and determining the compressed grayscale values of the pixels of the target image according to a preset accuracy;
[0009] Convert the gray value of the current pixel after the preset precision into a dither value;
[0010] Generate a pseudo-random number using a pseudo-random number generation algorithm;
[0011] Determine whether the jitter value of the current pixel is greater than or equal to the pseudo-random number;
[0012] If not, using the compressed grayscale value as the display grayscale value of the current pixel;
[0013] If yes, the compressed grayscale value plus 1 is used as the display grayscale value of the current pixel;
[0014] After traversing all the pixels of the target image and determining the display grayscale values of all the pixels, the target image is displayed on the display screen according to the display grayscale values.
[0015] The value range of the pseudo-random number is determined by the number of bits of data with a preset precision of the current pixel point;
[0016] The pseudo-random number generation algorithm is a linear congruential method or a Matset rotation algorithm.
[0017] Wherein, the image display method further comprises:
[0018] Obtaining the error between the displayed grayscale value and the compressed grayscale value of the current pixel;
[0019] The preset error diffusion template and the error are used to adjust the displayed grayscale value of the neighboring pixel points of the current pixel point.
[0020] The preset error diffusion template is one or more of a Basic error diffusion template, a Floyd-Steinberg error diffusion template, and a Sierra error diffusion template.
[0021] Wherein, the image display method further comprises:
[0022] Acquire first grayscale data of the target image;
[0023] Converting the first grayscale data into second grayscale data by inverse gamma transformation, wherein the number of data bits of the second grayscale data is greater than the number of data bits of the first grayscale data;
[0024] A grayscale histogram is established based on the second grayscale data of the target image.
[0025] Wherein, after the grayscale histogram is established based on the second grayscale data of the target image, the image display method further includes:
[0026] Obtaining a dynamic range of the grayscale histogram;
[0027] Expanding the dynamic range to generate a new grayscale histogram;
[0028] The dynamic range of the new grayscale histogram is greater than the dynamic range that can be displayed by the display screen.
[0029] The step of expanding the dynamic range to generate a new grayscale histogram includes:
[0030] Dividing the grayscale histogram into a plurality of parts to obtain a plurality of grayscale histogram subgraphs and area ratios of the plurality of grayscale histogram subgraphs;
[0031] When the dynamic range of the grayscale histogram is expanded, a new grayscale histogram subgraph is determined based on the dynamic range of the new grayscale histogram and the area ratio, thereby obtaining the new grayscale histogram.
[0032] The present application also provides an image display device, which includes an acquisition module, a compression module, a conversion module, a dithering module and a display module; wherein:
[0033] The acquisition module is used to acquire the dynamic range that can be displayed by the display screen;
[0034] The compression module is used to compress the grayscale histogram of the target image to the dynamic range, and determine the compressed grayscale value of the pixel point of the target image according to a preset accuracy;
[0035] The conversion module is used to convert the gray value of the current pixel point after the preset accuracy into a dithering value;
[0036] The jitter module is used to generate a pseudo-random number using a pseudo-random number generation algorithm; determine whether the jitter value of the current pixel is greater than or equal to the pseudo-random number; if not, use the compressed gray value as the display gray value of the current pixel; if so, use the value of the compressed gray value plus 1 as the display gray value of the current pixel;
[0037] The display module is used to traverse all pixel points of the target image, determine the display grayscale values of all pixel points, and then display the target image on the display screen according to the display grayscale values.
[0038] The present application also provides another image display device, which includes a processor and a memory, wherein program data is stored in the memory, and the processor is used to execute the program data to implement the above-mentioned image display method.
[0039] The present application also provides a computer-readable storage medium, which is used to store program data. When the program data is executed by a processor, it is used to implement the above-mentioned image display method.
[0040] The beneficial effects of the present application are: the image display device obtains the dynamic range that can be displayed by the display screen; compresses the grayscale histogram of the target image to the dynamic range, and determines the compressed grayscale value of the pixel points of the target image according to the preset accuracy; converts the grayscale value of the current pixel point after the preset accuracy into a jitter value; generates a pseudo-random number using a pseudo-random number generation algorithm; determines whether the jitter value of the current pixel point is greater than or equal to the pseudo-random number; if not, uses the compressed grayscale value as the display grayscale value of the current pixel point; if so, uses the value of the compressed grayscale value plus 1 as the display grayscale value of the current pixel point; after determining the display grayscale values of all pixels, the target image is displayed on the display screen according to the display grayscale value. In the above manner, the image display method uses the pseudo-random number jitter method to replace the ordered jitter template, which effectively reduces the generation of artificial textures. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0042] Figure 1 It is a flowchart of an embodiment of an image display method provided by the present application;
[0043] Figure 2 is a flow chart of another embodiment of the image display method provided by the present application;
[0044] Figure 3 is a schematic diagram of dynamic range expansion provided by the present application;
[0045] Figure 4 is a structural schematic diagram of an embodiment of an image display device provided by the present application;
[0046] Figure 5 This is a structural schematic diagram of another embodiment of the image display device provided by the present application.
[0047] Figure 6 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] See also Figure 1 , Figure 1 It is a flowchart of an embodiment of an image display method provided by the present application.
[0050] The image display method of the present application is applied to an image display device, wherein the image display device of the present application can be a server, or a system composed of a server and a terminal device. Accordingly, the various parts of the image display device, such as various units, subunits, modules, and submodules, can all be set in the server, or can be set in the server and the terminal device respectively.
[0051] Furthermore, the above-mentioned server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules, such as software or software modules used to provide distributed servers, or it can be implemented as a single software or software module, which is not specifically limited here. In some possible implementations, the image display method of the embodiment of the present application can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0052] Specifically, if Figure 1 As shown, the image display method of the embodiment of the present application specifically includes the following steps:
[0053] Step S11: Obtain the dynamic range that can be displayed by the display screen.
[0054] In the embodiment of the present application, the image display device obtains the display accuracy of the display screen for displaying the image. The display accuracy of the display screen is generally set to multiple, and the user can set the required accuracy in the display screen in advance, or directly use the preset accuracy of the display screen to display the image.
[0055] Step S12: compressing the grayscale histogram of the target image to a dynamic range, and determining the compressed grayscale values of the pixels of the target image according to a preset accuracy.
[0056] In the embodiment of the present application, the image display device obtains the target image and establishes a grayscale histogram of the target image. The grayscale histogram is a function of grayscale distribution, which is a statistic of grayscale distribution in the image. The grayscale histogram is a statistical frequency of occurrence of all pixels in the digital image according to the size of the grayscale value.
[0057] The image display device compresses the grayscale histogram of the target image proportionally to the dynamic range that can be displayed by the display screen, and retains p-bit precision. The p-bit precision can be set in advance by the user, or the display precision preset by the display screen can be used. The display precision preset by the display screen is determined by the preset dynamic range. The image display device retains the grayscale value with p-bit precision as the compressed grayscale value of the pixel point.
[0058] Step S13: converting the gray value of the current pixel after preset accuracy into a dithering value.
[0059] In an embodiment of the present application, the image display device uses the first p bits of precision in the grayscale data of the pixel point after the grayscale histogram is compressed as the compressed grayscale value of the pixel point, and uses the remaining bits that cannot be displayed with the remaining precision as dithering bits, that is, the grayscale value after the preset precision, and converts it into a decimal number s as the dithering value s.
[0060] Step S14: Generate a pseudo-random number using a pseudo-random number generation algorithm.
[0061] In the embodiment of the present application, the image display device performs time domain dithering processing on the compressed pixels.
[0062] Specifically, the image display device generates a pseudo-random number q through a preset pseudo-random generation algorithm, wherein the value range of the pseudo-random number q is determined by the number of bits of data with a preset precision of the current pixel point. For example, if the number of bits of data with a preset precision is p bits, then the value range of the pseudo-random number q is (0, 2 p -1).
[0063] Among them, the pseudo-random number generation algorithm adopted in the embodiments of the present application includes but is not limited to the linear congruential method, the Matthey-Set rotation algorithm, etc.
[0064] Step S15: Determine whether the jitter value of the current pixel is greater than or equal to the pseudo-random number.
[0065] In the embodiment of the present application, the image display device compares the pseudo-random number q and the jitter value s. If the jitter value s is greater than or equal to the pseudo-random number q, the process proceeds to step 17; if the jitter value s is less than the pseudo-random number q, the process proceeds to step S16.
[0066] Step S16: Using the compressed grayscale value as the display grayscale value of the current pixel.
[0067] In the embodiment of the present application, when the jitter value s is less than the pseudo-random number q, the image display device directly outputs the data according to the minimum display accuracy of the compressed pixel points.
[0068] Step S17: The value obtained by adding 1 to the compressed grayscale value is used as the display grayscale value of the current pixel.
[0069] In the embodiment of the present application, when the jitter value s is greater than or equal to the pseudo-random number q, the image display device adds 1 to the minimum display accuracy when displaying the pixel and then outputs it.
[0070] Step S18: traverse all pixel points of the target image, determine the display grayscale values of all pixel points, and then display the target image on the display screen according to the display grayscale values.
[0071] In an embodiment of the present application, the image display device performs the processing logic of steps S14 to S17 on each pixel in the target image in order from top to bottom and from left to right until the output positions of all compressed pixels are obtained.
[0072] Finally, the image display device displays the image on the display screen according to the display grayscale value output by each pixel.
[0073] Furthermore, the image display device can further improve the continuity of image tone by diffusing the error between the compressed grayscale value and the displayed grayscale value in proportion to the neighboring pixels, so that the target image has a better performance when displayed on the LED.
[0074] Specifically, the image display device calculates the difference between the displayed grayscale value outputted in step S16 or step S17 and the compressed grayscale value retaining p-bit accuracy after compression, i.e., the error. Then, the image display device diffuses the error to the pixel positions of the corresponding neighborhood according to the proportion of the error diffusion template and accumulates it. Among them, the error diffusion template adopted in the embodiment of the present application can select the Basic error expansion template, the Floyd-Steinberg error diffusion template, and the Sierra error diffusion template. Each error diffusion template is introduced below:
[0075] Table 1 Basic error expansion template
[0076] X 3 3 2
[0077] Table 2 Floyd-Steinberg error diffusion template
[0078] X 7 3 5 1
[0079] Table 3 Sierra error diffusion template
[0080] X 7 5 3 5 7 5 3 1 3 5 3 1
[0081] In an embodiment of the present application, an image display device obtains a dynamic range that can be displayed by a display screen; compresses a grayscale histogram of a target image to the dynamic range, and determines a compressed grayscale value of a pixel of the target image according to a preset accuracy; converts a grayscale value of a current pixel after a preset accuracy into a jitter value; generates a pseudo-random number using a pseudo-random number generation algorithm; determines whether the jitter value of the current pixel is greater than or equal to the pseudo-random number; if not, uses the compressed grayscale value as the display grayscale value of the current pixel; if so, uses the compressed grayscale value plus 1 as the display grayscale value of the current pixel; after determining the display grayscale values of all pixels, the target image is displayed on the display screen according to the display grayscale value. Through the above method, the image display method adopts the pseudo-random number dithering method to replace the ordered dithering template, which effectively reduces the generation of artificial texture; when the picture is still, the pseudo-random number dithering method can better reduce the image flickering phenomenon, and the more p-bit precision is retained, the more obvious the advantage of this method compared with the ordered dithering, and the display accuracy can be improved while ensuring the image quality; at the same time, the continuity of the image tone is further improved by diffusing the error proportionally to the neighboring pixels, so that the image has a better performance when displayed on the LED.
[0082] Please continue reading Figure 2 , Figure 2 It is a flowchart of another embodiment of the image display method provided by the present application.
[0083] like Figure 2 As shown, in Figure 1 Prior to the image display method shown, the image display method provided by the present application further includes the following steps:
[0084] Step S21: Acquire first grayscale data of the target image.
[0085] In the embodiment of the present application, the image display device obtains m-bit grayscale data of the target image, namely, first grayscale data, wherein the first grayscale data is transmission data, which is data for transmission obtained by gamma transforming the original image data.
[0086] Step S22: converting the first grayscale data into second grayscale data by inverse gamma transformation, wherein the number of data bits of the second grayscale data is greater than the number of data bits of the first grayscale data.
[0087] In the embodiment of the present application, the image display device obtains linearized n-bit grayscale data, i.e., second grayscale data, by inverse gamma transformation of the first grayscale data of the target image. Where n is the display accuracy of the LED display screen, n>m. The formula of inverse gamma transformation is as follows:
[0088]
[0089] Among them, gamma is the grayscale coefficient, and each display device has its own gamma value; x is the grayscale value in the first grayscale data, and y is the grayscale value in the second grayscale data.
[0090] Step S23: establishing a grayscale histogram based on the second grayscale data of the target image.
[0091] In the embodiment of the present application, the image display device uses the n-bit grayscale data obtained in step S22 to establish a grayscale histogram, and divides the grayscale histogram into a number of grayscale histogram sub-graphs in an equidistant manner based on the head and tail of the grayscale histogram. Figure 3 , Figure 3 The grayscale histogram in is divided into 4 parts, that is, 4 grayscale histograms are obtained.
[0092] Step S24: Obtain the dynamic range of the grayscale histogram.
[0093] In the embodiment of the present application, the image display device obtains the dynamic range (0,2 n -1).
[0094] Step S25: Expand the dynamic range and generate a new grayscale histogram.
[0095] In the embodiment of the present application, the image display device converts the original dynamic range (0,2 n -1) to (0,2 l -1), that is, L gray levels. Where L = 2 l , and L>2 n .
[0096] Furthermore, the image display device obtains each new grayscale histogram through L grayscale levels and the area ratio of a plurality of grayscale histogram subgraphs, thereby balancing the grayscale histogram and re-establishing a new grayscale histogram such as Figure 3 shown.
[0097] Specifically, the principle of grayscale histogram equalization is to ensure that the area ratio between grayscale histogram subgraphs of several parts remains unchanged before and after the dynamic range is expanded.
[0098] In an embodiment of the present application, the image display device expands the dynamic range of the target image by performing an inverse gamma transform on the target image, and performs equalization processing in the grayscale histogram of each segment; at the same time, the steps of dynamic range expansion and segmented histogram equalization are added, so that the image retains more grayscale levels after inverse tone mapping, thereby increasing the details of the image.
[0099] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0100] In order to implement the image display method of the above embodiment, the present application also proposes an image display device, for details, please refer to Figure 4 , Figure 4 It is a structural schematic diagram of an embodiment of an image display device provided by the present application.
[0101] The image display device 300 of the embodiment of the present application includes an acquisition module 31 , a compression module 32 , a conversion module 33 , a dithering module 34 and a display module 35 .
[0102] The acquisition module 31 is used to acquire the dynamic range that can be displayed by the display screen.
[0103] The compression module 32 is used to compress the grayscale histogram of the target image to the dynamic range, and determine the compressed grayscale value of the pixel point of the target image according to a preset accuracy.
[0104] The conversion module 33 is used to convert the gray value of the current pixel after the preset accuracy into a dithering value.
[0105] The jitter module 34 is used to generate a pseudo-random number using a pseudo-random number generation algorithm; determine whether the jitter value of the current pixel is greater than or equal to the pseudo-random number; if not, use the compressed grayscale value as the display grayscale value of the current pixel; if so, use the compressed grayscale value plus 1 as the display grayscale value of the current pixel.
[0106] The display module 35 is used to traverse all the pixels of the target image, determine the display grayscale values of all the pixels, and then display the target image on the display screen according to the display grayscale values.
[0107] In order to implement the image display method of the above embodiment, the present application also proposes another image display device, for details, please refer to Figure 5 , Figure 5 It is a structural schematic diagram of another embodiment of the image display device provided by the present application.
[0108] The image display device 400 according to the embodiment of the present application includes a memory 41 and a processor 42 , wherein the memory 41 and the processor 42 are coupled.
[0109] The memory 41 is used to store program data, and the processor 42 is used to execute the program data to implement the image display method described in the above embodiment.
[0110] In this embodiment, the processor 42 may also be referred to as a CPU (Central Processing Unit). The processor 42 may be an integrated circuit chip having the ability to process signals. The processor 42 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor or the processor 42 may also be any conventional processor, etc.
[0111] To implement the image display method of the above embodiment, the present application also provides a computer-readable storage medium, such as Figure 6 As shown, the computer-readable storage medium 500 is used to store program data 51. When the program data 51 is executed by the processor, it is used to implement the image display method described in the above embodiment.
[0112] The present application also provides a computer program product, wherein the computer program product includes a computer program, and the computer program is operable to enable a computer to execute the image display method as described in the embodiment of the present application. The computer program product may be a software installation package.
[0113] The image display method described in the above embodiment of the present application, when implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a device, such as a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present invention. 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 code.
[0114] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An image display method, characterized in that: The image display method comprises: Get the dynamic range that the display can display; Compressing the grayscale histogram of the target image to the dynamic range, and determining the compressed grayscale values of the pixels of the target image according to a preset accuracy; Convert the gray value of the current pixel after the preset precision into a dither value; Generate a pseudo-random number using a pseudo-random number generation algorithm; Determine whether the jitter value of the current pixel is greater than or equal to the pseudo-random number; If not, using the compressed grayscale value as the display grayscale value of the current pixel; If yes, the compressed grayscale value plus 1 is used as the display grayscale value of the current pixel; Traversing all pixel points of the target image, determining display grayscale values of all pixel points, and then displaying the target image on the display screen according to the display grayscale values; The image display method further includes: Acquire first grayscale data of the target image; Converting the first grayscale data into second grayscale data by inverse gamma transformation, wherein the number of data bits of the second grayscale data is greater than the number of data bits of the first grayscale data; A grayscale histogram is established based on the second grayscale data of the target image.
2. The image display method according to claim 1, characterized in that: The value range of the pseudo-random number is determined by the number of data bits of the preset precision of the current pixel point; The pseudo-random number generation algorithm is a linear congruential method or a Matthey-Set rotation algorithm.
3. The image display method according to claim 1, characterized in that: The image display method further includes: Obtaining the error between the displayed grayscale value and the compressed grayscale value of the current pixel; The preset error diffusion template and the error are used to adjust the displayed grayscale value of the neighboring pixel points of the current pixel point.
4. The image display method according to claim 3, characterized in that: The preset error diffusion template is one or more of a Basic error diffusion template, a Floyd-Steinberg error diffusion template, and a Sierra error diffusion template.
5. The image display method according to claim 1, characterized in that: After the grayscale histogram is established based on the second grayscale data of the target image, the image display method further includes: Obtaining a dynamic range of the grayscale histogram; Expanding the dynamic range to generate a new grayscale histogram; The dynamic range of the new grayscale histogram is greater than the dynamic range that can be displayed by the display screen.
6. The image display method according to claim 5, characterized in that: The step of expanding the dynamic range to generate a new grayscale histogram includes: Dividing the grayscale histogram into a plurality of parts to obtain a plurality of grayscale histogram subgraphs and area ratios of the plurality of grayscale histogram subgraphs; When the dynamic range of the grayscale histogram is expanded, a new grayscale histogram subgraph is determined based on the dynamic range of the new grayscale histogram and the area ratio, thereby obtaining the new grayscale histogram.
7. An image display device, characterized in that: The image display device includes an acquisition module, a compression module, a conversion module, a dithering module and a display module; wherein, The acquisition module is used to acquire the dynamic range that can be displayed by the display screen; The compression module is used to compress the grayscale histogram of the target image to the dynamic range, and determine the compressed grayscale value of the pixel point of the target image according to a preset accuracy; The conversion module is used to convert the gray value of the current pixel point after the preset accuracy into a dithering value; The jitter module is used to generate a pseudo-random number using a pseudo-random number generation algorithm; determine whether the jitter value of the current pixel is greater than or equal to the pseudo-random number; if not, use the compressed gray value as the display gray value of the current pixel; if so, use the value of the compressed gray value plus 1 as the display gray value of the current pixel; The display module is used to traverse all pixels of the target image, determine the display grayscale values of all pixels, and then display the target image on the display screen according to the display grayscale values; The compression module is also used to obtain first grayscale data of the target image; convert the first grayscale data into second grayscale data through inverse gamma transformation, wherein the number of data bits of the second grayscale data is greater than the number of data bits of the first grayscale data; and establish a grayscale histogram based on the second grayscale data of the target image.
8. An image display device, characterized in that: The image display device comprises a processor and a memory, wherein program data is stored in the memory, and the processor is used to execute the program data to implement the image display method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program data, and when the program data is executed by a processor, it is used to implement the image display method according to any one of claims 1 to 6.
