CN114845093A - Image display method, image display apparatus, and computer-readable storage medium - Google Patents
Image display method, image display apparatus, and computer-readable storage medium Download PDFInfo
- Publication number
- CN114845093A CN114845093A CN202210268066.3A CN202210268066A CN114845093A CN 114845093 A CN114845093 A CN 114845093A CN 202210268066 A CN202210268066 A CN 202210268066A CN 114845093 A CN114845093 A CN 114845093A
- Authority
- CN
- China
- Prior art keywords
- gray
- value
- image display
- pixel point
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000009792 diffusion process Methods 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 230000006835 compression Effects 0.000 claims description 8
- 238000007906 compression Methods 0.000 claims description 8
- 241001270131 Agaricus moelleri Species 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 235000019646 color tone Nutrition 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/643—Hue control means, e.g. flesh tone control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/20—Linear translation of whole images or parts thereof, e.g. panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/40—Image enhancement or restoration using histogram techniques
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application provides an image display method, an image display apparatus, and a computer-readable storage medium. The image display method includes: acquiring a dynamic range which can be displayed by a display screen; compressing the gray level histogram of the target image to a dynamic range, and determining the compressed gray level value of the pixel point of the target image according to preset precision; converting the gray value of the current pixel point after the preset precision into a jitter value; generating a pseudo-random number using a pseudo-random number generation algorithm; judging whether the jitter value of the current pixel point is larger than or equal to the pseudo random number or not; if not, taking the compressed gray value as the display gray value of the current pixel point; if yes, adding 1 to the compressed gray value to serve as the display gray value of the current pixel point; and after the display gray values of all the pixel points are determined, displaying the target image on the display screen according to the display gray values. By the mode, the image display method adopts a pseudo-random number dithering method to replace an ordered dithering template, and the generation of artificial textures is effectively reduced.
Description
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to an image display method, an image display apparatus, and a computer-readable storage medium.
Background
With the development of science and technology, the era of information explosion has been entered at present, especially image and video data, because the data is intuitive in transferring and expressing information, the application range is wider and wider, and the development of the media LED (Light-Emitting Diode) display technology for information display is applied to various fields because of the advantages of low cost, low power consumption, high visibility, free assembly and the like.
The digital halftone technology is a method for improving the display precision of a display device, and the low dynamic range display device presents more gray levels when displaying by utilizing the characteristic that the part of human eyes close to each other in space is regarded as a whole. The time domain dithering method is one of digital halftones, and is widely used because it has a remarkable effect of achieving simplicity by improving display accuracy of a display by flickering using a persistence of vision characteristic of human eyes.
However, the current digital halftone technology generally adopts an ordered dither template mode, which is easy to generate artificial textures, resulting in poor image display effect.
Disclosure of Invention
The application provides an image display method, an image display apparatus, and a computer-readable storage medium.
The application provides an image display method, which comprises the following steps:
acquiring a dynamic range which can be displayed by a display screen;
compressing the gray level histogram of the target image to the dynamic range, and determining the compressed gray level value of the pixel point of the target image according to preset precision;
converting the gray value of the current pixel point after the preset precision into a jitter value;
generating a pseudo-random number using a pseudo-random number generation algorithm;
judging whether the jitter value of the current pixel point is larger than or equal to the pseudo random number or not;
if not, taking the compressed gray value as the display gray value of the current pixel point;
if yes, adding 1 to the compressed gray value to serve as a display gray value of the current pixel point;
and traversing all pixel points of the target image, and displaying the target image on the display screen according to the display gray value after determining the display gray values of all the pixel points.
The value range of the pseudo random number is determined by the data bit number of the preset precision of the current pixel point;
the pseudo-random number generation algorithm is a linear congruence algorithm or a motteset rotation algorithm.
Wherein the image display method further comprises:
acquiring errors of the display gray value and the compressed gray value of the current pixel point;
and adjusting the display gray value of the neighborhood pixel point of the current pixel point by utilizing a preset error diffusion template and the error.
The preset error expansion template is one or more of a Basic error expansion template, a Floyd-Steinberg error diffusion template and a Sierra error diffusion template.
Wherein the image display method further comprises:
acquiring first gray data of the target image;
converting the first gray data into second gray data through inverse gamma conversion, wherein the number of data bits of the second gray data is greater than that of the first gray data;
establishing a grayscale histogram based on the second grayscale data of the target image.
Wherein after the establishing of the histogram of gray scales based on the second gray scale data of the target image, the image display method further comprises:
acquiring a dynamic range of the gray level histogram;
expanding the dynamic range to generate a new gray level histogram;
wherein the dynamic range of the new gray level histogram is larger than the dynamic range displayable by the display screen.
Wherein, the expanding the dynamic range to generate a new gray level histogram includes:
dividing the gray histogram into a plurality of parts to obtain a plurality of gray histogram graphs and area proportions of the gray histogram graphs;
and when the dynamic range of the gray histogram is expanded, determining a new gray histogram graph based on the dynamic range of the new gray histogram and the area ratio, thereby obtaining the new gray histogram.
The application also provides an image display device, which comprises an acquisition module, a compression module, a conversion module, a dithering module and a display module; wherein,
the acquisition module is used for acquiring a dynamic range which can be displayed by the display screen;
the compression module is used for compressing the gray level histogram of the target image to the dynamic range and determining the compressed gray level value of the pixel point of the target image according to preset precision;
the conversion module is used for converting the gray value of the current pixel point after the precision is preset into a jitter value;
the jitter module is used for generating a pseudo-random number by using a pseudo-random number generation algorithm; judging whether the jitter value of the current pixel point is larger than or equal to the pseudo random number or not; if not, taking the compressed gray value as the display gray value of the current pixel point; if yes, adding 1 to the compressed gray value to serve as a display gray value of the current pixel point;
and the display module is used for traversing all pixel points of the target image, determining the display gray value of all the pixel points and then displaying the target image on the display screen according to the display gray value.
The present application also provides another image display device comprising a processor and a memory, wherein the memory stores program data, and the processor is used for executing the program data to realize the image display method.
The present application also provides a computer-readable storage medium for storing program data which, when executed by a processor, is used to implement the image display method described above.
The beneficial effect of this application is: the image display device acquires a dynamic range which can be displayed by a display screen; compressing the gray level histogram of the target image to a dynamic range, and determining the compressed gray level value of the pixel point of the target image according to preset precision; converting the gray value of the current pixel point after the preset precision into a jitter value; generating a pseudo random number using a pseudo random number generation algorithm; judging whether the jitter value of the current pixel point is larger than or equal to the pseudo random number or not; if not, taking the compressed gray value as the display gray value of the current pixel point; if yes, adding 1 to the compressed gray value to serve as the display gray value of the current pixel point; and after the display gray values of all the pixel points are determined, displaying the target image on the display screen according to the display gray values. By the mode, the image display method adopts a pseudo-random number dithering method to replace an ordered dithering template, and the generation of artificial textures is effectively reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a schematic flowchart of an embodiment of an image display method provided in the present application;
FIG. 2 is a schematic flow chart diagram illustrating an image display method according to another embodiment of the present disclosure;
FIG. 3 is a schematic diagram of the dynamic range extension provided herein;
FIG. 4 is a schematic structural diagram of an embodiment of an image display apparatus provided in the present application;
FIG. 5 is a schematic structural diagram of another embodiment of an image display device provided in the present application
FIG. 6 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an image display method according to an embodiment of the present disclosure.
The image display method is applied to an image display device, wherein the image display device can be a server, and can also be a system in which the server and a terminal device are matched with each other. Accordingly, the image display apparatus may include various parts, such as various units, sub-units, modules, and sub-modules, which are all disposed in the server, or may be disposed in the server and the terminal device, respectively.
Further, the server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules, for example, software or software modules for providing distributed servers, or as a single software or software module, and is not limited herein. In some possible implementations, the image display method of the embodiment of the present application may be implemented by a processor calling a computer readable instruction stored in a memory.
Specifically, as shown in fig. 1, the image display method according to the embodiment of the present application specifically includes the following steps:
step S11: and acquiring a dynamic range which can be displayed by the display screen.
In the embodiment of the present application, the image display apparatus acquires the displayable accuracy of the display screen for displaying an image. The display screen can display a plurality of display accuracies, and a user can set a required accuracy in the display screen in advance or can directly display an image by using the accuracy preset by the display screen.
Step S12: and compressing the gray level histogram of the target image to a dynamic range, and determining the compressed gray level value of the pixel point of the target image according to preset precision.
In the embodiment of the application, the image display device acquires a target image and establishes a gray histogram of the target image. The gray level histogram is a function of gray level distribution and is a statistic of the gray level distribution in the image, and the gray level histogram is a statistic of the occurrence frequency of all pixels in the digital image according to the size of the gray level value.
The image display device compresses the gray histogram of the target image to a dynamic range which can be displayed by a display screen in proportion and reserves p-bit precision. The p-bit precision can be set in advance by a user, or the preset display precision of the display screen can be adopted, and the preset display precision of the display screen is determined by a preset dynamic range. And the image display device takes the gray value with the reserved p as the precision as the compressed gray value of the pixel point.
Step S13: and converting the gray value of the current pixel point after the preset precision into a jitter value.
In the embodiment of the present application, the image display device uses, as the compressed gray value of the pixel point, the bit with the first p-bit precision in the gray data of the pixel point after the compression of the gray histogram, and uses, as the dither bit, the bit with the remaining precision that cannot be displayed, that is, the gray value after the preset precision, and converts the dither bit into the decimal number s as the dither value s.
Step S14: a pseudo-random number is generated using a pseudo-random number generation algorithm.
In the embodiment of the present application, the image display device performs time domain dithering on the compressed pixel points.
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 data bit number of the current pixel point with preset precision. For example, if the number of data bits with a predetermined precision is p-bit precision, the value range of the pseudo random number q is (0, 2) p -1)。
The pseudo-random number generation algorithm used in the embodiment of the present application includes, but is not limited to, a linear congruence method, a motteset rotation algorithm, and the like.
Step S15: and judging whether the jitter value of the current pixel point is more than or equal to the pseudo random number or not.
In the embodiment of the present application, the image display apparatus compares the magnitude of 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, entering step 17; if the jitter value S is smaller than the pseudo random number q, the process proceeds to step S16.
Step S16: and taking the compressed gray value as the display gray value of the current pixel point.
In the embodiment of the present application, when the jitter value s is smaller than the pseudo random number q, the image display device directly outputs the data according to the minimum display accuracy of the compressed pixel.
Step S17: and adding 1 to the compressed gray value to serve as the display gray value of the current pixel point.
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 point, and outputs the pixel point.
Step S18: and traversing all pixel points of the target image, determining the display gray values of all the pixel points, and displaying the target image on the display screen according to the display gray values.
In the embodiment of the present application, the image display device sequentially performs the processing logic of steps S14 to S17 on each pixel point in the target image in the order from top to bottom and from left to right until the output positions of all the compressed pixel points are obtained.
And finally, the image display device displays an image on the display screen according to the display gray value output by each pixel point.
Furthermore, the image display device can further improve the continuity of image color tones by diffusing the errors of the compressed gray value and the displayed gray value to the neighborhood pixel points in proportion, so that the target image has better performance when being displayed by the LED.
Specifically, the image display apparatus calculates the difference, i.e., the error, between the display gradation value output in step S16 or step S17 and the compressed gradation value that retains the p-bit precision after compression. Then, the image display device diffuses the error to the pixel position of the corresponding neighborhood according to the proportion of the error diffusion template and accumulates. The error diffusion template adopted by the embodiment of the application can be selected from a Basic error diffusion template, a Floyd-Steinberg error diffusion template and a Sierra error diffusion template. Each error diffusion template is described below:
TABLE 1 Basic error extension template
X | 3 |
3 | 2 |
TABLE 2 Floyd-Steinberg error diffusion template
X | 7 | |
3 | 5 | 1 |
Table 3 Sierra error diffusion template
X | 7 | 5 | ||
3 | 5 | 7 | 5 | 3 |
1 | 3 | 5 | 3 | 1 |
In the embodiment of the application, the image display device acquires a dynamic range which can be displayed by a display screen; compressing the gray level histogram of the target image to a dynamic range, and determining the compressed gray level value of the pixel point of the target image according to preset precision; converting the gray value of the current pixel point after the preset precision into a jitter value; generating a pseudo-random number using a pseudo-random number generation algorithm; judging whether the jitter value of the current pixel point is larger than or equal to the pseudo random number or not; if not, taking the compressed gray value as the display gray value of the current pixel point; if yes, adding 1 to the compressed gray value to serve as the display gray value of the current pixel point; and after the display gray values of all the pixel points are determined, displaying the target image on the display screen according to the display gray values. By the mode, the image display method adopts a pseudo-random number dithering method to replace an ordered dithering template, so that the generation of artificial textures is effectively reduced; when the picture is static, the pseudo random number dithering method can better reduce the phenomenon of image flicker, the more p-bit precision is reserved, the more obvious the advantage of the method compared with ordered dithering is, and the more display precision can be improved while the picture quality is ensured; meanwhile, the continuity of image tone is further improved by a method of diffusing the error to the adjacent pixels in proportion, so that the image has better performance when being displayed by an LED.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an image display method according to another embodiment of the present disclosure.
As shown in fig. 2, before the image display method shown in fig. 1, the image display method provided by the present application further includes the following steps:
step S21: first gray data of a target image is acquired.
In the embodiment of the present application, the image display apparatus acquires m-bit gradation data of a target image, i.e., first gradation data. The first gray data is transmission data, and is data for transmission obtained by subjecting original image data to gamma conversion.
Step S22: and converting the first gray data into second gray data through inverse gamma conversion, wherein the data bit number of the second gray data is greater than that of the first gray data.
In the embodiment of the present application, the image display device obtains linearized n-bit gray data, i.e., second gray data, from the first gray data of the target image by inverse gamma conversion. Wherein n is the display precision of the LED display screen, and n is more than m. The formula of the inverse gamma transform is as follows:
wherein gamma is a gray coefficient, and each display device has its own gamma value; x is a gray value in the first gray data, and y is a gray value in the second gray data.
Step S23: and establishing a gray level histogram based on the second gray level data of the target image.
In the embodiment of the present application, the image display apparatus creates the grayscale histogram using the n-bit grayscale data obtained in step S22, and divides the grayscale histogram into several grayscale histogram sub-graphs at equal intervals based on the head and the tail of the grayscale histogram. Referring to fig. 3, the gray histogram in fig. 3 is divided into 4 parts, i.e. 4 gray histogram graphs are obtained.
Step S24: and acquiring the dynamic range of the gray level histogram.
In the embodiment of the present application, the image display apparatus acquires the dynamic range (0, 2) of the gradation histogram based on the n-bit gradation data n -1)。
Step S25: and expanding the dynamic range to generate a new gray level histogram.
In the embodiment of the present application, the image display apparatus changes the original dynamic range (0, 2) n -1) extension to (0, 2) l -1), i.e. L gray levels. Wherein L is 2 l And L > 2 n 。
Further, the image display device obtains each new gray level histogram graph according to the L gray levels and the area ratios of the gray level histogram graphs, so as to equalize the gray level histogram, and reestablish the new gray level histogram as shown in fig. 3.
Specifically, the principle of gray histogram equalization is: the area proportion among the gray level histogram graphs of a plurality of parts is kept unchanged before and after the dynamic range is expanded.
In the embodiment of the application, the image display device expands the dynamic range of an image after carrying out inverse gamma conversion on a target image, and carries out equalization processing in a gray level histogram of each segment; meanwhile, the steps of dynamic range expansion and segmented histogram equalization are added, so that more gray levels are reserved after the image is subjected to inverse tone mapping, and the details of the image are increased.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
To implement the image display method of the above embodiment, the present application further provides an image display device, and specifically refer to fig. 4, where fig. 4 is a schematic structural diagram of an embodiment of the image display device provided in the present application.
The image display apparatus 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.
The acquiring module 31 is configured to acquire a dynamic range displayable by a display screen.
The compression module 32 is configured to compress the gray level histogram of the target image to the dynamic range, and determine the compressed gray level value of the pixel point of the target image according to the preset precision.
The conversion module 33 is configured to convert the gray value of the current pixel point after the preset precision into a jitter value.
The dither module 34 is configured to generate a pseudo random number by using a pseudo random number generation algorithm; judging whether the jitter value of the current pixel point is larger than or equal to the pseudo random number or not; if not, taking the compressed gray value as the display gray value of the current pixel point; and if so, adding 1 to the compressed gray value to serve as the display gray value of the current pixel point.
The display module 35 is configured to traverse all pixel points of the target image, determine a display gray value of all pixel points, and display the target image on the display screen according to the display gray value.
To implement the image display method of the above embodiment, the present application further provides another image display device, and specifically please refer to fig. 5, where fig. 5 is a schematic structural diagram of another embodiment of the image display device provided in the present application.
The image display apparatus 400 of the embodiment of the present application includes a memory 41 and a processor 42, wherein the memory 41 and the processor 42 are coupled.
The memory 41 is used for storing program data, and the processor 42 is used for executing the program data to realize the image display method described in the above embodiments.
In the present 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 signal processing capabilities. 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 device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor 42 may be any conventional processor or the like.
To implement the image display method of the above embodiment, the present application further provides a computer-readable storage medium, as shown in fig. 6, the computer-readable storage medium 500 is used for storing program data 51, and the program data 51, when executed by the processor, is used for implementing the image display method of the above embodiment.
The present application also provides a computer program product, wherein the computer program product comprises a computer program operable to cause a computer to execute the image display method according to the embodiments of the present application. The computer program product may be a software installation package.
The image display method according to the above embodiment of the present application may be stored in a device, for example, a computer readable storage medium, when the image display method is implemented in the form of a software functional unit and sold or used as an independent product. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.
Claims (10)
1. An image display method, characterized in that the image display method comprises:
acquiring a dynamic range which can be displayed by a display screen;
compressing the gray level histogram of the target image to the dynamic range, and determining the compressed gray level value of the pixel point of the target image according to preset precision;
converting the gray value of the current pixel point after the preset precision into a jitter value;
generating a pseudo-random number using a pseudo-random number generation algorithm;
judging whether the jitter value of the current pixel point is larger than or equal to the pseudo random number or not;
if not, taking the compressed gray value as the display gray value of the current pixel point;
if yes, adding a value of 1 to the compressed gray value to serve as a display gray value of the current pixel point;
and traversing all pixel points of the target image, and displaying the target image on the display screen according to the display gray value after determining the display gray values of all the pixel points.
2. The image display method according to claim 1,
the value range of the pseudo random number is determined by the data bit number of the preset precision of the current pixel point;
the pseudo-random number generation algorithm is a linear congruence algorithm or a motteset rotation algorithm.
3. The image display method according to claim 1,
the image display method further includes:
acquiring errors of the display gray value and the compressed gray value of the current pixel point;
and adjusting the display gray value of the neighborhood pixel point of the current pixel point by utilizing a preset error diffusion template and the error.
4. The image display method according to claim 3,
the preset error expansion template is one or more of a Basic error expansion 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 the image display method further comprises:
acquiring first gray data of the target image;
converting the first gray data into second gray data through inverse gamma conversion, wherein the number of data bits of the second gray data is greater than that of the first gray data;
establishing a grayscale histogram based on the second grayscale data of the target image.
6. The image display method according to claim 5,
after the creating of the histogram of gray scales based on the second gray scale data of the target image, the image display method further includes:
acquiring a dynamic range of the gray level histogram;
expanding the dynamic range to generate a new gray level histogram;
wherein the dynamic range of the new gray level histogram is larger than the dynamic range displayable by the display screen.
7. The image display method according to claim 6,
the expanding the dynamic range to generate a new gray level histogram includes:
dividing the gray histogram into a plurality of parts to obtain a plurality of gray histogram graphs and area proportions of the gray histogram graphs;
and when the dynamic range of the gray histogram is expanded, determining a new gray histogram graph based on the dynamic range of the new gray histogram and the area ratio, thereby obtaining the new gray histogram.
8. An image display device is characterized by comprising an acquisition module, a compression module, a conversion module, a dithering module and a display module; wherein,
the acquisition module is used for acquiring a dynamic range which can be displayed by the display screen;
the compression module is used for compressing the gray level histogram of the target image to the dynamic range and determining the compressed gray level value of the pixel point of the target image according to preset precision;
the conversion module is used for converting the gray value of the current pixel point after the precision is preset into a jitter value;
the jitter module is used for generating a pseudo-random number by using a pseudo-random number generation algorithm; judging whether the jitter value of the current pixel point is larger than or equal to the pseudo random number or not; if not, taking the compressed gray value as the display gray value of the current pixel point; if yes, adding 1 to the compressed gray value to serve as a display gray value of the current pixel point;
and the display module is used for traversing all pixel points of the target image, determining the display gray value of all the pixel points and then displaying the target image on the display screen according to the display gray value.
9. An image display apparatus, characterized in that the image display apparatus comprises a processor and a memory, the memory having stored therein program data, the processor being adapted to execute the program data to implement the image display method according to any one of claims 1 to 7.
10. A computer-readable storage medium for storing program data which, when executed by a processor, implements the image display method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210268066.3A CN114845093B (en) | 2022-03-17 | 2022-03-17 | Image display method, image display device, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210268066.3A CN114845093B (en) | 2022-03-17 | 2022-03-17 | Image display method, image display device, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114845093A true CN114845093A (en) | 2022-08-02 |
CN114845093B CN114845093B (en) | 2024-09-06 |
Family
ID=82562751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210268066.3A Active CN114845093B (en) | 2022-03-17 | 2022-03-17 | Image display method, image display device, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114845093B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050105115A1 (en) * | 2003-11-18 | 2005-05-19 | Canon Kabushiki Kaisha | Image processing method and apparatus |
US20140080428A1 (en) * | 2008-09-12 | 2014-03-20 | Digimarc Corporation | Methods and systems for content processing |
CN105787908A (en) * | 2012-08-08 | 2016-07-20 | 杜比实验室特许公司 | Image Processing For Hdr Images |
CN108810314A (en) * | 2018-06-11 | 2018-11-13 | 昆明理工大学 | Unordered error based on the enhancing of multi-grey image edge spreads digital halftoning method |
US20190057493A1 (en) * | 2016-02-12 | 2019-02-21 | Samsung Electronics Co., Ltd. | Display device and display method therefor |
CN113096031A (en) * | 2021-03-17 | 2021-07-09 | 西安电子科技大学 | Compression display method of high dynamic range infrared image |
CN113542710A (en) * | 2021-09-15 | 2021-10-22 | 广州匠芯创科技有限公司 | Image processing method, system and medium based on error diffusion Dither algorithm |
CN113890997A (en) * | 2021-10-19 | 2022-01-04 | 中国科学院国家空间科学中心 | High dynamic range compressed sensing imaging system and method based on random jitter |
-
2022
- 2022-03-17 CN CN202210268066.3A patent/CN114845093B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050105115A1 (en) * | 2003-11-18 | 2005-05-19 | Canon Kabushiki Kaisha | Image processing method and apparatus |
US20140080428A1 (en) * | 2008-09-12 | 2014-03-20 | Digimarc Corporation | Methods and systems for content processing |
CN105787908A (en) * | 2012-08-08 | 2016-07-20 | 杜比实验室特许公司 | Image Processing For Hdr Images |
US20190057493A1 (en) * | 2016-02-12 | 2019-02-21 | Samsung Electronics Co., Ltd. | Display device and display method therefor |
CN108810314A (en) * | 2018-06-11 | 2018-11-13 | 昆明理工大学 | Unordered error based on the enhancing of multi-grey image edge spreads digital halftoning method |
CN113096031A (en) * | 2021-03-17 | 2021-07-09 | 西安电子科技大学 | Compression display method of high dynamic range infrared image |
CN113542710A (en) * | 2021-09-15 | 2021-10-22 | 广州匠芯创科技有限公司 | Image processing method, system and medium based on error diffusion Dither algorithm |
CN113890997A (en) * | 2021-10-19 | 2022-01-04 | 中国科学院国家空间科学中心 | High dynamic range compressed sensing imaging system and method based on random jitter |
Non-Patent Citations (3)
Title |
---|
KWANWOO PARK: "An Optimal Low Dynamic Range Image Generation Method Using a Neural Network", 《IEEE TRANSACTIONS ON CONSUMER ELECTRONICS》, 28 February 2018 (2018-02-28) * |
徐国梁;谭庆平;: "图像半色调化算法研究综述", 计算机工程与科学, no. 12, 15 December 2012 (2012-12-15) * |
王润峰: "基于反色调映射的高动态范围图像生成方法研究", 《中国优秀硕士学位论文全文数据库》, 15 August 2018 (2018-08-15) * |
Also Published As
Publication number | Publication date |
---|---|
CN114845093B (en) | 2024-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3956887B2 (en) | Image processing apparatus, image processing method, and image processing program | |
WO2017152398A1 (en) | Method and device for processing high dynamic range image | |
CN113590853B (en) | Gray scale self-adaptive expansion method, FPGA system, equipment and medium | |
JPH11164146A (en) | System and method for image data processing | |
JP5152203B2 (en) | Image processing apparatus, image processing method, image processing program, and image correction apparatus | |
KR20190000811A (en) | Method for tone adapting an image to a target peak luminance lt of a target display device | |
KR980003999A (en) | Histogram equalization circuit based on CDF computation domain and its method | |
US20120163713A1 (en) | Error diffusion processing circuit | |
CN114845093B (en) | Image display method, image display device, and computer-readable storage medium | |
KR970071239A (en) | Image quality improvement method using average-matching histogram equalization and its circuit | |
CN103793892B (en) | Image processing apparatus and image processing method | |
US5719793A (en) | Recursive noise reduction device having improved adaptability with respect to input image data | |
TW201401885A (en) | Pixel data compression device | |
CN111276089B (en) | Gray scale compensation calculation method and device and display device | |
CN112967208A (en) | Image processing method and device, electronic equipment and storage medium | |
Su et al. | An FPGA implementation of chaotic and edge enhanced error diffusion | |
JP4930845B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2007195216A (en) | Image processing apparatus, image processing method and image processing program | |
JP5447614B2 (en) | Image processing apparatus and image processing program | |
CN113516946B (en) | Luminance compensation method and device of OLED panel, driving chip and storage medium | |
JPH06250638A (en) | Image gradation conversion device | |
JP6389748B2 (en) | Image processing apparatus and program | |
CN118103864A (en) | Apparatus and method for noise adaptive high dynamic range image processing | |
CN117726562A (en) | Lookup table generation method, image display method, device and equipment | |
CN116264056A (en) | Display device brightness adjustment method and device, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |