CN114927106B - Multi-gray-scale pixel pattern generation method, storage medium and computer equipment - Google Patents
Multi-gray-scale pixel pattern generation method, storage medium and computer equipment Download PDFInfo
- Publication number
- CN114927106B CN114927106B CN202210574463.3A CN202210574463A CN114927106B CN 114927106 B CN114927106 B CN 114927106B CN 202210574463 A CN202210574463 A CN 202210574463A CN 114927106 B CN114927106 B CN 114927106B
- Authority
- CN
- China
- Prior art keywords
- pattern
- gray
- gray scale
- pixel
- scale pixel
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000003860 storage Methods 0.000 title claims abstract description 8
- 241001270131 Agaricus moelleri Species 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000011946 reduction process Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 3
- 238000009826 distribution Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3433—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
- G09G3/344—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on particles moving in a fluid or in a gas, e.g. electrophoretic devices
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a multi-gray-scale pixel pattern generation method, a storage medium and computer equipment, belonging to the technical field of display equipment, comprising the following steps: s1: calculating the edge length of the image pixels according to the following formula; s2: generating a full-shading area by using a developing medium; step S3: generating a base pattern using a developing medium; step S4: performing reduction processing on the basic pattern; step S5: position adjustment is carried out on the reduced pattern; step S6: overlapping the number 0 gray scale and the pattern obtained after position adjustment in the step S5, and setting a light-passing area for all areas where the pattern is input to obtain a gray scale pixel pattern; step S7: and repeating the steps S4 to S6 to obtain a first multi-gray-scale pixel pattern, and then, inverting the shading and light transmitting areas to obtain a second multi-gray-scale pixel pattern. The invention can generate the multi-gray-scale image with better expressive force and obtain softer display effect.
Description
Technical Field
The present invention relates to the field of display devices, and more particularly, to a method for generating a multi-gray-scale pixel pattern, a storage medium, and a computer device.
Background
By binary image, it is meant that the image can be displayed in a "black and white" state, such as single color ink printing, any ink drop is the same black, and by adjusting the distribution density of the ink drop on the paper surface, the human eye can produce a gray visual effect. Also, light transmission/light non-transmission is a binary image, and the visual effect of gray scale display can be realized by using a similar principle.
However, if the above method is used to realize n-level gray scale (e.g. 64-level gray scale), n kinds of droplet distribution densities, such as 64 kinds of distribution densities, need to be made on the unit area of the imaging medium. For density distribution near full black, full white, i.e. "very close to white" or "very close to black" gray scale, a microstructure will be created (e.g. when the medium substrate is "white", each droplet as "black" has to be very fine and distributed very sparsely to achieve a gray scale very close to full white).
The generation of the microstructure is very unfavorable for the adhesion of the microstructure and a medium substrate, and the microstructure is easy to fall off and wear and is represented by macroscopic pattern gray scale missing, defect and the like. In addition, more precise and expensive equipment is required to generate precise fine structures, and in practical applications, it is difficult to generate more expressive multi-gray-scale images due to scarcity of high-end equipment and high application cost.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a multi-gray-scale pixel pattern generation method, a storage medium and computer equipment, which can generate a multi-gray-scale image with better expressive force and obtain softer display effect.
The invention aims at realizing the following scheme:
A multi-gray-scale pixel pattern generation method comprises the following steps:
step S1: the image pixel side length L is calculated by designing the following formula:
wherein a is the minimum line width which can be realized by the equipment process, and n is the gray scale number;
step S2: generating a full shading area, namely a number 0 gray scale pixel pattern by using a developing medium;
step S3: generating a base pattern using a developing medium;
Step S4: the base pattern is subjected to reduction treatment, so that the area of the base pattern is equal to L.i/(n-1), wherein i is the serial number of the ith gray-scale pattern;
Step S5: position adjustment is carried out on the reduced pattern;
step S6: subtracting the pattern with the adjusted position in the step S5 from the pattern with the 0 number gray scale pixel generated in the step S2, namely overlapping the pattern with the 0 number gray scale and the pattern obtained after the position adjustment in the step S5, and setting all areas where the pattern is input into the pattern as light-transmitting areas to obtain the ith number gray scale pixel pattern;
Step S7: repeating the steps S4 to S6 to obtain 0 to m gray scale pixel patterns, wherein m is a gray scale value corresponding to 50% of the light transmission pattern, and the light shielding and light transmission areas are reversed to obtain m to n-1 gray scales, wherein the ith gray scale in the 0 to m gray scales is reversed to obtain k gray scale pixel patterns.
Further, in step S3, the base pattern fills the entire pixel region with a zigzag shape along the pixel region.
Further, in step S4, the reduction process specifically shortens the pattern by the same length from both end points so that the shortened pattern area reaches a given value.
Further, in step S5, the position adjustment is specifically that the centroid of the shortened pattern is calculated first, and then the centroid is overlapped with the center point of the pixel area.
Further, before step S1, the number of gray levels n and the minimum line width a that can be achieved by the device process are predetermined.
Further, the side length of the pixel area is L.
Further, the pixel region includes a black region and a white region, and the widths of the black region and the white region are the minimum line width a.
Further, in step S7, k= (n-1) -i.
A storage medium storing a program for performing the method of any one of the preceding claims when loaded by a processor.
A computer device comprising a memory and a processor, in which memory a program is stored which, when loaded by the processor, is adapted to perform the method of any of the preceding claims.
The beneficial effects of the invention include:
The n gray scale pixel pattern system realized by the invention has the advantages that the passing area on the 0 to 50% light passing pattern and the shading area from the 50% light passing pattern to the n-1 gray scale pattern are divided into a plurality of independent areas or finer structures under the condition of meeting the minimum line width constraint of the process realization, so that the details are more difficult to distinguish by human eyes, and the softer display effect can be obtained. Especially in the field of enlarged projection, even after the fine structure is enlarged, the human eyes can not distinguish the pattern details easily, and a more uniform and soft gray feeling is formed.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive faculty for a person skilled in the art.
FIG. 1 is a pattern produced by a method according to an embodiment of the present invention.
Detailed Description
All of the features disclosed in all of the embodiments of this specification, or all of the steps in any method or process disclosed implicitly, except for the mutually exclusive features and/or steps, may be combined and/or expanded and substituted in any way.
Interpretation of the terms
Gbase is a self-naming symbol representing a base pattern generated using a developing medium
The number of gray scales to be generated is n, the minimum line width which can be realized by the equipment process is determined as a, and the gray scale value corresponding to 50% of the light transmission pattern is set as m; the ith gray-scale pattern generation method in 0 to 50% of the light-transmitting pixel patterns comprises the following steps:
step 1: the image pixel edge length L is calculated using the following formula:
step 2: generating a full shading area, namely a number 0 gray scale pixel pattern by using a developing medium;
step 3: generating a base pattern Gbase using a developing medium;
Step 4: performing Gbase reduction to make the Gbase pattern area equal to l×l×i/(n-1);
Step 5: performing Gbase position adjustment;
Step 6: subtracting the Gbase pattern from the 0 number gray pattern generated in the step 2, namely overlapping the 0 number gray pattern and the Gbase pattern obtained in the step 5, wherein all the areas for inputting the Gbase pattern are set as light-transmitting areas; and obtaining the ith gray-scale pattern.
Wherein, the Gbase pattern involved in the step 3 is shown in fig. 1, wherein the black area is a Gbase pattern, which fills the whole pixel area in a zigzag shape along the pixel area (the dotted line area, the side length is L calculated in the step 1); the black and white area widths are the minimum line width a.
And (3) shortening the Gbase pattern by the same length from the end point 2, so that the shortened pattern area reaches a given value.
And 5, adjusting the Gbase position, firstly calculating the centroid of the shortened Gbase pattern, and then overlapping the centroid with the central point of the pixel area.
After the gray scales from 0 to m are obtained, the shading and light-transmitting areas are inverted, so that the gray scales from m to n-1 are obtained, wherein the i-th gray scale in the gray scales from 0 to m is obtained, and k-th gray scales are obtained after the inversion, and k= (n-1) -i are obtained.
Example 1
A multi-gray-scale pixel pattern generation method comprises the following steps:
step S1: the image pixel side length L is calculated by designing the following formula:
wherein a is the minimum line width which can be realized by the equipment process, and n is the gray scale number;
step S2: generating a full shading area, namely a number 0 gray scale pixel pattern by using a developing medium;
step S3: generating a base pattern using a developing medium;
Step S4: the base pattern is subjected to reduction treatment, so that the area of the base pattern is equal to L.i/(n-1), wherein i is the serial number of the ith gray-scale pattern;
Step S5: position adjustment is carried out on the reduced pattern;
step S6: subtracting the pattern with the adjusted position in the step S5 from the pattern with the 0 number gray scale pixel generated in the step S2, namely overlapping the pattern with the 0 number gray scale and the pattern obtained after the position adjustment in the step S5, and setting all areas where the pattern is input into the pattern as light-transmitting areas to obtain the ith number gray scale pixel pattern;
Step S7: repeating the steps S4 to S6 to obtain 0 to m gray scale pixel patterns, wherein m is a gray scale value corresponding to 50% of the light transmission pattern, and the light shielding and light transmission areas are reversed to obtain m to n-1 gray scales, wherein the ith gray scale in the 0 to m gray scales is reversed to obtain k gray scale pixel patterns.
Example 2
On the basis of embodiment 1, in step S3, the base pattern fills the entire pixel region with a "zigzag" shape along the pixel region.
Example 3
On the basis of embodiment 1, in step S4, the reduction process is specifically to shorten the pattern by the same length from both end points so that the shortened pattern area reaches a given value.
Example 4
On the basis of embodiment 1, in step S5, the position adjustment is specifically to first calculate the centroid of the shortened pattern, and then to coincide the centroid with the center point of the pixel region.
Example 5
On the basis of embodiment 1, the number of gray levels n and the minimum line width a that can be achieved by the device process are determined in advance before step S1.
Example 6
On the basis of embodiment 2, the side length of the pixel region is L.
Example 7
On the basis of embodiment 2, the pixel region includes a black region and a white region, each of which has a minimum line width a.
Example 8
On the basis of example 1, in step S7, k= (n-1) -i.
Example 9
A storage medium storing a program for executing the method according to any one of embodiments 1 to 8 when loaded by a processor.
Example 10
A computer device comprising a memory and a processor, in which memory a program is stored which, when loaded by the processor, is adapted to carry out the method according to any one of embodiments 1-8.
The invention is not related in part to the same as or can be practiced with the prior art.
The foregoing technical solution is only one embodiment of the present invention, and various modifications and variations can be easily made by those skilled in the art based on the application methods and principles disclosed in the present invention, not limited to the methods described in the foregoing specific embodiments of the present invention, so that the foregoing description is only preferred and not in a limiting sense.
In addition to the foregoing examples, those skilled in the art will recognize from the foregoing disclosure that other embodiments can be made and in which various features of the embodiments can be interchanged or substituted, and that such modifications and changes can be made without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (8)
1. A multi-gray-scale pixel pattern generation method, comprising:
step S1: the image pixel side length L is calculated by designing the following formula:
wherein a is the minimum line width which can be realized by the equipment process, and n is the gray scale number;
step S2: generating a full shading area, namely a number 0 gray scale pixel pattern by using a developing medium;
step S3: generating a base pattern using a developing medium;
step S4: the base pattern is subjected to reduction treatment, so that the area of the base pattern is equal to L.i/(n-1), wherein i is the serial number of the ith gray-scale pattern;
step S5: position adjustment is carried out on the reduced pattern; in step S5, the position adjustment specifically includes first calculating a shortened pattern centroid, and then overlapping the centroid with a center point of the pixel region;
step S6: subtracting the pattern with the adjusted position in the step S5 from the pattern with the 0 number gray scale pixel generated in the step S2, namely overlapping the pattern with the 0 number gray scale and the pattern obtained after the position adjustment in the step S5, and setting all areas where the pattern is input into the pattern as light-transmitting areas to obtain the ith number gray scale pixel pattern;
Step S7: repeating the steps S4 to S6 to obtain a 0-m gray scale pixel pattern, wherein m is a gray scale value corresponding to 50% of the light transmission pattern, and the light shielding and light transmission areas are reversed to obtain a m-n-1 gray scale pixel pattern, wherein the ith gray scale in the 0-m gray scales is reversed to obtain a k-number gray scale pixel pattern, and k= (n-1) -i.
2. The method according to claim 1, wherein in step S3, the base pattern fills the entire pixel region with a "zigzagged" pattern along the pixel region.
3. The multi-gray-scale pixel pattern generating method according to claim 1, wherein in step S4, the reduction process is specifically to shorten the pattern by the same length from both end points so that the area of the shortened pattern reaches a given value.
4. The method according to claim 1, wherein the number of gray scales n and the minimum line width a achievable by the device process are determined in advance before step S1.
5. The method of generating a multi-gray-scale pixel pattern according to claim 2, wherein the side length of the pixel region is L.
6. The multi-gray scale pixel pattern generating method according to claim 2, wherein the pixel region includes a black region and a white region, and the widths of the black region and the white region are each a minimum line width a.
7. A storage medium storing a program for executing the method according to any one of claims 1 to 6 when loaded by a processor.
8. A computer device comprising a memory and a processor, wherein a program is stored in the memory, which program, when loaded by the processor, is adapted to perform the method according to any of claims 1-6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210574463.3A CN114927106B (en) | 2022-05-25 | 2022-05-25 | Multi-gray-scale pixel pattern generation method, storage medium and computer equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210574463.3A CN114927106B (en) | 2022-05-25 | 2022-05-25 | Multi-gray-scale pixel pattern generation method, storage medium and computer equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114927106A CN114927106A (en) | 2022-08-19 |
| CN114927106B true CN114927106B (en) | 2024-07-02 |
Family
ID=82809896
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210574463.3A Active CN114927106B (en) | 2022-05-25 | 2022-05-25 | Multi-gray-scale pixel pattern generation method, storage medium and computer equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114927106B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101088144A (en) * | 2004-12-24 | 2007-12-12 | 株式会社半导体能源研究所 | Exposure apparatus and semiconductor device manufacturing method using same |
| CN107632480A (en) * | 2017-09-25 | 2018-01-26 | 京东方科技集团股份有限公司 | Display panel and preparation method thereof, control method |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017064584A1 (en) * | 2015-10-12 | 2017-04-20 | Semiconductor Energy Laboratory Co., Ltd. | Display device and driving method of the same |
| KR101767174B1 (en) * | 2016-06-13 | 2017-08-11 | 한국생산기술연구원 | The pattern search method in controlling a mixed color light source for improving quality of wide images |
| CN108831405B (en) * | 2018-09-13 | 2020-09-11 | 重庆惠科金渝光电科技有限公司 | Driving method, device and equipment of display panel and storage medium |
| CN112820204B (en) * | 2019-11-15 | 2025-04-08 | 京东方科技集团股份有限公司 | Display panel, manufacturing method thereof and display device |
| CN210349260U (en) * | 2019-11-15 | 2020-04-17 | 京东方科技集团股份有限公司 | Display panel, display device |
| CN211786373U (en) * | 2020-03-30 | 2020-10-27 | 哈雷医用(广州)智能技术有限公司 | Portable AR wears display device |
| CN114429915B (en) * | 2020-10-29 | 2024-09-13 | 长鑫存储技术有限公司 | Method, device and storage medium for improving wafer detection sensitivity |
| CN113763503B (en) * | 2021-01-29 | 2025-03-18 | 北京沃东天骏信息技术有限公司 | Graphics generation method, device and computer readable storage medium |
-
2022
- 2022-05-25 CN CN202210574463.3A patent/CN114927106B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101088144A (en) * | 2004-12-24 | 2007-12-12 | 株式会社半导体能源研究所 | Exposure apparatus and semiconductor device manufacturing method using same |
| CN107632480A (en) * | 2017-09-25 | 2018-01-26 | 京东方科技集团股份有限公司 | Display panel and preparation method thereof, control method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114927106A (en) | 2022-08-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0526295B1 (en) | Image forming apparatus | |
| JP2003046777A (en) | Mask creation method, image processing apparatus, software program, and mask data | |
| CN104835108A (en) | Method for generating visualized two-dimensional code | |
| JP2021086284A (en) | Image processing device, image processing method, and program | |
| JP2002199216A (en) | Method for interactively using automatic image processing technology for training | |
| CN113352618A (en) | Gray level setting method and device of 3D printer and 3D printer | |
| CN114927106B (en) | Multi-gray-scale pixel pattern generation method, storage medium and computer equipment | |
| CN115861105A (en) | Inverse halftone method and device based on conditional diffusion network | |
| JP4481343B2 (en) | Method and apparatus for enabling generation of FM grid points at high speed | |
| JP4465943B2 (en) | Image correction method and image correction apparatus | |
| JP4108517B2 (en) | Halftoning processing method and halftoning processing system | |
| US6757079B1 (en) | Method and apparatus for forming multi-level dither images from an input digital image | |
| US20210374916A1 (en) | Storage medium storing program, image processing apparatus, and training method of machine learning model | |
| CN114979406B (en) | Gray scale image generating method on developing medium, storage medium and display device | |
| KR100361387B1 (en) | Polygon drawing method and polygon drawing apparatus | |
| JP2001285634A (en) | Image processing apparatus | |
| CN115755520A (en) | Mask layout processing method, electronic device, and storage medium | |
| JP7171145B2 (en) | Character data generator, method and program | |
| CN111839580A (en) | Dental film image generation method and device, electronic equipment and storage medium | |
| US8797555B2 (en) | Redistribution of pixel values in an image forming apparatus or method | |
| JP2018043403A (en) | Image processing apparatus, image formation apparatus and program | |
| JP4040722B2 (en) | Gravure printing method and gravure printed matter | |
| JP2010034839A (en) | Image processor and image processing program | |
| JP3666186B2 (en) | Gradation processing method and apparatus | |
| JP2006165930A (en) | Dither matrix generation method and dither matrix |
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 |