Screen refresh methods and apparatus, electronic devices and storage media
By comparing the current image on the e-ink screen with the target image, the system identifies and compensates for the minute reverse movement of pixels around the target, thus solving the ghosting problem caused by partial refresh of the e-ink screen. This achieves flicker-free ghosting removal and improves the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2026-03-10
AI Technical Summary
E-ink screens are prone to ghosting after multiple partial refreshes, and existing full-screen refresh methods cause screen flickering, which causes discomfort to users.
By comparing the current image on the screen with the target image, the surrounding pixels of the target changed pixels are identified, and a slight reverse movement is made to counteract the effect, thus achieving image removal under partial refresh.
It effectively reduces ghosting without flickering, improves user experience, and achieves imperceptible ghosting elimination.
Smart Images

Figure CN116386567B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of display, in particular to a screen refreshing method and device, an electronic device and a storage medium. BACKGROUND
[0002] The problem of residual image after multiple local refresh (local brush) of ink screen has been widely criticized, and the method of removing residual image is generally to do full screen refresh (full brush). At present, most of the methods are to meet the conditions through some judgment conditions, such as local brush count, front and back frame image comparison, frame image recognition, judgment picture proportion, etc., and then full brush is performed to remove residual image. Although full brush can remove residual image, the screen will flicker when full brush is performed, which is easy to bring people discomfort. SUMMARY
[0003] The present application provides a screen refreshing method and device, an electronic device and a storage medium, which can remove residual image of screen under local brush.
[0004] In one aspect of the present application, a screen refreshing method is provided. The method comprises: obtaining a target image of a screen; comparing a current image of the screen with the target image to determine target peripheral pixel points corresponding to target change pixel points which will have a change in gray scale; and refreshing the screen to display the target image and compensate the target peripheral pixel points.
[0005] In another aspect of the present application, a screen refreshing device is provided. The device comprises: an image obtaining module configured to obtain a target image of a screen; an image comparison module configured to compare a current image of the screen with the target image to determine target peripheral pixel points corresponding to target change pixel points which will have a change in gray scale; and a driving module configured to refresh the screen to display the target image and compensate the target peripheral pixel points.
[0006] In still another aspect of the present application, an electronic device is provided. The electronic device comprises a memory configured to store a computer program; and a processor configured to execute the computer program to perform the above-mentioned screen refreshing method.
[0007] In yet another aspect of the present application, a computer readable medium is provided. The medium has a computer program stored thereon, which is executed by a processor to implement the above-mentioned screen refreshing method.
[0008] According to the application, the current image of the screen is compared with the target image to determine the target peripheral pixel points corresponding to the target change pixel points which will have a change in gray scale, the screen is refreshed to display the target image and the target peripheral pixel points are compensated, so as to control the target peripheral pixel points to make a slight reverse movement to offset the influence of the actual change pixel points on the target peripheral pixel points, greatly reduce the generation of residual image in the case of non-flickering display, thereby realizing the residual image removal of the screen under local brushing, further eliminating the residual image without the user's perception, and improving the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0009] Figure 1 Fig. (a) is a current image of a screen refresh method according to an embodiment of the application;
[0010] Figure 1 Fig. (b) is a target image of a screen refresh method according to an embodiment of the application;
[0011] Figure 1 Fig. (c) is a display image with residual image of a screen refresh method according to an embodiment of the application;
[0012] Figure 2 Fig. (a) is another current image of a screen refresh method according to an embodiment of the application;
[0013] Figure 2 Fig. (b) is another target image of a screen refresh method according to an embodiment of the application;
[0014] Figure 2 Fig. (c) is another display image with residual image of a screen refresh method according to an embodiment of the application;
[0015] Figure 3 Fig. (a) is another current image of a screen refresh method according to an embodiment of the application;
[0016] Figure 3 Fig. (b) is another target image of a screen refresh method according to an embodiment of the application;
[0017] Figure 3 Fig. (c) is another display image with residual image of a screen refresh method according to an embodiment of the application;
[0018] Figure 4 Fig. is a flowchart of a screen refresh method according to an embodiment of the application;
[0019] Figure 5 Fig. is a local brushing flowchart of a screen refresh method according to an embodiment of the application;
[0020] Figure 6This is a schematic diagram of the structure of a screen refresh device according to an embodiment of the present invention;
[0021] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0022] To explain in detail the technical content, objectives, and effects of the present invention, the following description is provided in conjunction with the embodiments and accompanying drawings.
[0023] In existing technologies, e-ink screens may exhibit ghosting after multiple partial refreshes. The method to remove ghosting is generally to perform a full refresh. However, a full refresh causes screen flickering, which can be uncomfortable for users.
[0024] If all the ink particles on the screen move in a regular pattern, i.e., a full refresh, then all the ink particles can move to their designated positions and correctly display the specified grayscale, thus eliminating ghosting. The physical principle behind ghosting caused by partial refresh is as follows: partial refresh only moves the ink particles in a few individual pixels. Since ink particles are charged particles, the magnetic field they generate during movement affects the surrounding charged particles, causing slight changes in their positions instead of maintaining their original positions, resulting in ghosting.
[0025] Figures 1 to 3 An example of afterimages produced by partial brushing is shown. For example... Figure 1 As shown, from Figure 1 (a) The current image is refreshed locally. Figure 1 (b) Target image: The actual image displayed on the e-ink screen is an image with a faint rectangular frame, such as... Figure 1 As shown in (c). Because the pixels surrounding the black rectangle are affected by the movement of ink particles (black turning white) within the black rectangle during partial refresh, they cannot maintain their original positions, resulting in a slight deviation in the displayed color from the original white. It's not as white as it should be, appearing as a faint black rectangular outline overall. This faint rectangular outline is called ghosting; that is, pixels that shouldn't be moving are affected by pixel adjustments, causing a deviation in the actual display. Additionally, as... Figure 2 As shown, similarly, Figure 2 The black rectangular wireframe in (a) changes to Figure 2 When the white area (b) is visible, it causes the surrounding ink particles to move slightly, making these pixels less white and creating a contrast with the overall white. This results in two faint rectangular outlines as afterimages, such as... Figure 2 As shown in (c). Furthermore, as... Figure 3 As shown, Figure 3 In (a), the ink particles around the white outline become... Figure 3In the middle (b) black, due to the movement of white line frame ink particles (white to black), the original position cannot be maintained, and it appears less black and is in contrast with the overall black. The human eye sees two Figure 3 In the middle (c) the white rectangular frame ghosting.
[0026] To solve at least the above technical problems, the present disclosure provides a screen refreshing method. According to the present disclosure, a current image of a screen is compared with a target image to determine target peripheral pixel points corresponding to target change pixel points that will undergo a change in grayscale, and the screen is refreshed to display the target image and compensate for the target peripheral pixel points. In this way, according to embodiments of the present disclosure, the target peripheral pixel points can be controlled to make a small reverse movement to offset the influence of the actual change pixel points on the target peripheral pixel points, greatly reducing the generation of ghosting, thereby achieving ghosting removal of the screen under local brushing, further eliminating ghosting without user awareness, and improving user experience.
[0027] Hereinafter, the technical solutions according to the present disclosure will be described with reference to specific embodiments and in conjunction with the accompanying drawings.
[0028] Figure 4 is a flowchart showing a screen refreshing method 100 according to an embodiment of the present disclosure. Referring to Figure 4 The method 100 includes the following steps 102 to 106.
[0029] In step 102, a target image of a screen is obtained.
[0030] In step 104, a current image of the screen is compared with the target image to determine target peripheral pixel points corresponding to target change pixel points that will undergo a change in grayscale.
[0031] In some embodiments, target peripheral pixel points adjacent to the target change pixel points in the current image and having the same pixel value as the target change pixel points after the change in target pixel value are selected in the current image. In some embodiments, the current image of the screen is compared with the target image using an image recognition algorithm to determine target peripheral pixel points corresponding to target change pixel points that will undergo a change in grayscale.
[0032] In some embodiments, the current image of the screen is compared with the target image to identify a change pixel point which will have a change in grayscale. A grayscale change level of the change pixel point is determined, and the change pixel point whose grayscale change level exceeds a preset level is determined as a target change pixel point. A surrounding pixel point of the target change pixel point is determined. Then, if a target pixel value corresponding to the target change pixel point is the same as a pixel value of the surrounding pixel point, the surrounding pixel point is determined as a target surrounding pixel point. In some embodiments, the preset level is 14 levels.
[0033] In this way, since the pixel point with small change has little influence on the surrounding pixel point, the human eye is difficult to see the residual image, and only when the pixel value of the change pixel point is the same as the surrounding pixel value, color difference will be caused. If they are different, color difference should be caused. Even if the color difference at this time may not be accurate, it will not be considered as a residual image. Therefore, only when the pixel point has a large change in grayscale and its pixel value is the same as the pixel value of the surrounding pixel point, the surrounding pixel point is considered as a pixel point which needs special marking, so as to improve the algorithm efficiency.
[0034] In step 106, the screen is refreshed to display the target image and compensate for the target surrounding pixel point.
[0035] In some embodiments, the screen is partially refreshed to display the target image, and the target surrounding pixel point is driven so that a corresponding change in the pixel value of the target surrounding pixel point caused by the display of the target image is compensated.
[0036] In some embodiments, waveform data corresponding to the target image is determined. The target surrounding pixel point is marked with a special pixel value to obtain a marked target surrounding pixel point. Waveform data corresponding to the marked target surrounding pixel point is stored in the waveform data table. Then, the screen is driven according to the waveform data table.
[0037] In this way, the marked target surrounding pixel point can be controlled by the display controller to have a predetermined waveform data control mark, and the actual change pixel point is moved slightly in the opposite direction to offset the influence of the actual change pixel point, so as to eliminate the residual image.
[0038] In some embodiments, waveform data at different temperatures is generated according to the pixel value of the current image of the screen and the pixel value of the target image, and a waveform data table corresponding to the target image is obtained according to the waveform data at different temperatures. In this way, the waveform data corresponding to the pixel point which is originally to be changed is stored in the waveform data table, and the waveform data corresponding to the surrounding pixel point is also stored in the waveform data table. Thus, when the screen is driven, there is no need to distinguish the processing, and only one waveform data table is needed to complete the local refresh and eliminate the residual image.
[0039] In some embodiments, a pixel value of the target peripheral pixel point is determined, and the pixel value is added by one to obtain a special pixel value, and the target peripheral pixel value is marked using the special pixel value to obtain a marked target peripheral pixel point. In this way, the selected special pixel value should be close to the original pixel value, so that in the next time without special marking, it can be considered that the original pixel value is the same as the special pixel value, and after this time of picture update is completed, the target image becomes the previous frame buf (buffer) of the next update, and the special pixel value contained in this buf should be considered as the pixel value of the previous level (the special pixel value minus one), thereby facilitating the implementation of the algorithm and reducing the complexity of the algorithm.
[0040] In some embodiments, waveform data corresponding to the marked target peripheral pixel point is determined according to the pixel value of the marked target peripheral pixel point and the special pixel value, and the waveform data is stored in the waveform data table. In this way, after the waveform data of the marked target peripheral pixel point is determined, when local brushing is to be performed, the display controller can directly drive the dot screen according to the waveform data, so that the residual image is eliminated in the process of completing the local brushing.
[0041] In some embodiments, waveform data corresponding to the marked target peripheral pixel point under different screen temperatures is generated according to the pixel value of the marked target peripheral pixel point and the special pixel value. Since the temperature will affect the movement of ink particles, in this way, the waveform data under different temperatures is determined, and the best display effect of the ink screen can be achieved when the dot screen is driven subsequently.
[0042] In some embodiments, the current screen temperature is obtained, the target waveform data is obtained by querying the waveform data table according to the pixel value of the current image, the pixel value of the target image and the current screen temperature, and the screen is driven according to the target waveform data. In some embodiments, the temperature sensor is used to obtain the current screen temperature. In this way, when the waveform data table is queried, the original pixel value, the new pixel value and the current screen temperature need to be queried, and the waveform data queried in this way can accurately control the reverse movement of the ink particles to offset the residual image generated by the actual passive movement.
[0043] In the following, the application scenarios of the signature firmware upgrade method and device according to the embodiments of the present application will be described by examples.
[0044] Figure 5 is a flow chart showing a screen refreshing method according to an embodiment of the present application. Referring to Figure 5 , the method includes the following steps 202 to 224.
[0045] E-ink screens typically support 16 grayscale levels, with grayscale values ranging from 0 to 15. Therefore, 4 bits of data are sufficient to represent one pixel. When using this invention for image retention elimination, since values other than the 16 grayscale values are needed to specifically mark pixels that produce image retention, an additional bit is required, resulting in a 5-bit buffer per pixel. A 5-bit buffer per pixel is not ideal for many buffer alignment calculations and hardware compatibility issues, making it unsuitable for practical operation. Therefore, an 8-bit buffer per pixel is ultimately used, with the higher 5 bits taken as the pixel value during actual screen touch.
[0046] Step 202: Obtain the target image of the screen.
[0047] Step 204: Compare and identify the current image on the screen with the target image to obtain the pixels that have undergone grayscale changes; for example, ... Figure 2 As shown, through comparison Figure 2 (a) and Figure 2 In (b), find the point where the pixel value changes, which is the position of the black rectangle. The pixel value at this position changes from 0 (black) to 30 (white).
[0048] Step 206: Determine the grayscale change level of the changed pixel, and identify the changed pixel that has a grayscale change level exceeding a preset level as the target changed pixel.
[0049] In practical applications, it is not necessary to find the location of all the changing pixels. Instead, there should be a condition. When the change is small, the impact on the surrounding area is also small, and it is difficult for the human eye to see the afterimage. Therefore, it has been found that when the gray level of the change exceeds 14 levels, such as 0→14, 0→15, 1→15, 15→0, 14→0, 15→1, obvious afterimages will be produced. The corresponding 5-bit values are 0→28, 0→30, 2→30, 28→0, 30→0, 30→2.
[0050] Step 208: Determine the surrounding pixels of the target changing pixel.
[0051] Step 210: Determine whether the target pixel value corresponding to the target changed pixel is the same as the pixel value of the surrounding pixel. If so, determine the surrounding pixel as the target surrounding pixel.
[0052] In practical applications, it is also necessary to check whether the target pixel value of these pixels with large changes is the same as the pixel value of the surrounding pixels. This is because color difference will only occur when the target pixel value is the same as the pixel value of the surrounding pixels. If they are different, there should be a color difference. Even if the color difference is not accurate at this time, it will not be considered as ghosting. Therefore, it is only necessary to specially mark the surrounding pixels when the changes are 0→28, 0→30, 2→30, 28→0, 30→0, 30→2, and the pixel value of the surrounding pixels is the same as the target pixel value.
[0053] Step 212: Generate waveform data at different temperatures based on the pixel values of the current image on the screen and the pixel values of the target image, and obtain a waveform data table corresponding to the target image based on the waveform data at different temperatures.
[0054] Step 214: Determine the pixel values of the pixels surrounding the target, and increment the pixel values by one to obtain a special pixel value.
[0055] Step 216: Use the special pixel value to mark the pixel values around the target to obtain the marked pixels around the target.
[0056] like Figure 2 As shown, the two rectangular outlines (one pixel wide) adjacent to the edge of the rectangle are the pixel positions that we need to mark specially, which are the actual places where afterimages will occur. Suppose that the original pixel value here is 30 (white). Now, we modify the pixel value of the two rectangular outline positions from 30 to 31. In this way, the pixel at this position becomes a changed pixel, with the pixel value changing from 30 to 31.
[0057] When the target change pixel point changes from 0→28, and one of the surrounding pixels also has a pixel value of 28, the pixel value of the surrounding 28 is modified to 29, and 29 is the special pixel value. The modified pixel point also becomes a change pixel point, changing from 28→29. When the target change pixel point changes from 0→30, and one of the surrounding pixels also has a pixel value of 30, the pixel value of the surrounding 30 is modified to 31, and 31 is the special pixel value. The modified pixel point also becomes a change pixel point, changing from 30→31. When the change pixel point changes from 2→30, and one of the surrounding pixels also has a pixel value of 30, the pixel value of the surrounding 30 is modified to 31, and 31 is the special pixel value. The modified pixel point also becomes a change pixel point, changing from 30→31. When the change pixel point changes from 28→0, and one of the surrounding pixels also has a pixel value of 0, the pixel value of the surrounding 0 is modified to 1, and 1 is the special pixel value. The modified pixel point also becomes a change pixel point, changing from 0→1. When the change pixel point changes from 30→0, and one of the surrounding pixels also has a pixel value of 0, the pixel value of the surrounding 0 is modified to 1, and 1 is the special pixel value. The modified pixel point also becomes a change pixel point, changing from 0→1. When the change pixel point changes from 30→2, and one of the surrounding pixels also has a pixel value of 2, the pixel value of the surrounding 2 is modified to 3, and 3 is the special pixel value. The modified pixel point also becomes a change pixel point, changing from 2→3.
[0058] That is, in general, the even values 0, 2, 4-30 in the high 5-bit pixel value correspond to the actual 16 gray scales, and the special pixel values include the odd values 1, 3, 29, 31.
[0059] Step 218, generating waveform data corresponding to the marked target surrounding pixel points at different screen temperatures according to the pixel values of the marked target surrounding pixel points and the special pixel values.
[0060] The waveform data of the ink screen has three values of 0, 1 and 2, 0 is unchanged, 1 is blackened, and 2 is whitened. The waveform data from one gray scale to another gray scale is a certain number of 0, 1 and 2 combinations, for example, gray scale 4→gray scale 30 in a 25-degree environment is: 0, 0, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0. Then the waveform data corresponding to the four groups of pixel values for offsetting the residual image is kept consistent with the frame number (the total number of 0, 1 and 2 is 29) of the normal waveform, according to actual debugging, the waveform data also contains 29 numbers, for example: [28→29]: 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0; [30→31]: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 2, 1, 2, 2, 0, 0; [0→1]: 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0; [2→3]: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0.
[0061] In step 220, the current screen temperature is obtained.
[0062] In step 222, the target waveform data is obtained by querying the waveform data table according to the pixel value of the current image, the pixel value of the target image and the current screen temperature.
[0063] In step 224, the dot screen is driven according to the target waveform data.
[0064] The final display is as follows by driving the dot screen in the above manner. Figure 2(b) the image shown, so that the place where the residual image would have been generated no longer generates a residual image. Controlling the pixel points to make a slight reverse movement is actually to make the ink particles of the pixel points slightly white or black, so theoretically, only a 1 (black) or 2 (white) needs to be sent, but in practice, the display effect of the screen needs to be confirmed, and the final waveform data will be a combination of multiple 1s, 2s, such as: white change may be: 1, 2, 1, 2, 2, black change may be 1, 2, 1, 2, 1, and considering matching with the waveform data required for normal refreshing, multiple 0s (no change) also need to be supplemented, and the actual waveform will be similar to this: [30→31]: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 2, 1, 2, 2, 0, 0. And considering the effect of temperature on ink particles, several special waveforms in different temperature ranges will also be debugged, but temperature has a range, and the working temperature of the ink screen is generally 0 to 50 degrees, and then several gears are divided according to 0 to 50 degrees, and different manufacturers of ink screens may divide gears differently, so when checking the table, the corresponding waveform data is queried according to the gear in which the current screen temperature falls, so when adding the waveform data for eliminating residual images, the data of the corresponding gear also needs to be added.
[0065] The waveform data table provided by the manufacturer is generally a 4-bit waveform data table, and the waveform data table after adding special waveform data will be a 5-bit waveform table. The even values (0, 2, 4...30) in the 5-bit waveform table correspond to the (0, 1, 2, 3, 4...15) of the manufacturer's waveform data table, and the 1, 3, 29 and 31 in the 5-bit are special waveform data, and the other values are invalid. The new waveform data table will contain the data required for normal refreshing and the waveform data of special refreshing (1, 3, 29, 31).
[0066] According to another aspect of the present application, Figure 6 is a block diagram showing a screen refreshing device 300 according to an embodiment of the present application. Referring to Figure 6 , the screen refreshing device 300 includes an image acquisition module 302, an image comparison module 304, and a driving module 306. The image acquisition module 302 is configured to acquire a target image of a screen. The image comparison module 304 is configured to compare a current image of the screen with the target image to determine target peripheral pixel points corresponding to target change pixel points that will have a change in gray level. The driving module 306 is configured to refresh the screen to display the target image and compensate for the target peripheral pixel points.
[0067] According to still another aspect of the present application, Figure 7 is a schematic diagram showing an electronic device 400 according to an embodiment of the present application. Referring to Figure 7The electronic device 400 comprises a memory 402, a processor 404, and a computer program stored on the memory and executable on the processor, and the processor implements the steps of the screen refresh method as described above when executing the computer program.
[0068] According to another aspect of the present application, a computer readable medium is provided. The computer readable medium has stored thereon a computer program which is executable by a processor to implement the screen refresh method as described above.
[0069] To sum up, according to the screen refresh method and device, the electronic device and the storage medium provided by the present application, the current image of the screen is compared with the target image to determine the target peripheral pixel points corresponding to the target change pixel points which will have a change in gray scale, the screen is refreshed to display the target image and compensate the target peripheral pixel points, the target peripheral pixel points can be controlled to make a small reverse movement to offset the influence of the actual change pixel points on the target peripheral pixel points, the generation of residual image is greatly reduced without flickering, thereby realizing the residual image removal of the screen under local brushing, and further eliminating the residual image without the user's awareness, thereby improving the user experience. At the same time, only when the gray scale of the pixel point changes greatly and the pixel value of the pixel point is the same as that of the peripheral pixel point, the peripheral pixel point is considered as a pixel point which needs special marking, so as to improve the algorithm efficiency. At the same time, the waveform data corresponding to the marked target peripheral pixel points under different screen temperatures is generated according to the pixel value of the marked target peripheral pixel points and the special pixel value, since the temperature will affect the movement of ink particles, the waveform data under different temperatures is determined, and the best display effect of the ink screen can be achieved during subsequent point screen driving.
[0070] The above description is only an embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent transformation or direct or indirect application in the related technical field based on the content of the specification and drawings of the present application is also included in the patent protection scope of the present application.
Claims
1. A screen refresh method, characterized by, The method comprises: acquiring a target image of a screen; comparing a current image of the screen with the target image to determine target peripheral pixels corresponding to target change pixels that will undergo a change in grayscale; refreshing the screen to display the target image and compensating for the target peripheral pixels, wherein comparing the current image of the screen with the target image to determine target peripheral pixels corresponding to target change pixels that will undergo a change in grayscale comprises: comparing and identifying the current image of the screen with the target image to obtain change pixels that will undergo a change in grayscale; determining a grayscale change level of the change pixels, determining change pixels whose grayscale change level exceeds a preset level as target change pixels; determining peripheral pixels of the target change pixels; and if a target pixel value corresponding to the target change pixels is the same as a pixel value of the peripheral pixels, determining the peripheral pixels as target peripheral pixels. Determining target peripheral pixels corresponding to target change pixels that will undergo a change in grayscale comprises:
2. The method of claim 1, wherein, selecting, in the current image, target peripheral pixels adjacent to the target change pixels in the current image and having a pixel value the same as a target pixel value of the target change pixels after a change. Refreshing the screen to display the target image and compensating for the target peripheral pixels comprises:
3. The method of claim 1, wherein, locally refreshing the screen to display the target image; and driving the target peripheral pixels so that a corresponding change in a pixel value of the target peripheral pixels caused by display of the target image is compensated for. Refreshing the screen to display the target image and compensating for the target peripheral pixels comprises:
4. The method of claim 1, wherein, determining a waveform data table corresponding to the target image; marking the target peripheral pixels using a special pixel value to obtain marked target peripheral pixels; storing waveform data corresponding to the marked target peripheral pixels to the waveform data table; and driving the screen according to the waveform data table. Marking the target peripheral pixels using a special pixel value to obtain marked target peripheral pixels comprises:
5. The method of claim 4, wherein, determining a pixel value of the target peripheral pixels and adding one to the pixel value to obtain a special pixel value; and marking the target peripheral pixels using the special pixel value to obtain marked target peripheral pixels. Storing waveform data corresponding to the marked target peripheral pixels to the waveform data table comprises:
6. The method of claim 4, wherein, determining waveform data corresponding to the marked target peripheral pixels according to a pixel value of the marked target peripheral pixels and the special pixel value, and storing the waveform data to the waveform data table. Determining waveform data corresponding to the marked target peripheral pixels according to a pixel value of the marked target peripheral pixels and the special pixel value comprises:
7. The method of claim 6, wherein, generating waveform data corresponding to the marked target peripheral pixels at different screen temperatures according to the pixel value of the marked target peripheral pixels and the special pixel value. Driving the screen according to the waveform data table comprises:
8. The method of claim 4, wherein, acquire a current screen temperature; query the waveform data table according to the pixel value of the current image, the pixel value of the target image and the current screen temperature to obtain target waveform data; and drive the screen according to the target waveform data.
9. The method of claim 4, wherein, The determining of the waveform data table corresponding to the target image comprises: generating waveform data at different temperatures according to the pixel value of the current image and the pixel value of the target image of the screen, and obtaining the waveform data table corresponding to the target image according to the waveform data at the different temperatures.
10. A screen refreshing apparatus characterized by comprising: comprises: an image acquisition module configured to acquire a target image of a screen; an image comparison module configured to compare a current image of the screen with the target image to determine target peripheral pixel points corresponding to target change pixel points that will undergo a change in grayscale; and a driving module configured to refresh the screen to display the target image and compensate for the target peripheral pixel points, wherein the image comparison module is configured to: compare and identify the current image of the screen with the target image to obtain change pixel points that will undergo a change in grayscale; determine a change level of grayscale of the change pixel points, and determine change pixel points whose change level of grayscale exceeds a preset level as target change pixel points; determine peripheral pixel points of the target change pixel points; and if a target pixel value corresponding to the target change pixel points is the same as a pixel value of the peripheral pixel points, determine the peripheral pixel points as target peripheral pixel points.
11. An electronic device, comprising: comprises: a memory configured to store a computer program; and a processor configured to execute the computer program to perform the method according to any one of claims 1 to 9.
12. A computer readable medium having stored thereon a computer program, characterized in that The computer program is executed to implement the method according to any one of claims 1 to 9. The computer program is executed to implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Temperature-automatically-matching electrophoresis electronic paper driving method and system
CN105895032A
Driving device and driving method
CN106935208A
Ink screen refreshing method and terminal equipment
CN113838428A