CN115079986B - Jitter optimization display method and device, terminal equipment and storage medium - Google Patents

Jitter optimization display method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN115079986B
CN115079986B CN202211010290.9A CN202211010290A CN115079986B CN 115079986 B CN115079986 B CN 115079986B CN 202211010290 A CN202211010290 A CN 202211010290A CN 115079986 B CN115079986 B CN 115079986B
Authority
CN
China
Prior art keywords
data
historical
gray scale
picture data
jitter
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.)
Active
Application number
CN202211010290.9A
Other languages
Chinese (zh)
Other versions
CN115079986A (en
Inventor
许俊文
朱增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ONYX INTERNATIONAL Inc
Original Assignee
ONYX INTERNATIONAL Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ONYX INTERNATIONAL Inc filed Critical ONYX INTERNATIONAL Inc
Priority to CN202211010290.9A priority Critical patent/CN115079986B/en
Publication of CN115079986A publication Critical patent/CN115079986A/en
Application granted granted Critical
Publication of CN115079986B publication Critical patent/CN115079986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Abstract

The embodiment of the invention discloses a jitter optimization display method, a device, terminal screen equipment and a storage medium, wherein the jitter optimization display method comprises the following steps: acquiring frame picture data to be displayed; generating gray scale image data according to the frame image data; generating shaking picture data corresponding to the frame picture data according to the historical gray scale data and the historical shaking data cached in the image cache region; and updating the gray scale picture data and the shaking picture data corresponding to the frame picture data to the image buffer area. By comparing the gray scale image data of two adjacent frames, the dithering image data of the frame to be displayed is generated on the basis of the dithering image data corresponding to the image data of the previous frame, thereby improving the smoothness of the display content of the changed area and avoiding the whole image from being updated.

Description

Jitter optimization display method and device, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of display, in particular to a jitter optimization display method and device, terminal equipment and a storage medium.
Background
The surface of the electronic ink screen is attached with a plurality of microcapsules with small volumes, and pigment particles with different charges are encapsulated in the microcapsules. In the initial state, different pigment particles are suspended in the microcapsules, after an electric field in a certain direction is applied, the corresponding pigment particles are pushed to the top, the microcapsules can display different colors, the microcapsules with different colors form various characters and patterns, and the display effect can still be maintained after the power is off.
At present, the mainstream electronic ink screen uses black and white small ball microcapsules, so that only multi-level gray scale colors formed by black and white can be displayed, and the electronic ink screen cannot display colors, so that if the electronic ink screen is used as a computer display and a good display effect is kept, a continuous frame picture of the colors needs to be processed into a multi-level gray scale picture for display, and the multi-level gray scale picture is dithered based on the gray scale picture and then displayed on the electronic ink screen.
The inventor researches the existing display process and finds that in order to avoid that the display of each frame of the ink screen is refreshed in a full screen mode, the picture display effect during frame switching is not ideal, the shaking processing is usually only carried out on an area which changes in the next frame, then the shaking picture of the area is overlapped with the previous frame for processing, the boundary of the overlapped area can be seen on the basis of the display of the previous frame when the next frame is displayed, and the smoothness of the displayed picture is poor.
Disclosure of Invention
The invention provides a jitter optimization display method, a jitter optimization display device, a terminal device and a storage medium, and aims to solve the technical problems that in the prior art, when an ink screen displays a next frame, a boundary line of a superposition area can be seen on the basis of the display of the previous frame, and the smoothness of a display picture is poor.
In a first aspect, an embodiment of the present invention provides a jitter optimization display method, including:
acquiring frame picture data to be displayed;
generating gray scale picture data according to the frame picture data;
generating shaking picture data corresponding to the frame picture data according to the historical gray data and the historical shaking data cached in the image cache region;
and updating the gray scale picture data and the jitter picture data corresponding to the frame picture data to the image buffer area.
Further, the image buffer area comprises a first buffer area and a second buffer area;
correspondingly, the generating shaking picture data corresponding to the frame picture data according to the historical gray scale data and the historical shaking data cached in the image cache region, and updating the gray scale picture data and the shaking picture data corresponding to the frame picture data to the image cache region includes:
if the historical gray data is not cached in the first cache region, caching the gray picture data in the first cache region as the historical gray data;
generating jittering picture data according to the gray picture data, and caching the jittering picture data into a preset second cache region as historical jittering data;
if historical gray data are cached in the first cache region, comparing the gray picture data with the historical gray data to obtain a change region in the gray picture data;
updating the gray scale picture data to the first cache region as historical gray scale data;
generating initial jitter data according to the gray scale image data, and replacing the data of the change area in the initial jitter data to the corresponding position of the historical jitter data to obtain jitter image data;
and updating the jittered picture data to the second buffer area as historical jittered data.
Further, before the updating the grayscale picture data to the first buffer area as historical grayscale data, the method further includes:
and confirming that the ratio of the area of the change region to the area of the gray scale picture data is smaller than a preset first threshold value.
Further, if historical grayscale data is cached in the first cache region, after comparing the grayscale image data with the historical grayscale data and acquiring a change region in the grayscale image data, the method further includes:
if the ratio of the area of the change area to the area of the gray scale image data is above the first threshold value, caching the gray scale image data into the first cache region as historical gray scale data;
and generating shaking picture data according to the gray picture data, and caching the shaking picture data into a preset second cache region as historical shaking data.
Further, the first threshold is a default preset threshold, a preset threshold is automatically adjusted, or a threshold preset according to a user operation.
Further, the method also comprises the following steps:
and when the updating times of the historical gray data reach a preset second threshold value, clearing the image cache region.
In a second aspect, an embodiment of the present invention provides a jitter-optimized display device, including:
the data acquisition unit is used for acquiring frame image data to be displayed;
a data generation unit for generating gray scale image data from the frame image data;
the data processing unit is used for generating jittering picture data corresponding to the frame picture data according to the historical gray scale data and the historical jittering data cached in the image cache region; and updating the gray scale picture data and the shaking picture data corresponding to the frame picture data to the image buffer area.
Further, the image buffer area comprises a first buffer area and a second buffer area;
correspondingly, the data processing unit comprises:
the first updating module is used for caching the gray picture data into the first cache region as historical gray data if the historical gray data is not cached in the first cache region;
the second updating module is used for generating jittering picture data according to the gray picture data and caching the jittering picture data into a preset second cache region as historical jittering data;
the area confirmation module is used for comparing the gray scale image data with historical gray scale data to obtain a change area in the gray scale image data if the historical gray scale data is cached in the first cache area;
the third updating module is used for updating the gray scale image data to the first cache region as historical gray scale data;
the data replacement module is used for generating initial jitter data according to the gray level image data and replacing the data of the change area in the initial jitter data to the corresponding position of the historical jitter data to obtain jitter image data;
and the fourth updating module is used for updating the jittered picture data to the second buffer area as historical jittered data.
Further, the jitter optimization display apparatus further includes:
and the range confirmation module is used for confirming that the ratio of the area of the change area to the area of the gray scale image data is smaller than a preset first threshold value before the gray scale image data is updated to the first cache area as historical gray scale data.
Further, the jitter optimization display apparatus further includes:
a fifth updating unit, configured to cache the grayscale picture data in the first cache area as historical grayscale data if a ratio of the area of the change area to the grayscale picture data is greater than or equal to the first threshold;
and the sixth updating unit is used for generating shaking picture data according to the gray scale picture data and caching the shaking picture data in a preset second cache region to be used as historical shaking data.
Further, the first threshold is a default preset threshold, a preset threshold is automatically adjusted, or a threshold preset according to a user operation.
Further, the jitter optimization display apparatus further includes:
and the data clearing unit is used for clearing the image cache region when the updating times of the historical gray data reach a preset second threshold value.
In a third aspect, an embodiment of the present invention provides a terminal device, including:
an ink screen;
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the terminal device to implement the jitter-optimized display method as in any one of the first aspects.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the jitter optimization display method according to any one of the first aspect.
In the jitter optimization display method, the device, the terminal equipment and the storage medium, frame image data to be displayed are acquired; generating gray scale picture data according to the frame picture data; generating shaking picture data corresponding to the frame picture data according to the historical gray scale data and the historical shaking data cached in the image cache region; and updating the gray scale picture data and the jitter picture data corresponding to the frame picture data to the image buffer area. By comparing the gray scale image data of two adjacent frames, the dithering image data of the frame to be displayed is generated on the basis of the dithering image data corresponding to the image data of the previous frame, thereby improving the smoothness of the display content of the changed area and avoiding the whole image from being updated.
Drawings
Fig. 1 is a flowchart of a jitter optimization display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a frame processing procedure of a jitter-optimized display method according to an embodiment of the present invention;
FIG. 3 is a block diagram of a jitter-optimized display apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that, for the sake of brevity, this description does not exhaust all alternative embodiments, and it should be understood by those skilled in the art after reading this description that any combination of features may constitute an alternative embodiment as long as the features are not mutually inconsistent.
The following provides a detailed description of various embodiments of the present invention.
Fig. 1 is a flowchart of a jitter optimization display method according to an embodiment of the present invention. The jitter optimization display method is used for terminal equipment, in particular for terminal equipment using an ink screen for display, and as shown in the figure, the jitter optimization display method comprises the following steps:
step S110: and acquiring frame picture data to be displayed.
In the display process of the electronic equipment, a processor of the electronic equipment generates a display picture according to an interface component of a currently running program, and the running program or an interface in the running program changes according to the operation of a user so as to regenerate the display picture correspondingly. Each display frame corresponds to one frame picture data. For the electronic device, the content to be displayed after the currently displayed frame image data corresponds to the frame image data to be displayed. For different programs, there are different combinations of components and colors, and the display images formed by the combination are generally images with rich colors, that is, the frame image data correspondingly carries rich color contents.
In the electronic equipment based on optical display module realization such as liquid crystal display, OLED display screen, the media of control formation of image need maintain drive signal in real time and can guarantee the existence of formation of image, for example liquid crystal display needs electric field control deflection angle, otherwise the liquid crystal resumes unordered distribution, shelters from all light-emitting and can not maintain the formation of image effect. Therefore, in the optical display module, even if the current display content is not changed, the frame picture data to be displayed needs to be acquired correspondingly, and only the frame picture data to be displayed is the same as the frame picture data of the previous frame. Compared with the electronic equipment based on the optical display module, the electronic equipment based on the ink screen can confirm to acquire frame picture data to be displayed when the display content changes.
Step S120: and generating gray scale image data according to the frame image data.
When the black-white ink screen is displayed, because the position of the pigment particles is adjusted through the driving of the electric field, imaging is realized, the colors of the configurable pigment particles are limited, and the imaging effect with rich colors cannot be realized. Therefore, to realize normal display of the ink screen, it is necessary to generate gradation picture data from the color frame picture data. The specific generation process is only to perform gray scale conversion according to the color data corresponding to each pixel, which is a general implementation manner of color processing and will not be described herein.
Step S130: and generating jittering picture data corresponding to the frame picture data according to the historical gray scale data and the historical jittering data cached in the image cache region.
The historical gray scale data refers to gray scale image data correspondingly generated in the display process of the current frame image data, the historical jitter data refers to jitter data corresponding to a final presented image when the ink screen is controlled to display in the display process of the current frame image data, and the data is not necessarily completely consistent with the jitter image data obtained by directly performing jitter processing on the current frame image. And the historical gray data and historical jitter data buffer and image buffer area is used for generating jitter image data which is actually given to the ink screen when the frame image data to be displayed is displayed.
In the actual display process, the frame image data to be displayed may correspond to an independently displayed image, at this time, no historical gray scale data and historical jitter data are used as the display reference in the image buffer area, the frame image data normally generates gray scale image data and jitter image data in sequence, and then the gray scale image data and the jitter image data are displayed according to the jitter image data, and the gray scale image data and the jitter image data are directly stored in the image buffer area.
If the frame image data to be displayed has pre-frame image data, namely historical gray data and historical jitter data are correspondingly existed, the gray image data and the historical gray data need to be compared, the change area of the gray image data relative to the historical gray data is confirmed, after the initial jitter data is generated according to the gray image data, the data corresponding to the change area in the initial jitter data is replaced to the historical jitter data, and the jitter image data corresponding to the frame image to be displayed is generated.
If the frame image data is only the color change with little local difference, and the comparison result of the corresponding gray scale image data is not changed, the subsequent processing process can be directly stopped at this time, the original display state can be maintained, for example, the color of a certain part of characters is automatically adjusted from (255 ) to (255, 254), and at this time, white is actually displayed.
The dither picture data is used to control the actual display effect of the ink screen, and the specific display control process is already implemented in the ink screen, which is not described herein again.
Step S140: and updating the gray scale picture data and the jitter picture data corresponding to the frame picture data to the image buffer area.
The gray scale data generated in step S120 and the dither data generated in step S130 are updated to the image buffer area to replace the original historical gray scale data and historical dither data, so as to implement the display process for the next frame.
In the jitter optimization display method, frame picture data to be displayed are acquired; generating gray scale picture data according to the frame picture data; generating shaking picture data corresponding to the frame picture data according to the historical gray scale data and the historical shaking data cached in the image cache region; and updating the gray scale picture data and the jitter picture data corresponding to the frame picture data to the image buffer area. By comparing the gray scale image data of two adjacent frames, the dithering image data of the frame to be displayed is generated on the basis of the dithering image data corresponding to the image data of the previous frame, thereby improving the smoothness of the display content of the changed area and avoiding the whole image from being updated.
In a specific implementation manner, the image buffer area comprises a first buffer area and a second buffer area;
correspondingly, the process of updating the jittered picture data and the related data in step S130 and step S140 may specifically include:
step S131: and if the historical gray scale data are not cached in the first cache region, caching the gray scale image data into the first cache region as the historical gray scale data.
Step S132: and generating shaking picture data according to the gray picture data, and caching the shaking picture data into a preset second cache region as historical shaking data.
Step S133: if historical gray scale data is cached in the first cache region, comparing the gray scale image data with the historical gray scale data to obtain a change region in the gray scale image data.
Step S134: and updating the gray picture data to the first cache region as historical gray data.
Step S135: and generating initial jitter data according to the gray scale image data, and replacing the data of the change area in the initial jitter data to the corresponding position of the historical jitter data to obtain jitter image data.
Step S136: and updating the jittered picture data to the second buffer area as historical jittering data.
The specific processing procedure in steps S131 to S136 is further described with reference to fig. 2 in conjunction with steps S110 and S120. As shown in fig. 2, assuming that the electronic device based on the ink screen is powered on again after being powered off, the processor may obtain first frame picture data 11a for displaying when the electronic device is powered on, at this time, two sub-partitions (i.e., the first buffer area and the second buffer area) in the image buffer area 20 do not buffer the historical grayscale data and the historical shaking data, the first frame picture data 11a correspondingly generates first grayscale picture data 11b, and performs shaking processing on the first grayscale picture data 11b to obtain first shaking picture data 11d, where the first grayscale picture data 11b and the first shaking picture data 11d are respectively stored in the first buffer area and the second buffer area as the historical grayscale data and the historical shaking data.
After the power-on operation is detected, the power-on display image needs to respond correspondingly, the display content (actually determined by the first jittering image data 11 d) corresponding to the currently displayed first frame image data 11a needs to change, and the frame image data corresponding to the first user operation is responded as the second frame image data 12a, namely the frame image data to be displayed after the first frame image data 11a is displayed is the second frame image data 12a. Accordingly, when the display process of the second frame picture data 12a is processed, the history gradation data and the history dither data buffered in the image buffer area 20 are the first gradation picture data 11b and the first dither picture data 11d, respectively. The second frame image data 12a correspondingly generates second gray scale image data 12b, the second gray scale image data 12b is compared with the first gray scale image data 11b cached in the image cache area 20, a second change area 12c relative to the first gray scale image data 11b in the second gray scale image data 12b is obtained, and the second gray scale image data 12b is subjected to dithering processing to obtain second initial dithering data. The data corresponding to the second change area 12c in the second initial shaking data is replaced with the first shaking picture data 11d buffered in the image buffer 20 to obtain the second shaking picture data 12d corresponding to the second frame picture data 12a, that is, the second shaking picture data 12d is not the shaking result directly corresponding to the second frame picture data 12a, but the data corresponding to the second change area 12c in the direct shaking result is extracted and replaced with the mixed result of the first shaking picture data 11d. In the specific display process corresponding to the second frame picture data 12a, the second gray scale picture data 12b and the second shaking picture data 12d are also stored in the first buffer area and the second buffer area, respectively, as new historical gray scale data and historical shaking data.
After the first user operation, a second user operation is detected, and the display content (actually determined by the second jittered picture data 12 d) corresponding to the currently displayed second frame picture data 12a needs to be changed corresponding to the second user operation, and the frame picture data corresponding to the second user operation is responded as the third frame picture data 13a, that is, the frame picture data to be displayed after the second frame picture data 12a is completely displayed is the third frame picture data 13a. Accordingly, when the display process of the third frame picture data 13a is processed, the history gradation data and the history dither data buffered in the image buffer area 20 are the second gradation picture data 12b and the second dither picture data 12d, respectively. The third frame image data 13a generates third gray scale image data 13b correspondingly, the third gray scale image data 13b is compared with the second gray scale image data 12b cached in the image cache area 20 to obtain a third change area 13c relative to the second gray scale image data 12b in the third gray scale image data 13b, the third gray scale image data 13b is subjected to dithering to obtain third initial dithering data, data corresponding to the third change area 13c in the third initial dithering data is replaced with the second dithering image data 12d cached in the image cache area 20, and third dithering image data 13d corresponding to the third frame image data 13a is obtained. That is, the third shaken image data 13d is not a shake result directly corresponding to the third frame image data 13a, but a mixed result obtained by extracting data corresponding to the third change area 13c in the direct shake result and replacing the extracted data with the second shaken image data 12d, and the third shaken image data 13d is actually a combination of shake results directly corresponding to the first frame image data 11a, the second frame image data 12a, and the third frame image data 13a. In the specific display process corresponding to the third frame picture data 13a, the third grayscale picture data 13b and the third dithering picture data 13d are also stored in the first buffer area and the second buffer area respectively as new historical grayscale data and new historical dithering data.
It can be found that, based on the above processing procedure, each frame of picture data is entirely dithered, the dithering result of each pixel is comprehensively affected by all other pixels, especially the dithering process of the change area can be affected by data outside the change area, based on this, the change area and the area outside the change area can naturally transit, and initial dithering data with good smoothness is obtained, the display picture corresponding to the initial dithering data has good integrity, and the data outside the change area is the same as the data of the corresponding area in the historical gray scale data.
In another optional implementation manner, in an actual processing process, the gray scale image data is updated to the first buffer area to serve as historical gray scale data, and it may also be determined that a ratio of an area of the change region to the gray scale image data is smaller than a preset first threshold value, that is, in the actual processing process, it is determined that the change region is smaller first, so that it is ensured that the change region has less influence on the overall shaking processing, and can be smoothly superimposed on the historical shaking data.
On the basis of the area ratio judgment, another optional implementation manner is that if the ratio of the area of the change region to the area of the gray scale image data is above the first threshold value, the gray scale image data is cached in the first cache region to serve as historical gray scale data; and generating shaking picture data according to the gray scale picture data, and caching the shaking picture data in a preset second cache region as historical shaking data. That is, in the actual processing, if it is confirmed that the change area is large, the influence on the entire dithering process is correspondingly large, and when the dithering process is completed, the data difference between the area outside the change area and the corresponding area in the history dithering data may be obvious, and the display of the change area and the other areas in the history dithering data may be large and poor in smoothness due to continuous superposition, at this time, the data in the image buffer area may be updated from zero directly from the frame of picture data.
In the specific implementation process, the first threshold in one specific display process may be a default preset threshold, a preset threshold automatically adjusted, or a preset threshold according to a user operation. The default preset threshold is a system default first threshold, and may be kept unchanged in the whole screen display process, or may be restored to the default first threshold after being changed, and a specific default first threshold is determined according to the device type and the application scenario, for example, 10%, 15%, and the like, and the specific numerical value is not an exclusive limitation of the present scheme. The preset threshold value can be automatically adjusted according to the change speed of the historical picture, for example, the faster the change speed is, the higher the first threshold value can be, thereby ensuring that the display process is completed as soon as possible when the picture is changed rapidly; the slower the change speed, the lower the first threshold value may be, and each change may have enough time to perform a global update, providing a smooth display. Of course, the automatic adjustment of the preset threshold value may be reconfirmation according to the operation type. The threshold value preset by the user operation is mainly preset by the operation based on the display mode, for example, if the user operation confirms the speed priority mode, the first threshold value is relatively large; the user operates the confirmation quality priority mode, and the first threshold value is relatively small. It should be noted that, in the process of displaying a screen once, the first threshold value can only be determined in one of the manners, but for the entire scheme, various preset manners may be supported, and the first threshold value is determined according to the current preset manner when displaying specifically. In addition, statistics can be carried out on the updating times of the historical gray data, and when the updating times of the historical gray data reach a preset second threshold value, the image cache region is emptied. According to the scheme, the jittering picture data is generated in a mode of integral jittering and partial replacement, but the difference of data cannot be eliminated, after a certain number of times of replacement, the frame picture data to be displayed and the frame picture data which is a few frames away from the frame picture data are possibly greatly distinguished, the earlier frame picture data are still displayed correspondingly, and the difference between the display of a change area and the initial jittering picture of the change area is obvious due to continuous superposition display.
Fig. 3 is a schematic structural diagram of a writing display device of an electronic ink screen according to an embodiment of the present invention. Referring to fig. 3, the writing display device of the electronic ink screen includes a data acquisition unit 210, a data generation unit 220, and a data processing unit 230.
The data acquiring unit 210 is configured to acquire frame picture data to be displayed; a data generating unit 220 for generating gray-scale picture data from the frame picture data; a data processing unit 230, configured to generate dither picture data corresponding to the frame picture data according to the historical grayscale data and the historical dither data cached in the image cache; and updating the gray scale picture data and the shaking picture data corresponding to the frame picture data to the image buffer area.
On the basis of the above embodiment, the image buffer area includes a first buffer area and a second buffer area;
correspondingly, the data processing unit 230 includes:
the first updating module is used for caching the gray picture data into the first cache region as historical gray data if the historical gray data is not cached in the first cache region;
the second updating module is used for generating jittering picture data according to the gray picture data and caching the jittering picture data into a preset second cache region as historical jittering data;
the area confirmation module is used for comparing the gray-scale image data with historical gray-scale data to acquire a change area in the gray-scale image data if the historical gray-scale data is cached in the first cache area;
the third updating module is used for updating the gray scale image data to the first cache region as historical gray scale data;
the data replacement module is used for generating initial jitter data according to the gray level image data and replacing the data of the change area in the initial jitter data to the corresponding position of the historical jitter data to obtain jitter image data;
and the fourth updating module is used for updating the jittered picture data to the second buffer area as historical jittered data.
On the basis of the above embodiment, the jitter optimization display apparatus further includes:
and the range confirmation module is used for confirming that the ratio of the area of the change area to the area of the gray scale image data is smaller than a preset first threshold value before the gray scale image data is updated to the first cache area as historical gray scale data.
On the basis of the above embodiment, the jitter optimization display apparatus further includes:
a fifth updating unit, configured to cache the grayscale image data in the first cache region as historical grayscale data if the ratio of the area of the change region to the grayscale image data is greater than the first threshold;
and the sixth updating unit is used for generating jittering image data according to the gray image data and caching the jittering image data into a preset second cache region as historical jittering data.
On the basis of the above embodiment, the first threshold is a default preset threshold, a preset threshold that is automatically adjusted, or a threshold that is preset according to a user operation.
On the basis of the above embodiment, the jitter optimization display device further includes:
and the data clearing unit is used for clearing the image cache region when the updating times of the historical gray data reach a preset second threshold value.
The jitter optimization display device provided by the embodiment of the invention is contained in the terminal equipment, can be used for executing any jitter optimization display method provided by the embodiment, and has corresponding functions and beneficial effects.
It should be noted that, in the embodiment of the above jitter optimization display apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 4, the terminal device includes a processor 310, a memory 320, an input means 330, an output means 340, and a communication means 350; the number of the processors 310 in the terminal device may be one or more, and one processor 310 is taken as an example in fig. 4; the processor 310, the memory 320, the input device 330, the output device 340 and the communication device 350 in the terminal equipment may be connected by a bus or other means, and fig. 4 illustrates the connection by the bus as an example.
The memory 320 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the jitter optimization display method in the embodiment of the present invention (for example, the data acquisition unit 210, the data generation unit 220, and the data processing unit 230 in the jitter optimization display apparatus). The processor 310 executes various functional applications of the terminal device and data processing by executing software programs, instructions, and modules stored in the memory 320, that is, implements the above-described jitter optimization display method.
The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 320 may further include memory located remotely from processor 310, which may be connected to the terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 330 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal apparatus. The output device 340 in this embodiment is an ink screen, and may further include a sound output device or other display devices.
The terminal equipment comprises the jitter optimization display device, can be used for executing any jitter optimization display method, and has corresponding functions and beneficial effects.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements related operations in the jitter optimization display method provided in any embodiment of the present application, and has corresponding functions and beneficial effects.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product.
Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A jitter-optimized display method, comprising:
acquiring frame picture data to be displayed;
generating gray scale picture data according to the frame picture data;
generating shaking picture data corresponding to the frame picture data according to the historical gray scale data and the historical shaking data cached in the image cache region;
updating gray scale picture data and jitter picture data corresponding to the frame picture data to the image cache region, wherein the image cache region comprises a first cache region and a second cache region, if historical gray scale data are not cached in the first cache region, the gray scale picture data are cached in the first cache region to serve as historical gray scale data, the jitter picture data are generated according to the gray scale picture data, and the jitter picture data are cached in a preset second cache region to serve as historical jitter data; if historical gray data are cached in the first cache region, comparing the gray picture data with the historical gray data to obtain a change region in the gray picture data; updating the gray scale picture data to the first cache region as historical gray scale data;
generating initial jitter data according to the gray scale image data, and replacing the data of the change area in the initial jitter data with the corresponding position of the historical jitter data to obtain jitter image data; and updating the jittered picture data to the second buffer area as historical jittering data.
2. The jitter optimized display method of claim 1, wherein before the updating the grayscale picture data to the first buffer as historical grayscale data, further comprising:
and confirming that the ratio of the area of the change region to the area of the gray scale picture data is smaller than a preset first threshold value.
3. The method according to claim 2, wherein if the first buffer stores historical gray scale data, the method further comprises, after comparing the gray scale image data with the historical gray scale data to obtain a variation region in the gray scale image data:
if the ratio of the area of the change area to the area of the gray scale image data is above the first threshold value, caching the gray scale image data into the first cache region as historical gray scale data;
and generating shaking picture data according to the gray picture data, and caching the shaking picture data into a preset second cache region as historical shaking data.
4. The jitter optimized display method of claim 2, wherein the first threshold is a default preset threshold, an automatically adjusted preset threshold, or a preset threshold according to a user operation.
5. The jitter-optimized display method of any one of claims 1-4, further comprising:
and when the updating times of the historical gray data reach a preset second threshold value, clearing the image cache region.
6. A jitter optimized display device, comprising:
the data acquisition unit is used for acquiring frame image data to be displayed;
a data generation unit for generating gray scale picture data from the frame picture data;
the data processing unit is used for generating jittering picture data corresponding to the frame picture data according to the historical gray scale data and the historical jittering data cached in the image cache region; updating the gray scale picture data and the jitter picture data corresponding to the frame picture data to the image buffer area, wherein the image buffer area comprises a first buffer area and a second buffer area, and the data processing unit comprises:
the first updating module is used for caching the gray-scale image data into the first cache region as historical gray-scale data if the historical gray-scale data are not cached in the first cache region;
the second updating module is used for generating jittering picture data according to the gray picture data and caching the jittering picture data into a preset second cache region as historical jittering data;
the area confirmation module is used for comparing the gray scale image data with historical gray scale data to obtain a change area in the gray scale image data if the historical gray scale data is cached in the first cache area;
the third updating module is used for updating the gray scale image data to the first cache region as historical gray scale data;
the data replacement module is used for generating initial jitter data according to the gray level image data and replacing the data of the change area in the initial jitter data to the corresponding position of the historical jitter data to obtain jitter image data;
and the fourth updating module is used for updating the jittered image data to the second buffer area as historical jittered data.
7. A terminal device, comprising:
an ink screen;
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the terminal device to implement the jitter-optimized display method of any of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a jitter-optimized display method as claimed in any one of claims 1 to 5.
CN202211010290.9A 2022-08-23 2022-08-23 Jitter optimization display method and device, terminal equipment and storage medium Active CN115079986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211010290.9A CN115079986B (en) 2022-08-23 2022-08-23 Jitter optimization display method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211010290.9A CN115079986B (en) 2022-08-23 2022-08-23 Jitter optimization display method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115079986A CN115079986A (en) 2022-09-20
CN115079986B true CN115079986B (en) 2022-12-27

Family

ID=83244150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211010290.9A Active CN115079986B (en) 2022-08-23 2022-08-23 Jitter optimization display method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115079986B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8130192B2 (en) * 2007-06-15 2012-03-06 Ricoh Co., Ltd. Method for reducing image artifacts on electronic paper displays
JP2014186221A (en) * 2013-03-25 2014-10-02 Seiko Epson Corp Control device, electro-optical device, electronic apparatus, and control method
JP2015212749A (en) * 2014-05-02 2015-11-26 セイコーエプソン株式会社 Display device, display method and program
CN105912290B (en) * 2016-05-09 2018-12-11 珠海全志科技股份有限公司 A kind of display methods and its device for electronic ink screen
CN114035763B (en) * 2022-01-11 2022-04-19 广州文石信息科技有限公司 Jitter optimization method and device of electronic ink screen as computer display

Also Published As

Publication number Publication date
CN115079986A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN107493448B (en) Image processing system, image display method and display device
US6833835B1 (en) Method and apparatus for antialiased imaging of graphical objects
CN103366717B (en) Display packing, Apparatus and system
US11393419B2 (en) Method and computer-readable medium for displaying image, and display device
CN107993616B (en) Image display method and device
US20080259059A1 (en) Overdrive Technique for Display Drivers
CN101627419A (en) Liquid crystal display and its driving method
CN110135576A (en) A kind of unsupervised learning method for video deblurring
CN108846815B (en) Image anti-aliasing processing method and device and computer equipment
CN101778226A (en) High-definition image sawtooth-prevention method, device and digital television receiving terminal
KR20060071835A (en) Lcd blur reduction through frame rate control
JP2005115066A (en) Electrophoretic display device
CN100485719C (en) Image processing apparatus and image processing method
CN115079986B (en) Jitter optimization display method and device, terminal equipment and storage medium
CN115509670B (en) Page display method, page display device, ink screen device and storage medium
CN115588412B (en) Ink screen picture display method and device, terminal equipment and storage medium
CN115862556B (en) Driving method and device of electronic ink screen, display equipment and storage medium
CN115312006A (en) Electronic ink screen driving method, ink screen equipment and storage medium
JP2005326851A (en) Dynamic screen signal gray scale processing apparatus for liquid crystal display device and its method
US9064204B1 (en) Flexible image processing apparatus and method
CN115691434B (en) Text display method, device and equipment based on ink screen and storage medium
CN117672137A (en) Driving compensation method, driving compensation device and display system
CN114415995A (en) Display control method, display control device, electronic equipment and storage medium
CN113936615A (en) Image display method, image display system, display device, head-mounted display device, and medium
CN118016005A (en) Method for previewing display content and related product

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