Display adjustment method, device, electronic device and storage medium
By judging and reducing the number of pixel pairs with large color differences in areas with low pixel density on the screen, the problem of display differences caused by different pixel densities in front-facing camera under-screen imaging technology is solved and the visual effect is improved.
Patent Information
- Application Number
- CN202011401714.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-02
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-12-02
AI Technical Summary
Under the trend of full-screen, when the front camera uses under-screen camera technology, due to different pixel densities, there will be display differences when the screen displays images with large color differences, affecting the visual effect.
By determining whether the picture in the area with lower pixel density on the screen meets the condition that the color difference value of adjacent pixels of the same color is greater than the color difference threshold, reduce the number of adjacent pixel pairs of the same color and the color difference value greater than the threshold in this area to improve the display difference.
It effectively reduces the display differences caused by different pixel densities and improves the visual effect of the screen when displaying images with large color differences.
Smart Images

Figure CN114584641B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of display technology, and in particular to a display adjustment method, device, electronic device and storage medium. Background Art
[0002] As mobile phones pursue full-screen displays, most front cameras use under-screen camera technology, placing the front camera under the screen to achieve front-facing camera photography. Since the front camera is placed under the screen, in order to allow the screen to transmit more light to facilitate the imaging of the front camera, the current technology is to reduce the pixel density of the screen area corresponding to the front camera, that is, to reduce the number of RGB display units per unit area and increase the blank area outside the RGB pixels, so that more light can pass through the screen and shine into the camera under the screen.
[0003] However, when the screen displays a picture with large color difference, the display of the screen area with lower pixel density has a large display difference compared with the display of other screen areas, which affects the visual effect of the screen display. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to propose a display adjustment method, device, electronic device and storage medium, which can reduce the display difference caused by different pixel densities when the screen displays a picture with large color difference, and improve the visual effect of the screen display.
[0005] To achieve the above-mentioned purpose, an embodiment of the present application provides a display adjustment method, including: determining whether a first picture to be displayed in a first display area on a screen meets a preset condition, wherein the first picture is a partial picture of a target picture to be displayed on the screen, and the first display area is a display area in the screen whose pixel density is less than that of other display areas, and the preset condition is that the color difference value of any adjacent same-color pixels in the picture is greater than a color difference threshold; if the result of the determination is yes, reducing the number of target pixel pairs in the first display area when displaying the target picture on the screen, wherein the target pixel pairs are adjacent same-color pixel pairs whose color difference values are greater than the color difference threshold.
[0006] To achieve the above-mentioned purpose, an embodiment of the present application also provides a display adjustment device, including: a judgment module, used to judge whether a first picture to be displayed in a first display area on the screen meets a preset condition, wherein the first picture is a partial picture of a target picture to be displayed on the screen, and the first display area is a display area in the screen whose pixel density is less than the pixel density of other display areas, and the preset condition is that the color difference value of any adjacent same-color pixels in the picture is greater than a color difference threshold; an adjustment module, used to reduce the number of target pixel pairs in the first display area when displaying the target picture on the screen when the result of the judgment is yes, and the target pixel pairs are adjacent pixel pairs of the same color and whose color difference values are greater than the color difference threshold.
[0007] To achieve the above-mentioned purpose, an embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned display adjustment method.
[0008] To achieve the above objectives, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program implements the above display adjustment method when executed by a processor.
[0009] The display adjustment method proposed in the present application determines whether the picture to be displayed in the area with lower pixel density on the screen satisfies the preset condition that the color difference value of any adjacent same-color pixels in the picture is greater than the color difference threshold. If the preset condition is met, the number of adjacent same-color pixels in the area with color difference values greater than the color difference threshold is reduced when the picture is displayed. Since pictures with large color difference (pictures that meet the preset conditions) will have large display differences when displayed in display areas with different pixel densities, when displaying pictures with large color difference, the number of adjacent same-color pixel pairs with color difference values greater than the color difference threshold in the display area with lower pixel density is reduced, which can improve the display difference caused by different pixel densities when the screen displays pictures with large color difference, thereby improving the visual effect of the screen display. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.
[0011] Figure 1 It is a schematic diagram of the structure of a terminal using under-screen camera technology;
[0012] Figure 2 This is an example of the display area of a screen using under-screen camera technology;
[0013] Figure 3 yes Figure 2 A partial schematic diagram of the screen shown;
[0014] Figure 4 yes Figure 3 Schematic diagram of the enlarged interface area in FIG.
[0015] Figure 5 is a partial schematic diagram of a first display area and a second display area composed of minimum display units;
[0016] Figure 6 This is a display example of a screen using under-screen camera technology;
[0017] Figure 7 is a flow chart of a display adjustment method provided in a first embodiment of the present invention;
[0018] Figure 8 is a flow chart of a display adjustment method provided in a second embodiment of the present invention;
[0019] Fig. 9 is a flow chart of a display adjustment method provided in a third embodiment of the present invention;
[0020] Fig.10 (a) is an example diagram of the first preset screen in the display adjustment method provided in the third embodiment of the present invention;
[0021] Fig.10 (b) is another example diagram of the first preset screen in the display adjustment method provided in the third embodiment of the present invention;
[0022] Fig.11 is a flow chart of a display adjustment method provided in a fourth embodiment of the present invention;
[0023] Fig.12 is a schematic diagram of the module structure of a display adjustment device provided in a fifth embodiment of the present invention;
[0024] Fig.13 It is a schematic structural diagram of an electronic device provided by a sixth embodiment of the present invention. DETAILED DESCRIPTION
[0025] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be construed as any limitation, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.
[0026] The first embodiment of the present invention relates to a display adjustment method, by judging whether a first picture to be displayed in a first display area on a screen meets a preset condition, wherein the first picture is a partial picture of a target picture to be displayed on the screen, the first display area is a display area in the screen whose pixel density is less than that of other display areas, and the preset condition is that the color difference value of any adjacent same-color pixels in the picture is greater than the color difference threshold; if the result of the judgment is yes, then when the target picture is displayed on the screen, the number of target pixel pairs in the first display area is reduced, wherein the target pixel pairs are adjacent same-color pixel pairs whose color difference value is greater than the color difference threshold. Since a picture with a large color difference (a picture that meets the preset condition) will have a large display difference when displayed in a display area with different pixel densities, when displaying a picture with a large color difference, the number of adjacent same-color pixel pairs whose color difference value is greater than the color difference threshold in a display area with a low pixel density is reduced, and the display difference caused by different pixel densities when the screen displays a picture with a large color difference can be improved, thereby improving the visual effect of the screen display.
[0027] It should be noted that the execution subject of the display adjustment method provided in the embodiment of the present invention can be a terminal or a server connected to the terminal. The terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices; the server can be implemented by an independent server or a server cluster composed of multiple servers. The following description takes the terminal as an example.
[0028] The display adjustment method provided in the embodiment of the present invention involves a screen including at least one display area with a lower pixel density than other display areas. Optionally, since such a screen is generally used in a terminal with a front camera and using an under-screen camera technology, the terminal can be a terminal with a front camera and using an under-screen camera technology. Of course, other terminals using such a screen can use the display adjustment method provided in the embodiment of the present invention. The following is an example of a terminal with a front camera and using an under-screen camera technology.
[0029] Please refer to Figure 1, which is a schematic diagram of the structure of a terminal using under-screen camera technology, such as Figure 1 As shown, the terminal device at least includes: a display screen, an under-screen camera, an MCU (microcontroller unit) and a memory. The pictures or images displayed on the display screen (including the images taken by the camera) are stored in the memory. The MCU and the display screen, the camera and the memory are all connected in communication. When necessary, the MCU controls the memory to send different pictures to be displayed on the display screen. When using the under-screen camera technology, Figure 2 As shown in FIG. 1 , the screen is divided into a first display area and a second display area. Through the first display area, the front camera can take pictures. The shape of the first display area can be rectangular, circular, or runway-shaped, and is generally larger than the field of view of the front camera. In order to more clearly illustrate the difference between the first display area and the second display area, Figure 3 The dotted box in the figure is used for further explanation. Figure 4 for Figure 3 The second display area is a normal color block arrangement with no blank area. In order to realize the front camera photography, the pixel density of the RGB three-color blocks in the first display area is reduced. In a minimum display unit (including a set of RGB) in the first display area, the blank area without color blocks can be transparent. Figure 4 It can be seen that the second display area includes more minimum display units than the first display area within the same area. Figure 5 FIG. 1 is a partial schematic diagram of the first display area and the second display area composed of the minimum display unit. Due to the low pixel density of the first display area, the same image will lose display pixels in the first display area, resulting in a less delicate display effect, blurring, jagged edges, and other problems. For example, Figure 6 As shown in the figure, for a thin black line on a white background, due to the high pixel density of the second display area, the jagged and blurred phenomena caused by the arrangement of the minimum display units will not be very obvious within the visible distance. In the first display area, although the display of the black line is also displayed by the minimum RGB unit, the area occupied by its minimum RGB unit is several times that of the minimum unit in the second display area, so that under the same arrangement, more obvious jagged and blurred phenomena will appear; for the display of images with large color difference (such as the display of text and patterns with obvious color difference), jagged and blurred problems will be more obvious.
[0030] The embodiment of the present invention provides a display adjustment method for the problem of display difference caused by different pixel densities when the screen displays a picture with large color difference. The specific process is as follows: Figure 7 As shown, the following steps are included:
[0031] S101: Determine whether a first picture to be displayed in a first display area on the screen meets a preset condition, wherein the first picture is a partial picture of a target picture to be displayed on the screen, the first display area is a display area in the screen having a pixel density less than that of other display areas, and the preset condition is that a color difference value of any adjacent same-color pixels in the picture is greater than a color difference threshold.
[0032] The target screen includes any screen to be displayed on the screen, such as a display screen of an application, a preview screen of a camera photo, etc. Before displaying the target screen, the terminal may first obtain a first screen corresponding to the first display area in the target screen to determine whether the first screen meets the preset condition.
[0033] The color difference threshold can be 30, 40 or 50, etc., and is not specifically limited here. It is understandable that in order to obtain a better display effect, the color difference threshold should be set to a smaller value, so that more pictures displayed in the first display area meet the preset conditions, and it is convenient to adjust more pictures with color differences to achieve a better display effect.
[0034] by Figure 4 For example, if the color difference threshold is 30, the value of R of the nth minimum display unit is 60, and the value of R of the n+1th minimum display unit is 20, since the color difference between the R color of the nth minimum display unit and the R color of the adjacent n+1th minimum display unit is 40, which is greater than the color difference threshold, it can be judged that the preset condition is met.
[0035] S102: If the result of the determination is yes, then when displaying the target picture on the screen, the number of target pixel pairs in the first display area is reduced, and the target pixel pairs are adjacent pixel pairs of the same color and whose color difference value is greater than the color difference threshold.
[0036] Optionally, if the result of the judgment is yes, the terminal may not display the picture in the first display area when displaying the target picture on the screen. Since the picture is not displayed, there will be no target pixel pair in the first display area, and there will be no display problem caused by color difference. Optionally, when the result of the judgment is yes, the terminal may also display the first picture in the first display area, and adjust the color depth of the first picture to reduce the number of target pixel pairs. The specific reduction method can be set according to actual needs, as long as the purpose of improving the overall visual effect of the screen can be achieved, and no specific restrictions are made.
[0037] In a specific example, if the result of the judgment is no, the terminal displays the first picture in the first display area when displaying the target picture on the screen, that is, the target picture is displayed in the first display area and the second display area. Since the problem caused by the color difference does not exist or is not obvious when the result of the judgment is yes, the target picture can be displayed normally on the screen.
[0038] The display adjustment method provided by the embodiment of the present invention determines whether the picture to be displayed in the area with low pixel density on the screen satisfies the preset condition that the color difference value of any adjacent same-color pixels in the picture is greater than the color difference threshold. If the preset condition is met, the number of adjacent same-color pixels in the area with color difference values greater than the color difference threshold is reduced when the picture is displayed. Since a picture with large color difference (a picture that meets the preset condition) will have a large display difference when displayed in a display area with different pixel density, when displaying a picture with large color difference, the number of adjacent same-color pixel pairs with color difference values greater than the color difference threshold in a display area with low pixel density is reduced, which can improve the display difference caused by different pixel densities when the screen displays a picture with large color difference, thereby improving the visual effect of the screen display.
[0039] The second embodiment of the present invention relates to a display adjustment method. The second embodiment is substantially the same as the first embodiment, with the main difference being that in the embodiment of the present invention, the number of target pixel pairs in the first display area is reduced when the target image is displayed on the screen, including: when the target image is displayed on the screen, the color difference value of the target pixel pairs of at least part of the first display area is adjusted to be less than or equal to a color difference threshold.
[0040] The specific process of the display adjustment method provided by the embodiment of the present invention is as follows: Figure 8 As shown, the following steps are included:
[0041] S201: Determine whether a partial picture to be displayed in a first display area on the screen meets a preset condition, wherein the partial picture is a partial picture of a target picture to be displayed on the screen, the first display area is a display area in the screen having a pixel density less than that of other display areas, and the preset condition is that a color difference value of any adjacent same-color pixels in the picture is greater than a color difference threshold.
[0042] Among them, S201 is the same as S101 in the first embodiment. For details, please refer to the relevant description in the first embodiment. In order to avoid repetition, it will not be repeated here.
[0043] S202: If the result of the determination is yes, display the first picture in the first display area when displaying the target picture on the screen, and adjust the color difference values of the target pixel pairs of at least part of the first display area to be less than or equal to the color difference threshold.
[0044] Among them, the proportion of the adjusted part to the total can be set according to actual needs, such as 60%, 70% or 80%, etc., and there is no specific limitation here. It can be understood that in order to achieve a better visual effect, the color difference values of all target pixel pairs in the first display area can be adjusted to be less than or equal to the color difference threshold. However, when there are more target pixel pairs in the first display area, more computing resources of the terminal may be occupied. Therefore, when there are more target pixel pairs in the first display area, the color difference values of some target pixel pairs may be adjusted to take into account both the visual effect and the computing resources of the terminal.
[0045] Specifically, when determining whether the first picture meets the preset condition, the terminal obtains the target pixel pair of the first display area, and then adjusts the color difference value of part or all of the target pixel pairs to be less than or equal to the color difference threshold. Figure 4 For example, if the color difference threshold is 30, the value of the nth minimum display unit R is 60, and the value of R of the n+1th minimum display unit is 20, and there is a target pixel pair at this time, the terminal can reduce the value of the nth minimum display unit R or increase the value of the n+1th minimum display unit R, for example, reduce the value of the nth minimum display unit R to 50, and do not adjust the value of the n+1th minimum display unit R. In this way, the color difference value of the target pixel pair can be adjusted to be equal to the color difference threshold.
[0046] The display adjustment method provided in the embodiment of the present invention, if it is determined that the first picture meets the preset condition, then when the target picture is displayed on the screen, the first picture is displayed in the first display area, and the color difference value of the target pixel pair of at least part of the first display area is adjusted to be less than or equal to the color difference threshold. By adjusting the color difference value of the target pixel pair of at least part of the first display area to be less than or equal to the color difference threshold, the number of target pixel pairs in the first display area can be reduced, thereby improving the display difference caused by different pixel densities when the picture with large color difference is displayed on the screen, and improving the visual effect of the screen display.
[0047] The third embodiment of the present invention relates to a display adjustment method. The third embodiment is substantially the same as the first embodiment, with the main difference being that in the embodiment of the present invention, the number of target pixel pairs in the first display area is reduced when the target image is displayed on the screen, including: when the target image is displayed on the screen, a first preset image is displayed in the first display area, wherein the first preset image is an image in which the color difference value of any adjacent same-color pixels in the image is less than or equal to a color difference threshold.
[0048] The specific process of the display adjustment method provided by the embodiment of the present invention is as follows: Fig. 9 As shown, the following steps are included:
[0049] S301: Determine whether a partial picture to be displayed in a first display area on the screen meets a preset condition, wherein the partial picture is a partial picture of a target picture to be displayed on the screen, the first display area is a display area in the screen having a pixel density less than that of other display areas, and the preset condition is that a color difference value of any adjacent same-color pixels in the picture is greater than a color difference threshold.
[0050] Among them, S301 is the same as S101 in the first embodiment. For details, please refer to the relevant description in the first embodiment. In order to avoid repetition, it will not be repeated here.
[0051] S302: If the result of the judgment is yes, then when the target picture is displayed on the screen, a first preset picture is displayed in the first display area, wherein the first preset picture is a picture in which the color difference value of any adjacent same-color pixels in the picture is less than or equal to a color difference threshold.
[0052] Optionally, the first preset picture is, for example, a pure color picture, such as a blue picture. Since the colors in the first preset picture are the same, there will be no target pixel pair, and there will be no display difference problem caused by color difference. Of course, the first preset picture can also be other pictures, as long as the color difference value of any adjacent same-color pixels in the picture is less than or equal to the color difference threshold.
[0053] It should be understood that the display adjustment method provided in the embodiment of the present invention is sufficient to display the first preset picture in the first display area. As for the shape, size, degree of overlap with the first display area, and whether the first display area displays other pictures, there is no limitation. As long as the target pixel pairs of the first display area are reduced when the first preset picture is displayed in the first display area, it will be sufficient.
[0054] In a specific example, the shape of the first preset picture includes a water drop shape, a rectangle, a circle, or a bangs shape. Fig.10 (a) is an example of a first preset screen. Fig.10 In (a), the shape of the first preset image is a water drop shape; please refer to Fig.10 (b) is another example of the first preset screen. Fig.10 In (b), the shape of the first preset picture is a rectangle. Of course, the shape of the first preset picture can be other shapes, which is not specifically limited here.
[0055] In a specific example, the first preset image at least partially overlaps with the first display area, that is, at least a portion is displayed in the first display area, and the rest can be displayed in the second display area, such as the rectangular first preset image in the above example. Of course, the first preset image can completely cover the first display area, which will have a more comfortable visual effect. At this time, there are two situations: one is that the size and shape of the first preset image are exactly the same as the first display area, and the other is that the first preset image is larger than the first display area.
[0056] In the display adjustment method provided in the embodiment of the present invention, if it is determined that the first picture meets the preset condition, the first preset picture is displayed in the first display area when the target picture is displayed on the screen. Since the first preset picture is a picture in which the color difference value of any adjacent same-color pixels is less than or equal to the color difference threshold, when the first preset picture is displayed in the first display area, the target pixel pairs in the first display area can be reduced, thereby improving the display difference caused by different pixel densities when the picture with large color difference is displayed on the screen, and improving the visual effect of the screen display.
[0057] The fourth embodiment of the present invention relates to a display adjustment method, which is substantially the same as the first embodiment, with the main difference being that in the embodiment of the present invention, the number of target pixel pairs in the first display area is reduced when the target picture is displayed on the screen, including: when the target picture is displayed on the screen, a second preset picture and the first picture are superimposed and displayed in the first display area, wherein when the second preset picture is superimposed and displayed with the first picture, the color difference values of at least some of the target pixel pairs in the first display area are adjusted to be less than or equal to the color difference threshold.
[0058] The specific process of the display adjustment method provided by the embodiment of the present invention is as follows: Fig.11 As shown, the following steps are included:
[0059] S401: Determine whether a portion of a picture to be displayed in a first display area on the screen satisfies a preset condition, wherein the portion of the picture is a portion of a target picture to be displayed on the screen, the first display area is a display area in the screen having a pixel density less than that of other display areas, and the preset condition is that a color difference value of any adjacent same-color pixels in the picture is greater than a color difference threshold.
[0060] Among them, S401 is the same as S101 in the first embodiment. For details, please refer to the relevant description in the first embodiment. In order to avoid repetition, it will not be repeated here.
[0061] S402: If the result of the judgment is yes, when the target picture is displayed on the screen, the second preset picture and the partial picture are superimposed and displayed in the first display area, wherein when the second preset picture and the partial picture are superimposed and displayed, the color difference value of at least part of the target pixel pairs in the first display area is adjusted to be less than or equal to the color difference threshold.
[0062] Optionally, the color depth of the second preset picture can be set to vary according to the first picture. Figure 4 For example, if the color difference threshold is 30, the value of the nth minimum display unit R is 60, the value of the n+1th minimum display unit R is 20, and there is a target pixel pair, then the second preset picture can be that the color depth at the position corresponding to the nth minimum display unit R is set to 0, and the color depth at the position corresponding to the n+1th minimum display unit R is set to 10. When the second preset picture is superimposed on the first picture, the color depth at the position of the nth minimum display unit R is 60, and the color depth at the position of the n+1th minimum display unit R is 30, so that the color difference value of the target pixel pair is adjusted to be equal to the color difference threshold.
[0063] Setting the color depth of the second preset picture to vary according to the first picture can conveniently reduce the number of target pixel pairs in the first display area to zero, but it will also increase the complexity of the setting. Optionally, the second preset picture is a picture of a preset color depth value, wherein the preset color depth value can be set according to actual needs, and no specific restrictions are made here. For example, if the color difference threshold is 30, the color difference value of a target pixel pair in the first display area is 70, the color depth of one pixel is 255, and the color depth of the other pixel is 185, and the second preset picture is a picture with a preset color depth value of 35, then after superimposed display, the color depth of the first pixel is 255 (maximum value), and the color depth of the second pixel is 225. In this way, after superimposed display, the color difference value of the target pixel pair is adjusted to be equal to the color difference threshold.
[0064] It is understandable that if the second preset picture is a picture of a preset color depth value, the effect that may be achieved is to adjust the color difference values of some target pixel pairs in the first display area to be less than or equal to the color difference threshold. In particular, when the preset color depth value is set to be larger, the color difference values of all target pixel pairs can be adjusted to be less than or equal to the color difference threshold. For example, if the color difference threshold is 30, the preset color depth value can be set to 225, so that no matter how much the color difference of the target pixel pair is, and how much the color depth of the specific pixel is, the color difference values of the target pixel pairs in the first display area can be adjusted to be less than or equal to the color difference threshold.
[0065] Similarly, the shape of the second preset picture may include a water drop shape, a rectangle, a circle, a bangs shape, or other shapes, which are not specifically limited here.
[0066] The second preset image may at least partially overlap with the first display area, or the second preset image may completely cover the first display area.
[0067] The display adjustment method provided in the embodiment of the present invention, if it is determined that the first picture meets the preset conditions, then when the target picture is displayed on the screen, the second preset picture and the first picture are superimposed and displayed in the first display area, and when the second preset picture is superimposed and displayed with the first picture, the color difference values of at least some of the target pixel pairs in the first display area are adjusted to be less than or equal to the color difference threshold value. By adjusting the color difference values of at least some of the target pixel pairs in the first display area to be less than the color difference threshold value when the second preset picture is superimposed and displayed with the first picture, the target pixel pairs in the first display area can be reduced, thereby improving the display difference caused by different pixel densities when the picture with large color difference is displayed on the screen, thereby improving the visual effect of the screen display.
[0068] A fifth embodiment of the present invention relates to a display adjustment device 500, such as Fig.12 As shown, it includes a judgment module 501 and an adjustment module 502, and the functions of each module are described in detail as follows:
[0069] The judgment module 501 is used to judge whether the first picture to be displayed in the first display area on the screen meets a preset condition, wherein the first picture is a partial picture of the target picture to be displayed on the screen, the first display area is a display area in the screen with a pixel density less than the pixel density of other display areas, and the preset condition is that the color difference value of any adjacent same-color pixels in the picture is greater than the color difference threshold;
[0070] The adjustment module 502 is used to reduce the number of target pixel pairs in the first display area when displaying the target picture on the screen when the result of the judgment is yes, and the target pixel pairs are adjacent pixel pairs of the same color and whose color difference value is greater than the color difference threshold.
[0071] Furthermore, the adjustment module 502 is further configured to:
[0072] When displaying the target picture on the screen, the first picture is displayed in the first display area, and the color difference value of the target pixel pair of at least part of the first display area is adjusted to be less than or equal to the color difference threshold.
[0073] Furthermore, the adjustment module 502 is further configured to:
[0074] When the target picture is displayed on the screen, a first preset picture is displayed in the first display area, wherein the first preset picture is a picture in which the color difference value of any adjacent same-color pixels in the picture is less than or equal to the color difference threshold.
[0075] Furthermore, the adjustment module 502 is further configured to:
[0076] When the target picture is displayed on the screen, the second preset picture and the first picture are superimposed and displayed in the first display area, wherein when the second preset picture and the first picture are superimposed and displayed, the color difference values of at least some target pixel pairs in the first display area are adjusted to be less than or equal to the color difference threshold.
[0077] Furthermore, the second preset picture is a picture of a preset color depth value.
[0078] Furthermore, the shape of the first preset picture or the second preset picture includes a water drop shape, a rectangle, a circle or a bangs shape.
[0079] Furthermore, the first preset picture or the second preset picture at least partially overlaps with the first display area.
[0080] Furthermore, the first preset picture or the second preset picture completely covers the first display area.
[0081] Furthermore, the display adjustment device 500 provided in the embodiment of the present invention further includes a display module, wherein the display module is used to:
[0082] When the result of the determination is no, the first picture is displayed in the first display area when the target picture is displayed on the screen.
[0083] It is not difficult to find that this embodiment is a device embodiment corresponding to the aforementioned embodiment, and this embodiment can be implemented in conjunction with the aforementioned embodiment. The relevant technical details mentioned in the aforementioned embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the aforementioned embodiment.
[0084] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0085] A sixth embodiment of the present invention relates to an electronic device, such as Fig.13 As shown, it includes: at least one processor 601; and a memory 602 that is communicatively connected to the at least one processor 601; wherein the memory 602 stores instructions that can be executed by the at least one processor 601, and the instructions are executed by the at least one processor 601 so that the at least one processor 601 can execute the above-mentioned display adjustment method.
[0086] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor.
[0087] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.
[0088] A seventh embodiment of the present invention relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0089] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0090] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.
Claims
1. A display adjustment method, characterized in that: include: Determine whether a first picture to be displayed in a first display area on the screen meets a preset condition, wherein the first picture is a partial picture of a target picture to be displayed on the screen, the first display area is a display area in the screen having a pixel density less than that of other display areas, and the preset condition is that a color difference value of any adjacent same-color pixels in the picture is greater than a color difference threshold; If the result of the judgment is yes, then when the target picture is displayed on the screen, the number of target pixel pairs in the first display area is reduced, wherein the target pixel pairs are adjacent pixel pairs of the same color and whose color difference values are greater than the color difference threshold; wherein when the target picture is displayed on the screen, the number of target pixel pairs in the first display area is reduced, including: When the target picture is displayed on the screen, a first preset picture is displayed in the first display area, wherein the first preset picture is a picture in which the color difference value of any adjacent same-color pixels in the picture is less than or equal to the color difference threshold, or When the target picture is displayed on the screen, a second preset picture and the first picture are superimposed and displayed in the first display area, wherein when the second preset picture is superimposed and displayed with the first picture, the color difference values of at least some target pixel pairs in the first display area are adjusted to be less than or equal to the color difference threshold, and the second preset picture is a picture of a preset color depth value.
2. The display adjustment method according to claim 1, characterized in that: The shape of the first preset picture or the second preset picture includes a water drop shape, a rectangle, a circle or a bangs shape.
3. The display adjustment method according to claim 1, characterized in that: The first preset picture or the second preset picture at least partially overlaps with the first display area.
4. The display adjustment method according to claim 1, characterized in that: The first preset picture or the second preset picture completely covers the first display area.
5. The display adjustment method according to claim 1, characterized in that: After determining whether the first picture to be displayed in the first display area on the screen meets the preset condition, the method further includes: If the result of the determination is no, the first picture is displayed in the first display area when the target picture is displayed on the screen.
6. A display adjustment device, characterized in that: include: a judgment module, used to judge whether a first picture to be displayed in a first display area on the screen satisfies a preset condition, wherein the first picture is a partial picture of a target picture to be displayed on the screen, the first display area is a display area in the screen having a pixel density less than that of other display areas, and the preset condition is that a color difference value of any adjacent same-color pixels in the picture is greater than a color difference threshold; an adjustment module, configured to reduce the number of target pixel pairs in the first display area when displaying the target picture on the screen when the result of the judgment is yes, the target pixel pairs being adjacent pixel pairs of the same color and having a color difference value greater than a color difference threshold; The adjustment module reduces the number of target pixel pairs in the first display area by: When the target picture is displayed on the screen, a first preset picture is displayed in the first display area, wherein the first preset picture is a picture in which the color difference value of any adjacent same-color pixels in the picture is less than or equal to the color difference threshold, or When the target picture is displayed on the screen, a second preset picture and the first picture are superimposed and displayed in the first display area, wherein when the second preset picture is superimposed and displayed with the first picture, the color difference values of at least some target pixel pairs in the first display area are adjusted to be less than or equal to the color difference threshold, and the second preset picture is a picture of a preset color depth value.
7. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the display adjustment method according to any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the display adjustment method according to any one of claims 1 to 5 is implemented.
