CN115484345A - Display mode switching method and device, electronic equipment and medium - Google Patents

Display mode switching method and device, electronic equipment and medium Download PDF

Info

Publication number
CN115484345A
CN115484345A CN202110604993.3A CN202110604993A CN115484345A CN 115484345 A CN115484345 A CN 115484345A CN 202110604993 A CN202110604993 A CN 202110604993A CN 115484345 A CN115484345 A CN 115484345A
Authority
CN
China
Prior art keywords
image
brightness
background image
color
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110604993.3A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110604993.3A priority Critical patent/CN115484345A/en
Priority to PCT/CN2022/085604 priority patent/WO2022252810A1/en
Publication of CN115484345A publication Critical patent/CN115484345A/en
Pending legal-status Critical Current

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application relates to a display mode switching method, a display mode switching device, electronic equipment and a medium. The display mode switching method comprises the following steps: the method comprises the steps that under the condition that an electronic device receives a switching instruction for switching a display mode of the electronic device to a deep color mode, a first background image in a display interface of the electronic device is subjected to image processing to obtain a second background image adaptive to the deep color mode, and the second background image obtained after the image processing is displayed on the display interface. The image processing comprises the step of reducing the brightness value of the pixel of which the brightness value belongs to different brightness intervals in the first background image by adopting different reduction coefficients. By the method, the brightness of the background image in the display interface of the electronic equipment can be reduced, so that the display style of the background image is consistent with that of the electronic equipment in the deep color mode, the color saturation and the contrast of the background image in the deep color mode are enhanced, and the impression experience of a user is improved.

Description

Display mode switching method and device, electronic equipment and medium
Technical Field
The present application relates to the field of terminal display technologies, and in particular, to a display mode switching method and apparatus, an electronic device, and a medium.
Background
Along with the development of science and technology, the use of electronic equipment is more and more extensive, and the function setting also more and more closes to people's user demand. The dark mode is proposed to meet the deep requirements of reading comfort and readability during use, and the graphical user interface in the dark mode usually presents a dark (e.g. black) background and a bright (e.g. white) foreground. Currently, the mainstream operating systems such as the Android (Android) open source operating system, the mobile operating system (iOS) developed by apple, and the operating system (Windows) developed by microsoft all provide support for the deep color mode.
As shown in fig. 1, when a user needs to select a deep color mode on the mobile phone 100, the user can enter a related setting interface, and switch the display mode by clicking a deep color mode start switch shown in the screen of the mobile phone 100: it can be seen that in the dark mode, the background portion on the display screen of the mobile phone 100 is replaced by a dark color (e.g., black) by switching the internal theme resources, and meanwhile, the foreground portions such as the characters are presented by a bright color (e.g., white). Similarly, in the dark mode, the background image of the mobile phone 100 changes accordingly. In the prior art, the background image in a dark color mode is usually subjected to simple dimming operation for reducing the overall display brightness. Although the background image with the reduced brightness can be matched with the overall display style of the dark mode, performing simple shading processing on the background image causes the desktop background to display gray, so that the problem that the user feels poor in comfort when using the dark mode of the mobile phone 100 is caused, and the use experience of the user in the dark mode is affected.
Disclosure of Invention
The application aims to provide a display mode switching method, a display mode switching device, electronic equipment and a medium. By the method, the brightness of the background image in the display interface of the electronic equipment can be reduced, so that the display style of the background image is consistent with the display style of the deep color mode of the electronic equipment, the color saturation and the contrast of the background image in the deep color mode are enhanced, and the impression experience of a user is improved.
A first aspect of the present application provides a display mode switching method, which is applied to an electronic device, and includes: the method comprises the steps that the electronic equipment receives a switching instruction for switching a display mode of the electronic equipment to a deep color mode; the electronic equipment performs image processing on a first background image in a display interface of the electronic equipment to obtain a second background image adaptive to a deep color mode, wherein the image processing comprises the steps of reducing the brightness values of pixels, of which the brightness values belong to different brightness intervals, in the first background image by adopting different reduction coefficients; and the electronic equipment displays the second background image on a display interface.
That is, in the embodiment of the present application, the background image displayed on the display interface of the electronic device can be matched with the display style of the display interface of the electronic device in the dark mode after image processing.
For example, the electronic device may be a mobile phone, and the electronic device display interface may be a display interface of the mobile phone, where the display interface includes: desktop wallpaper, weather icons, weather forecast text contents, various application program icons and the like, wherein the desktop wallpaper is a background image in the display interface.
The mobile phone switches the display interface from the conventional mode to the deep color mode under the condition that a switching instruction for switching the display mode of the mobile phone to the deep color mode is received. The mobile phone needs to perform targeted image processing on the first background image in the normal mode, so that the visual comfort of the user is improved while the deep color mode display style is adapted. The specific image processing may be to perform reduction processing on the brightness values of the pixels, whose brightness values belong to different brightness intervals, in the first background image by using different reduction coefficients, so as to improve the color saturation and contrast of the second background image.
In one possible implementation of the first aspect, the electronic device performs image processing on the first background image in a case where the first background image does not have the alternative display image in the dark mode.
It will be appreciated that for portions of the background image, an alternate display image in dark mode may be stored in the electronic device. For example, an official background theme provided in an official application store in a mobile phone often has desktop wallpaper in a normal mode and desktop wallpaper in a dark mode, respectively. The desktop wallpaper in the dark color mode can be designed by a graphic interface designer through special color conversion and brightness conversion according to the eye comfort level, and has a certain aesthetic feeling. Therefore, in the case where the first background image has the alternative display image in the dark mode, the alternative display image can be directly called by the electronic apparatus to be displayed. In the case where the first background image does not have the alternative display image in the dark mode, for example, the desktop wallpaper is a user-defined picture content, the electronic device needs to perform the aforementioned image processing steps thereon.
In one possible implementation of the first aspect, the image processing of the first background image by the electronic device includes: reducing the brightness of the first background image; the brightness reduction amplitude of the electronic equipment to the first area in the first background image is higher than the brightness reduction amplitude to the second area in the first background image; the brightness in the first area in the first background image is less than the brightness in the second area in the first background image.
That is, in the embodiment of the present application, the luminance reduction range of the low luminance region in the first background image is higher than the luminance reduction range of the high luminance region.
It can be understood that, by using the image processing method, the luminance of the pattern originally in the low-luminance region and the medium-luminance region in the first background image is reduced to a greater extent; and the pattern originally in the high-brightness area in the first background image has a light brightness reduction degree. Through distinguishing the brightness reduction degree, the contrast and the color saturation of the second background image after image processing can be improved, and therefore the impression comfort level of a user is improved
In one possible implementation of the foregoing first aspect, the image processing of the first background image by the electronic device includes: reducing the brightness of the first background image; under the condition that the brightness value of the first pixel point in the first background image is higher than the brightness value of the second pixel point, the brightness value of a third pixel point corresponding to the first pixel point in the second background image is higher than the brightness value of a fourth pixel point corresponding to the second pixel point.
That is, in the embodiment of the present application, after the electronic device performs image processing of reducing the brightness of the first background image, the brightness variation trends of the second background image and the first background image remain unchanged.
In one possible implementation of the foregoing first aspect, the image processing of the first background image by the electronic device includes: the electronic equipment identifies the first background image according to the brightness distribution condition of the first background image so as to identify the type of the first background image, wherein the type of the first background image is a high-brightness image, a low-brightness image or a conventional image; the electronic equipment reduces the brightness of the first background image according to the type of the first background image; different types correspond to different reduction modes. The occupation ratio of an area with the brightness higher than the first preset brightness in the high-brightness image is higher than a first preset threshold; the occupation ratio of the area smaller than the second preset brightness in the low-brightness image is larger than a second preset threshold; the normal image is a background image that does not belong to the high-luminance image and the low-luminance image.
That is, in the embodiment of the present application, the electronic device identifies the image type of the first background image in advance, and performs processing in different brightness reduction manners for different image types.
It can be understood that there is a difference in the luminance distribution of the first background image itself. For example, if the first background image with high overall brightness and the first background image with low overall brightness are processed in the same brightness reduction manner, the first background image with high overall brightness may be too bright and too glaring after being processed, or the first background image with low overall brightness may be too dark and difficult to recognize after being processed. Therefore, before performing the targeted image processing on the background image, the background image needs to be classified in advance based on the overall brightness of the background image.
It can be understood that the electronic device may obtain a brightness value corresponding to each pixel point in the first background image by traversing the first background image, generate a corresponding brightness distribution situation diagram based on the brightness value of each pixel point, and then classify the image type of the first background image according to the brightness distribution situation diagram. In a possible implementation, the area of the first background image larger than the first preset brightness may be equivalent to the number of the pixel points larger than the first preset brightness, the area smaller than the second preset brightness may be equivalent to the number of the pixel points smaller than the second preset brightness, and the area ratio of the areas may be obtained by comparing the number ratios of the pixel points.
In one possible implementation of the first aspect, the electronic device reduces the brightness of the low-brightness image to a lesser extent than the electronic device reduces the brightness of the regular image.
In one possible implementation of the first aspect, the electronic device reduces the brightness of the high-brightness image to a greater extent than the electronic device reduces the brightness of the regular image.
It can be understood that, since the overall brightness of the low-brightness image is relatively dark, in order to ensure that the background image is still easily viewed by human eyes after the image processing, the brightness reduction degree for the low-brightness image may be set to be relatively weak, that is, the brightness difference value corresponding to each pixel point between the second background image and the first background image may be set to be relatively small; the overall brightness of the high-brightness image is relatively high, and in order to ensure that the high-brightness image can be matched with the deep color mode display style of the electronic device, the degree of darkness of the high-brightness image can be set to be relatively high adaptively, that is, the brightness difference value corresponding to each pixel point between the second background image and the first background image can be set to be relatively large. The degree of brightness reduction for a regular image may be between a high brightness image and a low brightness image.
In a possible implementation of the first aspect, for a pixel point whose luminance value belongs to a first preset interval, a ratio of a luminance value of the high-luminance image after image processing to an original luminance value is smaller than a ratio of a luminance value of the conventional image after image processing to an original luminance value; the ratio of the brightness value after image processing to the original brightness value in the conventional image is smaller than the ratio of the brightness value after image processing to the original brightness value in the low-brightness image.
In a possible implementation of the first aspect, for a pixel point whose luminance value belongs to a second preset interval, a ratio of a luminance value of the high-luminance image after image processing to an original luminance value is greater than or equal to a ratio of a luminance value of the conventional image after image processing to an original luminance value; the ratio of the brightness value after image processing in the conventional image to the original brightness value is more than or equal to the ratio of the brightness value after image processing in the low-brightness image to the original brightness value. The brightness value of the pixel points in the second preset interval is larger than that of the pixel points in the first preset interval.
It can be understood that, when the luminance value of the pixel point is at a lower level, the ratio of the processed luminance value to the original luminance value in the high-luminance image is smaller than the ratio of the processed luminance value to the original luminance value in the conventional image; and the ratio of the processed brightness value to the original brightness value in the conventional image is smaller than the ratio of the original brightness value of the processed brightness value in the low-brightness image. This means that in a region with a low luminance value, for a high-luminance image, as the luminance value increases, the variation range of the luminance value after image processing is slow; for a low-brightness image, the change of the brightness value after image processing is larger as the brightness value increases.
It can be understood that, when the luminance value of the pixel is at a higher level, the ratio of the processed luminance value to the original luminance value in the high-luminance image is greater than or equal to the ratio of the processed luminance value to the original luminance value in the conventional image; and the ratio of the processed brightness value to the original brightness value in the conventional image is greater than or equal to the ratio of the original brightness value of the processed brightness value in the low-brightness image. This means that in a region where the luminance value is low, for a high-luminance image, as the luminance value increases, the magnitude of change in the luminance value after image processing is large; for a low-brightness image, the change of the brightness value after image processing is relatively slow as the brightness value increases.
In a possible implementation of the first aspect, after the electronic device receives the switching instruction, the method further includes: the electronic equipment identifies the first background image to identify whether the first background image contains a characteristic pattern, wherein the characteristic pattern is a pattern which is not suitable for color transformation; if the first background image does not contain the characteristic pattern, executing the image processing operation; if the first background image contains the characteristic pattern, the electronic equipment performs reduction processing on the brightness value of the pixel of the first background image by adopting the same reduction coefficient.
That is, in the embodiment of the present application, the electronic device performs pre-recognition on the pattern included in the first background image: when a pattern unsuitable for color conversion is included, the luminance values of the pixels of the first background image are subjected to reduction processing using the same reduction coefficient.
It is understood that the foregoing image processing method can enhance the color saturation and contrast of the second background image with reduced brightness while reducing the brightness. However, this image processing method is also likely to cause the second background image after processing to be oversaturated in color, or cause variations in the overall color effect, or the like. Particularly, when the first background image includes images unsuitable for color conversion, such as a person image, a food image, an animal image, etc., the image processing method described above is likely to cause color differences, color cast, overexposure, etc., in the main body of the pattern, thereby affecting the user's experience. Therefore, for the first background image containing the characteristic pattern, the same reduction coefficient can be adopted to reduce the brightness value of each pixel in the first background image, so that the color distribution condition of the second background image obtained by processing is consistent with the original color distribution condition of the first background image, and the impression experience of a user is guaranteed.
In one possible implementation of the first aspect, the image processing on the background image further includes: the electronic equipment performs color change processing on a third area in the first background image; the third area is the area occupied by the pixel points corresponding to the dominant color system in the first background image and the peripheral area thereof.
It can be understood that for some first background images with brighter colors, such as abstract pictorial images, after the brightness reduction processing is performed by using the image processing method, even if the local color saturation and contrast in the background image are improved to a certain extent, the problem that the user's perception experience is affected by the gray color shift still occurs easily. By performing color change processing on the colors of the picture area corresponding to the dominant color system and the peripheral area thereof in the first background image, the picture area corresponding to the dominant color system and the peripheral area thereof can be further strengthened and highlighted, thereby improving the impression experience of the user.
A second aspect of the present application provides an electronic device, comprising: a memory for storing program instructions; and a processor, which when executing the program instructions, causes the electronic device to implement the display mode switching method provided by the foregoing first aspect.
A third aspect of the present application provides a computer-readable storage medium having stored thereon program instructions that, when executed by a processor, cause a computer to implement the display mode switching method as provided in the foregoing first aspect.
Drawings
Fig. 1 shows an example of switching the cell phone 100 from the normal display mode to the dark display mode;
FIG. 2 shows an example of the desktop display interface of the handset 100 switching from the normal display mode to the dark display mode;
FIG. 3 shows another example of the desktop display interface of the handset 100 switching from the normal display mode to the dark display mode;
FIG. 4 shows a human test statistic for visual comfort;
fig. 5 shows an example of switching the desktop display interface of the mobile phone 100 from the normal display mode to the dark display mode according to the embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an electronic device according to an embodiment of the present application;
FIG. 7 illustrates a display mode switching method according to an embodiment of the present application;
FIG. 8 illustrates an identification method for identifying a type of a background image according to an embodiment of the present disclosure;
FIG. 9a is a graph illustrating a luminance distribution of a high luminance image according to an embodiment of the present application;
FIG. 9b is a diagram illustrating a luminance distribution of a low luminance image according to an embodiment of the present application;
FIG. 9c is a diagram illustrating a luminance distribution of a conventional image according to an embodiment of the present application;
FIG. 10 is a diagram illustrating RGB value transfer functions for a low-luminance image, a regular image, and a high-luminance image, respectively, according to an embodiment of the present application;
FIG. 11a is a schematic diagram showing another RGB value transformation function for a low luminance image, a normal image, and a high luminance image, respectively, according to an embodiment of the present application;
FIG. 11b is a schematic diagram showing another RGB value transformation function for a low-luminance image, a normal image, and a high-luminance image, respectively, according to an embodiment of the present application;
FIG. 11c is a schematic diagram of another RGB value transformation function for a low-luminance image, a normal image, and a high-luminance image, respectively, according to an embodiment of the present application;
fig. 12 shows another example of switching the desktop display interface of the mobile phone 100 from the normal display mode to the dark display mode according to the embodiment of the present application;
FIG. 13 illustrates a method of image processing a background image according to an embodiment of the present application;
fig. 14 shows another example of switching the desktop display interface of the mobile phone 100 from the normal display mode to the dark display mode according to the embodiment of the present application;
fig. 15 shows another example of switching the desktop display interface of the mobile phone 100 from the normal display mode to the dark display mode according to the embodiment of the present application;
FIG. 16 illustrates another method of image processing a background image according to an embodiment of the present application;
FIG. 17 illustrates a method for color changing a background image according to an embodiment of the present application;
FIG. 18 shows an example of an HSL color space;
fig. 19 shows a block diagram of a software architecture of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
As shown in fig. 2, in some embodiments of the present application, the mobile phone 100 may store a background image in a normal mode (as shown in fig. 2 a) and a background image in a dark mode (as shown in fig. 2 b) in advance. When the dark mode is on, the cell phone 100 displays the background image as shown in fig. 2 b. As can be seen from a comparison of fig. 2a and 2b, the background image in the dark mode replaces the light colored patches (such as the light beige areas pointed to by 200a in fig. 2 a) in the background image in the conventional mode with the dark colored patches (such as the black areas pointed to by 200b in fig. 2 b). It will be appreciated that there is no uniform colour variation relationship between the light and dark colour blocks in figures 2a and 2b, for example a light colour block 200a changing from light beige to black in a dark colour block 200b, and a light colour block 201a changing from light red to dark red in a dark colour block 201 b. The color distribution of the background image in the dark color mode is specially designed by a graphical interface designer according to the eye comfort level.
When the background image belongs to the user-defined image or the background image does not have the replacement material corresponding to the deep color mode, the mobile phone 100 needs to perform image processing on the background image in the conventional mode by itself to adapt to the overall display style of the deep color mode. As shown in fig. 3, the mobile phone 100 may perform a dimming operation with reduced overall brightness on the background image in the normal mode (as shown in fig. 3 a), so that the processed background image (as shown in fig. 3 b) is consistent with the overall display style of the mobile phone 100 in the dark mode. As can be seen from a comparison between fig. 3a and fig. 3b, the dark processing on the background image may cause the display of the desktop background to be gray, so that the user may feel a poor comfort level when using the mobile phone 100 in the dark mode.
In order to solve the problem that the brightness of a background image is darkened to cause discomfort to human eyes in the process of starting in the dark color mode, the application provides a display mode switching scheme. In the above display mode switching scheme, when the electronic device is turned on in the deep color mode, the brightness shading processing is performed on the background image, and the color saturation and the contrast of the background image are automatically enhanced, so that the visual perception of a user of the electronic device is improved. How the above-mentioned display mode switching scheme improves the visual perception of the user will be described below.
Color saturation refers to the vividness of a color. Figure 4 shows a human test statistic for visual comfort. As shown in fig. 4: a vertical axis in the statistical table represents the ambient brightness of the position where the testing personnel are located in the human factor test, and the ambient brightness increases progressively along the arrow direction of the vertical axis; the horizontal axis in the statistical table represents the color saturation of the test image for the testers to watch in the human factor test, and the color saturation of the test image is increased progressively along the arrow direction of the horizontal axis; the depth degree of each test statistic point in the statistical table is related to the visual comfort level of a tester when the tester watches the test image, and the better the visual comfort level fed back by the tester is, the shallower the depth degree of the test statistic point is. It can be understood from fig. 4 that when the ambient brightness of the position where the tester is located is at a lower level and the color saturation of the test image is at a higher level (i.e., in the region pointed to by 400 in fig. 4), the visual comfort of the tester is in a better interval. Therefore, considering that the dark mode is often used in a scene with low ambient brightness, enhancing the color saturation of the background image in the dark mode helps to improve the visual perception of the user of the electronic device.
Contrast refers to a measure of the different brightness levels in an image between the brightest white and darkest black of bright and dark regions. The influence of the contrast on the visual effect is very critical, generally, the higher the contrast is, the clearer and more striking the image is, and the more vivid and gorgeous the color is; and if the contrast is low, the whole picture is gray. The high contrast ratio is very helpful for the definition, the detail expression and the gray level expression of the image. Therefore, the enhancement of the contrast of the background image in the dark mode is also helpful to improve the visual perception of the user of the electronic device.
It is to be understood that the background image applicable to the technical solution of the present application may be various background images that appear during the display process of the electronic device, for example, a desktop wallpaper image, a lock screen interface image, an open screen advertisement image, an open screen poster image, and the like, which is not limited herein.
For example, fig. 5 shows a display change schematic of the background image when the mobile phone 100 is switched from the normal mode to the dark mode according to the embodiment of the present application. It is understood that fig. 5a is a background image in the normal mode (same as fig. 3 a), and fig. 5b is a background image in the dark mode after processing; as can be seen from a comparison between fig. 5a and fig. 5b, after the mobile phone 100 performs the display mode switching according to the technical solution of the present application, compared with the background image in the normal mode, the brightness of the background image shown in fig. 5b in the dark mode is significantly lower, and can be matched with the overall display style of the mobile phone 100 in the dark mode.
Further, as can be seen from comparison between fig. 3b and fig. 5b, although the mobile phone 100 performs the dimming process for reducing the overall brightness on the background image in fig. 3b and fig. 5b, the background image in fig. 5b is better than the background image in fig. 3b in color saturation and contrast. It will be appreciated that in the dark mode as shown in figure 3b, each part of the background image has undergone the same degree of brightness reduction processing. In the dark mode as shown in fig. 5b, the background image is subjected to enhancement of contrast and color saturation in addition to the brightness reduction process. For example, in the region pointed at 500 in fig. 5b, the left region in the "ice mountain floating on the sea" pattern appears bright white, the right region appears dark gray, and the "ice mountain floating on the sea" in fig. 3b appears light gray with low overall recognition. In fig. 5b, the color saturation of each pixel point in the region pointed to by 500 is enhanced to different degrees, and the overall contrast in the region pointed to by 500 is also enhanced. Compared with the pattern shown in fig. 3b, the user can clearly feel that the pattern of "ice mountain floating on the sea" in fig. 5b is clearer and easier to recognize, and the visual comfort is better.
Fig. 6 shows a schematic structural diagram of an electronic device to which the above display mode switching scheme is applied in some embodiments of the present application.
The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device. In other embodiments of the present application, an electronic device may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller 110 may generate operation control signals according to the instruction operation code and the timing signals, so as to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system. For example, the processor 110 may store therein instructions for executing a display mode switching method, such as an instruction to acquire a current display mode of an operating system, an instruction to switch a background image being displayed on a display screen to a dark mode, an instruction to determine whether the background image has a dark mode replacement material, and an instruction to perform image processing on the background image.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an exemplary illustration, and does not constitute a limitation on the structure of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in an electronic device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110. For example, the handset 100 may report error information or warning information occurring during the display mode switching process to a remote server.
The wireless communication module 160 may provide solutions for wireless communication applied to electronic devices, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global Navigation Satellite Systems (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves. For example, the mobile phone 100 may also report error information or warning information of the display mode switching process to a remote server through the relay of the home lan.
The electronic device implements a display function through a Graphics Processing Unit (GPU), a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information. For example, when the mobile phone 100 is in the dark mode, a background image to be displayed on the screen is displayed after being processed.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book and the like) created in the using process of the electronic device. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. The input method may also be a touch type key, for example, a key of a virtual keyboard of the first input method displayed by the electronic device. The electronic device may receive a key input, and generate a key signal input related to user settings and function control of the electronic device.
It is understood that the electronic device suitable for the technical solution of the present application may be various electronic devices with a dark color mode, for example, a smart phone, a tablet computer, a laptop computer, a wearable device, a head-mounted display, a mobile email device, a portable game machine, a portable music player, a reader device, a smart home device with a touch screen, such as a smart television, a smart speaker, and the like. For convenience of explanation, the following description will be given taking the mobile phone 100 as an example.
In some embodiments of the present application, a specific flow schematic of the user switching the display mode of the mobile phone 100 from the normal mode to the dark mode may be as shown in fig. 7, and specifically includes:
step 700: and receiving a switching request input by a user.
The switching request indicates that the user needs to switch the display mode of the mobile phone 100 from the current normal mode to the dark mode, and the receiving of the switching request may be performed by clicking the touch screen of the mobile phone 100 as shown in fig. 1, or may be performed by other modes such as voice input, which is not limited herein.
It will be appreciated that in some embodiments of the present application, the switching of the display mode of the handset 100 from the normal mode to the dark mode may also be autonomously selected and triggered by the handset 100. For example, when the mobile phone 100 detects that the ambient light level of the current usage environment is dark, it may automatically switch from the normal mode to the dark mode based on the user's authorization. For another example, in a scenario where the mobile phone 100 starts some specific application level, such as a reading application, the mobile phone may automatically switch from the normal mode to the dark mode based on the user authorization, which is not limited herein.
Step 701: and identifying whether the background image has the replacement material in the dark color mode. If so, go to step 704; if not, go to step 702.
It is understood that, based on the foregoing description, as shown in fig. 2, the mobile phone 100 may store the background image in the normal mode (as shown in fig. 2 a) and the background image in the dark mode (as shown in fig. 2 b) in advance. When the mobile phone 100 receives a switching request for switching from the normal mode to the deep color mode, the mobile phone 100 may identify the current background image in advance, and determine whether a replacement image material for displaying in the deep color mode, which corresponds to the current background image, is stored in the mobile phone 100. If there is a corresponding alternative image material, the mobile phone 100 can directly extract the alternative image material from the memory to display as a background image in a dark mode. If there is no corresponding replacement image material, it indicates that the current background image of the mobile phone 100 needs to be matched with the deep color mode after the subsequent image processing steps. The identification of whether the current background image has the replacement material may be implemented by traversing the memory by the mobile phone 100, which is not limited herein.
It is understood that, in some embodiments of the present application, the mobile phone 100 may not have a replacement image material of the current background image stored in advance, in which case the image processing operation in the following step 702 may be performed on all background images, and is not limited herein.
Step 702: the background image is image processed to adapt the overall display style of the dark mode.
It can be understood that, under the condition that the current background image does not have the replacement material in the dark color mode, the mobile phone 100 needs to perform targeted image processing on the current background image, so that the visual comfort of the user of the mobile phone 100 is improved while the dark color mode display style is adapted. Image processing on the background image may be implemented by a graphics processor of the handset 100. For example, as shown in fig. 5, the image processing for the background image may adopt processing manners of brightness dimming, color saturation enhancement and contrast enhancement, and the related specific technical solutions will be described below.
Step 703: and displaying the background image after the image processing as a background image in a dark color mode.
Step 704: and extracting a replacement material of the background image to be used as the background image in the dark color mode for displaying.
It can be understood that when the mobile phone 100 performs the bright screen display, the main display image presented to the user through the display screen not only includes the background image, but also includes other contents such as icons, characters, and program plug-ins. These contents to be displayed are usually pre-stored in the mobile phone 100, extracted by the view system of the mobile phone 100 when needed to be displayed, and displayed and fused together with the background image after image processing: the display fusion processing is to integrate the display materials and the target icons into a display screen which can be displayed through the display screen of the mobile phone 100 by using conventional image processing means such as moving, zooming, arranging, rotating, layer overlaying, image splicing, and the like, and is not limited herein.
Hereinafter, a description will be given of how to perform targeted image processing for a background image without a replacement material in the dark mode, with reference to the drawings.
It is considered that there is a difference in the luminance distribution of the background image itself. For example, the overall brightness of one background image is set to be in a high state, and the overall brightness of the other background image is set to be in a low state. If the same image processing method is used for the two background images to adapt to the dark mode of the mobile phone 100, it is obviously not appropriate: the background image with high overall brightness is still too bright and too dazzling after image processing, or the background image with low overall brightness is too dark and difficult to identify after image processing. Therefore, before performing the targeted image processing on the background image, the background image needs to be classified in advance based on the overall brightness of the background image.
In some embodiments of the present application, a method of identifying and classifying background images by the handset 100 is shown. Specifically, as shown in fig. 8, the method includes:
step 800: and acquiring a background image to be identified.
Step 801: traversing the background image to obtain the brightness distribution condition of the background image. The brightness distribution of the background image may be represented in the form of a brightness distribution diagram, and the like, which is not limited herein.
It can be understood that the mobile phone 100 may obtain the brightness value corresponding to each pixel point in the background image by traversing the background image, and generate the corresponding brightness distribution situation map based on the brightness value of each pixel point. Considering that the resolution of the background image of the mobile phone 100 is increased with the continuous increase of the resolution of the display screen of the mobile phone 100, the number of the pixels in the background image may reach to the million or tens of millions. In order to simplify the generation of the luminance distribution situation graph, in some embodiments of the present application, each pixel point in the background image may be subjected to luminance clustering in advance. For example, the mobile phone 100 may set the range of the brightness value to be 0 to 255, and equally divide the brightness value into ten brightness clustering intervals. In this case, the mobile phone 100 may classify the pixels with the detected brightness values of 0 to 25.5 into the same brightness clustering interval, or classify the pixels with the detected brightness values of 225.6 to 255 into the same brightness clustering interval. The overall brightness distribution condition of the background image can be acquired more conveniently and intuitively through the brightness clustering.
Further, in order to increase the traversal speed of the background image, the mobile phone 100 may also perform brightness traversal on the background image by setting sampling points. For example, the mobile phone 100 may divide the background image into a plurality of blocks, and set one or more sampling points in each block, where each sampling point may include one pixel point or a plurality of pixel points. The mobile phone 100 may obtain the brightness distribution of each sampling point through traversal, and use the brightness distribution as the brightness distribution of the background image. The method for acquiring the brightness distribution of the background image may be selected by a person skilled in the art according to actual application requirements, and is not limited herein.
Step 802: and judging whether the area of the background image, which is larger than the first preset brightness, reaches a first preset ratio. If yes, it indicates that the current background image belongs to an image with higher overall brightness, and then the process goes to step 805. If not, it indicates that the current background image does not belong to the image with high overall brightness, and the process goes to step 803.
It can be understood that, based on the brightness distribution obtained in the foregoing step 801, the area in the current background image that is greater than the first preset brightness may be equivalent to the number of pixel points that are greater than the first preset brightness. In this case, the ratio of the area of the region larger than the first preset brightness in the current background image to the total area of the current background image may be equivalent to the ratio of the number of the pixels larger than the first preset brightness to the total number of the pixels in the current background image. For example, the mobile phone 100 may set the luminance value range to 0 to 255, and set the background image in which the portion larger than 190 luminance values occupies more than 90% of the current background image as the high-luminance image. Based on the obtained brightness distribution condition, if the number of the pixel points with the brightness value larger than 190 exceeds 90% of the total number of the pixel points of the current background image, it can be determined that the current background image belongs to an image with higher overall brightness.
Step 803: and judging whether the area smaller than the second preset brightness in the background image reaches a second preset ratio. If yes, it indicates that the current background image belongs to an image with a low overall brightness, and then the process goes to step 806. If not, it indicates that the current background image does not belong to the image with lower overall brightness, and then the process goes to step 804.
Similarly, based on the brightness distribution obtained in step 801, the ratio of the area of the region smaller than the second preset brightness in the current background image to the total area of the current background image may be equivalent to the ratio of the number of the pixels smaller than the second preset brightness to the total number of the pixels in the current background image, and the above determination result may be obtained by counting the brightness of the pixels.
Step 804: and judging that the background image belongs to the conventional image.
It can be understood that based on the foregoing steps 802 and 803, when the background image does not belong to an image with higher overall brightness or an image with lower overall brightness, it indicates that the brightness distribution of the current background image is more even and belongs to a regular image.
Step 805: and judging that the background image belongs to the high-brightness image.
Step 806: and judging that the background image belongs to a low-brightness image.
For example, fig. 9 shows a luminance distribution diagram corresponding to a normal image, a high luminance image, and a low luminance image, respectively. The horizontal axis of the brightness distribution situation graph represents the brightness value and increases progressively along the arrow direction of the horizontal axis; the vertical axis of the brightness distribution situation graph represents the number of pixel points at the current brightness value, and the number increases along the arrow direction of the vertical axis. It can be seen that fig. 9a shows a luminance distribution of a high luminance image, and the distribution of most of the pixel points is concentrated in the region representing high luminance at the right side of the distribution graph. Fig. 9b shows a luminance distribution of a low luminance image, and the distribution of most pixel points is concentrated in the region representing low luminance on the left side of the distribution diagram. Fig. 9c shows a luminance distribution of a conventional image, where pixel points are relatively evenly distributed in regions corresponding to different luminance values.
On the basis of classifying the background images, the mobile phone 100 needs to perform dimming operation for reducing the brightness of the background images, and simultaneously improve the color saturation and contrast of the background images with reduced brightness. Different image processing methods will be given for different types of background images according to the classification results obtained in the foregoing steps 804 to 806. In some embodiments of the present application, as shown in fig. 10, a functional relationship diagram of image processing performed by a mobile phone 100 for a background image is shown.
As shown in fig. 10, the complex curves L1, L2, and L3 correspond to the targeted image processing methods of the low-luminance image, the regular image, and the high-luminance image, respectively. The composite curves L1, L2, and L3 are all located in the coordinate system shown in fig. 10, the horizontal axis of the coordinate system represents the original RGB values of each channel in each pixel in the background image before image processing, and the vertical axis of the coordinate system represents the RGB values corresponding to each channel in each pixel in the background image after image processing. It is understood that RGB is a color standard in the industry, and various colors are obtained by changing three color channels of red (R), green (G) and blue (B) and superimposing them on each other. In the context of electronic device applications, the RGB values refer to luminance, and the three channels of RGB each have 256 levels of luminance, represented numerically from 0,1, 2.
As shown in fig. 10, each of the complex curves L1, L2, and L3 is composed of a linear function and a quadratic function. When the RGB value of each channel in each pixel point before image processing is in the interval of [0,100 ], the corresponding parts of the compound curves L1, L2 and L3 are linear functions; when the RGB value of each channel in each pixel point before image processing is in the interval of [100,255], the corresponding parts of the compound curves L1, L2 and L3 are quadratic function curves. Thus, the compound curves L1, L2, and L3 may be represented in the following form:
L1:y=k1*x0≤x<100;y=A1*x 2 +B1*x+C1 100≤x≤255
L2:y=k2*x0≤x<100;y=A2*x 2 +B2*x+C2 100≤x≤255
L3:y=k3*x0≤x<100;y=A3*x 2 +B3*x+C3 100≤x≤255
where y corresponds to the RGB value corresponding to the vertical axis of the coordinate system shown in fig. 10, and x corresponds to the RGB value corresponding to the horizontal axis of the coordinate system shown in fig. 10.
It can be seen that, as shown in fig. 10, in the background image before image processing, when the RGB values of each channel in each pixel point are in the interval of [0, 100), the following relationships exist in the compound curves L1, L2, and L3:
1>k1>k2>k3
similarly, as shown in fig. 10, in the background image before image processing, when the RGB values of the channels in the respective pixel points are in the interval of [100,255], the compound curves L1, L2, and L3 have the following relationships:
A1≤A2≤A3
it can be understood that, because the overall brightness of the low-brightness image is relatively dark, in order to ensure that the background image is still easy to be viewed by human eyes after the image processing, the degree of darkening for the low-brightness image can be set relatively weak; the overall brightness of the high-brightness image is brighter, and the dimming degree of the high-brightness image can be set to be stronger adaptively; the degree of darkening for a regular image may be between a high brightness image and a low brightness image.
It can be understood that, in the prior art, the dimming operation for reducing the overall brightness of the background image is performed by performing RGB value transformation processing on RGB values of each channel in each pixel point in the background image in a manner of a straight line L4 in fig. 10, where a slope of the straight line L4 represents a dimming degree. In the embodiment of the present application, the composite curves L1, L2, and L3 are used for image processing, and it can be observed that the three composite curves all have the same variation trend: in the low-brightness and medium-brightness intervals, the rising trend of the three composite curves in the direction of the longitudinal axis is relatively slow; in the high-brightness interval, the ascending trend in the direction of the vertical axis is steeper; all three composite curves are concave compared with the straight line L4. This means that, by using the image processing method, the pattern originally in the low-brightness region and the middle-brightness region in the background image is greatly darkened; and the pattern originally in the high-brightness area in the background image is slightly darkened. Through the differentiation of above-mentioned dark degree of pressure, can promote the contrast and the color saturation of dark back image of handling to promote user's impression comfort level.
It can be seen that, as shown in fig. 10, the compound curves L1, L2, and L3 each pass through the origin of the coordinate system shown in fig. 10 and one fixed point (255, c). Where c is a positive constant less than 255. The compound curves L1, L2 and L3 pass through the origin of the coordinate system and the fixed point, and the degree of darkness of the background image can be limited in the image processing process.
It is to be understood that the RGB value conversion functions corresponding to the targeted image processing manners for the low-luminance image, the normal image, and the high-luminance image are not limited to the forms of the complex curves L1, L2, and L3 as shown in fig. 10. In other embodiments of the present application, as shown in fig. 11a, exponential function curves L1a, L2a and L3a also correspond to RGB value transfer functions of a low luminance image, a regular image and a high luminance image, respectively. As shown in FIG. 11b, bezier curves L1b, L2b, and L3b may also correspond to RGB value transfer functions for low-luminance images, regular images, and high-luminance images, respectively. As also shown in fig. 11c, the piecewise linear function polylines L1c, L2c, and L3c may also correspond to RGB value conversion functions for low-luminance images, regular images, and high-luminance images, respectively. The following describes the RGB value transformation functions corresponding to the low-luminance image, the normal image, and the high-luminance image in an abstract geometric level.
It is understood that the RGB value conversion functions corresponding to the specific image processing manners for the low-luminance image, the normal image, and the high-luminance image are not limited to the forms of the above-described curves, compound curves, and piecewise polygonal lines. The person skilled in the art can select suitable image processing rules according to the requirements of image brightness optimization. However, for the selected image processing rule, the RGB value transformation function of each pixel point in the background image corresponding to the image processing rule needs to satisfy the following condition:
l1', L2', and L3' are set to correspond to RGB value transformation functions of a low-luminance image, a normal image, and a high-luminance image, respectively. In the coordinate system shown in fig. 10, y ' represents the RGB values corresponding to the vertical axis of the coordinate system, and x ' represents the RGB values corresponding to the horizontal axis of the coordinate system, then L1', L2', and L3' need to satisfy:
1) When x 'belongs to the interval of [0,255], L1', L2 'and L3' are all monotonically increasing;
2) When x 'belongs to the interval of [0, 100), the average slope of L1' is greater than that of L2', the average slope of L2' is greater than that of L3', and the average slope of L1' is less than 1;
3) When x ' belongs to the interval of [200,255], the average slope of L1' is less than or equal to that of L2', and the average slope of L2' is less than or equal to that of L3 ';
4) L1', L2' and L3' all pass through the origin of the coordinate axis and a fixed point (255, c '), wherein c ' is a positive constant less than 255;
5) When x 'falls within the interval of [0,255], for the same x', the value of y 'corresponding to L1' is greater than the value of y 'corresponding to L2', and the value of y 'corresponding to L2' is greater than the value of y 'corresponding to L3'.
It is understood that, in the foregoing case where the condition 2) is satisfied and the condition 3) is satisfied, the average slope of the RGB value transformation function is defined for the RGB values of the original background image in the intervals of [0, 100) and [200,255], respectively. Since the RGB value transformation function is a monotone increasing function, the overall variation trend of the RGB value transformation function can be defined by defining the average slope of the above two regions. It should be understood that the above-mentioned interval values [0, 100) and [200,255] are only used to illustrate the transformation trend of the average slope of the RGB value transformation function in the low-luminance interval and the high-luminance interval corresponding to the images of different luminance types, and the interval values are not limited. The interval values can also be replaced by other values, such as [0,50 ] and [205,255], or [0, 30) and [190,255], and the like.
Based on the above limitations of the conditions, no matter how the RGB value transformation functions corresponding to L1', L2', and L3' are determined, they all have an increasing tendency of being concave downward in the middle in the coordinate system as shown in fig. 10, and the RGB transformation function corresponding to the low-luminance image is closest to the straight line y = x, and the RGB transformation function corresponding to the high-luminance image is second closest to the straight line y = x. That is, the overall degree of darkening for low-luminance images is less, the second order for regular images, and the strongest for high-luminance images. The contrast and the color saturation of the background image obtained after the RGB value conversion are enhanced, and the impression comfort level of a user can be effectively improved.
In the foregoing embodiment, a targeted image processing manner is provided for the brightness distribution difference of the background image, but classification and targeted processing are not performed based on the presentation content of the background image. For example, if a background image is set to show a photo of a person, and the image processing method is adopted, the brightness reduction dimming operation is performed while the color saturation and contrast are improved, so that the color saturation distortion of the person or the deviation of the overall color effect may occur, which may adversely affect the user experience after the mobile phone 100 is switched to the dark mode. Therefore, before the targeted image processing is performed on the background image, the targeted processing may also be performed based on the presentation content of the background image.
For example, fig. 12 shows a display change schematic of a background image when another mobile phone 100 switches from the normal mode to the dark mode according to an embodiment of the present application. It can be understood that, since the background image includes the person image, in order to ensure that the color development of the person image and the color of the clothes keep the original color of the image, the background image in the dark mode (as shown in fig. 12 b) is only slightly dimmed to the background image in the normal mode (as shown in fig. 12 a).
In some embodiments of the present application, another method of identifying and classifying background images by the cell phone 100 is shown.
Specifically, as shown in fig. 13, the method includes:
step 1300, identifying whether the background image contains at least one of an image of a human being, an image of food, or an image of an animal. If yes, it indicates that the background image contains a pattern that is not suitable for saturation or contrast enhancement, and then step 1301 is executed. If not, it indicates that the background image does not include a pattern unsuitable for saturation or contrast enhancement, and then step 1302 is executed.
It can be understood that the human image, the food image and the animal image all belong to a pattern with a certain degree of identification, and if the saturation or contrast is enhanced by referring to the image processing method provided in the foregoing embodiment while performing the shading processing, the color difference, color cast, overexposure and other situations are easily caused to occur on the pattern main body, thereby affecting the experience of the user. Therefore, the background image having the pattern that is not suitable for saturation or contrast enhancement is not suitable for processing by the image processing method in the foregoing embodiment. In addition, the user can also select whether to perform a slight dimming process on the current background image in the dark mode setting interface.
It is understood that the mobile phone 100 may determine in advance whether the background image has the above-mentioned pattern content through image recognition before performing image processing on the background image. Specifically, the mobile phone 100 may identify the content of the pattern in the background image based on a deep learning algorithm, which is not limited herein. Further, the mobile phone 100 can also recognize the overall proportion of the content of the pattern in the background image. For example, when the mobile phone 100 recognizes that the background image has an animal pattern, the mobile phone 100 may further determine the proportion of the animal pattern in the entire background image. If the animal pattern occupies most of the background image, the animal pattern as the main body of the background image is likely to be discolored and distorted after the image processing described in the above embodiment is performed on the entire background image, and therefore, the process may be shifted to step 1301 for performing special processing. If the animal image occupies a small area in the background image and does not affect the overall visual appearance, the process may also proceed to step 802 for brightness recognition and image processing as described in the foregoing embodiments.
Step 1301, performing light dimming processing on the background image, and displaying the background image after the light dimming processing. Here, the light-darkening processing may refer to a slight degree of brightness reduction processing on the entire background image. For example, the mobile phone 100 may multiply the RGB values of each channel in each pixel point in the original background image by 0.9 to obtain the background image after the light-dark process.
Steps 1302 to 1306 are the same as steps 802 to 806, and are not described herein. It is understood that, in the case that the background image does not contain a pattern which is not suitable for saturation or contrast enhancement, the background image may perform image classification and image processing steps based on the technical solutions described in the foregoing embodiments.
It can be understood that, for such background images with special patterns, in order to ensure color reproduction of the background image, it is no longer suitable for performing targeted processing according to the brightness distribution condition, but the primary colors of the background image need to be kept as much as possible while the dark mode display style can be adapted, so as to ensure the viewing experience of the user.
Fig. 14 and 15 show a display change of the background image when the mobile phone 100 is switched from the normal mode to the dark mode according to the embodiment of the present application.
It can be understood that in the scenes shown in fig. 14 and 15, the background image belongs to an abstract illustration specially designed by the designer for the mobile phone 100, and the background image does not have a specific physical representation, but is presented by using irregular color blocks in combination with a plurality of different colors, so that the background image has a visual aesthetic feeling. Because the color of such abstract picture insertions is often gorgeous, after the shading processing is performed by referring to the image processing mode provided by the embodiment, even if the local color saturation and contrast in the background image are improved to a certain extent, the problem that the appearance and experience of a user are influenced by grey cast of the hue still easily occurs. Therefore, the color in the abstract illustration can be adjusted by performing slight color change processing on the basis of the image processing mode provided by the foregoing embodiment, so as to obtain better presentation effect in the dark mode.
For example, as shown in fig. 14, when the mobile phone 100 is in the normal mode, the background image appears in a goose-yellow color in the area pointed by 1400a in fig. 14a, and when the mobile phone 100 is switched to the dark mode, the background image appears in a dark orange color in the area pointed by 1400b in fig. 14b due to the slight color change process. For another example, as shown in fig. 15, when the mobile phone 100 is in the normal mode, the area 1500a of the background image in fig. 15a is bright yellow, and when the mobile phone 100 is switched to the dark mode, the area 1500b of the background image in fig. 15b is orange due to slight color change. It can be seen that the background image is better presented in the dark mode as the color of the display area in 1400b and 1500b changes.
In some embodiments of the present application, another method of identifying and processing background images by the handset 100 is shown.
Specifically, as shown in fig. 16, the method includes:
step 1600: and judging whether the background image needs to be subjected to color change treatment or not. If so, it is indicated that the overall visual impression of the background image can be enhanced by performing the slight color change processing on the background image, and the process goes to step 1602. If not, the background image is not suitable for color change processing, or the overall visual appearance is not greatly improved after the color change processing, and the process goes to step 1601. The background image not suitable for color change processing includes a person background image, an animal background image, and the like, and the image suitable for color change processing includes an abstract illustration, a geometric figure image, and the like shown in fig. 14 and 15, which is not limited herein.
It is understood that, in some embodiments of the present application, the mobile phone 100 may identify the background image after performing the image darkening processing with reference to the foregoing embodiments, and determine whether the background image belongs to the abstract illustration image. Specifically, the mobile phone 100 may identify the pattern content in the background image based on a deep learning algorithm, which is not limited herein.
It is understood that, in other embodiments of the present application, the user may also select whether to perform the color change processing on the current background image in the dark mode setting interface by himself or herself. Under the condition that the user selects that the color change processing needs to be executed on the current background image, the mobile phone 100 does not need to perform image recognition on the background image any more, and the slight color change processing can be performed on the background image no matter what image type the background image belongs to.
Step 1601: the background image is directly displayed.
It is understood that the step of performing color change processing on the background image follows the operation of performing image processing based on the brightness distribution of the image, that is, in step 1600, the background image has undergone the image processing provided by the foregoing embodiment, and can be directly presented as the background image in the dark mode.
Step 1602: and carrying out color change treatment on the background image and displaying the background image after the color change treatment.
How to perform the color change process on the background image will be described in detail below.
In some embodiments of the present application, a method for performing color change processing on a background image by the mobile phone 100 is output. Specifically, as shown in fig. 17, the method includes:
step 1700: and acquiring color information of all pixel points in the background image, and acquiring a color acquiring result of the background image according to the color information. The color-taking result of the background image can be obtained in a color clustering mode.
It can be understood that, in the process of obtaining the color information of all the pixels in the background image, the mobile phone 100 may obtain the RGB value of each pixel in a manner of traversing the background image and convert the RGB value into the HSL color space, or may obtain the RGB value of all the pixels included in each sampling point and convert the RGB value into the HSL color space by uniformly setting a plurality of sampling points in the background image, which is not limited herein. The HSL color space is a representation of a point in the RGB color model in a cylindrical coordinate system, as shown in fig. 18, where H (Hue) represents Hue, which is a basic attribute of color, that is, a name of a color in common, such as red, yellow, etc., and takes a value of 0 ° to 360 °. S (Saturation) represents Saturation, and is the purity of the color, and higher Saturation indicates that the color is purer, and the value is 0 to 100%. L (luminance) represents luminance, and is a value of the brightness of a color, and is 0 to 100%.
It can be understood that the color statistics of the color distribution in the background image can be accomplished by the aforementioned HSL color space. Specifically, the following shows a method for converting an RGB value of a pixel point into a hue value:
Figure BDA0003094000630000151
wherein max represents the maximum value in a single color channel in the RGB value, min represents the minimum value in a single color channel in the RGB value, r represents the RGB value corresponding to the red channel, g represents the RGB value corresponding to the green channel, and b represents the RGB value corresponding to the blue channel.
It can be understood that the conversion between the RGB values and the hue values can be realized by the above algorithm, wherein colors with hue values close in value can be clustered into the same color, thereby realizing color statistics on the color distribution of the background image. The skilled person may also obtain the color statistics of the background image in other possible ways, which are not limited herein.
Step 1701: and acquiring the color system distribution condition of the background image according to the color acquisition result of the background image. In the process of performing color system clustering based on the color system obtaining result to obtain the color system distribution condition, the saturation of the extracted color is required to be judged, and if the saturation of the extracted color is lower than a preset threshold, the purity of the extracted color is low, and the extracted color needs to be classified into a gray color system.
Step 1702, determine whether the background image belongs to a single color system according to the color system distribution of the background image. If yes, it means that the background image has a dominant color system, and then go to step 1703, if no, it means that the background image has a plurality of dominant color systems, and then go to step 1704. Each dominant color system corresponds to one dominant color, and the dominant color may be a color with the highest occurrence frequency in the dominant color system.
It is understood that, in some embodiments of the present application, the color system in which the color system occupying the largest area in the background image is located may be selected for the determination of the dominant color system according to the color system distribution. For example, as shown in fig. 14, the colors corresponding to the areas 1400a and 1400b where the color change process is performed occupy most of the areas in the background image shown in fig. 14. In other embodiments of the present application, the determination of the dominant color system according to the color system distribution may be performed by selecting a color system in which a color at the center position in the background image is located. For example, as shown in fig. 15, the color corresponding to the areas 1500a and 1500b where the color change processing is performed is in the center area in the background image shown in fig. 15. The dominant color system may reflect the most noticeable color in the background image, and the method of confirming the dominant color system is not limited herein.
Step 1703, color change processing is performed on the color corresponding to the dominant color system and the color corresponding to the periphery of the dominant color system.
In step 1703, if the dominant color is a gray color, it indicates that the color purity of the entire background image is low and it is not suitable for color change processing. If the dominant color system is not a gray system, the dominant color h corresponding to the dominant color system and the color h1 around the dominant color system can be subjected to color change processing as follows.
h′=h-△h
Figure BDA0003094000630000152
Wherein:
h is the primary color before the color change treatment, h' is the primary color after the color change treatment, and Δ h is the color change amount.
h1 is the color around the primary color h before the color change treatment, L is the coverage area around the primary color h, and h1 'is the color around the primary color h' after the color change treatment.
It is understood that, during the above-mentioned color change treatment, the color change Δ h and the coverage L around the primary color h can be defined by itself. For example, it is found from human experiments that the distribution of human eyes in perception is not uniform for different color systems, and the span of the human eyes' perception range is expanded when perceiving a blue color system and a cyan color system. Therefore, in the process of setting the amount of color change Δ h, the amount of color change Δ h corresponding to the blue color system and the cyan color system can be appropriately enlarged compared to the other color systems so as to match the perception of human eyes.
Likewise, the coverage around the dominant color h is also self-adjusting. Considering that the colors presented in the background image are often gradual rather than abrupt, performing the color change processing together with the adjacent colors around the dominant color can make the pattern after the color change processing display more natural and not abrupt. It can be understood that if h1' appears as a negative number during the calculation, the color around the primary color h ' after the color change treatment can be determined by adding 360 ° to the negative value h1 '.
In step 1704, the colors corresponding to all the dominant color systems and the colors corresponding to the peripheries of all the dominant color systems are subjected to color change processing.
It is understood that when there are a plurality of dominant color systems, we can first determine a first dominant color system, and select the color system "farthest" from the dominant color system as the second dominant color system from the remaining color systems. Wherein, the second dominant color system needs to satisfy certain screening conditions: firstly, the second dominant color system cannot be a gray color system, and secondly, the area of the background image occupied by the color corresponding to the second dominant color system needs to reach a certain proportion. It is understood that the aforementioned "farthest" means that the hue value corresponding to the dominant color in the second dominant color system is the largest difference from the hue value corresponding to the dominant color in the first dominant color system.
In step 1704, the manner of performing the color changing process on the dominant color h corresponding to the first dominant color and the color h1 around the dominant color is the same as that in step 1703, which is not described herein again. The second dominant color is a dominant color h2 corresponding to the second dominant color and the color h3 around the dominant color can be subjected to color change processing as follows.
In the case of h-h2>0 ° or h-h2<180 °:
h2′=h2-△h1
Figure BDA0003094000630000161
wherein:
h2 is the second primary color before the color change treatment, h2' is the second primary color after the color change treatment, and Δ h1 is the color change amount.
h3 is the color around the second dominant color h before the color change treatment, L is the coverage area around the second dominant color h2, and h3 'is the color around the second dominant color h2' after the color change treatment.
And in the remaining cases:
h2′=h2+△h1
Figure BDA0003094000630000162
wherein:
h2 is the second primary color before color change treatment, h2' is the second primary color after color change treatment, and Δ h1 is the color change amount.
h3 is the color around the second dominant color h before the color change treatment, L is the coverage area around the second dominant color h2, and h3 'is the color around the second dominant color h2' after the color change treatment.
It can be understood that, in the process of the above color change treatment, the color change Δ h1 and the coverage L1 around the primary color h can be defined by themselves, and details are not described herein.
Particularly, when the second dominant color system belongs to some characteristic color phases, such as a blue color phase or a green color phase, the saturation of the second dominant color h2 corresponding to the second dominant color system needs to be identified. This is because when the second dominant color h2 corresponding to the second dominant color system has a high purity, the color shift treatment on the second dominant color tends to cause color shift, which affects the use and appearance of the user. Therefore, in the case that the saturation of the second dominant color h2 corresponding to the second dominant color system is higher than the preset threshold, the value of the color change amount Δ h1 can be appropriately reduced to avoid the color cast risk.
Fig. 19 is a block diagram of a software structure of the electronic device 100 in some embodiments of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system applied to the electronic device may be divided into four layers, which are an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 19, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 19, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system may be a display system of the electronic device capable of managing and modifying a display style of an application to be displayed by the electronic device. The view system may obtain a display function corresponding to the dark mode according to a display style parameter included in display parameters stored in a dotted line of the electronic device.
The phone manager is used to provide communication functions to the electronic device. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
In an embodiment of the present invention, the resource manager may also be configured to store an Overlay configuration file.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to notify download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes, by way of example, the workflow of related software and hardware when the electronic device is the mobile phone 100, in combination with a deep color mode switching scenario: when the touch sensor receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer; the kernel layer processes the touch operation into an original input event (including touch coordinates, timestamp of the touch operation and other information); the original input time is stored in the kernel layer; and the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the example that the touch operation is a click operation, and the control corresponding to the click operation is a control for calling a deep color mode in the mobile phone 100, the mobile phone 100 calls an interface of an application frame layer, starts a deep color mode switching program (i.e., a deep color mode starting application), and then displays a display material corresponding to the deep color mode by calling a display driver.
Through the description of the foregoing embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. A display mode switching method is applied to electronic equipment and is characterized by comprising the following steps:
the method comprises the steps that the electronic equipment receives a switching instruction for switching a display mode of the electronic equipment to a deep color mode;
the electronic equipment performs image processing on a first background image in a display interface of the electronic equipment to obtain a second background image which is adapted to the dark color mode, wherein the image processing comprises the step of reducing the brightness value of pixels, of which the brightness values belong to different brightness intervals, in the first background image by adopting different reduction coefficients;
and the electronic equipment displays the second background image on a display interface.
2. The method of claim 1, wherein the electronic device performs the image processing on the first background image in the absence of the alternate display image in the dark mode for the first background image.
3. The method of claim 1, wherein the image processing comprises: reducing the brightness of the first background image;
wherein the brightness reduction amplitude of the electronic equipment to a first area in the first background image is higher than the brightness reduction amplitude to a second area in the first background image;
the brightness in the first area in the background image is less than the brightness in the second area in the background image.
4. The method of claim 1, wherein the image processing comprises: reducing the brightness of the first background image;
under the condition that the brightness value of a first pixel point in the first background image is higher than the brightness value of a second pixel point, the brightness value of a third pixel point corresponding to the first pixel point in the second background image is higher than the brightness value of a fourth pixel point corresponding to the second pixel point.
5. The method of claim 1, wherein the image processing comprises:
the electronic equipment identifies the first background image according to the brightness distribution condition of the first background image so as to identify the type of the first background image, wherein the type of the first background image is a high-brightness image, a low-brightness image or a conventional image;
the electronic equipment reduces the brightness of the first background image according to the type of the first background image; different types correspond to different reduction modes;
the occupation ratio of an area with the brightness higher than a first preset brightness in the high-brightness image is higher than a first preset threshold;
the proportion of the area in the low-brightness image smaller than the second preset brightness is larger than a second preset threshold;
the normal image is an image that does not belong to the high-luminance image and the low-luminance image.
6. The method of claim 5, wherein the electronic device reduces the brightness of the low-brightness image to a lesser degree than the electronic device reduces the brightness of the regular image.
7. The method of claim 5 or 6, wherein the electronic device reduces the brightness of the high-brightness image to a greater extent than the electronic device reduces the brightness of the regular image.
8. The method according to any one of claims 5 to 7, wherein for a pixel having a luminance value belonging to a first predetermined interval, a ratio of the luminance value of the high luminance image after the image processing to an original luminance value is smaller than a ratio of the luminance value of the conventional image after the image processing to the original luminance value;
the ratio of the brightness value after the image processing to the original brightness value in the normal image is smaller than the ratio of the brightness value after the image processing to the original brightness value in the low-brightness image.
9. The method of claim 8, wherein for a pixel having a luminance value in a second predetermined range, a ratio of the luminance value of the high luminance image after the image processing to an original luminance value is greater than or equal to a ratio of the luminance value of the normal image after the image processing to the original luminance value;
the ratio of the brightness value of the conventional image after the image processing to the original brightness value is more than or equal to the ratio of the brightness value of the low-brightness image after the image processing to the original brightness value;
the brightness value of the pixel points in the second preset interval is larger than that of the pixel points in the first preset interval.
10. The method of claim 1, wherein after the electronic device receives the handover instruction, the method further comprises:
the electronic equipment identifies the first background image to identify whether the first background image contains a characteristic pattern, wherein the characteristic pattern is a pattern which is not suitable for color transformation;
if the first background image does not contain the characteristic pattern, executing the image processing operation;
if the first background image contains the characteristic pattern, the electronic equipment performs reduction processing on the brightness value of the pixel of the first background image by adopting the same reduction coefficient.
11. The method of claim 1, wherein the image processing comprises:
the electronic equipment performs color change processing on a third area in the first background image;
the third area is the area occupied by the pixel points corresponding to the dominant color system in the background image and the peripheral area thereof.
12. An electronic device, comprising
A memory for storing program instructions;
a processor executing the program instructions to cause the electronic device to carry out the method of any one of claims 1 to 11.
13. A computer-readable storage medium, having stored thereon program instructions, which, when executed by a processor, cause a computer to carry out the method of any one of claims 1 to 11.
CN202110604993.3A 2021-05-31 2021-05-31 Display mode switching method and device, electronic equipment and medium Pending CN115484345A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110604993.3A CN115484345A (en) 2021-05-31 2021-05-31 Display mode switching method and device, electronic equipment and medium
PCT/CN2022/085604 WO2022252810A1 (en) 2021-05-31 2022-04-07 Display mode switching method and apparatus, and electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110604993.3A CN115484345A (en) 2021-05-31 2021-05-31 Display mode switching method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115484345A true CN115484345A (en) 2022-12-16

Family

ID=84322746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110604993.3A Pending CN115484345A (en) 2021-05-31 2021-05-31 Display mode switching method and device, electronic equipment and medium

Country Status (2)

Country Link
CN (1) CN115484345A (en)
WO (1) WO2022252810A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117376718B (en) * 2023-12-08 2024-03-26 深圳市尊正数字视频有限公司 Real-time color adjustment method and system based on camera output signals

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038037A (en) * 2017-05-22 2017-08-11 北京小米移动软件有限公司 Display mode switching method and device
CN107390976A (en) * 2017-07-26 2017-11-24 上海展扬通信技术有限公司 Icon display processing method and electronic equipment
CN110609722A (en) * 2019-08-09 2019-12-24 华为技术有限公司 Dark mode display interface processing method, electronic equipment and storage medium
CN110908765A (en) * 2019-11-29 2020-03-24 五八有限公司 Interface display method and device, terminal equipment and storage medium
CN112116670A (en) * 2020-09-04 2020-12-22 北京小米移动软件有限公司 Information processing method and device, electronic device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094759B (en) * 2014-04-29 2019-01-22 广州市动景计算机科技有限公司 A kind of browse mode switching handling method and device
CN105511717B (en) * 2015-11-30 2019-07-02 北京京东尚科信息技术有限公司 Page display method and page display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038037A (en) * 2017-05-22 2017-08-11 北京小米移动软件有限公司 Display mode switching method and device
CN107390976A (en) * 2017-07-26 2017-11-24 上海展扬通信技术有限公司 Icon display processing method and electronic equipment
CN110609722A (en) * 2019-08-09 2019-12-24 华为技术有限公司 Dark mode display interface processing method, electronic equipment and storage medium
CN110908765A (en) * 2019-11-29 2020-03-24 五八有限公司 Interface display method and device, terminal equipment and storage medium
CN112116670A (en) * 2020-09-04 2020-12-22 北京小米移动软件有限公司 Information processing method and device, electronic device and storage medium

Also Published As

Publication number Publication date
WO2022252810A1 (en) 2022-12-08

Similar Documents

Publication Publication Date Title
US12014663B2 (en) Dark mode display interface processing method, electronic device, and storage medium
CN109639982B (en) Image noise reduction method and device, storage medium and terminal
EP3996046A1 (en) Image-text fusion method and apparatus, and electronic device
CN110113536B (en) Screen light supplementing method and device, storage medium and intelligent terminal
CN113963659A (en) Adjusting method of display equipment and display equipment
CN111508039A (en) Word processing method of ink screen and communication terminal
CN113935898A (en) Image processing method, system, electronic device and computer readable storage medium
US20220139296A1 (en) Image information processing method, electronic device and storage medium
CN113377479A (en) Switching method and device of application visual theme, storage medium and terminal
CN112184595B (en) Mobile terminal and image display method thereof
CN112114929A (en) Display apparatus and image display method thereof
CN114463191B (en) Image processing method and electronic equipment
CN110286975B (en) Display method of foreground elements and electronic equipment
WO2022252810A1 (en) Display mode switching method and apparatus, and electronic device and medium
CN114138215B (en) Display method and related equipment
CN111968605A (en) Exposure adjusting method and device
CN113805830B (en) Distribution display method and related equipment
CN113781959B (en) Interface processing method and device
CN113891008B (en) Exposure intensity adjusting method and related equipment
CN114863432A (en) Terminal device, contrast adjusting method, device and medium
CN112581903B (en) Pixel compensation method and electronic equipment
CN114692800A (en) Two-dimensional code generation method and related equipment
WO2022179431A1 (en) Display mode switching method and apparatus, and electronic device and medium
CN117119316B (en) Image processing method, electronic device, and readable storage medium
CN116672707B (en) Method and electronic device for generating game prediction frame

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