Method and driving device for converting data of red-white-black electronic ink screen
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JIANGXI XINGTAI TECH INC
- Filing Date
- 2024-03-15
- Publication Date
- 2026-05-29
Smart Images

Figure CN118248101B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of display technology, specifically relating to an image data processing method and apparatus suitable for electronic ink screens. Background Technology
[0002] Electronic paper boasts ultra-low power consumption, a paper-like texture, and sunlight visibility, making it widely used in retail, education, healthcare, and advertising industries. It enhances the intelligence of these industries while conserving various resources; for example, replacing traditional paper labels with electronic price tags in retail effectively reduces labor costs. However, electronic paper displays often display fewer colors compared to LCD or OLED displays. E-ink screens can only display a very limited range of colors. Many existing displays only show black, white, red, and yellow, such as four-color electronic paper displays. Because these displays only show these four colors, their color saturation is very limited. One type of seven-color electronic paper display shows only black, white, red, green, blue, yellow, and orange, offering a richer color range, but this increases costs.
[0003] Currently, common e-ink screens can be divided into black and white screens, black and white yellow screens, black and white red screens, black and white yellow red screens, and seven-color screens. Images need to be processed and converted into fewer colors to be displayed better on e-ink screens. Therefore, how to process images to achieve a more realistic effect with fewer colors is particularly important in the e-paper industry.
[0004] Currently, e-paper is primarily used in the retail industry. To enhance customer experience, end-users are demanding increasingly higher display quality from e-paper, hoping for more realistic images and a wider range of colors. However, current image processing primarily uses the Floyd-Steinberg algorithm to convert images into binary images, meaning images with only black and white. To process images into three or more colors, Photoshop or other image processing software must be used. While Photoshop is better suited for fine-tuning images, it doesn't perform well in multi-color modes. This means that when the naked eye observes an image displayed on an e-ink screen, the overall set of adjacent pixels, if converted using a standard grayscale algorithm, often exhibits significant errors in their grayscale values. Visually, this results in noticeable abrupt changes, making the display appear monotonous and jarring. Summary of the Invention
[0005] To address the shortcomings of existing technologies where color images displayed on monochrome and red e-ink screens have poor visual effects, are monotonous, and exhibit uneven and obvious abrupt changes, an algorithm is proposed. This algorithm can spread out the error of changes in adjacent pixels when the color depth is reduced, so that when the human eye observes the image, the overall error of the set of adjacent pixels is reduced. Thus, from a visual perspective, the color variety is richer, smoother, and more acceptable.
[0006] The technical solution of this application to solve the above-mentioned technical problem is a red-white-black electronic ink screen data conversion method, including: step A20: converting grayscale image encoding into black-red-white encoding according to the grayscale encoding range; step A30: driving the red-white-black electronic ink screen display according to the black-red-white encoding.
[0007] The red-white-black electronic ink screen data conversion method further includes: step A10: converting the color image encoding to grayscale image encoding; step A20 includes 3 grayscale conversion intervals.
[0008] The red-white-black e-ink screen data conversion method described herein includes step A20, which includes: step A21: taking two points; if the grayscale value of the first point is in the range of 0-85, black is initially set as the background; if the value of the first point is greater than 45, the first point X is set to red, and the error value W = 85 - X is calculated; the original color value of the second point is set to Y, and Z = (W + Y) × (3.8 / 8) is calculated; when the Z value is greater than 85, the second point is set to red.
[0009] The red-white-black e-ink screen data conversion method described above includes step A20, which includes: step A22: take two points. If the grayscale value of the first point is in the range of 86-170, firstly, red is the default background. If the value of the first point is greater than 120, set the first point to white and calculate the error value W = 170 - X - 85. Set the original color value of the second point to Y, Z = (W + Y) × (3.8 / 8). If Z is greater than 120, set the second point to white.
[0010] The red-white-black e-ink screen data conversion method described above includes step A20, which includes: step A23: take two points. If the grayscale value of the first point is in the range of 171-255, firstly, white is the default background. If the value of the first point is less than 251, set the first point to red and calculate the error value W = 215 - X - 85. Set the original color value of the second point to Y, Z = (W + Y) × (3.8 / 8). If Z is less than 251, set the second point to red.
[0011] The technical solution of this application to solve the above-mentioned technical problems can also be a red-white-black electronic ink screen driving device, including: a display driving module and a grayscale graphic display control unit; the grayscale graphic display control unit converts the grayscale image encoding into black-red-white encoding according to the grayscale encoding range; the display driving module drives the red-white-black electronic ink screen to display according to the black-red-white encoding.
[0012] The aforementioned red-white-black electronic ink screen driving device includes a grayscale graphic display control unit comprising a first conversion module, a second conversion module, and a third conversion module.
[0013] The aforementioned red-white-black electronic ink screen driving device takes two points. If the grayscale value of the first point is in the range of 0-85, it is converted and processed by the first conversion module to convert the grayscale image encoding into black-red-white encoding.
[0014] The aforementioned red-white-black electronic ink screen driving device takes two points. If the grayscale value of the first point is in the range of 86-170, it is converted and processed by the second conversion module to convert the grayscale image encoding into black-red-white encoding.
[0015] The aforementioned red-white-black electronic ink screen driving device takes two points. If the grayscale value of the first point is in the range of 171-255, it is converted and processed by the third conversion module to convert the grayscale image encoding into black-red-white encoding.
[0016] One of the beneficial effects of the technical solution in this application is that, based on the grayscale encoding range, the grayscale image is encoded into black-red-white encoding; and based on the black-red-white encoding, a red-white-black e-ink screen is driven for display. This allows for the realization of color display data using a relatively small amount of grayscale image data. It is an efficient data conversion method, enabling color display using grayscale data. Compared to grayscale display, it offers richer colors.
[0017] One of the beneficial effects of the technical solution in this application is that the color image encoding to grayscale image encoding, which converts the color image encoding to grayscale encoding, and then from grayscale encoding to black-red-white encoding, can achieve a smoother display effect of the color image on a red-white-black e-ink screen.
[0018] One of the beneficial effects of the technical solution in this application is that the grayscale value of black is set in the range of 0-85, with black as the default background. If the value of the first point is greater than 45, the first point X is set to red, and the error value W = 85 - X is calculated. The original color value of the second point is set to Y, and Z = (W + Y) × (3.8 / 8) is calculated. When the Z value is greater than 85, the second point is set to red. The grayscale value ranges corresponding to the three colors are relatively uniform, and the relatively uniform distribution of grayscale data makes the display of the three colors more uniform.
[0019] One of the beneficial effects of the technical solution in this application is that the color value calculation method of adjacent data points Z=(W+Y)×(3.8 / 8) adopts the weighted average method of error value and original value, so that the current original color value can also be reflected, and at the same time, it can balance some sudden step changes, making the display smoother and softer, and the display effect smoother.
[0020] One of the beneficial effects of the technical solution in this application is that the data conversion method in this application can spread the error of changes in adjacent pixels, so that when the naked eye observes the image, the overall step change of the set of adjacent pixels is smaller. In this way, from a visual point of view, the color variety will be richer, smoother, and easier to accept.
[0021] One of the beneficial effects of the technical solution in this application is that the grayscale graphic display control unit in the red-white-black e-ink screen driving device can convert the grayscale image encoding into black-red-white encoding according to the grayscale encoding range; the display driving module drives the red-white-black e-ink screen to display according to the black-red-white encoding. This enables grayscale data to be directly displayed in color on the red-white-black e-ink screen.
[0022] One of the beneficial effects of the technical solution in this application is that the red, white and black electronic ink screen driving device is equipped with a first conversion module, a second conversion module and a third conversion module to perform grayscale conversion of the three colors respectively.
[0023] One of the beneficial effects of the technical solution in this application is that the grayscale value ranges corresponding to the three colors are relatively uniform, and the relatively uniform distribution of grayscale data makes the display of the three colors more uniform. Attached Figure Description
[0024] Figure 1 This is one of the flowcharts illustrating the data conversion method for red, white, and black e-ink screens;
[0025] Figure 2 This is the second flowchart illustrating the data conversion method for red, white, and black e-ink screens;
[0026] Figure 3 This is one of the schematic block diagrams of a red, white, and black electronic ink screen driving device;
[0027] Figure 4 This is the second schematic block diagram of the red, white and black electronic ink screen driving device;
[0028] Figure 5 This is a schematic diagram of the dot matrix involved in the calculation in the image. Detailed Implementation
[0029] The embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0030] It should be noted that the following description of preferred embodiments of this application does not constitute any limitation on this application. The description of preferred embodiments is merely an illustration of the general principles of this application. The embodiments described in this application are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0031] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the equipment or component referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on this application. Furthermore, the terms "first," "second," and technical features numbered with Arabic numerals 1, 2, 3, etc., and designations such as "A" and "B," are used for descriptive purposes only, for ease of explanation, and do not represent a temporal or spatial order; they should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first," "second," and numbered with Arabic numerals 1, 2, 3, etc., may explicitly or implicitly include one or more of that feature. In the description of this application, "several" means two or more, unless otherwise expressly and specifically defined.
[0032] To address the issue of noticeable abrupt changes in visual effects when displaying images on e-ink screens, resulting in a monotonous and jarring display, a red-white-black e-ink screen data conversion method and device are proposed. This method can diffuse the errors in changes between adjacent pixels when the color depth is reduced, thus reducing the overall error of adjacent pixel sets when the naked eye observes the image. As a result, the color range is richer, smoother, and more acceptable from a visual perspective.
[0033] like Figure 1 As shown, in an embodiment of a red-white-black e-ink screen data conversion method, the method includes: step A20: converting the grayscale image encoding into black-red-white encoding according to the grayscale encoding range; step A30: driving the red-white-black e-ink screen to display according to the black-red-white encoding.
[0034] like Figure 1As shown, an embodiment of a red-white-black e-ink screen data conversion method includes: step A10: converting color image encoding to grayscale image encoding; step A20: converting grayscale image encoding to black-red-white encoding according to the grayscale encoding range; step A30: driving the red-white-black e-ink screen to display according to the black-red-white encoding.
[0035] like Figure 2 As shown, in an embodiment of a red-white-black electronic ink screen data conversion method, step A20 includes three grayscale conversion intervals.
[0036] In an embodiment of a red-white-black e-ink screen data conversion method not shown in some of the accompanying drawings, step A20 includes: Step A21: Take two points. If the grayscale value of the first point is in the range of 0-85, firstly, black is the default background. If the value of the first point is greater than 45, set the first point X to red and calculate the error value W = 85 - X. Set the original color value of the second point to Y, calculate Z = (W + Y) × (3.8 / 8). When the Z value is greater than 85, set the second point to red.
[0037] In an embodiment of a red-white-black e-ink screen data conversion method not shown in some of the accompanying drawings, step A20 includes: Step A22: Take two points. If the grayscale value of the first point is in the range of 86-170, firstly, red is the default background. If the value of the first point is greater than 120, the first point is set to white, and the error value W = 170 - X - 85 is calculated. The original color value of the second point is set to Y, Z = (W + Y) × (3.8 / 8). If Z is greater than 120, the second point is set to white.
[0038] In an embodiment of a red-white-black e-ink screen data conversion method not shown in some of the accompanying drawings, step A20 includes: Step A23: Take two points. If the grayscale value of the first point is in the range of 171-255, firstly, white is the default background. If the value of the first point is less than 251, the first point is set to red, and the error value W = 215 - X - 85 is calculated. The original color value of the second point is set to Y, Z = (W + Y) × (3.8 / 8). If Z is less than 251, the second point is set to red.
[0039] like Figure 3 As shown, in one embodiment of a red-white-black e-ink screen driving device, it includes: a display driving module and a grayscale graphic display control unit; the grayscale graphic display control unit converts the grayscale image encoding into black-red-white encoding according to the grayscale encoding range; the display driving module drives the red-white-black e-ink screen to display according to the black-red-white encoding.
[0040] like Figure 4As shown, in an embodiment of a red-white-black electronic ink screen driving device, the grayscale graphic display control unit includes a first conversion module, a second conversion module, and a third conversion module.
[0041] In one embodiment of a red-white-black electronic ink screen driving device not shown in some of the accompanying drawings, two points are taken. If the grayscale value of the first point is in the range of 0-85, it is converted and processed by the first conversion module to convert the grayscale image encoding into black-red-white encoding.
[0042] In one embodiment of a red-white-black electronic ink screen driving device not shown in some of the accompanying drawings, two points are taken. If the grayscale value of the first point is in the range of 86-170, it is converted and processed by the second conversion module to convert the grayscale image encoding into black-red-white encoding.
[0043] In one embodiment of a red-white-black e-ink screen driving device not shown in some of the accompanying drawings, two points are taken. If the grayscale value of the first point is in the range of 171-255, it is converted and processed by the third conversion module to convert the grayscale image encoding into black-red-white encoding.
[0044] like Figure 5 The image shows a schematic diagram of the dot matrix involved in the calculation. Numbers marked 1 represent one column, and numbers marked 2 represent another. Data conversion can be performed by taking two adjacent dots from each row and applying the aforementioned red-white-black e-ink screen data conversion method. Alternatively, data conversion can be performed by taking two adjacent dots from each column and applying the same method. The converted data is used as the display driving data for the red-white-black e-ink screen driver.
[0045] This application relates to an image data processing method and driving device suitable for e-ink screens, which can convert images or image data with complex color information into image data suitable for e-ink screen display. This processing solution is applicable to e-ink screen hardware systems with fewer colors, avoiding the problem of monotonous screen color display caused by directly displaying black, white, and red colors.
[0046] In the algorithm of this application, the RGB color values are first divided into three intervals based on grayscale values: 0-85 represents the black area, where 0 represents the purest black and 85 represents black and red; 86-170 represents the red area, where 86 represents black and red and 170 represents red and white; and 171-255 represents the white area, where 171 represents red and white and 255 represents pure white. The threshold value is set to 45 for the 0-85 interval, 130 for the 86-170 interval, and 215 for the 171-255 interval. Each of the three intervals is then processed separately. For the first interval (0-85), black is initially assumed as the background. If the current value X is greater than 45, the current point is set to red, and the error value W = 85 - X is calculated. Simultaneously, the color value Y of the next point is obtained, and Z = (W + Y) × (3.8 / 8). If the value is greater than 85, the next point is set to red. For the second interval (86-170), the background is initially set to red. If the current value X is greater than 120, the current point is set to white, and the error value W = 170 - X - 85 is calculated. Simultaneously, the color value Y of the next point is obtained. Z = (W + Y) × (3.8 / 8). If the value is greater than 120, the next point is set to white. For the third interval (171-255), the background is initially set to white. If the current value X is less than 251, the current point is set to red, and the error value W = 215 - X - 85 is calculated. Simultaneously, the color value Y of the next point is obtained. Z = (W + Y) × (3.8 / 8). If the value is less than 251, the next point is set to red.
[0047] In some embodiments not shown in the accompanying drawings, the width and height of the bitmap are first obtained, and data is created using the bitmap size to obtain the color value (R+G+B) / 3 for each pixel. Based on the range of the color value, the image data is converted according to the above-described red-white-black e-ink screen data conversion method, and the color of each pixel is modified. The modified color data is then saved as a new file and used as the image driving data for display in the red-white-black e-ink screen driving device.
[0048] A data conversion method and driving device for a red-white-black e-ink screen includes a display driving module and a grayscale image display control unit. The grayscale image display control unit converts grayscale image encoding to black-red-white encoding according to the grayscale encoding range. The display driving module drives the red-white-black e-ink screen to display according to the black-red-white encoding. The data conversion method includes: step A20: converting grayscale image encoding to black-red-white encoding according to the grayscale encoding range; step A30: driving the red-white-black e-ink screen to display according to the black-red-white encoding. Converting color image encoding to grayscale image encoding, and then from grayscale encoding to black-red-white encoding, is an efficient data conversion method. It allows for color display using grayscale data and also achieves a smoother display effect for color images on a red-white-black e-ink screen.
[0049] like Figures 1 to 5 As shown, the above description is only an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of the invention specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for converting red, white, and black electronic ink screen data, characterized in that, include: Step A10: Convert the color image encoding to grayscale image encoding; Step A20: Convert the grayscale image to black-red-white encoding according to the grayscale encoding range; Step A20 includes 3 grayscale conversion ranges; Step A20 includes: taking two points, taking two adjacent points in each row, or taking two adjacent points in each column; Step A21: If the grayscale value X of the first point is in the range of 0-85, first default to black as the background. If the value of the first point is greater than 45, set the first point to red and calculate the error value W=85-X; set the original color value of the second point to Y, calculate Z=(W+Y)×(3.8 / 8), and when the Z value is greater than 85, set the second point to red. Step A22: If the grayscale value X of the first point is in the range of 86-170, first default to red as the background. If the value of the first point is greater than 120, set the first point to white and calculate the error value W=170-X-85. Set the original color value of the second point to Y, Z=(W+Y)×(3.8 / 8). If Z is greater than 120, set the second point to white. Step A23: If the grayscale value X of the first point is in the range of 171-255, firstly, white is the default background. If the value of the first point is less than 251, set the first point to red and calculate the error value W=215-X-85. Set the original color value of the second point to Y, Z=(W+Y)×(3.8 / 8). If Z is less than 251, set the second point to red. Step A30: Drive the red-white-black e-ink screen to display according to the black-red-white encoding.
2. A red, white, and black electronic ink screen driving device, characterized in that, Includes: display driver module, grayscale graphic display control unit; The grayscale image display control unit converts the grayscale image encoding into black-red-white encoding according to the grayscale encoding range, as described in claim 1. The display driver module drives the red-white-black e-ink screen to display according to the black-red-white encoding.
3. The red, white, and black electronic ink screen driving device according to claim 2, characterized in that, The grayscale graphic display control unit includes a first conversion module, a second conversion module, and a third conversion module.
4. The red, white, and black electronic ink screen driving device according to claim 3, characterized in that, Take two points. If the grayscale value of the first point is in the range of 0-85, the first conversion module will convert and process it to convert the grayscale image to black-red-white encoding.
5. The red, white, and black electronic ink screen driving device according to claim 3, characterized in that, Take two points. If the grayscale value of the first point is in the range of 86-170, the second conversion module will convert and process it to convert the grayscale image to black-red-white encoding.
6. The red, white, and black electronic ink screen driving device according to claim 3, characterized in that, Take two points. If the grayscale value of the first point is in the range of 171-255, the third conversion module will convert and process it to convert the grayscale image to black-red-white encoding.