A kind of image processing method being applied to electrophoretic display
Technical field
The present invention relates to image processing field, particularly relate to the image processing method of electrophoretic display.
Background technology
Increasingly mature along with electronic paper technology, electrophoretic display has been realized in commercialization, has won the hobby of users gradually with superior performances such as its ultralow power consumption, Low emissivity, comfortable Consumer's Experience in the display such as e-book, reader field.But, due to the restriction of the factors such as electrophoretic display manufacturing process, its shortcoming is also apparent from.It is easily generated serious ghost phenomenon during particularly in continuous refreshed image, causes that the picture quality of display is undesirable.
Electrophoretic display is to drive the motion of the different colours electrophoretic particles in display to realize display function by applying different voltage on the pixel electrode.Character due to electrophoretic particle itself, cross the content of last time display when slow response time causes refreshing continuously not to be completely erased in erasing original image step, partial content has been shown on display screen together with the content refreshed next time, it does not have the content being completely erased is exactly ghost.The generation of ghost is closely related with the mode of display refreshing picture.
Current electrophoretic display eliminates the method for ghost, mainly by optimizing drive waveforms, makes electrophoretic display repeatedly refresh between black state and white states.But for the finished product display rendering to market, corresponding waveform has cured in correlation module, it is clear that domestic consumer is difficult to be modified waveform and reaches to alleviate the purpose of electrophoretic display ghost.At present, waveform is to be defined by corresponding wave file, and amendment wave file needs certain Professional knowledge background, and revises process very complicated, and workload is huge.
Summary of the invention
In order to solve above-mentioned technical problem, it is an object of the invention to provide a kind of image processing method that can alleviate electrophoretic display ghost, the method under the premise not changing drive waveforms, the technical problem having ghost to remain when can effectively solve the continuous refresh picture of electrophoretic display.
The technical solution adopted in the present invention is:
A kind of image processing method being applied to electrophoretic display, it is characterised in that it includes the image to arbitrary neighborhood two frame and adopts following image processing step:
S0, with the gray value of the default gray value replacement gray value at the first pixel of first two field picture and the second pixel at rear two field picture, described first pixel and the pixel that the second pixel is the diverse location in display screen.
As the first preferred embodiment of the present invention, described first pixel is odd pixel point, and described second pixel is even pixel point, namely described image processing step S0 particularly as follows:
From adjacent two two field pictures first pixel of first two field picture, replace the gray value of this pixel with default gray value every a pixel, until last pixel terminates;
From adjacent two two field pictures second pixel of rear two field picture, replace the gray value of this pixel with default gray value every a pixel, until last pixel terminates.
As the second preferred embodiment of the present invention, described first pixel is odd-line pixels point, and described second pixel is even rows point, namely described image processing step S0 particularly as follows:
From adjacent two two field pictures the first row pixel of first two field picture, pixel replaces the gray value of this row pixel with default gray value in every line, until last column pixel terminates;
From adjacent two two field pictures the second row pixel of rear two field picture, pixel replaces the gray value of this pixel with default gray value in every line, until last column pixel terminates.
As the third preferred embodiment of the present invention, described first pixel is odd column pixel point, and described second pixel is even column pixels point, namely described image processing step S0 particularly as follows:
From adjacent two two field pictures the first row pixel of first two field picture, replace the gray value of this row pixel every string pixel with default gray value, until last string pixel terminates;
From adjacent two two field pictures the secondary series pixel of rear two field picture, replace the gray value of this pixel every string pixel with default gray value, until last string pixel terminates.
Preferably, before described image processing step S0, also include pre-treatment step S0, specifically include:
S01, reads target video file to be played;
S02, reads the two field picture of target video file in above-mentioned steps 01;
S03, converts the two field picture obtained in above-mentioned steps S02 to GTG two field picture;
S04, by a series of GTG two field pictures obtained in above-mentioned steps S03 according to video time axle by early arranging to the order in evening.
Preferably, image trim step S1 is also included: will copy in electrophoretic display through the step S0 two field picture processed after described image processing step S0, during refresh picture continuous in display, the distribution situation of ghost residual, carries out the trickle adjustment of local again to the two field picture after processing.
Preferably, described trickle adjustment particularly as follows: the pixel region that brightness ratio is dark is taked to retain the measure of original pixel gray value, with ensure continuously refresh time display brightness.
Preferably, described default gray value is 0, and described default gray value correspondence GTG is black.
The invention has the beneficial effects as follows:
The present invention is by processing the pixel gray level of consecutive frame image to be played, namely default gray value is adopted to replace original gray value of ad-hoc location pixel, the once overall situation that simultaneously completed that adjacent two two field pictures refresh is refreshed, thus having reached not increase the ghost produced when alleviating the continuous refresh picture of electrophoretic display under the premise that any extra overall situation refreshes.
The composite can be widely applied to the image processing system of various electrophoretic display.
Detailed description of the invention
It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.
The invention provides a kind of image processing method alleviating electrophoretic display ghost phenomenon, video file to be played is carried out pretreatment.In this embodiment, arranging default gray value is 0, and corresponding GTG is black, with the second preferred embodiment: the first pixel is for odd-line pixels point, and described second pixel is even rows point is example.Wherein, the present invention includes step: S0, video-processing steps;S1, image processing step;S2, image trim step.
Further, in step so), the gray value of the original pixel of pending image is replaced with the gray value (gray value is for 0) of black grey scale;
Further, the determination of the original pixel position of described image, specifically include following steps:
A1: read target video file to be played;
A2: read the two field picture of target video file in above-mentioned steps A1;
A3: the two field picture obtained in above-mentioned steps A2 is converted to GTG two field picture;
A4: by the series in above-mentioned steps A3 according to video time axle by early arranging to the order in evening and name;
A5: after step A4 terminates, the first row pixel of the first two field picture F1 of the serial GTG two field picture from above-mentioned steps A4, the gray value of the original pixel of this row is replaced in every line, until last column pixel of the first two field picture F1 terminates with a certain default gray value;
A6: after step A5 terminates, the second row pixel of the second two field picture F2 of the serial GTG two field picture from above-mentioned steps A4, the gray value of the original pixel of this row is replaced in every line, until last column pixel of the second two field picture F2 terminates with the gray value of black grey scale;
A7: after step A6 terminates, the first row pixel of the 3rd two field picture F3 of the serial GTG two field picture from above-mentioned steps A4, the gray value of the original pixel of this row is replaced in every line, until last column pixel of the 3rd two field picture F3 terminates with the gray value of black grey scale;
A8: the serial GTG two field picture in step A4 is processed by rule described in above-mentioned steps A5, step A6, step A7 one by one, until the last frame image Fn of this series GTG two field picture terminates;
After step A1-A8 completes, two frame video images of arbitrary neighborhood are predetermined the position of the pixel that gray value replaces all not in same a line.
After step A8 terminates, by the series video image copy finally given to arbitrarily having in graphical display function and the electronic equipment with electrophoretic display, the distribution situation of ghost residual during refreshing video image continuous in electrophoretic display, picture after processing is carried out again the trickle adjustment of local, the region that brightness ratio is dark takes to retain the measure of original pixel gray value (cancelling 0 gray value replacement to the former gray value of pixel), the brightness of display during to ensure to refresh continuously.
Obvious, to the first preferred embodiment, (described first pixel is odd pixel point, described second pixel is even pixel point) and the third preferred embodiment (described first pixel is odd column pixel point, described second pixel is even column pixels point), its implementation is similar with the second preferred embodiment, do not do tired stating at this, belong to the narration scope of the present invention.
The present invention is by treating the pretreatment of playing video file, namely adopt a certain default gray value to replace original gray value of position pixel described in consecutive frame image, after adjacent two two field pictures refreshings are terminated, owing to refresh time is very short, the once overall situation that simultaneously completed that this process is effectively equivalent to refreshing adjacent two two field pictures refreshes, thus having reached not increase the ghost produced when alleviating the continuous refresh picture of electrophoretic display under the premise that any extra overall situation refreshes.
It is above the preferably enforcement of the present invention has been illustrated, but the invention is not limited to described embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the premise without prejudice to spirit of the present invention, and these equivalent deformation or replacement are all contained in the application claim limited range.