Refreshing method of color screen reader, color screen reader and computer storage medium

文档序号:1889041 发布日期:2021-11-26 浏览:18次 中文

阅读说明:本技术 彩屏阅读器的刷新方法、彩屏阅读器及计算机存储介质 (Refreshing method of color screen reader, color screen reader and computer storage medium ) 是由 程超 刘斌 于 2020-05-20 设计创作,主要内容包括:本发明公开了一种彩屏阅读器的刷新方法、彩屏阅读器及计算机存储介质。其中,该方法包括:读取待显示的彩色图像;提取彩色图像中每个像素的颜色分量,得到彩色提取图像;将彩色提取图像转换为灰阶图像;将灰阶图像进行降灰阶处理;根据降灰阶处理后的灰阶图像查找驱动波形,利用驱动波形驱动墨水屏,以实现图像刷新。利用本发明提供的方案,从待显示的彩色图像中提取所需的颜色分量得到彩色提取图像,将其转换为低阶灰度图像,基于低阶灰度图像查找驱动波形,利用驱动波形驱动墨水屏,实现图像刷新,从而提升了彩屏阅读器的刷新效果,既有效控制了残影严重影响画质的问题,又有效控制了闪烁次数,整体上提升了刷新速度,提升了用户体验。(The invention discloses a refreshing method of a color screen reader, the color screen reader and a computer storage medium. Wherein, the method comprises the following steps: reading a color image to be displayed; extracting the color component of each pixel in the color image to obtain a color extracted image; converting the color extracted image into a gray-scale image; performing gray scale reduction processing on the gray scale image; and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing. By utilizing the scheme provided by the invention, the required color components are extracted from the color image to be displayed to obtain the color extracted image, the color extracted image is converted into the low-order gray-scale image, the driving waveform is searched based on the low-order gray-scale image, the ink screen is driven by utilizing the driving waveform to realize image refreshing, so that the refreshing effect of the color screen reader is improved, the problem that the image quality is seriously influenced by the ghost is effectively controlled, the flicker frequency is effectively controlled, the refreshing speed is integrally improved, and the user experience is improved.)

1. A refreshing method of a color screen reader comprises an ink screen and a color filter film; the method comprises the following steps:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extraction image into a gray scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

2. The method according to claim 1, wherein said converting said color extracted image into a grayscale image is in particular: converting the color extraction image into an n-order gray scale image;

the step-down gray scale processing of the gray scale image comprises the following specific steps: carrying out gray scale reduction processing on the n-order gray scale image to obtain an m-order gray scale image; wherein m is less than n.

3. The method of claim 2, wherein n is 16 and m is 4 or 8 or 2.

4. The method according to claim 1 or 2, wherein said grayscaling the grayscale image is specifically: and carrying out binarization processing on the gray-scale image to obtain a binarized image.

5. The method according to claim 4, wherein the binarizing the grayscale image to obtain a binarized image further comprises:

traversing each pixel of the gray-scale image, and comparing the gray value of the pixel with a preset threshold value;

and converting the gray value of the pixel into 0 or 1 according to the comparison result to obtain a binary image.

6. The method according to claim 4, wherein the binarizing the grayscale image to obtain a binarized image further comprises:

obtaining a standard pattern, and partitioning the gray-scale image according to the size of the standard pattern;

and aiming at each block of the gray-scale image, comparing the gray value of each pixel of the block with each point value of the standard pattern, and converting the gray value of each pixel of the block into 0 or 1 according to the comparison result to obtain a binary image.

7. The method according to claim 4, wherein the binarizing the grayscale image to obtain a binarized image further comprises:

sequentially traversing each pixel of the gray-scale image;

for any traversed current pixel, compensating the gray value of the current pixel according to the error compensation value transmitted by the previous pixel to obtain the compensated gray value of the current pixel;

comparing the compensated gray value of the current pixel with a preset threshold, and converting the gray value of the pixel into 0 or 1 according to the comparison result;

and calculating an error compensation value to be transmitted to a subsequent pixel according to the compensated gray value of the current pixel.

8. The method of any of claims 1-7, wherein the extracting color components for each pixel in the color image, resulting in a color extracted image further comprises:

and for any pixel in the color image, extracting a specified color component from three color components of the pixel as a pixel value corresponding to the pixel in the color extraction image.

9. A color screen reader comprising: the ink screen, the color filter film, the processor, the memory, the communication interface and the communication bus are communicated with each other through the communication bus;

the memory is configured to store at least one executable instruction that causes the processor to:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extraction image into a gray scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extraction image into a gray scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

Technical Field

The invention relates to the technical field of image display, in particular to a refreshing method of a color screen reader, the color screen reader and a computer storage medium.

Background

With the continuous development of science and technology and society, a color screen reader is developed, which is based on the principle that a layer of color filter film is added on a black-and-white ink screen through a printed circuit technology, light irradiates an ink capsule from the outside of the screen and then is reflected out of the screen, and when the light is reflected, a color effect is realized through the color filter film.

The color screen reader can display image and text contents with color components, for example, image contents such as cartoons, web pages, videos and the like can be browsed through the color screen reader, but the problem of image sticking generated by the color screen reader is more serious compared with a black-and-white display reader, the image contents are more complex compared with the contents of characters (such as reading pages), and the randomness in arrangement is stronger, so that the image sticking degree is further deepened. Therefore, a solution for effectively solving the problem of image sticking caused by the refreshing of the color screen reader is needed.

Disclosure of Invention

In view of the above, the present invention has been made to provide a color screen reader refresh method, a color screen reader and a computer storage medium that overcome or at least partially solve the above-mentioned problems.

According to one aspect of the invention, a refreshing method of a color screen reader is provided, wherein the color screen reader comprises an ink screen and a color filter film; the method comprises the following steps:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extracted image into a gray-scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

According to another aspect of the present invention, there is provided a color screen reader comprising: the ink screen, the color filter film, the processor, the memory, the communication interface and the communication bus are communicated with each other through the communication bus;

the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following operations:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extracted image into a gray-scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

According to yet another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extracted image into a gray-scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

According to the scheme provided by the invention, the required color components are extracted from the color image to be displayed to obtain the color extracted image, the color extracted image is converted into the low-order gray image, the driving waveform is searched based on the low-order gray image, the ink screen is driven by using the driving waveform to realize image refreshing, so that the refreshing effect of the color screen reader is improved, the problem that the image quality is seriously influenced by the ghost is effectively controlled, the flicker frequency is effectively controlled, the refreshing speed is integrally improved, and the user experience is improved.

The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.

Drawings

Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:

FIG. 1 is a flow chart diagram illustrating a refresh method of a color screen reader according to one embodiment of the invention;

FIG. 2A is a flow chart illustrating a refresh method of a color screen reader according to another embodiment of the invention;

2B-2C are schematic diagrams of extracting a specified color component;

fig. 3 shows a schematic structural diagram of a color screen reader according to an embodiment of the present invention.

Detailed Description

Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

Fig. 1 is a flow chart illustrating a refresh method of a color screen reader according to an embodiment of the present invention. The color screen reader comprises an ink screen and a color filter film, and as shown in fig. 1, the method comprises the following steps:

step S101 reads a color image to be displayed.

When the content displayed by the color screen reader needs to be changed, the refreshing process of the color screen reader is involved at the moment. However, the problem of image sticking or the problem of a slow refresh rate can easily occur in the refresh method of the existing color screen reader, and in order to improve the refresh effect, effectively eliminate the image sticking problem and ensure the refresh rate, the refresh method of the color screen reader can be used for refreshing according to the embodiment.

Specifically, before the changed content is switched to be displayed, the color image to be displayed is read, wherein the color image to be displayed is the color image corresponding to the changed content to be displayed.

And step S102, extracting the color component of each pixel in the color image to obtain a color extracted image.

Each pixel in the color image read in step S101 has R, G, B three color components, and the position of the color filter corresponding to each pixel can only print one color, so the following processing is also required: and extracting the color component of each pixel in the color image to obtain a color extracted image. For example, according to the color of the position of the corresponding pixel point on the color filter, the color component corresponding to each pixel in the color image is extracted, and a color extracted image is obtained.

Step S103, converting the color extraction image into a grayscale image.

The color expression of the color screen reader is realized through a color filter film, the ink screen per se needs to follow the display mechanism of a black-and-white ink screen, namely the ink screen per se cannot directly display a color image, and in order to be adaptive to the display of the ink screen, a color extraction image needs to be converted into a gray-scale image.

And step S104, performing gray scale reduction processing on the gray scale image.

In order to improve the refreshing effect, reduce the influence of the ghost and improve the refreshing speed, after the color extracted image is converted into the gray-scale image, the gray-scale reduction processing is carried out on the gray-scale image, and the proportion of pixels with colors needing to be changed is reduced by carrying out the gray-scale reduction processing, so that the problems of insufficient moving distance and ghost generation can be avoided.

In addition, the gray scale image is subjected to gray scale reduction processing, so that the data volume of the gray scale image is reduced, subsequent processing links, such as links of searching driving waveforms, driving ink screens and the like, are shortened, the occupied time is shortened, and the refreshing display speed is effectively improved.

The gray scale level of the gray scale image obtained after the conversion of the color extraction image is determined, and the target gray scale level corresponding to the gray scale reduction processing is also known, so that the gray scale reduction processing of the gray scale image can be realized according to the corresponding preset mapping relation, and other methods can be adopted, which are not limited specifically here.

And S105, searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

After the gray scale image is subjected to the gray scale reduction processing in step S104, a driving waveform may be searched according to the gray scale image subjected to the gray scale reduction processing, for example, a driving waveform (waveform) corresponding to the gray scale value of the pixel point is searched in a preset table according to the gray scale value of each pixel in the gray scale image subjected to the gray scale reduction processing, where the driving waveform includes information such as voltage, pulse frequency, pulse duration, and the like, and after the driving waveform is found, the driving waveform is used to drive the ink screen to implement image refreshing, for example, the driving waveform is used to drive the ink capsule corresponding to the pixel position on the ink screen, so that black and white particles in the ink capsule do movements at different distances to form corresponding gray scale colors, thereby implementing image refreshing.

According to the scheme provided by the invention, the required color components are extracted from the color image to be displayed to obtain the color extracted image, the color extracted image is converted into the low-order gray image, the driving waveform is searched based on the low-order gray image, the ink screen is driven by using the driving waveform to realize image refreshing, so that the refreshing effect of the color screen reader is improved, the problem that the image quality is seriously influenced by the ghost is effectively controlled, the flicker frequency is effectively controlled, the refreshing speed is integrally improved, and the user experience is improved.

Fig. 2A is a flow chart illustrating a refresh method of a color screen reader according to another embodiment of the invention. The color screen reader comprises an ink screen and a color filter film, and as shown in fig. 2A, the method comprises the following steps:

step S201, reading a color image corresponding to the content of the next page according to the page turning operation of the user sensed by the color screen reader.

The user can read the electronic book through the color screen reader, and after the content of the current page presented by the color screen reader is read, the next page of content needs to be switched and displayed, and at the moment, the refreshing processing of the color screen reader can be involved. However, the problem of image sticking or the problem of a slow refresh rate can easily occur in the refresh method of the existing color screen reader, and in order to improve the refresh effect, effectively eliminate the image sticking problem and ensure the refresh rate, the refresh method of the color screen reader can be used for refreshing according to the embodiment.

Specifically, when a user needs to read the next page of content, the page turning operation is triggered, and the color screen reader can sense the page turning operation of the user, so that before the next page of content is switched and displayed, a color image corresponding to the next page of content can be read according to the page turning operation of the user sensed by the color screen reader.

Step S202, the transparency component of each pixel in the color image is removed.

Each pixel in the color image read in step S201 has R, G, B three color components and a transparency component a, where each color component has 256 colors from 0 to 255, and 8 bits are used to store the information (8 powers of 2) corresponding to the data structure, and the transparency component also has 256 levels and occupies 8 bits. Thus, the RGBA value of a pixel in a color image is expressed as 32 bits, i.e., RGBA 8888.

The color screen reader supports the RGB color system, but cannot visually express the transparency, so the transparency component a of each pixel in the color image needs to be removed. For example, 8-bit data corresponding to the transparency component a in the data structure may be deleted, and the data content of RGB888 is obtained. In this step, 8-bit data corresponding to the transparency component a of each pixel in the color image is deleted.

In this scheme, the color screen reader can adopt an android system architecture, and certainly, other architectures can be adopted along with the development of the technology, and no specific limitation is made here.

It should be noted that some color images may only have R, G, B three color components and no transparency component a, and therefore, step S202 is an optional step, and in the case of a color image having only R, G, B three color components, the process of removing the transparency component of each pixel in the color image is not required.

Each pixel in the color image with the transparency component removed has R, G, B three color components, and the color filter is a film printed with different colors such as red, green and blue, wherein only one color can be printed on the color filter corresponding to each pixel position, that is, after the printing is completed, the color that each pixel point on the color filter can transmit is fixed.

Therefore, after removing the transparency component of each pixel in the color image, the following process is also required: for any pixel in the color image, one designated color component is extracted from the three color components of the pixel as the pixel value corresponding to the pixel in the color extracted image, and specifically, the method in steps S203 to S204 may be adopted:

in step S203, a color extraction arrangement order is acquired.

The step of obtaining the color extraction arrangement sequence actually obtains the arrangement sequence of the colors printed at each pixel position on the color filter film, wherein the color extraction arrangement sequence defines the pixel position and the color component corresponding to the pixel position.

Step S204, traversing each pixel in the color image in sequence, and extracting a specified color component from three color components of each pixel according to the color extraction arrangement sequence as a pixel value corresponding to each pixel in the color extraction image.

After the color extraction arrangement order is obtained, the operation of extracting the color component of each pixel in the color image may be performed according to the color extraction arrangement order, and specifically, each pixel in the color image may be sequentially traversed, for example, in the following manner: traversing line by line from the pixel corresponding to the first column position of the first line of the color image, and when traversing to the last pixel of the line, continuing traversing from the first pixel of the next line until the last pixel of the last line of the color image is traversed; of course, other traversal approaches may be used: traversing from the pixel corresponding to the first row and the first column of the color image column by column, when traversing to the last pixel of the column, continuing traversing from the first pixel of the next column until the last pixel of the last column of the color image is traversed, wherein the pixel at which traversing starts can also be flexibly set, and is not specifically limited herein.

And for the traversed pixels, determining a color extraction arrangement sequence corresponding to the pixels, then extracting a specified color component from three color components of the pixels according to the color extraction arrangement sequence to serve as a pixel value corresponding to the pixels in the color extraction image, and performing the operation on all the pixels in the color image to finally obtain the color extraction image.

Referring to the drawings, the left image in fig. 2B is a color image of RGB888, where 1, 2, and 3 … represent pixels each having three color components of RGB, each corresponding to a respective one of RGB 888. The right image in fig. 2B is a diagram of the printing colors of the color filter, and the color filter is printed with red, green, blue, and other colors. Each pixel point on the color image has three color components of RGB, but the position corresponding to the pixel on the color filter can only print one color, and in order to express the three color components on the color filter, a resolution reduction method is adopted, that is, the three pixel points on the color filter are a pixel unit, wherein the three colors of RGB are printed respectively in sequence, and during display, the color filter is superposed on an ink screen, and expresses three primary colors by using a pixel unit as a basic unit, as shown in fig. 2C. Therefore, when extracting the color component, the color component is extracted according to the printing color of the corresponding pixel position of the color filter, for example, the red component is extracted for the first pixel of the color image; extracting a green component for a second pixel of the color image; and extracting a blue component for the third pixel of the color image, and taking the extracted color component as a pixel value corresponding to each pixel in the color extraction image. Since three pixels on the ink screen are mapped to one pixel (unit) on the color filter, the DPI of the color filter is reduced to one third, usually the DPI of the ink screen is 300, and the DPI becomes 100 after the color filter is added, which is called resolution reduction.

In practical applications, the purpose of extracting the designated color component can be achieved by deleting data of other useless color components. For example, for the first pixel in a color image, where the purpose is to extract the red component, then only the data corresponding to the red component may be retained by deleting the data corresponding to the green and blue components in the data structure of the pixel.

It should be noted that the RGB sorting printing method of the color filter is only an example, and in practical applications, in order to make the color expression more natural, other RGB arrangement methods, such as RRGRBBBRGBGGG, may be further provided, and those skilled in the art may flexibly set the RGB arrangement method according to actual needs.

In step S205, the color extracted image is converted into an n-level grayscale image.

The color expression of the color screen reader is realized through a color filter film, the ink screen per se needs to follow the display mechanism of a black-and-white ink screen, namely the ink screen per se cannot directly display a color image, and in order to be adaptive to the display of the ink screen, a color extraction image needs to be converted into an n-gray-scale image.

The color component of each pixel in the color extracted image is still 8 bits, there are 256 colors from 0 to 255, and when performing gray scale conversion, the color component of each pixel in the color extracted image can be converted into a gray scale value represented by 8 bits, the gray scale value ranges from 0 to 255, for example, the color component of a certain pixel is red, the color component value is 134 (the value range is from 0 to 255), the pixel is subjected to gray scale conversion, the gray scale value of the pixel is still 134 after conversion, and the gray scale value of the gray scale image also ranges from 0 to 255.

Then, the gray value of the pixel is converted into a certain order of n-order gray by a preset mapping relationship, for example, n is 16, that is, the gray value of the pixel is converted into a certain order of 16-order gray, wherein the 16-order gray has a value range of 0 to 15, 0 represents pure white, 15 represents pure black, and the middle values represent gray with different depths. After the conversion is completed, 4-bit data is used for recording gray scale data. At present, the maximum value of n is 16, however, with the development of technology, the ink screen may support other levels of gray scale display, for example, 32 levels, and the like, and therefore, the value of n is not specifically limited. In one implementation, the image can be converted to a 16-gray image through a linear mapping relationship, for example, the mapping relationship between 256 gray levels and 16 gray levels is set as follows: 0 to 16 of the 256 gray levels corresponds to 0 of 16 gray levels, 17 to 32 corresponds to 1, 33 to 48 corresponds to 2 …, and so on. Or the conversion can be performed by a nonlinear mapping relationship, and each gray scale in the 16 gray scale image is preset to correspond to a gray scale range in 256 gray scales.

In the prior art, the mapping from 8Bit gray scale to 4Bit gray scale is diversified, for example, the mapping is linear according to a fixed compensation, and each step size is 16. In addition, the step size corresponding to each gray scale may be different, and those skilled in the art can set each step size value.

It should be noted that, if the color components of the color extraction image are mapped to the data structure using 4 bits to store the information, there is no mapping process from 8-Bit gray scale to 4-Bit gray scale.

Step S206, performing gray scale reduction processing on the n-order gray scale image to obtain an m-order gray scale image; wherein m is less than n.

In order to improve the refreshing effect, reduce the influence of the ghost and improve the refreshing speed, after the color extracted image is converted into the n-order gray scale image, the n-order gray scale image is required to be subjected to gray scale reduction processing to obtain an m-order gray scale image, wherein m is smaller than n, and the occupation ratio of pixels of which the colors need to be changed is reduced by performing the gray scale reduction processing, so that the problems of insufficient moving distance and ghost generation can be avoided.

In addition, the gray scale image is subjected to gray scale reduction processing, so that the data volume of the gray scale image is reduced, subsequent processing links, such as links of searching driving waveforms, driving ink screens and the like, are shortened, the occupied time is shortened, and the refreshing display speed is effectively improved.

When the gray scale reduction processing is performed, the gray scale level of the gray scale image before the gray scale reduction processing is determined to be n, and the target gray scale level corresponding to the gray scale reduction processing is also known to be m, so that the gray scale reduction processing on the gray scale image can be realized according to the corresponding preset mapping relation, and of course, other methods can be adopted, and are not specifically limited herein.

In an alternative embodiment of the present invention, n is 16, and m is 4, 8, or 2. That is, the color extraction image is converted into a 16-level grayscale image, and the 16-level grayscale image is subjected to the grayscale reduction processing to obtain a 4-level grayscale image, an 8-level grayscale image, or a 2-level grayscale image. The gray scale reduction processing of the 16-order gray scale image to obtain the 4-order gray scale image or the 8-order gray scale image can make the display gray scale restoration effect better, but compared with the 2-order gray scale image, the residual image removal effect is inferior, but the residual image problem can be improved.

In an alternative embodiment of the present invention, the 2-level grayscale image can be obtained from the n-level grayscale image by the following method: and carrying out binarization processing on the n gray scale image to obtain a binarized image.

The binarization processing of the n-gray-scale image is to convert the n-gray-scale image into a black-white 2-order image, that is, in the converted image, analog expression of the original gray-scale effect is realized by using black and white colors, and although the binarization image only has the black and white colors, the gray-scale effect can be visually realized through the position distribution of the black and white colors, that is, the binarization-processed image still has different gray scales from the perspective of a user, so that various color effects can be still realized by combining a color filter film.

The refreshing process of the color screen reader is to rewrite the previous frame image into the next frame image, and in the process, some pixel gray scales can be changed, and some pixel gray scales can not be changed, which is related to the displayed contents of the previous frame image and the next frame image. When the gray scale of the pixel changes, the color screen reader drives the black and white particles to move from the display position of the previous frame to the display position of the next frame according to the searched parameter of the drive waveform (waveform) corresponding to the pixel position (the display position refers to the position moving up and down in the ink capsule, and the moving direction is vertical to the screen). The main factors for driving the movement of the black and white particles are the magnitude of the driving voltage and the length of the driving time, the voltage is large, the moving speed is high, the driving time is long under the same voltage, and the moving distance is long. In practical application, the control of the driving parameters cannot be perfectly ideal and precise, the movement of the black and white particles in the ink capsule is also influenced by the resistance of the filling liquid of the capsule, the movement distance and the magnitude or time length of the driving voltage are not in a linear relation, and different gray scale positions before the movement have different influences on the movement distance under the same driving condition, so that the situation that the movement distance of the particles is insufficient often occurs. For example, a frame in a certain area of the picture is dark gray, the next frame should display white, and the ghost appears because the black and white particles do not move to a sufficient distance (extreme positions of both ends of the ink capsule), so that the white position should be displayed after refreshing and the light gray position should be displayed.

The key point that the refreshing method of the color screen reader provided by the embodiment can solve the ghost lies in that: the proportion of pixels whose color needs to be changed is reduced when the next frame image is refreshed. For example, when the content of the next page is switched and displayed, taking a 16-level gray-scale image as an example, the probability that a certain pixel point changes from the current gray scale to other 15 gray scales is 15/16, otherwise, the probability that the gray scale of the certain pixel point does not change is 1/16; however, in the black-and-white 2-level gray scale image, the probability of the pixel color being unchanged is increased to 50%. Therefore, when the content of the next page is displayed in a switching way, compared with the 16-level gray scale image, the black-white 2-level gray scale image has more pixels without changing the color, and the corresponding black-white particles are not required to be driven to a new gray scale position, so that the problems of insufficient moving distance and residual shadow generation are avoided.

In addition, the image display speed can be increased through the gray scale reduction processing, specifically, the data volume of the image is reduced in a mode of reducing the dimension of the 16-order gray scale image to the 2-order gray scale image through the gray scale reduction processing, the time consumption is shortened in links of image data reading, transmission, caching, table look-up, driving and the like, and the display speed can be increased. For example, when a 240 × 180 image is required to be displayed, the data size of the image in the conventional 16-step gray scale image is 240 × 180 × 4bit, and now is reduced to 240 × 180 × 1bit, and the data size is changed to one fourth of the original data size, thereby greatly increasing the display speed.

Furthermore, the saturation of the screen color can be further improved by converting the gray-scale image into a binary image. If a 16-order gray scale image is adopted, two adjacent gray scales are not distinguished obviously, the display effect of the color filter film is that the difference of various different shades can appear for the same color, and only two colors, namely black and white, are included in the binary image through binarization processing, the color distinction is obvious, and after the color filter film is penetrated, the following two results are usually obtained: the chroma of the color is fully expressed or the color is not displayed, so that the discrimination of the chroma of the same color between adjacent pixels is improved, the color saturation is improved, and the color is sharper in visual effect.

Specifically, the following three methods may be adopted to perform binarization processing on the grayscale image to obtain a binarized image:

the method comprises the following steps:

traversing each pixel of the gray-scale image, and comparing the gray value of the pixel with a preset threshold value; and converting the gray value of the pixel into 0 or 1 according to the comparison result to obtain a binary image.

In the first method, a threshold is preset, each pixel in the grayscale image can be quickly and accurately converted by setting the threshold, specifically, for each pixel of the grayscale image, the grayscale value of the pixel is compared with the preset threshold, and according to the comparison result, the grayscale value of the pixel is converted into 0 or 1, for example, if the grayscale value of the pixel is smaller than the preset threshold, the grayscale value of the pixel can be converted into 0; if the gray value of the pixel is greater than the preset threshold, the gray value of the pixel can be converted into 1, so that the binary image is obtained. The conversion of the gray-level value to 0 or 1 is determined by the color specifically represented by 0 or 1, and is only an example and has no limiting effect.

Taking a 16-gray-scale image as an example for description, the gray-scale value range of the pixel in the 16-gray-scale image is 0-15, a preset threshold value can be set to be 7.5, each pixel of the 16-gray-scale image is traversed, the gray-scale value of the pixel is compared with the preset threshold value 7.5, and if the gray-scale value of the pixel is less than 7.5, the gray-scale value of the pixel is converted into 0; if the gray-scale value of the pixel is greater than 7.5, the gray-scale value of the pixel is converted to 1, so that for the gray-scale image, the gray-scale value of the pixel is in the range of 0-7, the gray-scale value of the pixel is converted to 0, the gray-scale value of the pixel is in the range of 8-15, and the gray-scale value of the pixel is converted to 1. This conversion method has the advantage of simplicity and rapidity, however, in terms of visual effect, the defect of large gray scale loss occurs.

The second method comprises the following steps:

acquiring a standard pattern, and partitioning the gray-scale image according to the size of the standard pattern; and aiming at each block of the gray-scale image, comparing the gray value of each pixel of the block with each point value of the standard pattern, and converting the gray value of each pixel of the block into 0 or 1 according to the comparison result to obtain the binary image.

In the second method, the standard pattern is used as a threshold to compare and convert the gray scale of each pixel in the gray scale image, and the standard pattern defines some dot values in advance, wherein the dot values are generated by randomization, the value range of the dot values is the value range of the gray scale value of the gray scale image, for example, the 16 gray scale image, and the value range of the dot values of the standard pattern is 0-15. The size of the standard pattern can be flexibly set according to actual needs, for example, the standard pattern is a4 × 4 pattern, or a2 × 2 pattern, which is only an example and has no limitation.

Specifically, a preset standard pattern is obtained, then the grayscale image is partitioned according to the size of the standard pattern, for each partition of the grayscale image, the grayscale value of each pixel of the partition is compared with each point value of the standard pattern, and according to the comparison result, the grayscale value of each pixel of the partition is converted into 0 or 1, for example, if the grayscale value of the pixel is smaller than the point value of the corresponding point of the standard pattern, the grayscale value of the pixel is converted into 0; and if the gray value of the pixel is greater than the point value of the corresponding point of the standard pattern, converting the gray value of the pixel into 1, thereby obtaining the binary image. The conversion of the gray-level value to 0 or 1 is determined by the color specifically represented by 0 or 1, and is only an example and has no limiting effect.

The third method comprises the following steps:

sequentially traversing each pixel of the gray-scale image; for any traversed current pixel, compensating the gray value of the current pixel according to the error compensation value transmitted by the previous pixel to obtain the compensated gray value of the current pixel; comparing the compensated gray value of the current pixel with a preset threshold, and converting the gray value of the pixel into 0 or 1 according to the comparison result; and calculating an error compensation value to be transmitted to a subsequent pixel according to the compensated gray value of the current pixel.

Because the gray scale in a general image is continuously changed, for a certain pixel in a gray scale image, the gray scale value of an adjacent pixel may be very close to the gray scale value of the pixel, and in order to avoid the occurrence of obvious black blocks or white blocks after binarization processing, an error compensation value is introduced, specifically, each pixel of the gray scale image is traversed one by one; compensating the gray value of the current pixel according to the error compensation value transmitted by the previous pixel aiming at any traversed current pixel to obtain the compensated gray value of the current pixel, wherein the compensated gray value of the current pixel is the sum of the original gray value and the error compensation value of the current pixel; comparing the compensated gray scale value of the current pixel with a preset threshold, and converting the gray scale value of the pixel into 0 or 1 according to the comparison result, for example, if the compensated gray scale value of the current pixel is greater than the preset threshold, converting the gray scale value of the pixel into 1, and if the compensated gray scale value of the current pixel is less than the preset threshold, converting the gray scale value of the pixel into 0, wherein the conversion of the gray scale value into 0 or 1 is determined by a color specifically represented by 0 or 1, which is only an example and does not have any limiting effect; the error compensation value to be transferred to the following pixel is calculated according to the compensated gray scale value of the current pixel, for example, the error compensation value to be transferred to the following pixel is calculated based on the gray scale value corresponding to the black point or the gray scale value corresponding to the white point and the compensated gray scale value of the current pixel. The following pixels are pixels adjacent to the pixel, for example, a pixel adjacent to the right of the pixel, and a pixel below and to the right of the pixel.

In the third method, the distribution of the black points and the white points is more uniform through error compensation, the gray display effect is softer, and no obvious black block or white block appears in the area where the gray should be displayed, so that the occurrence of ghost shadow is greatly reduced.

Step S207, sending the gray-scale image after the gray-scale reduction processing to a conversion chip, performing table lookup by the conversion chip according to the gray-scale value of each pixel in the gray-scale image after the gray-scale reduction processing and the temperature information of the ink screen, searching the driving waveform of the black and white particles corresponding to each pixel, and driving the ink screen by using the driving waveform to realize image refreshing.

After the n-order gray scale image is subjected to gray scale reduction processing in step S206 to obtain an m-order gray scale image, the m-order gray scale image is sent to a conversion chip (TCON), and the TCON searches for a driving waveform (waveform) of black and white particles corresponding to a pixel point in a preset table according to the gray scale value of each pixel in the m-order gray scale image. After the driving waveform is found, the driving waveform is used for driving the ink screen to display an m-order gray scale image so as to realize image refreshing, for example, the driving waveform is used for driving an ink capsule corresponding to the pixel position on the ink screen to enable black and white particles in the ink screen to move at different distances so as to form corresponding gray scale colors, and thus, the image refreshing is realized.

In practical application, the color filter film covers the ink screen, and after the driving waveform is utilized to drive the ink screen to display m-order gray scale images, the color filter film can be used for realizing a color display effect.

Specifically, the grayscale image after the grayscale reduction processing may be displayed by performing a refresh processing in a clear refresh mode or a non-clear refresh mode, where the clear refresh mode is to perform a full white brushing or full black brushing operation on the ink screen (to return the black and white particles to an initial extreme position) before driving the black and white particles to the display position of the low-order grayscale image, and then drive the low-order grayscale image from the initial position to the position of the corresponding grayscale regardless of whether the front and rear grayscales of the same pixel are changed; the non-screen clearing refresh mode is that the screen clearing operation is not performed before data output, pixels which are changed with the last output are directly output, compared with the screen clearing refresh mode, the refresh speed of the non-screen clearing refresh mode is higher, the method steps in the step S201 to the step S206 are used for finally converting the color image to be displayed into the m-order gray-scale image, color change is effectively reduced, and the situation that the front gray scale and the rear gray scale of the same pixel are not changed can also occur, so that the non-screen clearing refresh mode can be used for displaying the low-order gray-scale image, and the low-order gray-scale image is displayed by directly outputting the pixels which are changed with the last output gray scale. The screen ghost can be completely eliminated through the processing.

By utilizing the scheme provided by the invention, the required color component is extracted from the color image to be displayed to obtain the color extraction image, the color extraction image is converted into the low-order gray-scale image, for example, the color extraction image is converted into the 4-order gray-scale image or the 8-order gray-scale image or the 2-order gray-scale image, the occupation ratio of the pixels of which the colors need to be changed is reduced through the conversion, so that the problems of insufficient moving distance and residual shadow generation can be avoided, in addition, the data volume of the gray-scale image is reduced through the conversion into the low-order gray-scale image, so that the subsequent processing links, such as links of searching driving waveforms, driving ink screens and the like, are shortened, the occupied time is shortened, the display refreshing speed is effectively improved, and the user experience is improved.

The embodiment of the invention also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the refreshing method of the color screen reader in any method embodiment.

The executable instructions may be specifically configured to cause the processor to:

reading a color image to be displayed; extracting the color component of each pixel in the color image to obtain a color extracted image; converting the color extracted image into a gray-scale image; performing gray scale reduction processing on the gray scale image; and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

In an alternative embodiment, the executable instructions specifically cause the processor to: converting the color extraction image into an n-order gray scale image; carrying out gray level reduction processing on the n-order gray level image to obtain an m-order gray level image; wherein m is less than n.

In an alternative embodiment, n is 16 and m is 4 or 8 or 2.

In an alternative embodiment, the executable instructions specifically cause the processor to: and carrying out binarization processing on the gray-scale image to obtain a binarized image.

In an alternative embodiment, the executable instructions further cause the processor to: traversing each pixel of the gray-scale image, and comparing the gray value of the pixel with a preset threshold value; and converting the gray value of the pixel into 0 or 1 according to the comparison result to obtain a binary image.

In an alternative embodiment, the executable instructions further cause the processor to: acquiring a standard pattern, and partitioning the gray-scale image according to the size of the standard pattern;

and aiming at each block of the gray-scale image, comparing the gray value of each pixel of the block with each point value of the standard pattern, and converting the gray value of each pixel of the block into 0 or 1 according to the comparison result to obtain the binary image.

In an alternative embodiment, the executable instructions further cause the processor to: sequentially traversing each pixel of the gray-scale image; for any traversed current pixel, compensating the gray value of the current pixel according to the error compensation value transmitted by the previous pixel to obtain the compensated gray value of the current pixel; comparing the compensated gray value of the current pixel with a preset threshold, and converting the gray value of the pixel into 0 or 1 according to the comparison result; and calculating an error compensation value to be transmitted to a subsequent pixel according to the compensated gray value of the current pixel.

In an alternative embodiment, the executable instructions further cause the processor to: for any pixel in the color image, one specified color component is extracted from three color components of the pixel as a pixel value corresponding to the pixel in the color extraction image.

In an alternative embodiment, the executable instructions further cause the processor to: acquiring a color extraction arrangement sequence; and traversing each pixel in the color image in sequence, and extracting a specified color component from three color components of each pixel according to the color extraction arrangement sequence to serve as a pixel value corresponding to each pixel in the color extraction image.

In an alternative embodiment, the executable instructions further cause the processor to: the transparency component of each pixel in the color image is removed before the color component of each pixel in the color image is extracted.

In an alternative embodiment, the executable instructions further cause the processor to: and sending the gray-scale image subjected to the gray-scale reduction processing to a conversion chip, and searching a table by the conversion chip according to the gray-scale value of each pixel in the gray-scale image subjected to the gray-scale reduction processing and the temperature information of the ink screen to find out the driving waveform of the black and white particles corresponding to each pixel.

In an alternative embodiment, the executable instructions further cause the processor to: and reading a color image corresponding to the content of the next page according to the page turning operation of the user sensed by the color screen reader.

Fig. 3 is a schematic structural diagram of a color screen reader according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the color screen reader.

As shown in fig. 3, the color screen reader 300 may include: an ink screen 301, a processor 302, a color filter 303, a communication Interface 304, a memory 306, and a communication bus 308.

Wherein: the ink screen 301, processor 302, color filter 303, communication interface 304, and memory 306 communicate with each other via communication bus 308.

A communication interface 304 for communicating with network elements of other devices, such as clients or other servers.

The processor 302 is configured to execute the program 310, and may specifically execute the relevant steps in the embodiment of the method for refreshing a color screen reader.

In particular, program 310 may include program code comprising computer operating instructions.

The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The color screen reader comprises one or more processors which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.

And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.

The program 310 may specifically be configured to cause the processor 302 to perform the following operations:

reading a color image to be displayed; extracting the color component of each pixel in the color image to obtain a color extracted image; converting the color extracted image into a gray-scale image; performing gray scale reduction processing on the gray scale image; and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

In an alternative embodiment, the program 310 specifically causes the processor 302 to perform the following operations: converting the color extraction image into an n-order gray scale image; carrying out gray level reduction processing on the n-order gray level image to obtain an m-order gray level image; wherein m is less than n.

In an alternative embodiment, n is 16 and m is 4 or 8 or 2.

In an alternative embodiment, the program 310 specifically causes the processor 302 to perform the following operations: and carrying out binarization processing on the gray-scale image to obtain a binarized image.

In an alternative embodiment, program 310 further causes processor 302 to: traversing each pixel of the gray-scale image, and comparing the gray value of the pixel with a preset threshold value; and converting the gray value of the pixel into 0 or 1 according to the comparison result to obtain a binary image.

In an alternative embodiment, program 310 further causes processor 302 to: acquiring a standard pattern, and partitioning the gray-scale image according to the size of the standard pattern; and aiming at each block of the gray-scale image, comparing the gray value of each pixel of the block with each point value of the standard pattern, and converting the gray value of each pixel of the block into 0 or 1 according to the comparison result to obtain the binary image.

In an alternative embodiment, program 310 further causes processor 302 to:

sequentially traversing each pixel of the gray-scale image; for any traversed current pixel, compensating the gray value of the current pixel according to the error compensation value transmitted by the previous pixel to obtain the compensated gray value of the current pixel; comparing the compensated gray value of the current pixel with a preset threshold, and converting the gray value of the pixel into 0 or 1 according to the comparison result; and calculating an error compensation value to be transmitted to a subsequent pixel according to the compensated gray value of the current pixel.

In an alternative embodiment, program 310 further causes processor 302 to: for any pixel in the color image, one specified color component is extracted from three color components of the pixel as a pixel value corresponding to the pixel in the color extraction image.

In an alternative embodiment, program 310 further causes processor 302 to: acquiring a color extraction arrangement sequence; and traversing each pixel in the color image in sequence, and extracting a specified color component from three color components of each pixel according to the color extraction arrangement sequence to serve as a pixel value corresponding to each pixel in the color extraction image.

In an alternative embodiment, program 310 also causes processor 302 to: the transparency component of each pixel in the color image is removed before the color component of each pixel in the color image is extracted.

In an alternative embodiment, program 310 further causes processor 302 to: and sending the gray-scale image subjected to the gray-scale reduction processing to a conversion chip, and searching a table by the conversion chip according to the gray-scale value of each pixel in the gray-scale image subjected to the gray-scale reduction processing and the temperature information of the ink screen to find out the driving waveform of the black and white particles corresponding to each pixel.

In an alternative embodiment, program 310 further causes processor 302 to: and reading a color image corresponding to the content of the next page according to the page turning operation of the user sensed by the color screen reader.

The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.

In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.

Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.

It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

The invention discloses: A1. a refreshing method of a color screen reader comprises an ink screen and a color filter film; the method comprises the following steps:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extraction image into a gray scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

A2. The method according to a1, wherein the converting the color extraction image into a grayscale image is specifically: converting the color extraction image into an n-order gray scale image;

the step-down gray scale processing of the gray scale image comprises the following specific steps: carrying out gray scale reduction processing on the n-order gray scale image to obtain an m-order gray scale image; wherein m is less than n.

A3. The method of a2, wherein n is 16 and m is 4 or 8 or 2.

A4. The method of A1 or A2, wherein the grayscaling the grayscale image is specifically: and carrying out binarization processing on the gray-scale image to obtain a binarized image.

A5. The method according to a4, wherein the binarizing the grayscale image to obtain a binarized image further comprises:

traversing each pixel of the gray-scale image, and comparing the gray value of the pixel with a preset threshold value;

and converting the gray value of the pixel into 0 or 1 according to the comparison result to obtain a binary image.

A6. The method according to a4, wherein the binarizing the grayscale image to obtain a binarized image further comprises:

obtaining a standard pattern, and partitioning the gray-scale image according to the size of the standard pattern;

and aiming at each block of the gray-scale image, comparing the gray value of each pixel of the block with each point value of the standard pattern, and converting the gray value of each pixel of the block into 0 or 1 according to the comparison result to obtain a binary image.

A7. The method according to a4, wherein the binarizing the grayscale image to obtain a binarized image further comprises:

sequentially traversing each pixel of the gray-scale image;

for any traversed current pixel, compensating the gray value of the current pixel according to the error compensation value transmitted by the previous pixel to obtain the compensated gray value of the current pixel;

comparing the compensated gray value of the current pixel with a preset threshold, and converting the gray value of the pixel into 0 or 1 according to the comparison result;

and calculating an error compensation value to be transmitted to a subsequent pixel according to the compensated gray value of the current pixel.

A8. The method of any one of a1-a7, wherein the extracting color components for each pixel in the color image, resulting in a color extracted image further comprises:

and for any pixel in the color image, extracting a specified color component from three color components of the pixel as a pixel value corresponding to the pixel in the color extraction image.

A9. The method of A8, wherein the extracting color components for each pixel in the color image, resulting in a color extracted image further comprises:

acquiring a color extraction arrangement sequence;

and traversing each pixel in the color image in sequence, and extracting a specified color component from three color components of each pixel according to a color extraction arrangement sequence to serve as a pixel value corresponding to each pixel in the color extraction image.

A10. The method of any of a1-a9, wherein, prior to the extracting color components for each pixel in the color image, the method further comprises: the transparency component of each pixel in the color image is removed.

A11. The method of any of claims a1-a10, wherein the finding drive waveforms from the downscaled gray scale image further comprises:

and sending the gray-scale image subjected to the gray-scale reduction processing to a conversion chip, and searching a table by the conversion chip according to the gray-scale value of each pixel in the gray-scale image subjected to the gray-scale reduction processing and the temperature information of the ink screen to find out the driving waveform of the black and white particles corresponding to each pixel.

A12. The method of any one of a1-a11, wherein the reading the color image to be displayed further comprises: and reading a color image corresponding to the content of the next page according to the page turning operation of the user sensed by the color screen reader.

B13. A color screen reader comprising: the ink screen, the color filter film, the processor, the memory, the communication interface and the communication bus are communicated with each other through the communication bus;

the memory is configured to store at least one executable instruction that causes the processor to:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extraction image into a gray scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

B14. The color screen reader of B13, wherein the executable instructions specifically cause the processor to:

converting the color extraction image into an n-order gray scale image;

carrying out gray scale reduction processing on the n-order gray scale image to obtain an m-order gray scale image; wherein m is less than n.

B15. The colorscreen reader of B14, wherein n is 16 and m is 4 or 8 or 2.

B16. The colorscreen reader of either B13 or B14, wherein the executable instructions specifically cause the processor to:

and carrying out binarization processing on the gray-scale image to obtain a binarized image.

B17. The colorscreen reader of B16, wherein said executable instructions further cause said processor to:

traversing each pixel of the gray-scale image, and comparing the gray value of the pixel with a preset threshold value;

and converting the gray value of the pixel into 0 or 1 according to the comparison result to obtain a binary image.

B18. The colorscreen reader of B16, wherein said executable instructions further cause said processor to:

obtaining a standard pattern, and partitioning the gray-scale image according to the size of the standard pattern;

and aiming at each block of the gray-scale image, comparing the gray value of each pixel of the block with each point value of the standard pattern, and converting the gray value of each pixel of the block into 0 or 1 according to the comparison result to obtain a binary image.

B19. The colorscreen reader of B16, wherein said executable instructions further cause said processor to:

sequentially traversing each pixel of the gray-scale image;

for any traversed current pixel, compensating the gray value of the current pixel according to the error compensation value transmitted by the previous pixel to obtain the compensated gray value of the current pixel;

comparing the compensated gray value of the current pixel with a preset threshold, and converting the gray value of the pixel into 0 or 1 according to the comparison result;

and calculating an error compensation value to be transmitted to a subsequent pixel according to the compensated gray value of the current pixel.

B20. The colorscreen reader of any one of claims B13-B19, wherein the executable instructions further cause the processor to:

and for any pixel in the color image, extracting a specified color component from three color components of the pixel as a pixel value corresponding to the pixel in the color extraction image.

B21. The colorscreen reader of B20, wherein said executable instructions further cause said processor to:

acquiring a color extraction arrangement sequence;

and traversing each pixel in the color image in sequence, and extracting a specified color component from three color components of each pixel according to a color extraction arrangement sequence to serve as a pixel value corresponding to each pixel in the color extraction image.

B22. The colorscreen reader of any one of claims B13-B21, wherein the executable instructions further cause the processor to:

removing a transparency component of each pixel in the color image prior to the extracting the color component of each pixel in the color image.

B23. The colorscreen reader of any one of claims B13-B22, wherein the executable instructions further cause the processor to:

and sending the gray-scale image subjected to the gray-scale reduction processing to a conversion chip, and searching a table by the conversion chip according to the gray-scale value of each pixel in the gray-scale image subjected to the gray-scale reduction processing and the temperature information of the ink screen to find out the driving waveform of the black and white particles corresponding to each pixel.

B24. The colorscreen reader of any one of claims B13-B23, wherein the executable instructions further cause the processor to:

and reading a color image corresponding to the content of the next page according to the page turning operation of the user sensed by the color screen reader.

C25. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to:

reading a color image to be displayed;

extracting the color component of each pixel in the color image to obtain a color extracted image;

converting the color extraction image into a gray scale image;

performing gray scale reduction processing on the gray scale image;

and searching a driving waveform according to the gray-scale image subjected to the gray-scale reduction processing, and driving the ink screen by using the driving waveform to realize image refreshing.

C26. The computer storage medium of C25, wherein the executable instructions specifically cause the processor to:

converting the color extraction image into an n-order gray scale image;

carrying out gray scale reduction processing on the n-order gray scale image to obtain an m-order gray scale image; wherein m is less than n.

C27. The computer storage medium of C26, wherein n is 16 and m is 4 or 8 or 2.

C28. The computer storage medium of C25 or C26, wherein the executable instructions specifically cause the processor to:

and carrying out binarization processing on the gray-scale image to obtain a binarized image.

C29. The computer storage medium of C28, wherein the executable instructions further cause the processor to:

traversing each pixel of the gray-scale image, and comparing the gray value of the pixel with a preset threshold value;

and converting the gray value of the pixel into 0 or 1 according to the comparison result to obtain a binary image.

C30. The computer storage medium of C28, wherein the executable instructions further cause the processor to:

obtaining a standard pattern, and partitioning the gray-scale image according to the size of the standard pattern;

and aiming at each block of the gray-scale image, comparing the gray value of each pixel of the block with each point value of the standard pattern, and converting the gray value of each pixel of the block into 0 or 1 according to the comparison result to obtain a binary image.

C31. The computer storage medium of C28, wherein the executable instructions further cause the processor to:

sequentially traversing each pixel of the gray-scale image;

for any traversed current pixel, compensating the gray value of the current pixel according to the error compensation value transmitted by the previous pixel to obtain the compensated gray value of the current pixel;

comparing the compensated gray value of the current pixel with a preset threshold, and converting the gray value of the pixel into 0 or 1 according to the comparison result;

and calculating an error compensation value to be transmitted to a subsequent pixel according to the compensated gray value of the current pixel.

C32. The computer storage medium of any one of C25-C31, wherein the executable instructions further cause the processor to:

and for any pixel in the color image, extracting a specified color component from three color components of the pixel as a pixel value corresponding to the pixel in the color extraction image.

C33. The computer storage medium of C32, wherein the executable instructions further cause the processor to:

acquiring a color extraction arrangement sequence;

and traversing each pixel in the color image in sequence, and extracting a specified color component from three color components of each pixel according to a color extraction arrangement sequence to serve as a pixel value corresponding to each pixel in the color extraction image.

C34. The computer storage medium of any one of C25-C33, wherein the executable instructions further cause the processor to:

removing a transparency component of each pixel in the color image prior to the extracting the color component of each pixel in the color image.

C35. The computer storage medium of any one of C25-C34, wherein the executable instructions further cause the processor to:

and sending the gray-scale image subjected to the gray-scale reduction processing to a conversion chip, and searching a table by the conversion chip according to the gray-scale value of each pixel in the gray-scale image subjected to the gray-scale reduction processing and the temperature information of the ink screen to find out the driving waveform of the black and white particles corresponding to each pixel.

C36. The computer storage medium of any one of C25-C35, wherein the executable instructions further cause the processor to:

and reading a color image corresponding to the content of the next page according to the page turning operation of the user sensed by the color screen reader.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种超融合服务器、数据处理方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!