Method for making data mapping table, converting data format and displaying color electronic paper

Through the data mapping table and data format conversion method, the problem of inappropriate display of digital image formats on color electronic paper is solved, and the efficient display effect on color electronic paper is achieved, improving color contrast and uniformity.

CN119600958AInactive Publication Date: 2025-03-11JIANGXI XINGTAI TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411988093.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-03-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the digital picture format is not suitable for display on color electronic paper, resulting in the color not being bright enough, the color quantity is poor, and the image required by high contrast and uniformity cannot be effectively displayed.

Method used

A data mapping table production and data format conversion method is proposed. Through the conversion of standard picture format to color electronic paper format, the color deviation values ​​of single pixel point data and N standard colors are calculated, the three standard colors with the smallest color deviation values ​​are found, and the corresponding spatial positions are found according to their spatial probability distribution table, and the color corresponding to the largest spatial position number data is sorted as the color displayed on color electronic paper by the single pixel point.

Benefits of technology

It realizes fast and efficient conversion from standard picture format to color electronic paper format, improves the display effect on color electronic paper, makes the color contrast closer to the original picture and the color display is more uniform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119600958A_ABST
    Figure CN119600958A_ABST
Patent Text Reader

Abstract

The invention discloses a data mapping table making and data format conversion and color electronic paper display method and device for data conversion from a standard picture format to a color electronic paper picture format, and the method comprises the steps: selecting N standard color numbers according to the color display capability of color electronic paper; color electronic paper is used for displaying, a camera is used for shooting, and data A in a standard picture format of a standard color corresponding to the serial number is obtained; and establishing a corresponding relation table of the numbers and the data A. Taking a color picture in a standard picture format to obtain corresponding mapping picture data; according to the color electronic paper data mapping table, calculating color deviation values of the single pixel point data and the N standard colors; finding out three standard colors with minimum color deviation values; and according to the color deviation values, searching corresponding spatial positions in a spatial probability distribution table corresponding to the three standard colors, sorting according to spatial position numbers, and selecting the color corresponding to the data of the maximum spatial position number as the color of the single pixel point displayed on the color electronic paper.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of display technology, and specifically relates to a method and device for making a data mapping table, converting data formats, and displaying color electronic paper. Background Art

[0002] E-paper has the characteristics of ultra-low power consumption, paper-like texture, and visibility under sunlight. It is widely used in retail, education, medical, advertising and other industries, which not only improves the intelligence level of the industry but also saves various resources. For example, in the retail industry, electronic price tags are used to replace traditional paper labels, which can effectively save labor costs. Currently, common 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.

[0003] In the electronic paper industry, color electronic paper has gradually entered the market. Full-color electronic paper has a rich variety of colors. However, due to technical issues, the colors are still not bright enough. Compared with the colors of photos and posters printed by printers, there is still a significant gap. Compared with the colors of conventional LCD displays, the color difference is even greater.

[0004] In addition to color, the color uniformity is also very different from that of LCD monitors. It is not even at the first level. LCD monitors currently have 1.6 million colors, and the transition of each color is very uniform. The color quantity of electronic paper is very low, currently 8 or 16 colors. And the color is extremely uneven.

[0005] In all current digital image formats, the colors of photos are in a format that adapts to the liquid crystal color system. This is not suitable for electronic paper display. There are many types of electronic paper color formats, and incompatibility is the norm. How to solve the above problem is the purpose of this application. This application is to convert the standard image format into a format suitable for display on color electronic paper.

[0006] This algorithm is a calculation method for converting a liquid crystal color system into an electronic paper color system. Summary of the invention

[0007] In order to solve the problem of incompatibility of digital picture formats on color electronic paper in the prior art, a method and device for making a data mapping table, converting data formats, and displaying color electronic paper are proposed, which can quickly and efficiently convert standard format pictures to color electronic paper formats, and the display effect on color electronic paper is better. The contrast between colors is closer to the original picture.

[0008] The technical solution of the present application to solve the above-mentioned technical problems is a data format conversion method, which is used for data conversion from standard image format to color electronic paper image format, taking a color image in a standard image format to obtain corresponding mapping image data; taking single pixel point data in the mapping image data; calculating the color deviation value between the single pixel point data and N standard colors according to a color electronic paper data mapping table; finding out the three standard colors with the smallest color deviation values; finding the corresponding spatial position according to a spatial probability distribution table corresponding to the color deviation values ​​in the three standard colors, sorting according to the spatial position number, and selecting the color corresponding to the data with the largest spatial position number as the color displayed on the color electronic paper for the single pixel point.

[0009] The mapping image data acquisition includes the following steps: selecting N standard colors, N is greater than or equal to 3; using color electronic paper to display the N standard colors; using a camera to shoot the standard colors to obtain an RGB format image; the numerical range of a single pixel point monochrome in the RGB format image is [0, RGBH]; extracting the RGB values ​​of the N standard colors in the RGB format image; obtaining the RGB value range RA of the color electronic paper; the RGB value range RA interval is [RAL, RAH]; the RGB value range RA includes an upper limit value RAH and a lower limit value RAL; performing mapping calculation according to the RGB value range RA of the color electronic paper to obtain the mapping image data; the mapping calculation formula is: Y=X×((RAH-RAL) / RGBH)+RAL; X is the RGB data value of the pixel point in the original standard image format to be displayed; Y is the RGB value of the mapping image; in the mapping image data, the value range of each pixel point is adjusted to the interval range of [RAL, RAH].

[0010] The spatial probability distribution table is 8×8 in size; the standard image format is RGB format; the color deviation value calculation formula is: R1 is the R value of the single pixel data, R2 is the R value of one of N standard colors; G1 is the G value of the single pixel data, G2 is the G value of one of N standard colors; B1 is the B value of the single pixel data, B2 is the B value of one of N standard colors.

[0011] The technical solution of the present application to solve the above-mentioned technical problems can also be a method for producing a data mapping table, wherein the data mapping table is used for data conversion from standard picture format to color electronic paper picture format, and N standard colors are selected according to the color display capability of the color electronic paper, where N is greater than or equal to 3; the N standard colors are numbered; the standard colors corresponding to the numbers are displayed on color electronic paper; the standard colors are photographed with a camera; data A in a standard picture format of the standard colors corresponding to the numbers are obtained; and a correspondence table between the numbers and the data A is established.

[0012] The standard image formats are RGB or LAB.

[0013] Color electronic paper includes four-color particles of cyan, magenta, yellow and white; the N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue and magenta.

[0014] Color electronic paper includes four-color particles: black, white, red, and yellow; N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue, and magenta.

[0015] Color electronic paper includes red, green, blue, black and white particles; N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue and magenta.

[0016] The technical solution of the present application to solve the above technical problem can also be a color electronic paper display method, which converts the pixel data format of the image to be displayed into a full-color electronic paper image format based on the above data format conversion method.

[0017] A color electronic paper display device is provided, which is displayed based on the above method.

[0018] One of the beneficial effects of the technical solution in the present application is that the data mapping table production method establishes a correspondence between the color display capability of the color electronic paper and the data in the standard color standard image format, which facilitates indexing of related data according to color changes in subsequent conversions.

[0019] One of the beneficial effects of the technical solution in the present application is that the standard image format is RGB or LAB, which is applicable to a variety of standard image formats.

[0020] One of the beneficial effects of the technical solution in the present application is that it can adapt to color electronic paper with particles of various colors.

[0021] One of the beneficial effects of the technical solution in the present application is to map the image data and the color electronic paper data mapping table, calculate the color deviation value between the single pixel data and N standard colors; find out the three standard colors with the smallest color deviation value; and make different colors display more evenly.

[0022] The contrast differences between colors can be inherited as much as possible in color electronic paper.

[0023] One of the beneficial effects of the technical solution in the present application is that the data range of the mapped image is adjusted to the interval range of [RAL, RAH], which can be unified within the RGB range of the electronic paper, so that the scale of the color deviation calculation of the mapped image is unified and the deviation is reduced.

[0024] One of the beneficial effects of the technical solution in the present application is that 8 color deviation values ​​are calculated to obtain deviations of multiple colors, which facilitates the selection of the minimum color deviation.

[0025] One of the beneficial effects of the technical solution in the present application is that the color electronic paper display method is based on the above solution, which can maintain the color contrast of the original image as much as possible and has a higher degree of restoration. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a schematic diagram of format conversion;

[0027] Figure 2 This is a schematic diagram of the eight standard colors displayed on the electronic paper;

[0028] Figure 3 There are 8 standard colors of electronic paper display. Take pictures to get data in RGB format;

[0029] Figure 4 It is a schematic diagram of the data mapping table;

[0030] Figure 5 It is a schematic diagram of the data mapping table;

[0031] Figure 6 It is a schematic diagram of the color particles of the color electronic paper;

[0032] Figure 7 It is a schematic diagram of the color particles of the color electronic paper;

[0033] Figure 8 It is a schematic diagram of the color particles of the color electronic paper;

[0034] Fig. 9 It is a schematic diagram of the data format conversion method;

[0035] Fig.10 It is a schematic diagram for obtaining a mapping image;

[0036] Fig.11 Here are examples of color deviation values ​​for 8 standard colors;

[0037] Fig.12 This is an example of selecting 3 colors with smaller color deviation values ​​to display the probability;

[0038] Fig.13 It is a schematic diagram of the probability distribution table of 8 color space positions;

[0039] Fig.14 It is a schematic diagram of the probability distribution table of 8 color space positions;

[0040] Fig.15 This is a schematic diagram of the conversion between RGB format images and mapped images. DETAILED DESCRIPTION

[0041] The implementation methods of the present application are further described in detail below in conjunction with the accompanying drawings.

[0042] It should be noted that the following is a description of the preferred embodiments of the present application, which does not constitute any limitation to the present application. The description of the preferred embodiments of the present application is only an explanation of the general principles of the present application. The embodiments described in this application are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0043] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second", and technical features numbered with Arabic numerals 1, 2, 3, etc., and numbers such as "A" and "B", are only used for descriptive purposes and are only for the convenience of explanation, and do not represent a sequential relationship in time or space; they cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first", "second", and numbered with Arabic numerals 1, 2, 3, etc. may explicitly or implicitly include one or more of the features. In the description of the present application, “several” means two or more than two, unless otherwise clearly and specifically defined.

[0044] RGB color mode is a color standard in the industry. It obtains various colors by changing the three color channels of red (R), green (G), and blue (B) and superimposing them. RGB represents the colors of the three channels of red, green, and blue. This standard covers almost all colors that human vision can perceive and is one of the most widely used color systems. RGB is designed and formulated based on the principle of color luminescence. In layman's terms, its color mixing method is like having three lights, red, green, and blue. When their light overlaps with each other, the colors are mixed, but the brightness is equal to the sum of the brightness of the three. The more mixed, the higher the brightness, which is additive mixing. The superposition of the three lights of red, green, and blue, the brightest superposition area of ​​the three colors in the center is white. The characteristic of additive mixing is that the more superposition, the brighter it is. Each color of the three color channels of red, green, and blue is divided into 256 levels of brightness. At 0, the "light" is the weakest - it is turned off, and at 255, the "light" is the brightest. When the grayscale values ​​of the three colors are the same, gray tones with different grayscale values ​​are generated. That is, when the grayscale of the three colors are all 0, it is the darkest black tone; when the grayscale of the three colors are all 255, it is the brightest white tone.

[0045] RGB colors are called additive colors because white is produced by adding R, G, and B together (i.e., all light is reflected back to the eye). Additive colors are used in lighting, televisions, and computer monitors. For example, monitors produce colors by emitting light from red, green, and blue phosphors. Most of the visible spectrum can be represented as a mixture of red, green, and blue (RGB) light in varying proportions and intensities. When these colors overlap, they produce yellow, cyan, and violet.

[0046] The method of encoding a color is collectively called a "color space" or "color gamut". In the simplest terms, the "color space" of any color in the world can be defined as a fixed number or variable. RGB (red, green, blue) is just one of many color spaces. Using this encoding method, each color can be represented by three variables - the intensity of red, green, and blue. RGB is the most common solution for recording and displaying color images. However, it lacks good compatibility with early black and white display systems. Therefore, many electronic and electrical manufacturers generally adopt the practice of converting RGB to YUV color space to maintain compatibility, and then converting back to RGB format as needed to display color graphics on computer monitors.

[0047] RGB format is one of the most common standard image formats. In a regular RGB format image, for example, yellow is 255:255:0; black is 0:0:0; white is 255:255:255. The entire image is displayed in this ratio. If the image on the display is directly input into the electronic paper, the contrast and uniformity will change.

[0048] In the conventional RGB format, for example, yellow is 255:255:0; black is 0:0:0; white is 255:255:255. According to the display capability of color electronic paper, the displayed image is 180:180:20 for yellow; 20:20:20 for black; and 200:200:200 for white. If the data in the above RGB format is directly put into the driver of the electronic paper, the display effect of the electronic paper is 180 for yellow and 200 for white. In this way, the red-white contrast of the display effect will be different, and the visual will feel that the color of the image has changed.

[0049] This algorithm combines the display effect of electronic paper to make the difference between the effect of electronic paper screen and the effect of display picture smaller. Convert the RGB space of standard format picture into the color space of electronic paper.

[0050] In some embodiments, the first step is to debug the electronic paper effect waveform. By debugging the waveform of the electronic paper, the color of the electronic paper can reach the maximum color of the electronic paper as much as possible. The maximum color that can be displayed on the hardware of the color electronic paper is achieved. Then the image algorithm is processed, and here it is necessary to combine the electronic paper effect waveform for processing. This is also the key point. Convert the original image that the customer wants to display into the display image of the electronic paper. Then transmit the display image to the electronic paper drive controller for display.

[0051] The method in the present application can effectively combine the contrast characteristics of the electronic paper effect and restore the effect of the original image to a greater extent.

[0052] The method in this application is divided into three parts: the first step: image interval mapping; the second step: probability statistics; the third step: point grayscale probability algorithm.

[0053] An embodiment of a method for making a data mapping table, such as Figure 1 , the data mapping table is used for data conversion from standard image format to color electronic paper image format.

[0054] In an embodiment of a method for making a data mapping table, N standard colors are selected according to the color display capability of the color electronic paper, where N is greater than or equal to 3; Figure 2 In the embodiment of FIG.

[0055] like Figure 2 , number the N standard colors 1, 2, 3, 4, 5, 6, 7, 8; and display the standard colors corresponding to the numbers on color electronic paper.

[0056] Use a camera to photograph the standard color; obtain data A in a standard picture format of the standard color corresponding to the number; Figure 3 It is data A in standard picture format.

[0057] Create a corresponding table between the number and data A, such as Figure 4 and Figure 5 shown. Figure 5 The 8 colors are: black, red, yellow, green, white, cyan, blue, and magenta.

[0058] like Figure 4 , the standard picture format is RGB encoding format. In other embodiments, the standard picture format may be LAB.

[0059] like Figure 6 , color electronic paper includes four color particles: cyan, magenta, yellow, and white; N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue, and magenta.

[0060] like Figure 7, the color electronic paper includes four-color particles: black, white, red, and yellow; the N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue, and magenta.

[0061] like Figure 8 , the color electronic paper includes red, green, blue, black and white particles; the N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue and magenta.

[0062] like Fig. 9 , a data format conversion method, used for converting data from a standard picture format to a color electronic paper picture format; taking a color picture in a standard picture format to obtain mapping picture data; taking single pixel point data in the mapping picture data; calculating the color deviation value between the single pixel point data and N standard colors according to a color electronic paper data mapping table; finding out the three standard colors with the smallest color deviation values; and obtaining a spatial probability distribution table corresponding to the three standard colors with the smallest color deviation values.

[0063] In the spatial probability distribution table, the corresponding spatial position is searched, sorted according to the spatial position number, and the color corresponding to the data of the largest spatial position number is selected as the color displayed by the single pixel on the color electronic paper. The spatial probability distribution table is 8×8 in size.

[0064] like Fig.10 , the mapping image data acquisition includes the following steps: select N standard colors, N is greater than or equal to 3; N is 8. Use color electronic paper to display 8 standard colors; use a camera to shoot the standard colors to obtain an RGB format image; the value range of a single pixel point monochrome in an RGB format image is [0, RGBH]; RGBH=255. The pictures to be displayed are usually RGB888. The RGB range is from 0 to 255.

[0065] like Figure 3 , let the electronic paper display. Then take a photo. A photo like the one above will be generated. Extract the RGB values ​​of 8 colors in the photo. Extract the RGB values ​​of N standard colors in the RGB format image; get the RGB value range RA of the color electronic paper; the RGB value range RA interval is [RAL, RAH]; the RGB value range RA includes the upper limit value RAH and the lower limit value RAL.

[0066] In one embodiment, the RGB data corresponding to the standard format image obtained after taking a photo of the 8 colors displayed on the electronic paper are: black: 60 / 60 / 60; red: 150 / 80 / 60; yellow: 150 / 140 / 80; green: 80 / 100 / 90; white: 150 / 150 / 150; cyan: 80 / 100 / 140; blue: 80 / 90 / 140; magenta: 130 / 60 / 110; the maximum RGB range of the electronic paper is between [60, 150]. RAH = 150; RAL = 60.

[0067] A mapping calculation is performed according to the RGB value range RA of the color electronic paper to obtain a mapping image; the mapping calculation formula is: Y=X×((RAH-RAL) / RGBH)+RAL; X is the RGB data value of the pixel point in the original standard image format to be displayed; Y is the RGB value of the mapping image; the value range of each pixel point is adjusted to the interval range of [RAL, RAH].

[0068] If the displayed image is 255 / 255 / 255 mapped to 150 / 150 / 150, the mapping calculation method is Y=X×((150-60) / 255)+60. Then the RGB values ​​of the pixels of the mapped image corresponding to the displayed image are all within the range of [60, 150]. Fig.15 , showing a: 3×3 pixels, RGB value range (0-255), the RGB values ​​of pixels AN11, AN12, AN13, AN21, AN22, AN23, AN31, AN32, AN33 are all in [0, 255]. Converted into a mapping image, 3×3 pixels, RGB value range (60-150); the RGB values ​​of pixels TN11, TN12, TN13, TN21, TN22, TN23, TN31, TN32, TN33 are all in [60, 150].

[0069] Through the mapping algorithm, a new picture to be displayed will be generated, named the mapping picture.

[0070] Map a pixel in the image and calculate the color deviation between the single pixel data and N standard colors. For example, the current point R1 / G1 / B1 is 130 / 120 / 100.

[0071] The standard image format is RGB format; the color deviation value calculation formula is: R1 is the R value of the single pixel data, R2 is the R value of one of N standard colors; G1 is the G value of the single pixel data, G2 is the G value of one of N standard colors; B1 is the B value of the single pixel data, B2 is the B value of one of N standard colors.

[0072] In the color deviation value calculation formula, R1 / G1 / B1 is the RGB data of the mapped image, and R2, G2, and B2 are the RGB values ​​of the N standard colors in the RGB format of the image displayed on the electronic paper. Calculate the color deviation value between the current pixel and the 8 standard colors displayed on the electronic paper. The RGB data corresponding to the standard format image obtained after taking a photo of the 8 colors displayed on the electronic paper are: black: 60 / 60 / 60; red: 150 / 80 / 60; yellow: 150 / 140 / 80; green: 80 / 100 / 90; white: 150 / 150 / 150; cyan: 80 / 100 / 140; blue: 80 / 90 / 140; magenta: 130 / 60 / 110.

[0073] is the color deviation between the current pixel and black, and the values ​​of R2 / G2 / B2 are 60 / 60 / 60.

[0074] is the color deviation between the current pixel and red, and the values ​​of R2 / G2 / B2 are 150 / 80 / 60.

[0075] is the color deviation between the current pixel and yellow, and the values ​​of R2 / G2 / B2 are 150 / 140 / 80.

[0076] is the color deviation between the current pixel and green, and the values ​​of R2 / G2 / B2 are 80 / 100 / 90.

[0077] is the color deviation between the current pixel and white, and the values ​​of R2 / G2 / B2 are 150 / 150 / 150.

[0078] is the color deviation value between the current pixel and cyan, then the values ​​of R2 / G2 / B2 are 80 / 100 / 140.

[0079] is the color deviation between the current pixel and blue, and the values ​​of R2 / G2 / B2 are 80 / 90 / 140.

[0080] is the color deviation between the current pixel and magenta, and the values ​​of R2 / G2 / B2 are 130 / 60 / 110.

[0081] like Fig.11 , calculate the color deviation between the single pixel data and the 8 standard colors; the smaller the △E is, the closer the current point is to the color value of the electronic paper, that is, the closer the color is. Here we take the 3 closest ones. Find the 3 standard colors with the smallest color deviation; from Fig.11It can be seen that the current color is closest to the color yellow of the color electronic paper, followed by green, then red and magenta. Here we take the first three, namely yellow, green and red, which are 35, 54 and 60 respectively.

[0082] The color of the current pixel is closest to the yellow color of the electronic paper, followed by green, then red and magenta. Then take the first 3 here, yellow, green and red. They are 35, 54, and 60 respectively. From this data, the color of the current point is closer to yellow. The above color deviation values ​​are probabilistically normalized; the normalization process is as follows Fig.12 shown.

[0083] Yellow Normalization:

[0084] 35 / (35+54+60)=0.235; 1-0.235=0.765;

[0085] 0.765 / (0.765+0.638+0.597)=0.382; the probability value is 38%.

[0086] Green Normalization:

[0087] 54 / (35+54+60)=0.362; 1-0.362=0.638;

[0088] 0.638 / (0.765+0.638+0.597)=0.319; probability value 32%.

[0089] Magenta Normalization:

[0090] 60 / (35+54+60)=0.403; 1-0.403=0.597;

[0091] 0.597 / (0.765+0.638+0.597)=0.299; probability value 30%.

[0092] The three values ​​calculated are the similarity ratios. At the same time, the closer the color is, the higher the probability of being selected.

[0093] like Fig.13 , is the spatial probability distribution table corresponding to 8 standard colors. In this application, the spatial probability distribution table is 8×8 in size. The 64 spatial positions correspond to the occurrence probability in the range of 1-64 values.

[0094] According to the yellow, green and red colors selected above, select from the spatial probability distribution tables corresponding to the eight standard colors: the yellow spatial probability distribution table, the green spatial probability distribution table; and the magenta spatial probability distribution table.

[0095] In the spatial probability distribution table, the corresponding spatial position is searched, sorted according to the spatial position number, and the color corresponding to the data of the largest spatial position number is selected as the color displayed by the single pixel on the color electronic paper. The spatial probability distribution table is 8×8 in size.

[0096] According to the spatial probability distribution table corresponding to the three standard colors with the smallest color deviation values, the errors with the eight color values ​​of the electronic paper are obtained by calculation.

[0097] A color electronic paper display method, wherein the data format conversion method converts the pixel data format in the image to be displayed into a full-color electronic paper image format. A color electronic paper display device is displayed based on the above method.

[0098] This application currently converts according to the 8-color system. Before the conversion calculation, the color data value of the electronic paper is required, and a camera can be used to take pictures of the 8 colors of the electronic paper. Because the brightness is different, the data of the 8 colors generated will also be different.

[0099] Then perform image interval mapping to obtain the mapping image. For the convenience of calculation, it is also possible to normalize the data of the mapping image. Normalization processing. The subsequent calculation method is the same. It's just that the values ​​are slightly different. Calculate the difference between the mapping image and the 8 colors, calculate the 3 colors with the smallest difference, and perform color probability statistics for each of the 3 colors.

[0100] Color probability statistics are used to count which color the current point is closer to. For example, the probability of the current point being selected as yellow is 38.2%. Whether it will be selected is determined by the probability algorithm of the spatial probability distribution table.

[0101] 8 spatial probability distribution tables, namely, black spatial probability distribution table, white spatial probability distribution table, red spatial probability distribution table, yellow spatial probability distribution table, white spatial probability distribution table, cyan spatial probability distribution table, and magenta spatial probability distribution table, select the spatial probability distribution table of the three colors closest to each other, such as Fig.14 , select the yellow spatial probability distribution table, the green spatial probability distribution table, and the magenta spatial probability distribution table.

[0102] Such as yellow spatial probability distribution table, green spatial probability distribution table; magenta spatial probability distribution table. In the above embodiment, yellow has a probability value of 38%. Green has a probability value of 32%. Magenta has a probability value of 30%. The spatial probability distribution table can be 64 pixels evenly distributed. Calculate the color value of each pixel in each spatial probability distribution table, and take the color with the largest probability value calculated in the above three color spatial probability distribution tables as the color of the current pixel.

[0103] According to the spatial probability distribution table corresponding to the three standard colors, the corresponding spatial position is found, sorted according to the spatial position number, and the color corresponding to the largest spatial position number data is selected as the color displayed on the color electronic paper for the single pixel.

[0104] For example, in the yellow spatial probability distribution table, the probability of the 7th column and the 3rd row is 38; then the pixel point of the 7th column and the 3rd row is selected to display yellow.

[0105] In the green space probability distribution table, the probability of the 1st column and the 8th row is 32; therefore, the pixel point in the 1st column and the 8th row is selected to display green.

[0106] In the magenta spatial probability distribution table, the probability of the 6th column and the 4th row is 30; therefore, the pixel point in the 6th column and the 4th row is selected to display yellow.

[0107] As shown in the accompanying drawings, the above description is only an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the invention description and the accompanying drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data format conversion method for converting standard image format to color electronic paper image format data, characterized in that: Take a color picture in a standard picture format and obtain the corresponding mapping picture data; Get single pixel point data in the mapping image data; According to the color electronic paper data mapping table, the color deviation value between the single pixel point data and N standard colors is calculated; and the three standard colors with the smallest color deviation value are found; According to the spatial probability distribution table corresponding to the three standard colors, the corresponding spatial position is found, sorted according to the spatial position number, and the color corresponding to the largest spatial position number data is selected as the color displayed on the color electronic paper for the single pixel.

2. The data format conversion method according to claim 1, characterized in that: The mapping picture data acquisition comprises the following steps: Select N standard colors, where N is greater than or equal to 3; Use color electronic paper to display N standard colors; Use a camera to shoot the standard color to obtain an RGB format image; the value range of a single pixel point monochrome in the RGB format image is [0, RGBH]; Extract the RGB values ​​of N standard colors in an RGB format image; Get the RGB value range RA of the color electronic paper; the RGB value range RA interval is [RAL, RAH]; The RGB value range RA includes an upper limit value RAH and a lower limit value RAL; Perform mapping calculation according to the RGB value range RA of the color electronic paper to obtain mapping image data; The mapping calculation formula is: Y = X × ((RAH-RAL) / RGBH) + RAL; X is the RGB data value of the pixel in the original standard image format to be displayed; Y is the RGB value of the mapped image; In the mapped image data, the value range of each pixel is adjusted to the interval range of [RAL, RAH].

3. The data format conversion method according to claim 1, characterized in that: The spatial probability distribution table is 8×8 in size; The standard image format is RGB format; the color deviation value calculation formula is: R1 is the R value of a single pixel data, and R2 is the R value of one of the N standard colors; G1 is the G value of single pixel data, and G2 is the G value of one of N standard colors; B1 is the B value of a single pixel data, and B2 is the B value of one of the N standard colors.

4. A method for making a data mapping table, wherein the data mapping table is used for data conversion from a standard image format to a color electronic paper image format, characterized in that: According to the color display capability of the color electronic paper, N standard colors are selected, where N is greater than or equal to 3; Numbering the N standard colors; Using color electronic paper to display the standard color corresponding to the number; photographing the standard color with a camera; Obtain data A in a standard picture format of a standard color corresponding to the number; Establish a correspondence table between the number and data A.

5. The method for making a data mapping table according to claim 4, characterized in that: Standard image formats are RGB or LAB.

6. The method for making a data mapping table according to claim 4, characterized in that: Color electronic paper includes four color particles: cyan, magenta, yellow, and white; The N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue, and magenta.

7. The method for making a data mapping table according to claim 4, characterized in that: Color electronic paper includes four color particles: black, white, red, and yellow; The N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue, and magenta.

8. The method for making a data mapping table according to claim 4, characterized in that: Colored electronic paper includes red, green, blue, black, and white particles; The N is 8, and the 8 colors are: black, red, yellow, green, white, cyan, blue, and magenta.

9. A color electronic paper display method, characterized in that: Based on the data format conversion method described in any one of claims 1 to 8, the pixel data format in the image to be displayed is converted into a full-color electronic paper image format.

10. A color electronic paper display device, characterized in that: The method according to claim 9 is shown.