A proximity compensation method for improving high grayscale display of electronic paper pixels
By performing centralized accumulation compensation of adjacent grayscale values on pixels in electronic paper, the problem of adding circuits to external compensation methods is solved, preventing pixels from illuminating or flickering under interference, and improving the display effect.
Patent Information
- Application Number
- CN202211490009.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2042-11-25
AI Technical Summary
In the prior art, compensation circuits need to be added through the external compensation method, resulting in the electronic paper pixel point that may light up or flicker under external interference, affecting the display effect.
By obtaining the image grayscale values of N pixel points arranged in a rectangular array on the electronic paper display image, dividing them into M groups of rectangular pixel groups, and performing concentrated accumulation compensation of image grayscale values of adjacent pixel points until after compensation The image grayscale value of the pixel point is greater than or equal to the preset lighting grayscale value, avoiding setting of external compensation circuits.
It realizes the situation where pixels are prevented from illuminating or flickering under external interference, improves the display effect, and does not require external compensation circuits, simplifies circuit integration.
Smart Images

Figure CN115810335B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of pixel high grayscale display, and in particular to a proximity compensation method for improving high grayscale display of electronic paper pixels. Background Art
[0002] With the development of technology, the use of electronic paper is becoming more and more widespread. In order to improve the display effect of electronic paper, one way is to use high grayscale of electronic paper pixels. To achieve high grayscale display of pixels, it is necessary to control the current flowing through each pixel to be very small. However, if the current is smaller, the pixel's ability to resist noise will be worse, and changes in the external environment or electronic interference will affect the current flowing through the pixel.
[0003] Although the interference is small, it cannot be ignored, because the image grayscale value of some pixels is close to but less than the preset grayscale value, and originally no brightness is displayed, but under interference, it may appear or flicker. Especially when several adjacent pixels originally do not display brightness, several pixels will repeatedly turn off, light up, and flicker in three different states in a disordered display under interference, affecting the overall display effect.
[0004] In the prior art, in order to prevent this situation from happening, an external compensation method is usually used to compensate the current of these pixels through an external driver integrated circuit. However, this compensation method requires external input, which requires the installation of an additional compensation circuit, which requires the compensation circuit to be integrated into the original pixel circuit, and the circuit integration is more troublesome. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a proximity compensation method for improving the high grayscale display of electronic paper pixels, thereby solving the problem that an additional compensation circuit needs to be provided in the external compensation method in the prior art.
[0006] The technical solution adopted by the present invention to solve the above problem is: a proximity compensation method for improving high grayscale display of electronic paper pixels, comprising the following steps:
[0007] S1, obtaining the image grayscale values and corresponding positions of N pixels arranged in a rectangular array on the electronic paper display image, dividing the N pixels into M groups of rectangular pixel groups, each pixel group including a reference pixel and a number of pixels adjacent to the reference pixel; counting parameter i=1;
[0008] S2, determine whether i is greater than M; if so, end, otherwise go to step S3;
[0009] S3, determining whether the image grayscale value of each pixel in the pixel group of the i-th group is less than the preset lighting grayscale; if so, recording the image grayscale value and position of each pixel in the pixel group and proceeding to step S4, otherwise proceeding to step S6;
[0010] S4, determining whether the accumulated value of the image grayscale value of each pixel in the pixel group is less than the preset lighting grayscale value; if so, proceed to step S6, otherwise proceed to step S5;
[0011] S5, adding image grayscale value compensation of some or all pixels in the pixel group to one of the pixels, until the image grayscale value of the compensated pixel is greater than or equal to the preset lighting grayscale value, and recording the image grayscale value of each pixel in the pixel group after compensation;
[0012] S6. i=i+1, return to step S2.
[0013] Compared with the prior art, the advantages of the present invention are that the image grayscale values of adjacent pixels are accumulated and compensated to one of the pixels, without setting up an external compensation circuit, thereby preventing local pixels from lighting up or flickering under external interference, thereby improving the display effect.
[0014] Preferably, in step S1, the plurality of pixel points adjacent to the reference pixel point are one adjacent pixel point, two adjacent pixel points, or eight adjacent pixel points.
[0015] The technical effect achieved by adopting this technical solution is as follows: Under adjacent compensation, compensation between pixels of different adjacent numbers can be achieved, thereby achieving different modes of light and dark processing.
[0016] Preferably, one adjacent pixel point is the pixel point on the right side of the reference pixel point, the pixel point on the left side of the reference pixel point, the pixel point on the upper side of the reference pixel point, or the pixel point on the lower side of the reference pixel point; two adjacent pixel points are the left and right pixel points adjacent to the reference pixel point, or the upper and lower pixel points adjacent to the reference pixel point; and eight adjacent pixel points are eight circumferential pixel points adjacent to the reference pixel point.
[0017] The technical effect achieved by adopting this technical solution is as follows: different adjacent compensation methods are realized through different adjacent composition methods, so that different schemes are conveniently used to perform light and dark processing on each pixel point according to actual conditions.
[0018] Preferably, step S5 includes the following steps: S51, comparing the image grayscale value of each pixel in the pixel group to obtain the pixel with the maximum image grayscale value; S52, compensating the image grayscale value of some or all of the pixels in the pixel group to the pixel with the maximum image grayscale value, until the image grayscale value of the pixel with the maximum image grayscale value is compensated to be greater than or equal to the preset lighting grayscale value, and then stopping compensation; S53, recording the image grayscale value of each pixel in the pixel group after compensation.
[0019] The technical effect achieved by adopting this technical solution is: concentrating the image grayscale values of adjacent pixels on the pixel with the maximum image grayscale value can achieve the fastest compensation and improve the compensation efficiency.
[0020] Preferably, in step S52, the image grayscale value of the pixel with the maximum image grayscale value is compensated to be equal to the preset lighting grayscale value, and the image grayscale values of other pixels in the pixel group are cleared.
[0021] The technical effect achieved by adopting this technical solution is: the pixel can be lit up by simply compensating to the lighting grayscale value, which can achieve the fastest compensation efficiency; at the same time, the image grayscale values of other pixels are cleared to zero, the light and dark levels are improved, and then the display effect is improved.
[0022] Preferably, M=N / 2, and N is an even number; if the number of horizontal rows and vertical columns of the N pixel points arranged in a rectangular array are both even numbers, each pixel group includes two adjacent pixel points on the left and right or two adjacent pixel points on the top and bottom; if the number of horizontal rows of the N pixel points arranged in a rectangular array is an even number and the number of vertical columns is an odd number, each pixel group includes two adjacent pixel points on the top and bottom; if the number of horizontal rows of the N pixel points arranged in a rectangular array is an odd number and the number of vertical columns is an even number, each pixel group includes two adjacent pixel points on the left and right.
[0023] The technical effect achieved by adopting this technical solution is: setting only two pixels in each pixel group can satisfy the compensation of N pixels arranged in almost all rectangular arrays to the greatest extent, has the widest application range, and only needs to process two data each time compensation judgment is made, which is convenient for judgment.
[0024] Preferably, M=N / 3, and N is a multiple of 3; if the number of horizontal rows and vertical columns of the N pixel points arranged in a rectangular array are both multiples of 3, each pixel group includes a reference pixel point and two pixel points adjacent to the left and right of the reference pixel point, or a reference pixel point and two pixel points adjacent to the upper and lower sides of the reference pixel point; if only the number of horizontal rows among the N pixel points arranged in a rectangular array is a multiple of 3, each pixel group includes a reference pixel point and two pixel points adjacent to the upper and lower sides of the reference pixel point; if only the number of vertical columns among the N pixel points arranged in a rectangular array is a multiple of 3, each pixel group includes a reference pixel point and two pixel points adjacent to the left and right sides of the reference pixel point.
[0025] The technical effect achieved by adopting this technical solution is: when the number of horizontal rows and / or vertical columns of N pixel points arranged in a rectangular array is a multiple of 3, each pixel group is set to three pixel points, which can relatively reduce the number of pixel groups to be set and improve the overall compensation efficiency.
[0026] Preferably, M=N / 9, and the number of horizontal rows and vertical columns of the N pixels arranged in the rectangular array are both multiples of 3, and each pixel group includes a reference pixel and eight pixels adjacent to the reference pixel in a circumferential direction.
[0027] The technical effect achieved by adopting this technical solution is: setting each pixel group to nine pixel points can minimize the number of pixel groups to be set, reduce the total number of compensations, and also improve the surrounding light and dark contrast effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 The present invention is a flow chart of a neighbor compensation method for improving high grayscale display of electronic paper pixels. DETAILED DESCRIPTION
[0029] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0030] like Figure 1 As shown, the present application relates to a proximity compensation method for improving high grayscale display of electronic paper pixels, comprising the following steps:
[0031] S1. Obtain image grayscale values and corresponding positions of N pixels arranged in a rectangular array on an electronic paper display image, and divide the N pixels into M groups of rectangular pixel groups, each pixel group including a reference pixel and a number of pixels adjacent to the reference pixel; counting parameter i=1.
[0032] The N pixel points may be all the pixel points of the entire rectangular array on the electronic paper display image, or may be pixel points of a selected portion of the rectangular array.
[0033] The plurality of adjacent pixels to the pixel point are one adjacent pixel point, two adjacent pixels points or eight adjacent pixels points. When performing adjacent compensation, compensation between pixels with different numbers of adjacent pixels can be achieved, thereby achieving different modes of light and dark processing.
[0034] Specifically, one adjacent pixel point is the pixel point on the right side of the reference pixel point, the pixel point on the left side of the reference pixel point, the pixel point on the upper side of the reference pixel point, or the pixel point on the lower side of the reference pixel point; two adjacent pixel points are the two adjacent left and right pixel points of the reference pixel point, or the two adjacent upper and lower pixel points of the reference pixel point; and eight adjacent pixel points are eight adjacent circumferential pixel points of the reference pixel point.
[0035] Different adjacent compensation methods are realized through different adjacent composition methods, which makes it convenient to carry out different schemes for shading of each pixel according to the actual situation.
[0036] Of course, in practice, the several pixels adjacent to the reference pixel may also be three adjacent pixels, or four adjacent pixels up, down, left, and right. However, in this case, in the rectangular pixel group, in addition to the reference pixel and the adjacent pixels, there are other pixels, and the other pixels do not participate in the compensation.
[0037] When N pixels are divided into M rectangular pixel groups, the pixels in each pixel group may be non-overlapping or overlapping.
[0038] S2. Determine whether i is greater than M; if so, end; otherwise, go to step S3.
[0039] S3, determine whether the image grayscale value of each pixel in the pixel group of the i-th group is less than the preset lighting grayscale; if so, record the image grayscale value and position of each pixel in the pixel group and enter step S4, otherwise enter step S6.
[0040] S4, determine whether the accumulated value of the image grayscale value of each pixel in the pixel group is less than the preset lighting grayscale value; if so, proceed to step S6, otherwise proceed to step S5.
[0041] S5. Compensate the image grayscale value of some or all of the pixels in the pixel group and add it to the image grayscale value of one of the pixels until the image grayscale value of the compensated pixel is greater than or equal to the preset lighting grayscale value, and record the image grayscale value of each pixel in the pixel group after compensation.
[0042] This step specifically includes:
[0043] S51, comparing the image grayscale value of each pixel in the pixel group to obtain the pixel with the maximum image grayscale value;
[0044] S52, compensating the image grayscale value of some or all of the pixels in the pixel group to the image grayscale value of the pixel with the maximum image grayscale value, until the image grayscale value of the pixel with the maximum image grayscale value is compensated to be greater than or equal to the preset lighting grayscale value, stopping the compensation, and driving the end to light up the corresponding pixel after compensation;
[0045] S53, recording the image grayscale value of each pixel in the pixel group after compensation.
[0046] Concentrating the image grayscale values of adjacent pixels on the pixel with the maximum image grayscale value can achieve the fastest compensation and improve compensation efficiency.
[0047] In step S52, the image grayscale value of the pixel with the maximum image grayscale value is compensated to be equal to the preset lighting grayscale value, and the image grayscale values of other pixels in the pixel group are cleared.
[0048] The pixel can be lit only by compensating to the lighting grayscale value, which can achieve the fastest compensation efficiency; at the same time, the image grayscale values of other pixels are cleared to increase the brightness and darkness levels, thereby improving the display effect.
[0049] Of course, in step S52, the image grayscale values of all pixels may also be compensated to the pixel with the maximum image grayscale value, so that the image grayscale values of other pixels do not need to be cleared.
[0050] In actual compensation application, the current of each pixel point of the pixel group is compensated to the pixel point with the maximum image grayscale value through the driving end, thereby realizing the compensation of the image grayscale value.
[0051] S6. i=i+1, return to step S2.
[0052] The image grayscale values of adjacent pixels are accumulated and compensated to one of the pixels. No external compensation circuit is required to prevent local pixels from lighting up or flickering due to external interference, thereby improving the display effect.
[0053] Embodiment 1
[0054] As described above, a neighbor compensation method for improving high grayscale display of electronic paper pixels, wherein M=N / 2, and N is an even number, is used to group non-overlapping pixels, which is convenient for algorithm calculation.
[0055] If the number of horizontal rows and vertical columns of the N pixels arranged in the rectangular array are both even numbers, each pixel group includes two adjacent pixels on the left and right or two adjacent pixels on the top and bottom;
[0056] If the number of horizontal rows of N pixels arranged in a rectangular array is an even number and the number of vertical columns is an odd number, each pixel group includes two upper and lower adjacent pixels;
[0057] If the number of horizontal rows of the N pixel points arranged in the rectangular array is an odd number and the number of vertical columns is an even number, each pixel group includes two adjacent pixel points on the left and right.
[0058] Setting only two pixel points in each pixel group can satisfy the compensation of N pixel points arranged in almost all rectangular arrays to the greatest extent, has the widest application range, and only needs to process two data each time compensation judgment is made, which is convenient for judgment.
[0059] As one of the implementations, the number of horizontal rows and vertical columns of the N pixels arranged in a rectangular array are both even numbers, and the N pixels are evenly divided into N / 2 groups of pixels, each of which includes two adjacent left and right pixels. In actual use, the screen grayscale is 256 grayscales. Assuming that the grayscale value of the electronic paper display image is 16, the actual local pixel image grayscale value of the electronic paper is shown in Table 1.
[0060] Table 1 Grayscale values of actual local pixel images of electronic paper
[0061] 15 14 10 2 5 10 13 3
[0062] Then the image grayscale values of these eight pixels do not reach the lighting grayscale value, so they cannot be lit before compensation, and the brightness value of each pixel is 0, as shown in Table 2.
[0063] Table 2 Actual local pixel brightness values of electronic paper
[0064] 0 0 0 0 0 0 0 0
[0065] Then, a neighbor compensation method for improving high grayscale display of electronic paper pixels according to the present embodiment is adopted, and the pixels are divided into four groups of pixels. The grayscale values of the images after neighbor compensation are performed on the four groups of pixels respectively are shown in Table 3.
[0066] Table 3 Grayscale values of the actual local pixel points of the electronic paper after compensation
[0067] 16 0 0 0 0 0 16 0
[0068] After compensation, some pixels reach the lighting grayscale value and are lit after being driven, and their brightness values change to 1, as shown in Table 4.
[0069] Table 4 Brightness values of actual local pixels of electronic paper after compensation
[0070] 1 0 0 0 0 0 1 0
[0071] By using the proximity compensation method of this embodiment, the self-current balance is utilized to realize the proximity compensation of the image grayscale value of the pixel point, thereby achieving a high grayscale effect, so that the light and dark display of the entire electronic paper is clear.
[0072] Embodiment 2
[0073] As described above, a neighbor compensation method for improving high grayscale display of electronic paper pixels is described, wherein M=N / 3, and N is a multiple of 3. The grouping method of non-overlapping pixels is adopted to facilitate algorithm calculation.
[0074] If the number of horizontal rows and vertical columns of the N pixels arranged in a rectangular array are both multiples of 3, each pixel group includes a reference pixel and two pixels adjacent to the left and right of the reference pixel, or a reference pixel and two pixels adjacent to the upper and lower sides of the reference pixel;
[0075] If only the number of horizontal rows among the N pixels arranged in a rectangular array is a multiple of 3, each pixel group includes a reference pixel and two pixels above and below the reference pixel;
[0076] If only the number of vertical columns among the N pixel points arranged in the rectangular array is a multiple of 3, each pixel group includes a reference pixel point and two pixel points adjacent to the left and right of the reference pixel point.
[0077] When the number of horizontal rows and / or vertical columns of N pixel points arranged in a rectangular array is a multiple of 3, setting each pixel group to three pixel points can relatively reduce the number of pixel groups to be set and improve the overall compensation efficiency.
[0078] Embodiment 3
[0079] As described above, a neighboring compensation method for improving high grayscale display of electronic paper pixels, wherein M=N / 9, and the number of horizontal rows and vertical columns of the N pixels arranged in a rectangular array are multiples of 3, and each pixel group includes a reference pixel and eight pixels adjacent to the reference pixel. The grouping method of non-overlapping pixels is adopted to facilitate algorithm calculation.
[0080] Setting each pixel group to nine pixels can minimize the number of pixel groups to be set, reduce the total number of compensations, and also improve the surrounding light and dark contrast effects.
[0081] The beneficial effect of the present invention is that the image grayscale values of adjacent pixels are accumulated and compensated to one of the pixels, and no external compensation circuit is required to prevent local pixels from lighting up or flickering under external interference, thereby improving the display effect.
[0082] The above description shows and describes several preferred embodiments of the present invention, but as mentioned above, it should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the invention concept described herein through the above teachings or the technology or knowledge of the relevant field. Changes and variations made by those skilled in the art do not depart from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.
[0083] Although the disclosure is disclosed as above, the protection scope of the disclosure is not limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the disclosure, and these changes and modifications will fall within the protection scope of the present invention.
Claims
1. A proximity compensation method for improving high grayscale display of electronic paper pixels, Features: The steps include: S1, obtaining the image grayscale values and corresponding positions of N pixels arranged in a rectangular array on the electronic paper display image, dividing the N pixels into M groups of rectangular pixel groups, each pixel group including a reference pixel and a number of pixels adjacent to the reference pixel; counting parameter i=1; S2, determine whether i is greater than M; if so, end, otherwise go to step S3; S3, determining whether the image grayscale value of each pixel in the pixel group of the i-th group is less than the preset lighting grayscale; if so, recording the image grayscale value and position of each pixel in the pixel group and proceeding to step S4, otherwise proceeding to step S6; S4, determining whether the accumulated value of the image grayscale value of each pixel in the pixel group is less than the preset lighting grayscale value; if so, proceed to step S6, otherwise proceed to step S5; S5, adding image grayscale value compensation of some or all pixels in the pixel group to one of the pixels, until the image grayscale value of the compensated pixel is greater than or equal to the preset lighting grayscale value, and recording the image grayscale value of each pixel in the pixel group after compensation; S6. i=i+1, return to step S2.
2. A proximity compensation method for improving high grayscale display of electronic paper pixels according to claim 1, Features: In step S1 , the plurality of pixel points adjacent to the reference pixel point are one adjacent pixel point, two adjacent pixel points, or eight adjacent pixel points.
3. A proximity compensation method for improving high grayscale display of electronic paper pixels according to claim 2, Features: The adjacent pixel point is a pixel point on the right side adjacent to the reference pixel point, a pixel point on the left side adjacent to the reference pixel point, a pixel point on the upper side adjacent to the reference pixel point, or a pixel point on the lower side adjacent to the reference pixel point; The two adjacent pixel points are the two adjacent left and right pixel points of the reference pixel point or the two adjacent upper and lower pixel points of the reference pixel point; The eight adjacent pixel points are eight circumferential pixel points adjacent to the reference pixel point.
4. A method for improving the proximity compensation of high grayscale display of electronic paper pixels according to any one of claims 1 to 3, Features: In step S5, the following steps are included: S51, comparing the image grayscale value of each pixel in the pixel group to obtain the pixel with the maximum image grayscale value; S52, compensating the image grayscale values of some or all of the pixels in the pixel group to the pixel with the maximum image grayscale value, until the image grayscale value of the pixel with the maximum image grayscale value is compensated to be greater than or equal to the preset lighting grayscale value, and then stopping the compensation; S53, recording the image grayscale value of each pixel in the pixel group after compensation.
5. A proximity compensation method for improving high grayscale display of electronic paper pixels according to claim 4, Features: In step S52, the image grayscale value of the pixel with the maximum image grayscale value is compensated to be equal to the preset lighting grayscale value, and the image grayscale values of other pixels in the pixel group are cleared.
6. A proximity compensation method for improving high grayscale display of electronic paper pixels according to claim 5, Features: M = N / 2, and N is an even number; If the number of horizontal rows and vertical columns of the N pixels arranged in the rectangular array are both even numbers, each pixel group includes two adjacent pixels on the left and right or two adjacent pixels on the top and bottom; If the number of horizontal rows of N pixels arranged in a rectangular array is an even number and the number of vertical columns is an odd number, each pixel group includes two upper and lower adjacent pixels; If the number of horizontal rows of the N pixel points arranged in the rectangular array is an odd number and the number of vertical columns is an even number, each pixel group includes two adjacent pixel points on the left and right.
7. A proximity compensation method for improving high grayscale display of electronic paper pixels according to claim 5, Features: M = N / 3, and N is a multiple of 3; If the number of horizontal rows and vertical columns of the N pixels arranged in a rectangular array are both multiples of 3, each pixel group includes a reference pixel and two pixels adjacent to the left and right of the reference pixel, or a reference pixel and two pixels adjacent to the upper and lower sides of the reference pixel; If only the number of horizontal rows among the N pixels arranged in a rectangular array is a multiple of 3, each pixel group includes a reference pixel and two pixels above and below the reference pixel; If only the number of vertical columns among the N pixel points arranged in the rectangular array is a multiple of 3, each pixel group includes a reference pixel point and two pixel points adjacent to the left and right of the reference pixel point.
8. The method for improving the high grayscale display of electronic paper pixels according to claim 5, Features: M=N / 9, and the number of horizontal rows and vertical columns of the N pixel points arranged in the rectangular array are both multiples of 3, and each pixel group includes a reference pixel point and eight pixel points adjacent to the reference pixel point in the circumferential direction.
Citation Information
Patent Citations
Brightness compensation device and method and storage unit
CN107799084A
Brightness compensation method and device
CN111667799A
Ternary gray level co-occurrence matrix image recognition method based on weighted average processing
CN115019066A
Compensation method and compensation device used for display screen, and display device
WO2020093685A1
