CN117198232A - Color ink screen driving method, device and storage medium - Google Patents
Color ink screen driving method, device and storage medium Download PDFInfo
- Publication number
- CN117198232A CN117198232A CN202311234008.XA CN202311234008A CN117198232A CN 117198232 A CN117198232 A CN 117198232A CN 202311234008 A CN202311234008 A CN 202311234008A CN 117198232 A CN117198232 A CN 117198232A
- Authority
- CN
- China
- Prior art keywords
- color ink
- ink screen
- image
- gray
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000008859 change Effects 0.000 claims abstract description 53
- 238000007781 pre-processing Methods 0.000 claims abstract description 40
- 239000002775 capsule Substances 0.000 claims description 15
- 230000008707 rearrangement Effects 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 3
- 238000003672 processing method Methods 0.000 abstract description 9
- 230000001680 brushing effect Effects 0.000 abstract description 5
- 239000000976 ink Substances 0.000 description 168
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000002245 particle Substances 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 239000000975 dye Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application relates to the technical field of color ink screens, and provides a color ink screen driving method, a color ink screen driving device and a storage medium. When the image input is detected at the current moment, the image input at the current moment is subjected to regularization processing through the FPGA by adopting a pipelining processing method, so that a current moment preprocessing image is obtained, the processing time of the image is shortened by adopting the pipelining processing method, the screen brushing speed and experience are improved, the gray level change index value is obtained by calculating the current moment preprocessing image and the previous moment preprocessing image, the gray level change index value is converted into voltage information based on a waveform table stored in the color ink screen, and finally the color ink screen is driven to display based on the voltage information and interface information, so that accurate control and adjustment of pixel level can be realized, the input image can be conveniently presented on the color ink screen well, a system-level chip is not needed, the flexibility is high, and the color ink screen can adapt to various color ink screens with different models and specifications.
Description
Technical Field
The present application relates to the technical field of color ink screens, and in particular, to a method and apparatus for driving a color ink screen, and a storage medium.
Background
In the prior art, there are two driving modes of the ink screen, one is to simulate the ink screen time sequence through a high-performance system-level chip, and the other is to issue a corresponding ink screen driving chip by a screen manufacturer. If the ink screen time sequence is simulated by the high-performance system-level chip, the driver must be transplanted again every time the system-level chip is replaced, so that the development period of the method is long and the universality is not high. The screen manufacturer generally delays the release of the corresponding ink screen driving chip, that is, a new screen is marketed, but the corresponding driving chip is not necessarily available, and the scheme has high cost and high power consumption, especially for large-size color ink screens, for example, for the latest color ink screen Gallery series, the color ink screen can only be driven based on the existing chip of the screen factory. Therefore, the current color ink screen driving mode has the problems of high power consumption, low expansibility, single function and the like.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus and a storage medium for driving a color ink screen, so as to solve the technical problems of large power consumption, low expansibility and single function of the color ink screen in the prior art.
A first aspect of the present application provides a color ink screen driving method, the method comprising:
when the current moment detects that an image is input, regularization processing is carried out on the image input at the current moment to obtain a preprocessing image at the current moment;
according to the current time preprocessing image and the previous time preprocessing image, calculating to obtain an index value of gray scale change;
converting the index value of the gray level change into voltage information based on a waveform table stored in the color ink screen;
and driving the color ink screen to display based on the voltage information and the interface information.
In an optional implementation manner, the regularizing the image input at the current moment to obtain a preprocessed image at the current moment includes:
and respectively carrying out contrast adjustment, gamma value adjustment and dithering treatment on the image input at the current moment to obtain the preprocessing image at the current moment.
In an optional implementation manner, the regularizing the image input at the current moment to obtain a preprocessed image at the current moment further includes:
identifying whether the color ink screen is a mask type color ink screen or a capsule type color ink screen;
and when the color ink screen is the mask type color ink screen, carrying out pixel rearrangement on the image input at the current moment to obtain the preprocessing image at the current moment.
In an optional embodiment, when the color ink screen is the mask type color ink screen, the calculating the index value of the gray scale change according to the current time preprocessed image and the previous time preprocessed image includes:
acquiring a first gray value of each pixel point in the preprocessing image at the current moment;
acquiring a second gray value of each pixel point in the preprocessing image at the previous moment;
and for each pixel point, calculating based on the first gray value and the corresponding second gray value of the pixel point by using a preset calculation formula to obtain an index value of gray level change of the pixel point.
In an optional embodiment, when the color ink screen is the capsule color ink screen, the calculating the index value of the gray scale change according to the current time preprocessed image and the last time preprocessed image includes:
acquiring a first channel gray value of each channel of each pixel point in the preprocessing image at the current moment;
acquiring a second channel gray value of each channel of each pixel point in the preprocessing image at the previous moment;
for each channel of each pixel point, calculating based on the first channel gray value and the corresponding second channel gray value of the channel by using a preset calculation formula to obtain an index value of gray level change of the channel;
and obtaining the index value of the gray level change of each pixel point according to the index value of the gray level change of each channel of each pixel point.
In an optional embodiment, the converting the index value of the gray-scale variation into voltage information based on a waveform table stored in the color ink screen includes:
inquiring a waveform sequence corresponding to the index value of the gray level change in the waveform table;
and acquiring a voltage change value of each pixel point in the color ink screen and duration corresponding to the voltage change value based on the waveform sequence.
In an alternative embodiment, the driving the color ink screen to display based on the voltage information and interface information includes:
simulating interface time sequence requirements corresponding to the color ink screen by using a field programmable gate array;
and driving the color ink screen to display based on the interface time sequence requirement, the voltage change value and the duration.
In an alternative embodiment, the method further comprises:
and when no image input is detected at the next moment or the image input is detected at the next moment, but the image input at the next moment is the same as the image input at the current moment, the color ink screen is not refreshed.
A second aspect of the present application provides a color ink screen driving apparatus, the apparatus comprising: the image source interface module is used for receiving an image input by the image input device and inputting all pixel points of the image into the field programmable gate array in parallel; the storage module is used for storing screen information and the like of the color ink screen; the power supply management module is used for providing source voltage and field voltage for the color ink screen; the field programmable gate array is used for realizing the steps of the color ink screen driving method.
A third aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the color ink screen driving method.
According to the color ink screen driving method, device and storage medium, when the image input is detected at the current moment, the FPGA is used for carrying out regularization processing on the image input at the current moment by adopting a pipelining processing method to obtain the preprocessed image at the current moment, the pipelining processing method shortens the processing time of the image, improves the screen brushing speed and experience, calculates the index value of gray level change according to the preprocessed image at the current moment and the preprocessed image at the previous moment, converts the index value of gray level change into voltage information based on the waveform table stored in the color ink screen, and finally drives the color ink screen to display based on the voltage information and interface information, so that the pixel level can be accurately controlled and adjusted, the input image can be conveniently presented on the color ink screen well, a system-level chip is not needed, the flexibility is high, and the color ink screen driving method can be suitable for color ink screens of different models and specifications.
Drawings
FIG. 1 is a view showing an application environment of a color ink screen driving apparatus according to an embodiment of the present application;
FIG. 2 is a block diagram of a color ink screen driving apparatus according to an embodiment of the present application;
FIG. 3 is a functional block diagram of a field programmable gate array according to an embodiment of the application;
fig. 4 is a flowchart of a color ink screen driving method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
The color ink screen driving method provided by the embodiment of the application is executed by the electronic equipment, and correspondingly, the color ink screen driving device is operated in the electronic equipment.
Fig. 1 is an application environment diagram of a color ink screen driving device according to an embodiment of the present application.
The color ink screen driving apparatus 10 is for receiving an image input from the image input device 11 and driving the color ink screen 12 to display according to the image.
The structure of the color ink screen driving apparatus 10 can be seen in fig. 2 and the related description.
The image input device 11 is a device for capturing, acquiring, and transmitting images or image data. In one embodiment, the image input device 11 is a device having various video output interfaces, such as HDMI and Type-C interfaces. The image input device 11 may be a notebook computer, a desktop computer, a mobile phone, a tablet, etc.
The color ink screen 12 is an ink screen based on black and white particles and color masks or color capsules, or an ink screen based on a cofferdam structure, and has the characteristics of natural light reflection and no loss of power-down pictures. Color ink screens have the property of displaying colors as compared to black and white ink screens. In one embodiment, the color ink screen 12 may include: the color ink screen of the Yuan-Tai Kaleido series and the color ink screen of the Yuan-Tai Gallery series and the color ink screen of the DES. The interface of the color ink screen 12 may be mini-LVDS, TTL, or other signal interfaces.
It should be noted that the image input device 11 and the color ink screen 12 according to the present application are merely examples, and other image input devices 11 and color ink screens 12 that may be present in the present application or may be present in the future are also included in the scope of the present application by way of reference.
Fig. 2 is a block diagram of a color ink screen driving device according to a second embodiment of the present application.
The color ink screen driving apparatus 10 may include, but is not limited to: an image source interface module 101, a field programmable gate array (Field Program Gate Way, FPGA) 102, a storage module 103, and a power management module 104. The image source interface module 101 connects the image input device 11 with the field programmable gate array 102, and the field programmable gate array 102 is also connected with the storage module 103 and the power management module 104.
The image source interface module 101 is configured to receive an image input by the image input device 11 to the driving apparatus 10, and input each pixel point of the image into the field programmable gate array 102 in parallel. The image source interface module 101 may be a mobile industry processor interface (Mobile Industry Processor Interface, MIPI) or a Low-voltage differential signaling technology (Low-Voltage Differential Signaling, LVDS) interface, or an embedded display port (Embedded Display Port, eDP). The type of the image source interface module 101 is not limited in the present application, so long as it is a video transmission interface that can be supported by the field programmable gate array 12.
The field programmable gate array 102 is configured to process the received image according to the related information of the color ink screen 12 after receiving the image input by the image source interface module 101, and convert the processed image into a signal required by the color ink screen 12, so as to drive the color ink screen 12 to display the image.
An FPGA is a device that can be implemented by changing hardware circuits in a programming language (e.g., verilog, VHDL), has very high flexibility, and has the ability to process multiple data elements in parallel, and can implement a variety of digital circuits.
In an alternative embodiment, the field programmable gate array 102 can read and process the received image using pixel-level pipelined processing methods. The pipeline processing method is a parallel processing mode which divides a task into a plurality of stages and transfers the processing result of each stage to the next stage. Each stage is responsible for accomplishing a particular task, and the tasks of different stages can be performed simultaneously, as each stage is focused on a different processing operation. The pipeline processing method is used for processing tasks, different tasks can be processed in parallel at the same time, and the overall processing efficiency is improved. The received image is pipelined using pixel stages, i.e. different pixels can be processed simultaneously in different stages without waiting for the complete processing of the previous pixel. The parallel processing mode can greatly improve the efficiency and speed of image processing.
For example, in a pixel-level pipeline process with three stages, the first stage is responsible for pixel input and read operations, the second stage processes the pixels, and the third stage completes the final processing and produces an output. When one pixel enters the pipeline, the three stages are sequentially passed through, and other pixels can enter different stages of the pipeline at the same time.
Different from the whole frame processing mode of the CPU, each pixel point of the image received by the FPGA can be processed in time, and the processing is not started until all pixel points of the whole image are acquired. The image is processed by a pixel-level pipelining method, so that the parallel computing capability of the FPGA can be fully utilized, and the speed and efficiency of image processing are improved.
The storage module 103 may be a Double Data Rate (DDR) for caching the image, or intermediate Data obtained by processing the image, screen information of a color ink screen, etc. The storage module 103 may also be a flash memory (flash) for storing FPGA programs. By adopting the flash memory, the power failure can be ensured not to lose data. In one possible implementation manner, the storage module 103 may be divided into a plurality of partitions, for example, an area a, an area B, and an area C, where the area a is used for storing FPGA programs, the area B is used for storing information related to a color ink screen, such as a waveform table, a voltage, and the like, and the area C is used for storing user-defined data.
The power management module 104 may be a circuit built by discrete components, or may be a circuit implemented by using a ready-made PMIC (such as TPS 65185), and is configured to provide a source voltage and a field voltage for the color ink screen 12, so that the color ink screen 12 can drive the ink screen particles to move when receiving a switching signal sent by the FPGA. The color ink screen 12 may last for months when powered off. Accordingly, the color ink screen 12 is powered off after the refresh is completed and powered on when the image input device 11 transmits a new image.
The application can realize flexible control of the color ink screen through the field programmable gate array, and has high expandability and strong flexibility.
Referring to fig. 3, a functional block diagram of a field programmable gate array according to an embodiment of the application is shown.
The field programmable gate array 102 includes an image preprocessing module 1021, a color ink screen control module 1022, a waveform analysis module 1023, and a power control module 1024, wherein the image preprocessing module 1021 includes an image receiving module 10211 and a color management module 10212, and the color ink screen control module 1022 includes an encoding module 10221 and an interface conversion module 10222.
The respective functional modules are described in detail below in connection with fig. 4.
Referring to fig. 4, a flowchart of a method for driving a color ink screen according to an embodiment of the present application is shown. The method for driving the color ink screen comprises the following steps.
S41, when the current moment detects that the image is input, regularization processing is carried out on the image input at the current moment, and a current moment preprocessing image is obtained.
When the image receiving module of the image preprocessing module detects that the image is input, the FPGA can conduct regularization processing on the image, and therefore the image can be converted into an image which can be displayed on the color ink screen.
In the process of regularization processing of the images, the images are fed into the FPGA in real time according to pixels, and the image preprocessing module carries out real-time regularization processing on the images according to a pipeline and transmits the images to a next-level module or a buffer storage.
The color management module is used for carrying out real-time regularization processing on the image, and the image obtained by carrying out real-time regularization processing on the image is simply called as a preprocessed image.
In an alternative embodiment, regularizing the input image may include, but is not limited to: contrast adjustment, gamma adjustment, and dithering. Parameters required for contrast adjustment, gamma value adjustment, jitter processing and the like can be set through an external module, and can be built into a memory, so that the maximum flexibility is achieved.
Contrast adjustment is an operation of adjusting the degree of difference between bright and dark areas in an image. By increasing or decreasing the difference in brightness of pixels in the image, the contrast of the image may be increased, making details more clearly visible.
Gamma adjustment is a nonlinear operation for changing the brightness curve of an image. By adjusting the gamma value, the brightness range of the image can be precisely controlled, thereby influencing the overall brightness and the display effect of dark detail.
The dithering process is an operation of changing pixel values by introducing random noise into an image. Such random noise may reduce texture and detail of the image and increase smoothness of the image.
In the above embodiment, the contrast and the sharpness of the image can be enhanced by performing the contrast adjustment, the gamma adjustment and the dithering on the image input at the current time, so as to improve the visual effect and the detail performance of the image input at the current time, and make the image input at the current time more suitable for being displayed on the color ink screen.
In an optional implementation manner, the regularizing the image input at the current moment to obtain a preprocessed image at the current moment further includes:
identifying whether the color ink screen is a mask type color ink screen or a capsule type color ink screen;
and when the color ink screen is the mask type color ink screen, carrying out pixel rearrangement on the image input at the current moment.
Pixel rearrangement refers to placing the gray value of each pixel in the mask arrangement sequence of the color ink screen. The pixel rearrangement needs to be rearranged according to the screen type of the color ink screen. Common color ink screens are classified into mask type color ink screens and capsule type color ink screens.
The mask type color ink screen uses a combination of a black-and-white ink screen and a color mask layer, and the color display of the image on the color ink screen is realized through a combination of a mask and gray values. The color mask layer is provided with color filters or dyes with red, green, blue and the like, and when the pixel points of the black-and-white ink screen change, the color filter of the mask layer can filter light rays with corresponding colors, so that color display is realized. In a mask-type color ink screen, each pixel is typically composed of a plurality of sub-pixels, each sub-pixel being responsible for displaying one color. The color distribution mode of each pixel point in the color ink screen can be determined through the color mask. The color mask also determines the weight of each sub-pixel, i.e. the extent to which the different color channels contribute to the final color. The display effect of different colors can be realized by adjusting the weight of each sub-pixel. Therefore, when the color ink screen is a mask type color ink screen, it is necessary to perform pixel rearrangement on the input image, that is, rearrange the arrangement of the sub-pixels of the pixel points for each pixel point, so as to achieve different display effects and color expression, and calculate the gray values of the pixel points based on the sub-pixel arrangement order and the weighted average formula. By adjusting the arrangement of the pixels, the distribution and the weight of the color channels can be changed.
For example, a pixel may be composed of one red sub-pixel, one green sub-pixel, and one blue sub-pixel. In the standard arrangement they are arranged in the order red, green and blue. Based on the mask configuration of the color ink screen, the arrangement order of the sub-pixels is changed by using pixel rearrangement, and the sub-pixels are arranged in the order of green, red and blue, and the same color is output on the color ink screen. The gray values of the green sub-pixel, the red sub-pixel and the blue sub-pixel are respectively 150, 100 and 200, and the gray values of the pixel points are obtained by calculating according to a weighted average formula:
gray value=0.3×150+0.59×100+0.11×200=45+59+2=126.
The capsule-type color ink screen is different from the mask-type color ink screen in that the capsule-type color ink screen has been color-mixed at the pixel level, which means that three kinds of color information of red, green, and blue are stored per pixel point, and thus pixel rearrangement is not required. The capsule type color ink screen technology uses tiny capsules, each capsule contains red, green, blue and other color inks, and the display intensity and the color mixing of the inks are adjusted by controlling a transparent electrode behind the capsule, so that color image display is realized. Compared with a mask type color ink screen, the capsule type color ink screen can display images directly according to color information stored in pixel points, so that pixel rearrangement of input images is not needed.
In an alternative embodiment, the screen information of the color ink screen may be acquired through an interface of the color ink screen, the screen information may be a screen type of the color ink screen, and whether the color ink screen is a mask type color ink screen or a capsule type color ink screen is identified according to the screen type, so as to determine whether to reorder pixels of an input image.
When the color ink screen is a mask type color ink screen, pixel rearrangement needs to be carried out on the image input at the current moment, so that when the mask type color ink screen displays the image, each pixel point can correctly display the corresponding color. In the implementation, the gray value of a red channel of the pixel point in an RGB color space is obtained by traversing all the pixel points of the image input at the current moment, and the gray value of the red channel is placed at a position corresponding to the red region on the mask. Then, gray values of the green and blue channels are sequentially acquired, and are respectively placed on positions corresponding to the green and blue regions on the mask. By directing the light of the corresponding color through the portion of the color mask layer to the corresponding pixel, an image with a color effect can be presented on the color ink screen.
S42, calculating an index value of gray scale change according to the current time preprocessing image and the previous time preprocessing image.
The image preprocessing module transmits the obtained preprocessed image to the coding module of the color ink screen control module, and the coding module reads the preprocessed image at the last moment from the storage module and obtains an index value of gray scale change based on the preprocessed image at the last moment and the preprocessed image at the current moment.
In an optional embodiment, when the color ink screen is the mask type color ink screen, the calculating the index value of the gray scale change according to the current time preprocessed image and the previous time preprocessed image includes:
acquiring a first gray value of each pixel point in the preprocessing image at the current moment;
acquiring a second gray value of each pixel point in the preprocessing image at the previous moment;
and for each pixel point, calculating based on the first gray value and the corresponding second gray value of the pixel point by using a preset calculation formula to obtain an index value of gray level change of the pixel point.
For a mask type color ink screen, since pixel rearrangement processing is performed on an input image, a gray value corresponding to each pixel point in the image can be directly obtained.
Illustratively, the gray value of the previous pre-processed image at the (x, y) coordinate is I 0 The gray value of the preprocessing image at the current moment is I 1 Then the index value of the gray level change on the (x, y) coordinate at the current time can be obtained as index= (I) 0 &0xf0)|(I 1 >>4)。
In an optional embodiment, when the color ink screen is the capsule color ink screen, the calculating the index value of the gray scale change according to the current time preprocessed image and the last time preprocessed image includes:
acquiring a first channel gray value of each channel of each pixel point in the preprocessing image at the current moment;
acquiring a second channel gray value of each channel of each pixel point in the preprocessing image at the previous moment;
for each channel of each pixel point, calculating based on the first channel gray value and the corresponding second channel gray value of the channel by using a preset calculation formula to obtain an index value of gray level change of the channel;
and obtaining the index value of the gray level change of each pixel point according to the index value of the gray level change of each channel of each pixel point.
For the capsule color ink screen, because the input image does not need to be rearranged in pixels, a first R channel gray value, a first G channel gray value and a first B channel gray value of each pixel point in the preprocessed image at the current moment are obtained, and a second R channel gray value, a second G channel gray value and a second B channel gray value of each pixel point in the preprocessed image at the previous moment are obtained.
And for each pixel point, calculating the first R channel gray value and the corresponding second R channel gray value by using a preset calculation formula to obtain an R channel index value. And calculating the first G channel gray value and the corresponding second G channel gray value by using a preset calculation formula to obtain a G channel index value. And calculating the first B channel gray value and the corresponding second B channel gray value by using a preset calculation formula to obtain a B channel index value. And finally, combining the R channel index value, the corresponding G channel index value and the corresponding B channel index value to obtain a final index value of the pixel point.
Illustratively, on the (x, y) coordinates, the red, green, and blue channel gray values of the pre-processed image at the previous time are R 0 、G 0 、B 0 The gray values of the red, green and blue channels of the preprocessing image at the current moment are respectively R 1 、G 1 、B 1 Then the index values of the (x, y) coordinates of the current moment on the red, green and blue color channels can be obtained as follows:
index r =(R 0 &0xf0)|(R 1 >>4),
index g =(G 0 &0xf0)|(G 1 >>3),
index b =(B 0 &0xf0)|(B 1 >>5)。
finally, combining the index values of each pixel point in the preprocessing image at the current moment in the red, green and blue channels to obtain a final index value of the current pixel point as follows:
(index r ,index g ,index b )。
s43, converting the index value of the gray level change into voltage information based on a waveform table stored in the color ink screen.
Each batch of color ink panels is cured by the manufacturer into the color ink panel prior to shipment. The waveform table is a set of a series of waveform sequences, and some voltage data information is obtained by permutation and combination of temperature, original gray scale and target gray scale.
The waveform analysis module can acquire a waveform table corresponding to the color ink screen based on the screen type or the screen identification of the color ink screen, and the interface conversion module can search voltage information corresponding to each pixel point in the preprocessing image at the current moment in the waveform table according to the index value of gray scale change.
Conventionally, the source voltages of black-and-white ink screens and color ink screens are only 2, but considering the technical development of color ink screens, various color particles may need to be driven by different voltages. Therefore, the embodiment of the application considers the possibility of designing the support of various source voltages, and 4bit numbers are used for representing voltage types, so that 16 voltage types can be supported at maximum. Therefore, the driving mode of 2 voltage types of the current ink screen is met, and the scenes of various voltage-driven color ink screens existing or appearing in the future are also met.
In an optional embodiment, the converting the index value of the gray-scale variation into voltage information based on a waveform table stored in the color ink screen includes:
inquiring a waveform sequence corresponding to the index value of the gray level change in the waveform table;
and acquiring a voltage change value of each pixel point in the color ink screen and duration corresponding to the voltage change value based on the waveform sequence.
Firstly, matching and inquiring are carried out in a waveform table of the color ink screen by using index values, a waveform sequence corresponding to the index values of specified gray level changes is obtained, and then the corresponding waveform sequence is used for obtaining the voltage change value of each pixel in the color ink screen and the duration time of the corresponding voltage change value. Each pixel point generates specific voltage change according to a corresponding waveform sequence during display, and the voltage change condition of the pixel during display is represented; the duration represents the duration of each voltage change value, i.e., the length of time the color ink screen maintains each horizontal voltage at the coordinate position of the pixel point. The voltage information includes a voltage variation value and a duration.
For example, the color ink screen may be displayed as white from black, and three phases may be required, in which the voltage v1 is applied in the first phase for the duration T1, the voltage v2 is applied in the second phase for the duration T2, the voltage is not applied in the third phase for the duration T3, and the screen brushing time t=t1+t2+t3, i.e. after the time T is elapsed, the white is finally displayed stably.
In the above embodiment, the voltage variation value and the duration for each pixel are obtained according to the waveform table of the color ink screen and the index value of the specific gray level variation, so that accurate control and adjustment of the pixel level can be realized, and the input image can be presented on the color ink screen better.
And S44, driving the color ink screen to display based on the voltage information and the interface information.
And the interface conversion module outputs the voltage information obtained by the encoding module according to the interface time sequence corresponding to the color ink screen.
In an alternative embodiment, the driving the color ink screen to display based on the voltage information and interface information includes:
simulating interface time sequence requirements corresponding to the color ink screen by using an FPGA;
and driving the color ink screen to display based on the interface time sequence requirement, the voltage change value and the duration.
The voltage variation value describes the voltage variation of the coordinate position of the color ink screen corresponding to each pixel point when the image display is performed. And according to the voltage change value and the corresponding duration, simulating the interface time sequence requirement corresponding to the color ink screen by using the FPGA, and driving the color ink screen to output according to the corresponding voltage change value and the corresponding duration.
FGPA can realize conversion of different interface types and has flexibility and expandability to a certain extent to meet the demands of different sizes and types of color ink screens. For a common color ink screen interface, for example, a mini-LVDS interface which is common in use on a large-size high-definition color ink screen, an FPGA interface can be used for simulating the double-edge data transmission and time sequence requirements required by the mini-LVDS interface. For a small-size color ink screen interface, TTL RGB parallel output can be easily realized based on FPGA simulation. By means of the flexibility of the FPGA, the time sequence requirement of any color ink screen interface can be simulated according to the requirement, so that the support of various color ink screens of different types is realized.
In an alternative embodiment, the method further comprises:
and when no image input is detected at the next moment or the image input is detected at the next moment, but the image input at the next moment is the same as the image input at the current moment, the color ink screen is not refreshed.
During normal screen brushing, a power supply needs to be turned on to provide a source voltage and a field voltage for the color ink screen. However, the color ink screen has the characteristic that the power-down content does not disappear, so that the screen is not refreshed when the screen content is not changed, and the power consumption is reduced.
When the image input is detected at the current moment, the image input at the current moment is subjected to regularization processing through the FPGA by adopting a pipelining processing method to obtain the preprocessing image at the current moment, the processing time of the image is shortened by adopting the pipelining processing method, the speed and experience of screen brushing are improved, the index value of gray level change is obtained by calculating the preprocessing image at the current moment and the preprocessing image at the last moment, so that the index value of gray level change is converted into voltage information based on a waveform table stored in the color ink screen, and finally the color ink screen is driven to display based on the voltage information and interface information, accurate control and adjustment of pixel level can be realized, so that the input image can be better presented on the color ink screen, a system-level chip is not needed, the flexibility is high, and the color ink screen can be suitable for color ink screens with different models and specifications.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It should also be understood that the term "and/or" as used in this disclosure is intended to encompass any or all possible combinations of one or more of the listed items. The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature, and in the description of embodiments of the application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (9)
1. A color ink screen driving method, the method comprising:
when the current moment detects that an image is input, regularization processing is carried out on the image input at the current moment to obtain a preprocessing image at the current moment;
according to the current time preprocessing image and the previous time preprocessing image, calculating to obtain an index value of gray scale change;
converting the index value of the gray level change into voltage information based on a waveform table stored in the color ink screen;
and driving the color ink screen to display based on the voltage information and the interface information.
2. The method for driving a color ink screen according to claim 1, wherein the regularizing the image input at the current time to obtain a preprocessed image at the current time comprises:
and respectively carrying out contrast adjustment, gamma value adjustment and dithering treatment on the image input at the current moment to obtain the preprocessing image at the current moment.
3. The method for driving a color ink screen according to claim 1, wherein the regularizing the image input at the current time to obtain a preprocessed image at the current time further comprises:
identifying whether the color ink screen is a mask type color ink screen or a capsule type color ink screen;
and when the color ink screen is the mask type color ink screen, carrying out pixel rearrangement on the image input at the current moment to obtain the preprocessing image at the current moment.
4. The method of driving a color ink screen according to claim 3, wherein when the color ink screen is the mask type color ink screen, calculating the index value of the gray level change according to the current time pre-processed image and the previous time pre-processed image includes:
acquiring a first gray value of each pixel point in the preprocessing image at the current moment;
acquiring a second gray value of each pixel point in the preprocessing image at the previous moment;
for each pixel point, calculating based on the first gray value and the corresponding second gray value of the pixel point by using a preset calculation formula to obtain an index value of gray level change of the pixel point;
the method according to claim 3, wherein when the color ink screen is the capsule color ink screen, the calculating the index value of the gray scale change according to the current time pre-processed image and the previous time pre-processed image includes:
acquiring a first channel gray value of each channel of each pixel point in the preprocessing image at the current moment;
acquiring a second channel gray value of each channel of each pixel point in the preprocessing image at the previous moment;
for each channel of each pixel point, calculating based on the first channel gray value and the corresponding second channel gray value of the channel by using a preset calculation formula to obtain an index value of gray level change of the channel;
and obtaining the index value of the gray level change of each pixel point according to the index value of the gray level change of each channel of each pixel point.
5. The color ink screen driving method according to claim 4 or 5, wherein the converting the index value of the gray-scale variation into voltage information based on a waveform table stored in the color ink screen includes:
inquiring a waveform sequence corresponding to the index value of the gray level change in the waveform table;
and acquiring a voltage change value of each pixel point in the color ink screen and duration corresponding to the voltage change value based on the waveform sequence.
6. The method of driving a color ink screen according to claim 6, wherein driving the color ink screen for display based on the voltage information and interface information comprises:
simulating interface time sequence requirements corresponding to the color ink screen by using a field programmable gate array;
and driving the color ink screen to display based on the interface time sequence requirement, the voltage change value and the duration.
7. The color ink screen driving method according to claim 7, further comprising:
and when no image input is detected at the next moment or the image input is detected at the next moment, but the image input at the next moment is the same as the image input at the current moment, the color ink screen is not refreshed.
8. A color ink screen driving apparatus, the apparatus comprising: the image source interface module is used for receiving an image input by the image input device and inputting all pixel points of the image into the field programmable gate array in parallel;
the storage module is used for storing screen information and the like of the color ink screen;
the power supply management module is used for providing source voltage and field voltage for the color ink screen;
the field programmable gate array is used for realizing the steps of the color ink screen driving method according to any one of claims 1 to 8.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the color ink screen driving method according to any one of claims 1 to 8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311234008.XA CN117198232B (en) | 2023-09-23 | 2023-09-23 | Color ink screen driving method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311234008.XA CN117198232B (en) | 2023-09-23 | 2023-09-23 | Color ink screen driving method, device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN117198232A true CN117198232A (en) | 2023-12-08 |
| CN117198232B CN117198232B (en) | 2024-08-27 |
Family
ID=88984921
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311234008.XA Active CN117198232B (en) | 2023-09-23 | 2023-09-23 | Color ink screen driving method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117198232B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118335021A (en) * | 2024-04-03 | 2024-07-12 | 深圳市鑫瑞智实业有限公司 | Image processing method, device, equipment and storage medium based on ink screen |
| CN118762660A (en) * | 2024-08-01 | 2024-10-11 | 广州文石信息科技有限公司 | Ink screen driving method, device, electronic device and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113223470A (en) * | 2021-04-20 | 2021-08-06 | 绵阳惠科光电科技有限公司 | Driving method of display panel, driving module of display device, and computer-readable storage medium |
| CN114201627A (en) * | 2021-11-30 | 2022-03-18 | 深圳市大我云读写科技有限公司 | Display method, device and equipment for electronic ink screen and storage medium |
| CN114691004A (en) * | 2020-12-14 | 2022-07-01 | 掌阅科技股份有限公司 | Handwritten note display method of ink screen device, ink screen device and storage medium |
| CN116052605A (en) * | 2023-02-06 | 2023-05-02 | 合肥讯飞读写科技有限公司 | Ink screen refreshing method and device, ink screen equipment and storage medium |
| CN116364023A (en) * | 2023-04-12 | 2023-06-30 | 广州文石信息科技有限公司 | Method, device, medium and equipment for driving electronic ink screen based on GPU |
-
2023
- 2023-09-23 CN CN202311234008.XA patent/CN117198232B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114691004A (en) * | 2020-12-14 | 2022-07-01 | 掌阅科技股份有限公司 | Handwritten note display method of ink screen device, ink screen device and storage medium |
| CN113223470A (en) * | 2021-04-20 | 2021-08-06 | 绵阳惠科光电科技有限公司 | Driving method of display panel, driving module of display device, and computer-readable storage medium |
| CN114201627A (en) * | 2021-11-30 | 2022-03-18 | 深圳市大我云读写科技有限公司 | Display method, device and equipment for electronic ink screen and storage medium |
| CN116052605A (en) * | 2023-02-06 | 2023-05-02 | 合肥讯飞读写科技有限公司 | Ink screen refreshing method and device, ink screen equipment and storage medium |
| CN116364023A (en) * | 2023-04-12 | 2023-06-30 | 广州文石信息科技有限公司 | Method, device, medium and equipment for driving electronic ink screen based on GPU |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118335021A (en) * | 2024-04-03 | 2024-07-12 | 深圳市鑫瑞智实业有限公司 | Image processing method, device, equipment and storage medium based on ink screen |
| CN118335021B (en) * | 2024-04-03 | 2025-02-11 | 深圳市鑫瑞智实业有限公司 | Image processing method, device, equipment and storage medium based on ink screen |
| CN118762660A (en) * | 2024-08-01 | 2024-10-11 | 广州文石信息科技有限公司 | Ink screen driving method, device, electronic device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117198232B (en) | 2024-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN117198232B (en) | Color ink screen driving method, device and storage medium | |
| CN108538260B (en) | Image display processing method and device, display device and storage medium | |
| CN101630498B (en) | Display apparatus, method of driving display apparatus, drive-use integrated circuit, and signal processing method | |
| CN106023942B (en) | A kind of grayscale color difference adjusting method, device and the display device of display panel | |
| CN100371981C (en) | Method and device for driving liquid crystal display | |
| CN100507645C (en) | Method and device for driving liquid crystal display | |
| JP3446706B2 (en) | Setting method of gradation voltage for multi-gradation display device | |
| CN102483907B (en) | Display device | |
| TWI486936B (en) | Timing controller utilized in display device and method thereof | |
| EP2113903A2 (en) | Backlight driving circuit and method for driving the same | |
| US11922848B2 (en) | Method and apparatus for compensating displayed picture, device thereof, and driver board for display screen | |
| US9460675B2 (en) | Display device having signal processing circuits, electronic apparatus having display device, driving method of display device, and signal processing method | |
| CN110473499B (en) | Gamma voltage debugging method for display panel, display panel and display device | |
| CN102298894A (en) | display device and contrast enhancement method thereof | |
| KR101356370B1 (en) | Method of Correcting Data And Liquid Crystal Display Using The Same | |
| KR20110128853A (en) | Signal Generation for LED / LCD-Based High Dynamic Range Displays | |
| WO2018126861A1 (en) | Drive circuit for display screen, display method and display device | |
| CN109243384A (en) | Show equipment and its driving method, driving device and computer-readable medium | |
| KR20150015235A (en) | Organic light emitting diode display device and method for driving the same | |
| CN101471063A (en) | Color signal generating device | |
| WO2019080446A1 (en) | Display apparatus driving method, and display apparatus | |
| WO2019080286A1 (en) | Driving method for display apparatus, and display apparatus | |
| WO2019148667A1 (en) | Method and device employing backlight partitioning to display image having high dynamic contrast ratio | |
| KR101891971B1 (en) | Display apparatus and driving method thereof | |
| CN103177702B (en) | There is display and the method thereof of GTG expanded function |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |