WO2018072470A1 - 一种图像显示方法及终端 - Google Patents
一种图像显示方法及终端 Download PDFInfo
- Publication number
- WO2018072470A1 WO2018072470A1 PCT/CN2017/091016 CN2017091016W WO2018072470A1 WO 2018072470 A1 WO2018072470 A1 WO 2018072470A1 CN 2017091016 W CN2017091016 W CN 2017091016W WO 2018072470 A1 WO2018072470 A1 WO 2018072470A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- parameter
- image
- terminal
- rendering
- preset
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
Definitions
- the present application relates to the field of terminal technologies, and in particular, to an image display method and a terminal.
- the user interface is a simulation interface of two-dimensional attributes, it can only be displayed to users through two-dimensional methods. Content, and the difficulty of the two-dimensional way is how to demonstrate the realism of the interface in two dimensions to enhance the human-computer interaction experience.
- the wallpaper in the interface develops the dynamic wallpaper direction from the initial static display screen, and the dynamic mode is not only according to preset rules or random motion, but combined with a gravity sensor or a gyroscope.
- the wallpaper follows. mobile.
- the embodiment of the present application provides an image display method and a terminal to solve the problem that the human-computer interaction experience is poor due to the degree of discrimination of the interface content and the realism of the interface in the prior art.
- the first aspect of the present application provides an image display method, which is performed by a terminal, and the image finally displayed in the method is related to the state of the terminal.
- the terminal first acquires some state parameters, and the states The parameters are used to describe the state of the terminal.
- the terminal also acquires the image to be displayed, and then the terminal determines the rendering parameters according to the corresponding relationship between the preset state parameter and the rendering parameter and the state parameter acquired by the terminal, and then performs the rendering parameter.
- the rendering process of the image to be displayed obtains the rendered image, and finally the rendered image is displayed by the terminal or a display device connected to the terminal.
- the state parameter describing the state of the terminal is added to the rendering, so that the finally displayed image is no longer displayed only by a preset means, but according to different state parameters of the terminal.
- the state parameter of the terminal may be different due to the state of the terminal. Therefore, the display mode can associate the presented image with the state of the terminal, so that the final displayed image can be simulated to a certain extent.
- the actual state of the terminal during use, in addition, the state parameters of the terminal may be different due to different environmental factors, so that the final displayed image is different under different environmental factors, further improving the discrimination of the image content, thereby enhancing the person Machine interaction experience.
- the state parameters include at least one of an angle parameter of a screen orientation of the terminal, a geographic location parameter of the terminal, an ambient light parameter of the environment in which the terminal is located, a time parameter, and a weather parameter of the environment in which the terminal is located.
- status parameters each of which is used to describe the status of the terminal, such as the screen orientation of the terminal, the geographical location of the terminal, and the ambient light where the terminal is located. These parameters are specific on the terminal.
- Device detection such as screen orientation It can be judged by the data of the gyroscope or the gravity sensor.
- the geographical location can be determined by the global positioning system or the wireless positioning system. These parameters can reflect the current state of the terminal in real time, so that the final rendered image is authentic. The simulation has been enhanced.
- the correspondence between the state parameter and the rendering parameter may be obtained in at least two manners, one of which is that the corresponding relationship is directly stored in the terminal, and the other is that the corresponding relationship is obtained by the terminal through a local network or the Internet. That is, the corresponding relationship is stored on the local network or the Internet, and the terminal may acquire the corresponding relationship when the correspondence is needed.
- the ambient light parameter includes at least one of an intensity of ambient light and a color temperature of ambient light, by which the rendered image can enable the rendered image to reflect some of the characteristics of the ambient light.
- the state parameter includes an ambient light parameter and an angle parameter
- the virtual aura includes an analog terminal and an analog light source for simulating the terminal, and The relative position of the analog light source and the analog terminal is preset, and the analog terminal displays the image to be displayed.
- the light source for simulating the image to be displayed in the virtual light environment is first determined according to the ambient light parameter. Simulating the light parameters of the light source, and then determining the screen orientation of the analog terminal according to the angle parameter, that is, the angle of the analog terminal screen and the analog light source to the analog terminal, where the rendering parameters include the angle and the light parameter.
- Changing the establishment of the simulated light environment enables the terminal to perform illumination simulation according to the parameters of the current actual light environment, and the image to be displayed is rendered according to the illumination simulation, so that the rendered image matches the optical parameters of the real environment, and the real The simulation of the state is further enhanced.
- the ambient light parameter includes an intensity of the ambient light and a color temperature of the ambient light
- the light parameters of the simulated light source include a light source intensity and a light source color, wherein the ambient light intensity and the light source intensity in the ambient light parameter Corresponding relationship, the color temperature of the ambient light in the ambient light parameter has a corresponding relationship with the color of the light source.
- determining a specific process of the optical parameter of the simulated light source for simulating the light source of the image to be displayed in the virtual light environment may be Yes, the intensity of the light source of the analog light source and the color of the light source are determined by the intensity and color temperature of the ambient light and the correspondence between the ambient light parameters and the light parameters of the simulated light source. It can make the simulation light source more accurate for the optical parameter simulation of the real environment, and the simulation of the real state is further enhanced.
- the status parameter may further include a weather parameter, which may include a temperature parameter or a humidity parameter, in which case a temperature threshold may be preset for the temperature parameter and a humidity threshold may be preset for the humidity parameter to determine rendering
- a weather parameter which may include a temperature parameter or a humidity parameter
- a temperature threshold may be preset for the temperature parameter
- a humidity threshold may be preset for the humidity parameter to determine rendering
- the intensity of the ambient light can be adjusted according to the weather parameter, for example, when the temperature parameter of the temperature parameter exceeds the temperature threshold, the intensity of the ambient light is increased, or when the humidity value of the humidity parameter exceeds the humidity threshold, The intensity of the ambient light is reduced, and in this way, since the combined state parameters are more, the simulation for the real environment is more accurate, and the simulation of the real state is further enhanced.
- a material parameter for describing a material of the image to be displayed may also be acquired.
- the parameter is also added in the process of rendering the rendered image according to the rendering parameter, that is, the rendering process may be, the terminal you
- the light reflection effect of the image to be displayed is determined according to the light environment, the preset illumination model, and the material parameters, and the rendered image is obtained. Since different materials have different degrees of reflection on the illumination, different renderings for different material parameters can make the simulation of the real environment more accurate, and the simulation of the real state is further enhanced.
- the material parameters may include two types, one is a texture mapping parameter, and the other is a concave channel parameter. In the actual rendering process, at least one of them may be used.
- the material may be determined according to the material parameter. is based on Determining a material of the image to be displayed by at least one of the texture mapping parameter and the bump channel parameter, and then the rendering process may be determined to determine an image to be displayed according to a light environment, a preset illumination model, and a material of the image to be displayed. The light reflects the effect and thus the rendered image. It can be seen that there are two similarities with the light parameters.
- the material parameters are divided into two types, which can make the real environment simulation more accurate.
- the state parameter further includes a weather parameter
- the weather parameter may have a correspondence relationship with the light parameter or the material parameter, that is, the change of the weather parameter may change the light parameter or the material parameter, for example, the temperature in the weather parameter.
- the parameter or humidity parameter changes, which may cause at least one of the material texture parameter and the bump channel parameter of the material parameter to change; for example, the temperature parameter or the humidity parameter in the weather parameter changes, which may cause the light parameter of the ambient light. Changes have occurred, and this association can also make real-world simulations more accurate.
- the image to be displayed includes one of a home screen image, a splash screen image, a magazine cover image, and a lock screen image.
- the process of acquiring an image to be displayed may include two aspects, one is acquiring a state parameter for describing a state of the terminal, and the other is acquiring key information for highlight display, and then according to key information. Determining the corresponding image to be displayed, that is, not all the images can be used as the image to be displayed, and only the image having the corresponding relationship with the key information can be used as the image to be displayed, and the specific process of determining the rendering may be based on the preset The corresponding relationship between the state parameter and the rendering parameter, the correspondence between the preset key information and the rendering parameter, the key information, and the state parameter determine the rendering parameter. It can be seen that the key information is usually used as information that needs to be distinguished in a large amount of information.
- the introduction of the key information and the use of the foregoing rendering method can enhance the discrimination between the information contents, and on the other hand, can prompt the key information, and On the one hand, it can make the information of each category clear at a glance and enhance the user experience.
- the priority of the key information may also be determined, that is, the information has multiple different categories in the terminal system, and the information of different categories may have different priorities, and different The content of the priority content may be different.
- the process of generating the generated parameter may be based on the preset relationship between the state parameter and the rendering parameter, the preset key information, and the priority of the key information.
- the rendering parameters, the key information, the priority of the key information, and the state parameters are determined, and the rendering parameters are determined. It is enough to make the information of each category clear at a glance and enhance the user experience.
- the material parameter of the material of the image to be displayed may be obtained by first obtaining the material image, and then determining the material parameter according to the material image, that is, the determination of the material parameter is based on the material image, for example, according to the metal material image.
- the material parameters of the metal material will be determined, and the material of the sheepskin roll material will determine the material parameters of the material of the sheepskin roll, which can enhance the achievability of the present application.
- the manner of obtaining the material image may be performed in various manners, for example, determining the material image according to the user's selection of the terminal, such as selecting an image from the album; and, for example, may be an image taken by the user.
- a material image for example, an image acquired from a network can be used as a material image. It can be seen that the material image is obtained from many sources, so the corresponding material parameters will become a lot, making the simulation of authenticity more precise.
- the material parameter is determined according to the material image.
- the material parameter in the material image may be extracted according to the material image as the material parameter; for example, according to the The material image is extracted, and the material parameter in the material image is extracted, and the material parameter of the difference between the extracted material parameters and the extracted material parameter is selected from the preset material library to obtain the difference between the extracted material parameters and the extracted material parameter.
- the material corresponding to the material parameter within the preset material threshold for example, you can also directly use the material image as the texture map. The manner in which the different material parameters are obtained can greatly enhance the achievability of the solution of the embodiment of the present application.
- the material library is obtained in two ways, one is obtained directly from the terminal, and the material library is stored in the terminal, and the other is obtained from the local network or the Internet, that is, the material library is Stored on a local network or the Internet.
- the material parameter further includes a bump channel parameter.
- the bump channel parameter is determined by the material image to facilitate subsequent determination of the render parameter.
- the correspondence between the key information and the rendering parameters also has two acquisition modes, one is obtained directly from the terminal, and the other is obtained from the local network or the Internet.
- the time parameter of the key information may also be determined, and the time parameter may be the last operation time of the key information, the latest viewing time, the publishing time, or the publishing time;
- the rendering parameters are determined in conjunction with the time parameters, that is, when the time parameters are available, the rendering parameters can be adjusted according to the time parameters.
- the material parameter further includes at least one of a texture texture brightness, a material reflection value, and a material noise density value.
- the rendering parameter may be adjusted according to the time parameter, when the time parameter of the key information is related to the current time. When the difference exceeds the preset time threshold, reducing the intensity of the light source or performing at least one of reducing the texture of the texture, reducing the reflection value of the material, and increasing the material noise value. In this way, the simulation of realism can be enhanced.
- the material noise corresponding to the material noise density value includes dust type noise, scratch type noise, or rust type noise. Different noise types make the rendering more diverse.
- the key information is key messages, key contact information, key mail information, key image information, critical applications, unread messages, favorite contact information, contact information with high frequency of calls, unread messages At least one of information, mail information with an important logo, an image of interest, e-book information being downloaded, unread e-book information, an application being downloaded, and an application marked by a user. It can be seen that there are many types of information that can be used as key information, and can be selected according to actual conditions.
- the image to be displayed is a corner of the application, an icon of the application, a contact entry image in the contact interface, a mail entry image in the mail interface, an image in the image library. That is, the rendered image can be an image of the above category.
- the second aspect of the embodiments of the present application further provides a terminal, where the terminal includes at least one module for performing the image display method provided in the first aspect or any one of the first aspects.
- a third aspect of the embodiments of the present application provides a terminal, including a processor, a memory, and a display screen, where the memory is used to store an instruction, and the processor is configured to execute the instruction to perform the first aspect or the first aspect of the present application.
- An image display method provided in any of the embodiments.
- a fourth aspect of the embodiments of the present application provides a storage medium, where the program code is stored, and when the program code is executed by a base station, performing scheduling of information provided by the first aspect or any implementation manner of the first aspect method.
- the storage medium includes, but is not limited to, a flash memory (English: flash memory), a hard disk (English: hard disk drive, Abbreviation: HDD) or solid state drive (English: solid state drive, SSD for short).
- Figure 1 is a schematic diagram of a live wallpaper interface
- FIG. 2 is another schematic diagram of a live wallpaper interface
- FIG. 3 is a diagram showing an embodiment of an image display method according to an embodiment of the present application.
- FIG. 4 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- FIG. 5 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of a method for distinguishing different types of content in an image display method according to an embodiment of the present application
- FIG. 7 is a schematic diagram of a method for distinguishing content of the same type and different levels in the image display method according to the embodiment of the present application.
- FIG. 8 is a schematic diagram of a content grouping manner of different levels of the same type in the image display method according to the embodiment of the present application.
- FIG. 9 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- FIG. 10 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- FIG. 11 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- FIG. 12 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- FIG. 13 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- FIG. 14 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- 15 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- 16 is a view showing another embodiment of an image display method according to an embodiment of the present application.
- 17 is a diagram of an embodiment of a terminal in an embodiment of the present application.
- FIG. 18 is a diagram of an embodiment of a terminal in the embodiment of the present application.
- FIG. 1 is a schematic diagram of a dynamic wallpaper interface
- FIG. 2 is a dynamic wallpaper interface.
- Figure 1 is the display content of the terminal fixed at a certain angle after setting the wallpaper, it can be seen that the object distance in the wallpaper There is only a small distance from the left side.
- Figure 2 is the display content after the terminal is rotated by a certain angle based on the position of Figure 1. It can be seen that the distance from the left side of the object in the wallpaper is greater than the distance in Figure 1.
- the object as a whole moves a distance to the right, thereby giving the user a human-computer interaction experience that the wallpaper moves as the user turns the terminal.
- the current state of the sensor acquisition terminal such as a gyroscope or a gravity sensor, such as the tilt angle of the terminal, is used, and then the moving direction and the moving distance of the wallpaper are calculated according to the current state, thereby achieving the above effect.
- the sensor acquisition terminal such as a gyroscope or a gravity sensor, such as the tilt angle of the terminal
- FIG. 3 is a diagram of an embodiment of an image display method according to an embodiment of the present application.
- the method may include:
- a terminal acquires a state parameter used to describe a state of the terminal.
- the status parameter may include at least one of an angle parameter of a screen orientation of the terminal, a geographic location parameter of the terminal, an ambient light parameter of the environment in which the terminal is located, a time parameter, and a weather parameter of the environment.
- Different state parameters affect the subsequent rendering process.
- the weather parameter may further include a temperature parameter and a humidity parameter, and may be set or not according to the use environment of the terminal.
- the terminal acquires an image to be displayed.
- the image to be displayed that needs to be rendered is determined, and the image to be displayed is finally rendered on the display device of the terminal after being rendered.
- the rendering parameter and the corresponding relationship between the rendering parameter and the state parameter may be implemented.
- the state parameter includes an ambient light parameter and an angle parameter
- the ambient light parameter and the angle parameter can determine a display position of the image to be displayed on the middle terminal interface and an analog light shadow position of the image to be displayed on the display position, and the terminal can acquire
- the relationship between the ambient light parameter and the angle parameter set and the simulated light shadow position may be pre-stored.
- the state parameter includes a weather parameter and a temperature parameter
- the final effect of the weather parameter may be that the current weather condition is presented on the interface, such as displaying the interface with a waterdrop effect on the interface on a rainy day, and the interface of the sunny interface on the material.
- the brightness is enhanced to make the material of the interface have the effect of bright and white flowers, while the snowy day shows that the interface has the effect of ice crystals.
- the weather parameters include temperature parameters, humidity parameters and PM2.5. (fine particles, that is, particles with aerodynamic equivalent diameter of 2.5 microns or less in ambient air) parameters, for example, for temperature parameters
- the final rendered effect may be as the temperature is high to low, in the interface
- the material exhibits a red to blue effect.
- the final rendered effect can be a wet effect on the material, such as liquid beads on the surface, and PM2.5 for PM2.5.
- the effect that is finally rendered too high can be the effect of the dust on the material.
- the terminal can obtain the stored weather parameters and the final display. Effect of water droplets, the interface material has a shining effect of shining white, and an interface correspondence between ice covered effect.
- the terminal there are two ways for the terminal to obtain the correspondence between the state parameter and the rendering parameter.
- One is that the correspondence between the state parameter and the rendering parameter is stored in the terminal. At this time, the terminal directly reads the correspondence between the state parameter and the rendering parameter. The relationship is OK.
- the other is that the correspondence between the state parameter and the rendering parameter is not stored in the terminal, but is located in the local network connected to the terminal or on the server. In this case, the terminal acquires the correspondence between the state parameter and the rendering parameter.
- Way can The correspondence between the state parameter and the rendering parameter is obtained through the local network or the Internet; wherein the terminal accessing the Internet may use the mobile network or access the Internet through a routing node connected to the Internet.
- the background simulation of the background is used to improve the real-world simulation and improve the realism.
- the state parameter includes an ambient light parameter and an angle parameter
- the ambient light parameter may include an ambient light intensity and an ambient light color temperature
- the process of determining the target rendering parameter at this time may include:
- an initial light environment is set according to the preset simulated light source parameters
- the preset simulated light source parameter may be a default parameter of the light environment
- the simulated light source parameter can be used to construct a standard light environment, that is, the initial light environment, the light
- the environment includes an analog light source at a preset position and an analog terminal corresponding to the analog light source, and an image to be displayed is displayed on the analog terminal.
- the terminal determines, according to the detected ambient light parameter, an optical parameter of the simulated light source for simulating the light source that illuminates the image to be displayed in the virtual light environment.
- the state parameter may include the screen orientation of the analog terminal and the light parameter of the analog light source, for example, according to the light source angle and the light source position in the ambient light parameter.
- the illumination angle of the light source and the position of the light source in the simulated initial light environment are adjusted.
- the screen orientation of the analog terminal may be first determined, that is, the angle of the terminal relative to the analog light source, and the screen orientation can be reflected in the simulation.
- the terminal performs the same position change as the terminal in the real situation. For example, please refer to FIG. 4.
- FIG. 4 the initial optical environment
- the terminal rotates an angle a in the X/Y plane, and the X
- the /Y plane may be a plane containing the light source and perpendicular to the plane of the terminal.
- the intensity of the light source and the color of the light source in the ambient light parameter are adjusted.
- a mapping relationship between the intensity of the light source and the intensity of the ambient light can be set, and between the color temperature of the ambient light and the color of the light source.
- the mapping relationship may be set in advance, or may be self-adjusting, that is, the intensity of the light source may be the ambient light intensity of the location where the terminal is located, and the color of the light source may correspond to the color temperature of the ambient light, and the ambient light intensity is finally reflected to In the simulated light environment, the light source intensity, the ambient light color temperature is finally reflected in the simulated light environment as the light source color parameter.
- the material parameters can be set and the real interface can be further simulated.
- the material parameters can include material parameters and bump channel parameters, and the material can be metal or marble. And materials such as glass, these materials can reflect the light to a certain extent, and can display the different light and shadow effects on the material when the relative position of the light source and the terminal changes.
- Figure 5 is this Another embodiment of the image display method of the application example, in which the metal material is taken as an example, when the light emitted by the light source in the real world is irradiated to the metal plane, the end user may see some due to the reflection.
- Special light and shadow effects such as bright spots or bright spots on a part of the metal plane, the size and position of these bright strips or bright spots will vary with the angle of the light source, the position of the light source, the intensity of the light source and the color of the light source. Different.
- the light and shadow effect on the metal material interface can be calculated, and the real environment can be presented on the metal material interface in real time. The reflected light produced by the ambient light illuminates the real metal material, resulting in a rendered image.
- the quality parameter includes at least one of a material mapping parameter and a bump channel parameter.
- the determining the material according to the material parameter may determine the material of the image to be displayed according to at least one of a material mapping parameter and a bump channel parameter. Then, the rendering process can be changed to determine the light reflection effect of the image to be displayed according to the light environment, the preset illumination model, and the material of the image to be displayed, thereby obtaining the rendered image.
- the appropriate selection of the concave and convex channel parameters can be performed at this time.
- the combination of the bump channel parameters and the metal material interface finally achieves the effect of simulating the real environment.
- the state parameters due to the complexity of the state parameters, some parameters in the state parameters will affect the ambient light parameters and material parameters.
- the composite adjustment of various parameters can make the simulation of the light environment more realistic, such as weather parameters.
- weather parameters When the weather is sunny, the light intensity value in the ambient light parameter can be increased, so that the material has the reflective effect of bright and white flowers.
- the weather When the weather is rainy, the light source intensity can be reduced to make the light and shadow effect more realistic.
- the material parameters and the bump channel parameters can be adjusted, so that the final rendered material has a waterdrop effect to simulate a real rainy environment.
- the influence of the temperature parameter and the geographical parameter on the ambient light parameter and the material parameter, for the temperature parameter, the temperature threshold may be set, and the temperature threshold may be a temperature range, when the temperature of the environment in which the terminal is located is higher than the temperature threshold, The source intensity value is increased, and below the temperature threshold, the source intensity value can be reduced.
- the location of the current terminal can be located according to the positioning system of the terminal, and the geographic information of the current location is obtained, for example, for the grassland, the green grass effect is rendered on the material, and if it is a rock mountain, the material is Rendered as the color of the rock.
- the weather parameter may also include one of the humidity parameter and the PM2.5.
- the final rendered effect may be that the material in the interface appears from red to blue as the temperature is high to low.
- the effect for example, for the humidity parameter, the final rendered effect can be the wet effect on the material, such as liquid beads on the surface, and for PM2.5, if PM2.5 is too high, the final rendered effect can be It is the effect of dust on the material.
- the wallpaper generated by the above rendering process has a material property, which can respond to the user's gesture shaking and simulate real-time light reflection effects.
- the wallpaper can feel the light environment around the user, according to the ambient light brightness, the color is warm and cold, and the material reflection effect is adjusted. Wallpapers come in different materials, and the reflections vary depending on the material.
- the logo of the boot interface generated by the above rendering process has a material property, which can respond to the user's gesture shaking and simulate real-time light reflection effect.
- the logo of the boot interface can feel the light environment around the user, and adjust the material reflection according to the ambient light brightness and color.
- the logo of the boot interface varies according to the material of the fuselage. There are many different materials to match, and the reflection effect varies according to the material.
- the reflection effect of the logo of the boot interface can respond to the user's gesture shaking, simulating the change of the light reflection caused by the change of the viewing angle.
- the magazine name and the title portion of the magazine cover generated by the above rendering process have metal material properties, which can respond to the user's gesture shaking and simulate real-time light reflection effects.
- the magazine name and title part of the magazine cover can feel the light environment around the user. According to the ambient light brightness, the color is warm and cold, and the material reflection effect is adjusted.
- the magazine name and title part of the magazine cover are different according to the material of the body, and there are many different materials to match, and the reflection effect varies depending on the material.
- the humidity threshold can be set. When the humidity threshold is exceeded, water mist can be added to the material.
- the effect of the texture map, affecting the ambient light parameters or the environmental parameters of the material parameters, through the appropriate settings make this The material effect under the influence of these factors is closer to the real environment, and will not be described here.
- the displayed image can be rendered to facilitate display by the display or display device of the terminal.
- the terminal may further determine a material according to the material parameter, and determine a light reflection area of the material according to the simulated light source parameter and the angle of the terminal, and then render the rendering material having the light reflection area into a reflection effect.
- the light and shadow reflection effect actually seen on the interface of the terminal is obtained by the terminal according to the acquired parameters and the light environment model in the terminal, and the light reflection effect can reflect the external environment in real time.
- the terminal displays the rendered image.
- the terminal After the completion of the entire rendering process, the terminal displays the rendered image on its own display or other connected display device.
- the background simulation of the background is used to improve the real-world simulation to improve the realism.
- the aspect is the distinction between the content of the interface.
- the application has a message or update through the icon of the application icon; for different important levels of the same category, the method is also marked.
- the content with high importance ranks in the previous sorting method to distinguish, but in order to not affect the display of the original content, the design is very small, resulting in indistinct distinction and limited impact on the human-computer interaction experience.
- FIG. 6 is a schematic diagram of different types of content in the image display method according to the embodiment of the present application
- FIG. 7 is the same type in the image display method according to the embodiment of the present application
- FIG. 8 is a schematic diagram of a content grouping manner of different levels of the same type in the image display method according to the embodiment of the present application.
- FIG. 6 for an application icon, when When there are notifications or messages, the application will add a numeric angle to the icon of the modified program to distinguish it from other applications without notifications or messages.
- it is a mailbox interface.
- the content of the mailbox's contacts is divided into two levels: important contacts and ordinary contacts.
- the emails with important contacts will be marked, while the normal contacts will not, and the emails of important contacts will also be available. Topping. Thereby achieving the purpose of distinguishing different types of content or content of the same type but different important levels; as can be seen in FIG. 8, the contacts of the same importance degree are divided into a single group, thereby being convenient for the next time. Contacts within this group are accessed.
- the busy embodiment further provides an image display method for distinguishing the interface content of the two-dimensional display interface, and the following description is performed by distinguishing between a message, a contact, an email, an e-book, a photo library, and an application interface.
- FIG. 9 is a diagram of another embodiment of an image display method according to an embodiment of the present application, where the method includes:
- the terminal acquires a state parameter used to describe a state of the terminal.
- the step 901 is similar to the step 301 in the embodiment shown in FIG. 3, and the content of the status parameter is similar, and details are not described herein again.
- the process of determining the image to be displayed may be determining the key information first, and then determining the image to be displayed according to the key information.
- the combination of step 902 and step 903 is similar to the result of obtaining the image to be displayed in step 302 in the embodiment shown in FIG. 3 .
- step 902 and step 903 reference may be made to the description of step 302 in the embodiment shown in FIG. 3 . , will not repeat them here.
- the key information needs to be determined first, and the key information corresponds to the above message, contact, mail, e-book, picture library, and Information such as the application interface, for example, the corresponding message is an unread message, the corresponding contact is a favorite or frequently called contact, and the corresponding mail is an unread or importantly-identified mail, and the e-book is being downloaded or unread.
- the e-book is a picture that is of interest to the photo library, and the application interface is important information of the application being downloaded or important information that is self-labeled. And the terminal can obtain the correspondence between these key information and the rendering parameters.
- the corresponding relationship between the key information and the rendering parameter is preset, that is, the rendering parameter can be determined.
- the distinction between key information can be heard from different material corner labels or the background of different materials of key information, and the background of different materials or the background of different materials of key information has the implementation shown in Figure 3.
- the background such as the wallpaper, the logo of the boot interface, and the magazine cover, are simulated.
- the material of the background of the corner or relationship information is simulated by the light environment and ambient light parameters and other state parameters. Referring to the related description of the step 304 in the embodiment shown in FIG. 3, the authenticity simulation process is similar to the description of the step 304, and details are not described herein again.
- the key information also has different priorities.
- the priority of the key information may also be determined, that is, the information has multiple different categories in the terminal system, and different types of information may have different The priority of the content of different priority levels may be different.
- the process of generating the generated parameter may be based on the preset relationship between the state parameter and the rendering parameter, the preset key information, and The correspondence between the priority of the key information and the rendering parameters, the key information, the priority of the key information, and the state parameters determine the rendering parameters. It is enough to make the information of each category clear at a glance and enhance the user experience.
- FIG. 10 is another embodiment of the image display method according to the embodiment of the present application
- FIG. 11 is a view of the embodiment of the present application.
- the user can set the contact as a favorite contact by clicking on the favorite icon 1002.
- the operation entry of the updated material is also provided to the user as shown in FIG. 11 .
- the contact selection interface 1006 is shown in FIG. 11 .
- the important contact is set to a metal material.
- the specific application may be when the contact calls.
- the avatar presents the material, or it can be a text message, an email, etc. sent by the contact, and the material is presented in a short message or mailing list.
- a human-computer interaction interface 1008 for taking a photo or selecting a photo as shown in FIG. 11 may be provided, so that the user can be determined according to the user's selection of the terminal.
- the material image of course, the image taken by the user may be used as the material map, and the image acquired from the network may also be used as the image. The material image image is described. For example, if the user needs to set the kraft cover material, he will take a photo of the cover of the kraft cover book and then import it into the terminal as a texture map.
- the material parameter for obtaining the material of the image to be displayed may be first obtaining a material image, and then determining a material parameter according to the material image, and the source of the material image may be in multiple ways.
- the photo conversion into a material includes the following three types:
- the first type directly uses the photo as the material image and extracts the material parameters, and uses the material parameters as the material parameters for rendering;
- a large amount of material is stored in the material library.
- the material parameters of the photo are extracted, and the material parameters and materials of the photo are taken.
- the material parameters in the library are compared, and the material parameters of the closest material are selected as the material parameters for rendering.
- the material library can be directly stored in the terminal. If the terminal has insufficient storage and processing capabilities, the material library can be set to A cloud server that accesses a part of the material in the material library by accessing the cloud server and compares it with the photo.
- comparing the photos taken by the user with the materials in the material library may be performed by first analyzing the color and material of the photos taken by the user, and then extracting the image texture features by using the local binary mode, using the color space (Hue, Saturation). , Value, HSV) color histogram, outer point / inner point color histogram to extract the image color features of the image, the material library stores the image texture features and image color features, and the image texture features and image color features of the image Compare the image texture features and image color features of the material in the material library to select the closest material.
- the color space Hue, Saturation
- the material parameter may also include a bump channel parameter, and the determination of the bump channel parameter is also determined according to the material image.
- FIG. 12 is a diagram showing another embodiment of an image display method according to an embodiment of the present application.
- the upper corner 1201 can use different materials according to the importance and urgency of the message, so that the importance of the corner mark can be further distinguished. For example, for high importance and high urgency messages, a gold texture material is selected; sexual and high-urgency news, select the material of silver texture; for low importance and high urgency news, choose the material of copper texture. Thereby achieving further differentiation of the corner markers of different importance messages.
- FIG. 13 is another embodiment of the image display method according to the embodiment of the present application.
- the key information is the importance of the contact and the social relationship of the contact.
- the importance of the contact is distinguished.
- a contact with high importance is selected as a material of gold texture
- a contact in importance is a silver texture material
- a contact with low importance is a copper texture material.
- the social relationship of the contact for example, the lover chooses the material of the pearl texture, the boss selects the material of the gold foil texture, and the teacher selects the material of the candle texture.
- FIG. 14 is another embodiment of the image display method according to the embodiment of the present application.
- the mail 1401 with higher importance is distinguished from other mail by the metal texture material.
- the contact person or the mail given to the material can adjust the reflection effect in response to the user's gesture shaking, ambient light environment, and ambient light brightness.
- different material effects can be used to distinguish different item types, such as contact types in the contact scene, and are customer-type.
- the contact gives the metal type material, the pearl type material is given to the lover, and the white paper type material is given to the ordinary contact, which can be obtained by replacing the texture map, and can be applied to the contact list interface, or can be used in On the avatar icon on the caller interface.
- a picture of a record effect is usually displayed. As the music is rotated, different materials of the picture can be given according to the type of music, such as rock style is metal material, classical music is wood grain material. .
- the correspondence between the item type and the material map can be pre-stored in the storage module.
- the key information should be distinguished.
- the preset time threshold can be adopted, and each time The key information sets a time parameter, which may be the latest operation time, release time or publication time of the key information, and then adjusts the target rendering parameter through the time parameter, such as when the time parameter and the current time of passing a certain key information If the difference is greater than the preset time threshold, that is, if the key information is not operated within the time threshold, the material corresponding to the key information may be processed. For example, the intensity parameter of the analog light source is first reduced.
- the displayed content may appear darker, or it may further reduce the texture texture brightness, reduce the material reflection value and increase the material noise density value. Lowering the texture texture and material reflection paper can make the key information
- the material is darkened; in addition, you can add preset different types of noise to the material to form a dust , rust, scratches, etc. For example, if a contact with a high level of importance is not connected beyond the preset time threshold, add a dust effect texture map to the material to achieve the effect of dusting, and the material texture noise representing dust can be over time. The growth has gradually increased, reaching an invisible effect.
- FIG. 15 is another embodiment of an image display method according to an embodiment of the present application
- FIG. 16 is another embodiment of an image display method according to an embodiment of the present application.
- FIG. 15 is a picture interface 1502. The picture 1504 in the picture is set as an important picture, and if it is not viewed beyond the preset time threshold, it becomes the dust and darkening effect of the picture 1606 in FIG.
- the display image can be rendered to facilitate display by the display device. This step is similar to step 304 in the embodiment shown in FIG. 3, and details are not described herein again.
- the terminal displays the rendered image.
- the terminal After the completion of the entire rendering process, the terminal displays the rendered display content on its own display device or other connected display device.
- the above key information may have the following situations.
- the first type may be an application target with different priorities of the application interface. For example, for the information program and a certain news program, the information is prioritized. Levels are generally set to be higher priority than news programs because of their high importance.
- contacts of the contact interface can be set to different priorities and different types of contact items, such as common contacts and very useful contacts set for the type, important contacts set for priority. People and non-critical contacts.
- the mail interface can set mail items of different priorities, such as important notifications being set to high priority, and product information mails being set to low priority.
- pictures of the landscape type can be set to a low priority, such as photos of certain documents or pictures such as contact avatars, and can be set to high priority.
- FIG. 17 is another embodiment of the image display method according to the embodiment of the present application. 17 may include:
- the processing module 1701 acquires a state parameter for describing a state of the terminal
- the processing module 1701 is further configured to acquire an image to be displayed
- the processing module 1701 is further configured to determine, according to the preset correspondence between the state parameter and the rendering parameter, and the state parameter, the rendering parameter corresponding to the state parameter;
- the processing module 1701 is further configured to render the image to be displayed according to the rendering parameter, thereby obtaining a rendered image
- the display module 1702 is configured to display the rendered image.
- the processing module 1701 adds a state parameter describing the state of the terminal to the rendering, so that the finally displayed image is no longer displayed only by a preset means, but according to The state parameters of the terminal are different, and the state parameters of the terminal may be different depending on the state of the terminal. Therefore, the displayed image can be associated with the state of the terminal, and the final displayed image can be made. To a certain extent, it can simulate the real state of the terminal during use. In addition, the state parameters of the terminal can be different due to different environmental factors, so that the final displayed images are different under different environmental factors, further improving the image content. The degree of differentiation enhances the human-computer interaction experience.
- the state parameter includes an angle parameter of a screen orientation of the terminal, a geographic location parameter where the terminal is located, an ambient light parameter of the environment where the terminal is located, a time parameter, and a weather parameter of the environment. At least one of them.
- the state parameter refer to the corresponding part of the embodiment of FIG. 3, and details are not described herein again.
- processing module 1701 is further configured to:
- the ambient light parameter includes at least one of an intensity of the ambient light and a color temperature of the ambient light.
- the state parameter refer to the corresponding part of the embodiment of FIG. 3, and details are not described herein again.
- the status parameter includes the ambient light parameter and the angle parameter
- the processing module 1701 is specifically configured to:
- an optical parameter of an analog light source for simulating a light source that illuminates the image to be displayed in a virtual light environment the light environment further comprising an analog terminal for simulating the terminal, the simulation
- the relative position of the light source and the analog terminal is preset, and the analog terminal displays the image to be displayed;
- the rendering parameter including a screen orientation of the analog terminal and a light parameter of the analog light source.
- the ambient light parameter includes an intensity of the ambient light and a color temperature of the ambient light
- the light parameter of the simulated light source includes a light source intensity and a light source color
- the processing module 1701 is specifically configured to:
- the color of the light source is determined according to a color temperature of the ambient light and a preset correspondence relationship between the color temperature of the ambient light and the color of the light source.
- the state parameter refer to the corresponding part of the embodiment of FIG. 3, and details are not described herein again.
- the status parameter further includes the weather parameter, where the weather parameter includes a temperature parameter or a humidity parameter, and the processing module 1701 is further configured to:
- the method further includes: acquiring a material parameter for describing a material of the image to be displayed, where the processing module 1701 is specifically configured to:
- the material parameter includes at least one of a material mapping parameter and a bump channel parameter
- the processing module 1701 is further specifically configured to:
- the status parameter further includes the weather parameter
- the processing module 1701 is specifically configured to:
- the optical parameter is adjusted according to a preset correspondence between the weather parameter and the rendering parameter and the weather parameter.
- the state parameter refer to the corresponding part of the embodiment of FIG. 3, and details are not described herein again.
- the image to be displayed includes a main screen image, a startup screen image, a magazine cover image, and a lock screen.
- a main screen image a startup screen image
- a magazine cover image a magazine cover image
- a lock screen a lock screen.
- processing module 1701 is specifically configured to:
- the processing module 1701 is further configured to: according to a preset correspondence between the state parameter and the rendering parameter, a preset correspondence between the key information and the rendering parameter, the key information, and the state parameter, Determine the rendering parameters.
- a preset correspondence between the state parameter and the rendering parameter a preset correspondence between the key information and the rendering parameter, the key information, and the state parameter.
- processing module 1701 is further configured to:
- Determining, according to the preset correspondence between the state parameter and the rendering parameter, the preset correspondence between the key information and the rendering parameter, the key information, and the state parameter, determining the rendering parameter includes:
- the level and the state parameter determine the rendering parameters.
- the state parameter refer to the corresponding part of the embodiment of FIG. 3, and details are not described herein again.
- processing module 1701 is specifically configured to:
- the material parameter is determined according to the material image.
- processing module 1701 is specifically configured to:
- the image acquired from the network is used as the material image.
- processing module 1701 is specifically configured to:
- the material image is used as a texture map.
- the material library is stored in the terminal; or
- the material library is obtained through a local network or the Internet.
- the material parameter further includes a bump channel parameter
- the processing module 1701 is specifically configured to:
- the correspondence between the key information and the rendering parameter is stored in the terminal;
- the correspondence between the key information and the rendering parameter is obtained through a local network or the Internet.
- processing module 1701 is further configured to:
- time parameter is a last operation time, a last view time, a release time, or a publication time of the key information
- the rendering parameters are adjusted according to the time parameter.
- the material parameter further includes at least one of a material texture brightness, a material reflection value, and a material noise density value
- the processing module 1701 is further configured to:
- the material noise corresponding to the material noise density value includes dust type noise, scratch type noise or rust type noise.
- the key information is key messages, key contact information, key mail information, key image information, key applications, unread messages, favorite contact information, contact information with high frequency of calls, unread mail At least one of information, mail information with an important logo, an image of interest, e-book information being downloaded, unread e-book information, an application being downloaded, and an application marked by a user.
- the image to be displayed is a corner of the application, an icon of the application, a contact item image in the contact interface, a mail item image in the mail interface, and an image in the image library.
- FIG. 18 is a diagram of an embodiment of a terminal in the embodiment of the present application.
- the terminal 18 may include at least one processor 1801 that is connected to the bus.
- the terminal according to the embodiment of the present application may have more or less components than those shown in FIG. 18, may combine two or more components, or may have Different component configurations or arrangements may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
- the processor 1801 can implement the function of the processing module 1701 in the embodiment shown in FIG. 17, the transceiver 1802 is used for transmitting and receiving data of the terminal, and the memory 1803 is used.
- the processor 1801 is configured to execute the instructions in the memory to obtain an image obtained by using an image display method, and display the image by the display 1804.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the 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 standalone product, may be stored in a computer readable storage medium.
- a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Processing Or Creating Images (AREA)
Abstract
一种图像显示方法及终端。该方法由终端执行,该方法包括获取用于描述所述终端的状态的状态参数(301);获取待显示图像(302);根据预设的所述状态参数和渲染参数的对应关系以及所述状态参数,确定所述状态参数对应的所述渲染参数(303);根据所述渲染参数,渲染所述待显示图像,从而得到渲染后的图像(304);显示所述渲染后的图像(305)。通过此显示方式能够使得呈现出的图像与终端的状态产生关联,能够使得最终显示出的图像在一定程度上能够模拟出终端使用过程中真实的状态,此外,该终端的状态参数可以因环境因素的不同而不同,从而在不同环境因素下最终显示的图像也不相同,进一步提高了图像内容的区分度,从而增强人机交互体验。
Description
本申请要求于2016年10月19日提交中国专利局、申请号为201610912567.5、发明名称为“一种图像显示方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及终端技术领域,具体涉及一种图像显示方法及终端。
随着终端设备,尤其是移动终端设备技术的迅猛发展,用户关注的重点从终端的性能转向了用户界面体验,由于用户界面是二维属性的模拟界面,只能通过二维的方式向用户展示内容,而二维方式的难点在于如何通过二维方式展示出界面的真实度以提升人机交互的体验。
如界面中壁纸由初期的静态显示画面发展出了动态壁纸方向,且该动态方式不仅仅是按照预设的规则或者随机运动,而是结合重力传感器或者陀螺仪,终端在移动方向时,壁纸跟着移动。
此方式由于对真实性模拟仅仅按照预设的规则或者随机运动,导致真实性低,人机交互体验较差。
发明内容
本申请实施例提供了一种图像显示方法及终端来解决现有技术中由于界面内容的区分度和界面的真实度导致人机交互体验差的问题。
有鉴于此,本申请第一方面提供一种图像显示方法,该方法由终端执行,该方法中最终显示出的图像与终端的状态有关,具体的,终端会首先获取到一些状态参数,这些状态参数均是用于描述终端的状态,此外,终端还会获取到待显示的图像,而后终端会按照预设的状态参数和渲染参数的对应关系以及终端获取的状态参数确定出渲染参数,而后进行待显示图像的渲染过程,得到渲染后的图像,最终由终端或者与终端连接的显示装置显示渲染后的图像。
可以看出,在此图像显示的过程中,会将描述终端的状态的状态参数加入渲染,使得最终显示的图像不再是仅仅通过预设的手段显示,而是根据终端的状态参数不同而有所不同,此外,终端的状态参数会由于终端的状态不同而不同,因此通过此显示方式能够使得呈现出的图像与终端的状态产生关联,能够使得最终显示出的图像的一定程度上能够模拟出终端使用过程中真实的状态,此外,该终端的状态参数可以因环境因素的不同而不同,从而在不同环境因素下最终显示的图像也不相同,进一步提高了图像内容的区分度,从而增强人机交互体验。
在一些实施例中,状态参数包括终端的屏幕朝向的角度参数、终端所在的地理位置参数、终端所处环境的环境光参数、时间参数和所处环境的天气参数之中的至少一种。状态参数的类别有多种,每一种都是用于描述终端所处的状态,如终端的屏幕朝向,终端所在的地理位置,终端所处的环境光等,这些参数终端上都有特定的器件检测,例如屏幕朝向
可以通过陀螺仪或者重力传感器的数据进行判断,所处地理位置可以通过全球定位***或者是无线定位***进行确定,这些参数能够实时反应出终端的当前状态,从而使得最终呈现出的图像在真实性模拟上有所增强。
在一些实施例中,状态参数和渲染参数的对应关系的获取可以有至少两种方式,其一是该对应关系直接存储在终端内,其二是该对应关系是终端通过本地网络或者互联网获得,即该对应关系是存储于本地网络或者互联网上,终端在需要该对应关系时再进行获取即可。
在一些实施例中,环境光参数包括环境光的强度和环境光的色温之中的至少一种,通过这些参数能够使得渲染出的图像能够反应出该环境光的一些特性。
在一些实施例中,状态参数包括环境光参数和角度参数,此时确定渲染参数的之前,首先搭建一个虚拟的光环境,该虚拟的光环中包括用于模拟终端的模拟终端和模拟光源,并且模拟光源和模拟终端的相对位置为预设的,该模拟终端显示待显示图像,在确定渲染参数的过程中,首先会根据环境光参数确定虚拟的光环境中用于模拟照射待显示图像的光源的模拟光源的光参数,而后再根据角度参数确定出模拟终端的屏幕朝向,即该模拟终端屏幕朝向与模拟光源到模拟终端的夹角,此处该渲染参数便包括该夹角和光参数。改模拟光环境的建立,能够使得终端根据当前实际光环境的参数进行光照模拟,并将待显示图像根据该光照模拟进行反馈完成渲染,使得渲染后的图像与真实环境的光参数相匹配,真实状态的模拟进一步增强。
在一些实施例中,环境光参数包括所述环境光的强度和所述环境光的色温,模拟光源的光参数包括光源强度和光源颜色,其中,环境光参数中的环境光的强度与光源强度具有对应关系,环境光参数中的环境光的色温与光源颜色具有对应关系,此时,确定虚拟的光环境中用于模拟照射所述待显示图像的光源的模拟光源的光参数的具体过程可以是,通过环境光的强度和色温以及环境光参数与模拟光源的光参数的对应关系确定出模拟光源的光源强度和光源颜色。能够使得模拟光源对于真实环境的光参数模拟更为准确,真实状态的模拟进一步增强。
在一些实施例中,状态参数还可包括天气参数,该天气参数可包括气温参数或者湿度参数,在此情形下,可针对气温参数预设气温阈值,对湿度参数预设湿度阈值,从而确定渲染参数的过程中,可根据天气参数对环境光的强度进行调整,例如,当气温参数的气温值超出气温阈值时,增加环境光的强度,亦或是当湿度参数的湿度值超出湿度阈值时,减小环境光的强度等,采用此方式,由于结合的状态参数更多,使得对于真实环境模拟更为准确,真实状态的模拟进一步增强。
在一些实施例中,还可获取用于描述待显示图像的材质的材质参数,此时根据渲染参数渲染得到渲染后的图像的过程中也会加入该参数,即该渲染过程可以是,终端你根据光环境、预设的光照模型以及材质参数确定待显示图像的光反射效果,得到渲染后的图像。由于不同材质对于光照的反射程度不尽相同,因此针对不同材质参数进行不同的渲染能够使得对于真实环境模拟更为准确,真实状态的模拟进一步增强。
在一些实施例中,材质参数可包括两类,一类是材质贴图参数,一类是凹凸通道参数,实际渲染过程中,可采用其中的至少一种,此时,根据材质参数的确定材质可以是,根据
所述材质贴图参数和凹凸通道参数之中的至少一种确定所述待显示图像的材质,而后渲染过程可变为根据光环境、预设的光照模型以及待显示图像的材质,确定待显示图像的光反射效果,从而得到渲染后的图像。可以看出,与光参数分为两种类似,此处将材质参数分为两种,能够使得真实环境模拟更为准确。
在一些实施例中,状态参数中还包括天气参数,该天气参数可以与光参数或者材质参数具有对应关系,即天气参数的变化会使得光参数或者材质参数进行变化,例如,天气参数中的气温参数或者湿度参数发生变化,可以引起材质参数的材质贴图参数和凹凸通道参数之中的至少一种发生变化;又例如,天气参数中的气温参数或者湿度参数发生变化,可以引起环境光的光参数发生变化,同样,这种关联方式同样能够使得真实环境模拟更为准确。
在一些实施例中,待显示图像包括主屏幕图像、开机画面图像、杂志封面图像和锁定屏幕图像之中的一种。
在一些实施例中,获取待显示图像的过程可以包括两个方面,一个方面是获取获取用于描述终端的状态的状态参数,另一个方面是获取用于重点显示的关键信息,之后根据关键信息确定对应的待显示图像,即并非所有的图像均可作为待显示图像,而只有与关键信息具有对应关系的图像才可作为待显示图像,此时确定渲染的具体过程可以是,根据预设的状态参数和渲染参数的对应关系、预设的关键信息与渲染参数的对应关系、关键信息以及状态参数,确定所述渲染参数。可以看出,关键信息通常是作为大量信息中需要被区分出来的信息,因此,引入此关键信息并采用前述渲染方式能够增强信息内容之间的区分度,一方面能够对关键信息进行提示,另一方面能够使得各类别信息一目了然,能够增强用户体验。
在一些实施例中,在确定关键信息后,还可对关键信息的优先级进行确定,即信息在终端***内具有多种不同的类别,而不同类别的信息可以具有不同的优先级,而不同优先级的内容采用的渲染方式可以不相同,此时,具体生成的渲染参数的过程可以是,根据预设的状态参数和渲染参数的对应关系、预设的关键信息以及关键信息的优先级与渲染参数的对应关系、关键信息、关键信息的优先级以及状态参数,确定渲染参数。够使得各类别信息一目了然,能够增强用户体验。
在一些实施例中,获取待显示图像的材质的材质参数可以是首先获取材质图像,而后在根据该材质图像确定出材质参数,即该材质参数的确定是基于材质图像的,例如根据金属材质图像会确定金属材质的材质参数,羊皮卷材质图像会确定出羊皮卷材质的材质参数,能够增强本申请方案的可实现性。
在一些实施例中,获取材质图像的方式可以有多种方式,例如可以是根据终端的用户的选择,确定所述材质图像,如从相册中选择图像;又例如,可以是将用户拍摄的图像作为材质图像;又例如,可以将从网络获取的图像作为材质图像。可以看出,材质图像的获取来源很多,因此对应的材质参数也会变得很多,使得对于真实性的模拟更为精准。
在一些实施例中,根据材质图像确定材质参数的方式有多种,例如可以还是根据所述材质图像,提取所述材质图像中的材质参数,作为所述材质参数;又例如,可以是根据所
述材质图像,提取所述材质图像中的材质参数从预设的材质库中选取与提取的材质参数的差值在预设的材质阈值内的材质参数,以便获取与提取的材质参数的差值在预设的材质阈值内的材质参数对应的渲染材质;再例如,还可以直接将材质图像作为材质贴图。不同的材质参数的获取方式能够使得本申请实施例方案的可实现性大大增强。
在一些实施例中,材质库的获取有两种方式,一种是直接从终端内获取,此时该材质库存储于终端内,另外一种是从本地网络或者互联网获取,即该材质库是存储于本地网络或者互联网。
在一些实施例中,材质参数还包括凹凸通道参数,此时除了确定材质图像之外,还需要通过材质图像确定凹凸通道参数,以便于后续确定渲染参数。
在一些实施例中,关键信息与渲染参数之间的对应关系同样也具有两种获取方式,一种是直接从终端内获取,另一种是从本地网络或者互联网获取。
在一些实施例中,在确定关键信息后,还会对关键信息的时间参数进行确定,该时间参数可以是关键信息的最近一次操作时间、最近一次查看时间、发布时间或出版时间;在根据关键信息和状态参数确定渲染参数时,会结合该时间参数确定渲染参数,即在具有该时间参数时,可以根据该时间参数对渲染参数进行调整。
在一些实施例中,材质参数还包括材质贴图亮度、材质反射值和材质噪点密度值之中的至少一种,此时根据时间参数调整渲染参数可以是,当关键信息的时间参数与当前时刻的差值超过预设的时间阈值时,降低所述光源强度或者是执行降低材质贴图亮度、降低材质反射值以及增加材质噪点值之中的至少一种。通过此方式能够增强对真实度的模拟。
在一些实施例中,材质噪点密度值所对应的材质噪点包括灰尘类型噪点、划痕类型噪点或锈迹类型噪点。不同的噪点类型使得渲染的效果更为多样化。
在一些实施例中,关键信息为关键消息、关键联系人信息、关键邮件信息、关键图像信息、关键应用程序、未读消息、收藏的联系人信息、通话频率高的联系人信息、未读邮件信息、具有重要标识的邮件信息、关注的图像、正在下载的电子书信息、未读的电子书信息、正在下载的应用程序、以及用户标注的应用程序中至少一种。可以看出,能够作为关键信息的信息类型又很多种,具体可以根据实际情况进行选择。
在一些实施例中,待显示图像为应用程序的角标、应用程序的图标、联系人界面中联系人条目图像、邮件界面中邮件条目图像、图像库中的图像。即渲染后的图像可以为上述类别的图像。
本申请实施例第二方面还提供一种终端,该终端包括用于执行第一方面或第一方面的任一实施例中提供的图像显示方法的至少一个模块。
本申请实施例第三方面提供了一种终端,该终端包括处理器、存储器和显示屏,该存储器用于存储指令,该处理器用于执行所述指令以执行本申请第一方面或第一方面的任一实施例中提供的图像显示方法。
本申请实施例第四方面提供了一种存储介质,该存储介质中存储了程序代码,该程序代码被基站运行时,执行第一方面或第一方面的任意一种实现方式提供的信息的调度方法。该存储介质包括但不限于快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,
简称:HDD)或固态硬盘(英文:solid state drive,简称:SSD)。
图1是动态壁纸界面的示意图;
图2是动态壁纸界面的另一示意图;
图3是本申请实施例的图像显示方法的一个实施例图;
图4是本申请实施例的图像显示方法的另一个实施例图;
图5是本申请实施例的图像显示方法的另一个实施例图;
图6是本申请实施例的图像显示方法中不同类型内容的区分方式示意图;
图7是本申请实施例的图像显示方法中同类型且不同级别的内容的区分方式示意图;
图8是本申请实施例的图像显示方法中相同类型不同级别的内容分组区分方式示意图;
图9是本申请实施例的一种图像显示方法的另一个实施例图;
图10是本申请实施例的图像显示方法的另一个实施例图;
图11是本申请实施例的图像显示方法的另一个实施例图;
图12是本申请实施例的图像显示方法的另一个实施例图;
图13是本申请实施例的图像显示方法的另一个实施例图;
图14是本申请实施例的图像显示方法的另一个实施例图;
图15是本申请实施例的图像显示方法的另一个实施例图;
图16是本申请实施例的图像显示方法的另一个实施例图;
图17是本申请实施例的终端的一个实施例图;
图18是本申请实施例的终端的一个实施例图。
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
以下分别进行详细说明。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。
下面对目前的界面设计带来的人机交互体验进行说明,针对真实性模拟,如动态壁纸技术,请参阅图1和图2,图1是动态壁纸界面示意图,图2是动态壁纸界面的另一示意图,其中图1是终端在设置壁纸后,固定在某一角度的显示内容,可以看出壁纸内物体距
离左侧边仅有一小段距离,图2是在图1的位置的基础上,将终端转动一定角度后的显示内容,可以看出壁纸内物体距离左侧边的距离要大于图1中的距离,实际是物体整体向右移动了一段距离,从而给用户壁纸随着用户转动终端而移动的人机交互体验。其具体采用了陀螺仪或者是重力传感器等传感器采集终端的当前状态,如终端的倾斜角度等,而后根据该当前状态计算壁纸的移动方向和移动距离,从而达到上述效果。从上述图1和图2所示情形可以看出,在壁纸类型的界面中由于仅依靠识别终端倾斜方向对壁纸进行移动,真实性模拟有限。
请参阅图3,图3是本申请实施例的图像显示方法的一个实施例图,该方法可包括:
301、终端获取用于描述所述终端的状态的状态参数。
其中,状态参数可以包括终端的屏幕朝向的角度参数、所述终端所在的地理位置参数、所述终端所处环境的环境光参数、时间参数和所述环境的天气参数之中的至少一种。不同的状态参数都会影响后续的渲染过程。
需要说明的是,天气参数可以进一步包括气温参数和湿度参数等,可根据终端的使用环境自行设置是否开启。
302、终端获取待显示图像。
其中,在实际渲染步骤之前,会先确定出需要渲染的待显示图像,该待显示图像经过渲染后即可最终呈现在终端的显示设备上。
303、根据预设的状态参数和渲染参数的对应关系以及状态参数,确定所述状态参数对应的渲染参数。
其中,渲染参数以及所述渲染参数与所述状态参数的对应关系可以是实现存储的。举例来说,状态参数包括环境光参数和角度参数,该环境光参数与角度参数能够确定出中终端界面上待显示图像的显示位置以及该显示位置上待显示图像的模拟光影位置,终端能够获取环境光参数和角度参数集合与模拟光影位置之间的关系可以是预先存储的。
又举例来说,状态参数包括天气参数和气温参数,天气参数最终渲染出的效果可以是界面上呈现当前天气情况,如雨天在界面上显示出界面有蒙着水珠效果,晴天界面对材质的亮度进行增强使得界面的材质具有明晃晃,白花花的效果,而雪天则在界面上显示显示出界面有蒙着冰晶的效果,当然,若是天气参数中还包括气温参数、湿度参数和PM2.5(细颗粒物,即指环境空气中空气动力学当量直径小于等于2.5微米的颗粒物)参数时,如,对于气温参数来说,最终渲染出的效果可以是随着温度由高到低,界面中的材质呈现出由红到蓝的效果,又如,对于湿度参数来说,最终渲染出的效果可以是材质上的潮湿效果,如表面有液珠,而对于PM2.5来说,若PM2.5过高最终渲染出的效果可以是材质上蒙尘的效果,此时终端能够获取存储的是天气参数与最终呈现的显示蒙着水珠的效果、界面的材质具有明晃晃,白花花的效果,以及界面有蒙着冰晶的效果的对应关系。
需要说明的是,终端获状态参数和渲染参数的对应关系的方式有两种,一种是状态参数和渲染参数的对应关系存储于终端内,此时终端直接读取状态参数和渲染参数的对应关系即可,另一种是状态参数和渲染参数的对应关系并不存储于终端内,而是位于终端连接的本地网络或者是在服务器端,此时终端获取状态参数和渲染参数的对应关系的方式可以
是通过本地网络或者互联网获取状态参数和渲染参数的对应关系;其中,终端访问互联网可以采用移动网络也可以采用访问连接至互联网的路由节点访问互联网。
下面以壁纸、开机界面的标志和杂志封面等背景类真实模拟来提高对真实世界的模拟提高真实度进行说明。
举例来说,状态参数包括环境光参数和角度参数,环境光参数可包括环境光强度和环境光色温,此时确定目标渲染参数的过程可以包括:
首先根据预设的模拟光源参数搭建初始光环境,该预设的模拟光源参数可以是光环境的默认参数,通过该模拟光源参数能够搭建出标准的光环境,即最初始的光环境,该光环境包括预设位置的模拟光源以及对应该模拟光源的模拟终端,且该模拟终端上显示有待显示图像。终端根据检测到的环境光参数确定虚拟的光环境中用于模拟照射所述待显示图像的光源的模拟光源的光参数。
接着根据终端获取的角度参数、该角度参数确定模拟终端的屏幕朝向,此时状态参数可包括该模拟终端的屏幕朝向和模拟光源的光参数,例如根据环境光参数中的光源角度和光源位置对模拟的初始光环境中的光源的照射角度和光源的位置进行调节,具体的,可以首先确定出模拟终端的屏幕朝向,即该终端相对于模拟光源的角度,该屏幕朝向能够体现出在模拟的初始光环境中终端进行了与真实情况中终端相同的位置变化。举例来说,请参阅图4,图4是本申请实施例的图像显示方法的另一个实施例图,在搭建好的三维空间结构中,终端在X/Y平面内转动了角度a,该X/Y平面可以是包含光源且与终端所在平面相互垂直的平面,在进行了角度a的转动后,模拟光源由于与模拟终端的相对位置发生了变化,模拟光源照射在模拟终端上的不同位置的光强度会发生变化。
再根据环境光参数中的光源强度和光源颜色对光环境中的光源强度和光源颜色进行调整,具体的,可以将光源强度与环境光强度之间设置映射关系,环境光色温与光源颜色之间设置映射关系,该映射关系可以是预先设置的,也可以是自行调整,即,该光源强度可以是终端所处位置的环境光强度,光源颜色可以对应环境光的色温,环境光强度最终体现到模拟光环境中为光源强度,环境光色温最终体现到模拟光环境中为光源颜色参数。最终能够实现模拟真实世界的光环境。
需要说明的是,在模拟出真实世界的光环境的基础上,还可对材质参数进行设置,对真实界面进行进一步模拟,该材质参数可以包括材质参数和凹凸通道参数,材质可以是金属、大理石和玻璃等材质,这些材质都能对光线进行一定程度的反射,能够实时呈现出光源与终端的相对位置发生变化时,材质上的不同光影效果,具体的,请参阅图5,图5是本申请实施例的图像显示方法的另一个实施例图,在该图中,以金属材质为例,在真实世界中光源发出的光线照射到金属平面时,会由于反射会使得终端使用者看到一些特殊的光影效果,例如在金属平面上会有一部分位置呈现亮条或者亮斑,这些亮条或者亮斑的大小和位置会随着光源的角度、光源位置、光源强度和光源颜色的不同而有所不同。而本实施例中,当确定一种材质作为界面时,在具备上述环境光的模拟之后,可以计算出在该金属材质界面上的光影效果,可以在该金属材质界面上实时呈现出真是环境的环境光照射到真实的金属材质后产生的光反射效果,从而得到渲染后的图像。
其中该质参数包括材质贴图参数和凹凸通道参数之中的至少一种,具体的根据材质参数确定材质可以是根据材质贴图参数和凹凸通道参数之中的至少一种确定所述待显示图像的材质,而后渲染过程可变为根据光环境、预设的光照模型以及待显示图像的材质,确定待显示图像的光反射效果,从而得到渲染后的图像。
其中,由于材质并非完全平的,并且光影效果除了光条和亮斑之外还会由于光反射呈现出一些复杂的光反射状态,此时可通过对凹凸通道参数进行合适的选择,再将该凹凸通道参数与金属材质界面结合最终达到模拟真实环境的效果。
需要说明的是,由于状态参数的复杂性,状态参数中的一些参数会影响到环境光参数和材质参数,通过多种参数复合调整,能够使得光环境的模拟更为真实,例如天气参数,当天气为晴天时,可以增加环境光参数中的光强度值,使得材质具有明晃晃、白花花的反光效果,当天气为雨天时,一方面可以减小光源强度使得光影效果更为真实,另一方面,针对雨天这一特殊现象,可以调整材质参数以及凹凸通道参数,使得最终渲染出的材质上具有蒙着水珠的效果从而模拟真实的雨天环境。又例如气温参数和地理位置参数对环境光参数和材质参数的影响,针对气温参数,可以设置温度阈值,该温度阈值可以是温度范围,当终端所处环境的温度高于该温度阈值时,可增加光源强度值,而低于该温度阈值时,则可以减小光源强度值。而对于地理位置参数来说,可以根据终端的定位***定位当前终端所在位置,并获取当前位置的地理信息,例如为草原、则将材质上渲染出绿色草地效果,若为岩石山体,则将材质上渲染为岩石的颜色。
此外,天气参数还可以包括湿度参数和PM2.5之中的一个,对于气温参数来说,最终渲染出的效果可以是随着气温由高到低,界面中的材质呈现出由红到蓝的效果,又如,对于湿度参数来说,最终渲染出的效果可以是材质上的潮湿效果,如表面有液珠,而对于PM2.5来说,若PM2.5过高最终渲染出的效果可以是材质上蒙尘的效果。
通过上述渲染过程生成的壁纸具有材质属性,能响应用户的手势晃动,模拟实时的光线反射效果。壁纸能感受用户周围光环境,根据环境光亮度、颜色冷暖、调整材质反射效果。壁纸有不同材质,反射效果根据材质不同而变化。
通过上述渲染过程生成的开机界面的标志具有材质属性,能响应用户的手势晃动,模拟实时的光线反射效果。开机界面的标志能感受用户周围光环境,根据环境光亮度、颜色冷暖、调整材质反射效果。开机界面的标志根据机身材质不同,有多种不同材质匹配,反射效果根据材质不同而变化。开机界面的标志的反射效果能够响应用户手势晃动,模拟观看角度变化带来的光影反射的变化。
通过上述渲染过程生成的杂志封面的杂志名及标题部分具有金属材质属性,能响应用户的手势晃动,模拟实时的光线反射效果。杂志封面的杂志名及标题部分能感受用户周围光环境,根据环境光亮度、颜色冷暖、调整材质反射效果。杂志封面的杂志名及标题部分根据机身材质不同,有多种不同材质匹配,反射效果根据材质不同而变化。
当然,除了上述参数之外,还有一些其他参数同样会影响环境光参数或者是材质参数,例如湿度参数,此时可设置湿度阈值,当高于该湿度阈值时,可以在材质上添加水雾效果的材质贴图,影响环境光参数或者是材质参数的环境因素很多,通过适当的设置使得在这
些因素的影响下的材质效果更为接近真实环境,此处不再赘述。
304、根据渲染参数,渲染待显示图像,从而得到渲染后的图像。
可以理解的是,在确定出了目标渲染参数后,即可对待显示图像进行渲染,以便于终端的显示屏或者显示设备进行显示。
其中,在渲染过程之前,终端还可以根据材质参数确定出材质,并根据模拟光源参数和终端的角度确定所述材质的光反射区域,接着再将具有光反射区域的渲染材质渲染成反射效果。最终在实际在终端的界面上看到的光影反射效果是终端根据获取的参数以及终端内的光环境模型计算获得的,该光影反射效果能够实时反映出外界的环境。
305、终端显示渲染后的图像。
其中,在完成整个渲染过程后,终端会在自身的显示屏或者是连接的其他显示设备上显示渲染后的图像。
上面以壁纸、开机界面的标志和杂志封面等背景类真实模拟来提高对真实世界的模拟提高真实度进行了说明;当然,除了上述对真实性的模拟之外,人机交互体验的另一个重要方面是对于界面内容的区分,对于不同分类的内容,如不同的应用程序,通过应用程序图标角标提示该应用程序有消息或者更新;对于同一分类的不同重要级别的内容,也是通过标注的方式或者重要级别高的内容排在前面的排序方式进行区分,但是这种标注一般来说为了不影响原内容的显示,设计的非常小,导致区分不明显,对人机交互体验的影响有限。
具体的,请参阅图、图6、图7和图8,图6是本申请实施例的图像显示方法中不同类型内容的区分方式示意图,图7是本申请实施例的图像显示方法中同类型且不同级别的内容的区分方式示意图,图8是本申请实施例的图像显示方法中相同类型不同级别的内容分组区分方式示意图,从图6中可以看出,针对应用程序图标来说,当某个应用程序有了通知或者消息时,会在改程序的图标上加上一个数字角标,以区分于其他没有通知或者消息的应用程序;从图7中可以看出,是一个邮箱界面,对于邮箱的联系人这一内容,分为了重要联系人和普通联系人两种级别,与重要联系人往来的邮件上会带有标记,而普通联系人则没有,并且还可将重要联系人的邮件置顶。从而实现对不同类型的内容或者是同一类型的但是不同重要级别的内容进行区分的目的;图8中可以看出,将同一重要程度的联系人分为一个单独的组,从而能够方便下次对该组内的联系人进行访问。
可以看出,在内容区分界面上,仅通过简单的标识进行区分,导致区别度也并不高,从而使得人机交互体验较差。
有鉴于此,本繁忙实施例还提供一种图像显示方法对二维显示界面的界面内容进行区分,下面以消息、联系人、邮件、电子书、图片库和应用程序界面的区分渲染进行说明。
请参阅图9,图9是本申请实施例的一种图像显示方法的另一个实施例图,其中,该方法包括:
901、终端获取用于描述所述终端的状态的状态参数。
其中,步骤901与图3所示实施例中步骤301类似,且状态参数的内容也类似,此处不再赘述。
902、获取用于重点显示的关键信息。
903、根据所述关键信息,确定关键信息对应的待显示图像。
其中,确定待显示图像的过程可以是先确定关键信息,而后再根据关键信息确定出待显示图像。其中,步骤902和步骤903相结合与图3所示实施例中步骤302获取待显示图像的结果类似,具体关于步骤902和步骤903的说明可参见图3所示实施例中关于步骤302的说明,此处不再赘述。
此情形下,区别于图3至图5所示实施例对壁纸等背景类界面的渲染,需要首先确定出关键信息,该关键信息即对应上述消息、联系人、邮件、电子书、图片库和应用程序界面等信息的信息,例如对应消息为未读消息,对应联系人为收藏的或经常通话的联系人,对应邮件为未读或有重要标识的邮件,对于电子书为正在下载的或未读的电子书,对于图片库为关注的图片,对于应用程序界面为正在下载的应用程序重要信息或者自行标注的重要信息。且终端能够获取这些关键信息与渲染参数之间的对应关系。
904、根据预设的状态参数和渲染参数的对应关系、预设的关键信息与渲染参数的对应关系、关键信息以及状态参数,确定渲染参数。
可以理解的是,在得到状态参数、状态参数和渲染参数的对应关系,预设的所述关键信息与所述渲染参数的对应关系,即即可确定出渲染参数。其中,针对关键信息的区分可以听过不同材质的角标标注或者是关键信息的不同材质的背景体现,且该不同材质的角标或者是关键信息的不同材质的背景都具有图3所示实施例中壁纸、开机界面的标志和杂志封面等背景类真实模拟性,即同样会通过光环境和环境光参数以及其他的状态参数对角标或者关系信息的背景的材质进行真实性模拟,具体可参见图3所示实施例中关于步骤304的相关说明,其真实性模拟过程与该步骤304的说明类似,此处不再赘述。
其中,该关键信息还具有不同的优先级,在确定关键信息后,还可对关键信息的优先级进行确定,即信息在终端***内具有多种不同的类别,而不同类别的信息可以具有不同的优先级,而不同优先级的内容采用的渲染方式可以不相同,此时,具体生成的渲染参数的过程可以是,根据预设的状态参数和渲染参数的对应关系、预设的关键信息以及关键信息的优先级与渲染参数的对应关系、关键信息、关键信息的优先级以及状态参数,确定渲染参数。够使得各类别信息一目了然,能够增强用户体验。
下面以联系人为例进行说明,关键信息为收藏的联系人,请参阅图10和图11,图10是本申请实施例的图像显示方法的另一个实施例图,图11是本申请实施例的图像显示方法的另一个实施例图。在联系人详情界面1000上,用户可以通过点击收藏图标1002,将该联系人设置为收藏的联系人。也可以为用户提供更新材质的操作入口如图11中材质选择入口1006,在图11所示的联系人编辑界面1004,设置重要联系人为金属材质,具体的应用可以是当该联系人来电时,其头像呈现该材质,也可以是该联系人发送的短信、邮件等,在短信、邮件列表中呈现该材质。
需要说明的是,除了采用预设的材质库内的材质,还可以提供如图11中所示的拍照或选择照片的人机交互接口1008,使得可以根据所述终端的用户的选择,确定所述材质图像,当然,也可以将所述用户拍摄的图像作为所述材质图,还可以将从网络获取的图像作为所
述材质图像像。例如用户需要设置牛皮纸封面材质,就拍摄一张牛皮纸封面记事本封面的照片,而后将其导入终端作为材质贴图。
其中,获取用于描述所述待显示图像的材质的材质参数可以是首先获取材质图像,而后根据该材质图像确定出材质参数,该材质图像的来源有多种方式,
其中,以材质图像为照片为例,将照片转化为材质的包括以下三种:
第一种,直接采用照片作为材质图像并提取材质参数,并根据该材质参数作为用作渲染的材质参数;
第二种,在材质库中存储大量的材质,当用户拍摄到一张照片或者是从照片库中选择一张照片后,先提取该照片的材质参数,并会将该照片的材质参数与材质库内的材质参数进行对比,选择最相近一个材质的材质参数作为用作渲染的材质参数。当然,由于大量材质需要的存储空间大,因此在终端自身存储和处理能力足够时,可以将该材质库直接存储在终端内,若终端自身存储和处理能力不足时,可将该材质库设置于云端服务器,终端通过访问云端服务器获取材质库中的一部分材质,再与照片进行对比。
具体的,对于用户拍摄的照片与材质库中的材质进行对比可以采用如下方式,首先分析用户拍摄的照片的颜色和材质,之后通过局部二值模式提取图像纹理特征,利用颜色空间(Hue,Saturation,Value,HSV)颜色直方图、外点/内点颜色直方图提取该图片的图像颜色特征,材质库中存储有材质的图像纹理特征和图像颜色特征,将图片的图像纹理特征和图像颜色特征与材质库中的材质的图像纹理特征和图像颜色特征进行对比,选出最接近的材质。
第三种,还可以直接将用户拍摄的照片或者选择的照片或者从网络获取的照片作为材质,即直接将该照片作为渲染用的材质,而无需对其进行材质参数提取。
需要说明的是,该材质参数同样还可包括凹凸通道参数,该凹凸通道参数的确定同样是根据材质图像进行确定。
上面以联系人为例进行了说明,下面以应用程序的角标进行说明。请参阅图12,图12是本申请实施例的图像显示方法的另一个实施例图。其中,上角标1201可以根据消息的重要性及紧急性采用不同的材质,从而角标的重要性进行进一步区分,例如对于高重要性及高紧急性的消息,选取金质感的材质;对于中等重要性及高紧急性的消息,选取银质感的材质;而对于低重要性及高紧急性的消息,选取铜质感的材质。从而实现对于不同重要性消息的角标进行进一步区分。
需要说明的是,对于联系人的联系程度区分也可采用程序角标的分级设置方式,请参阅图13,图13是本申请实施例的图像显示方法的另一个实施例图。例如关键信息为联系人的重要性以及联系人的社交关系等。具体的,针对联系人的重要性区分,例如重要性高的联系人选取为金质感的材质,重要性中的联系人为银质感的材质,重要性低的联系人为铜质感的材质。对于联系人的社交关系的区分,例如恋人选取珍珠质感的材质,老板选取金箔质感的材质,老师选取蜡烛质感的材质等。
此外,对于邮件也能采用上述级别区分方式,如能根据用户收藏、联系频次、及情景区别邮件的重要性,请参阅图14,图14是本申请实施例的图像显示方法的另一个实施例
图,其中重要性较高的邮件1401采用金属质感的材质区别于其他邮件。
需要说明的是,对于上述赋予材质的联系人或者是邮件,能响应用户手势晃动、周围光环境、环境光亮度,对反射效果做出调整。
需要说明的是,除了上述针对相同类型且不同重要级别的内容采用不同材质进行区分之外,还可用不同的材质效果来区分不同的条目类型,如联系人场景下的联系人类型,为客户型的联系人赋予金属类型的材质,为爱人赋予珍珠类型的材质,为普通联系人赋予白纸类型的材质,都可以通过替换材质贴图的方式得到,可以应用在联系人列表界面,也可以用在来电界面上的头像图标上。如音乐播放器界面中,通常都会显示一张唱片效果的图片,随着音乐的播放旋转,可以根据音乐的类型赋予这张图片不同的材质,如摇滚风格就是金属材质,古典音乐就是木纹材质。可以在存储模块中预先存储条目类型与材质贴图之间的对应关系。
上面对消息、联系人、邮件、电子书、图片库和应用程序界面的区分渲染进行了说明,下面对添加时间参数的场景进行说明。
在图10至图14所示的实施例中,若用户对关键信息经过很长的时间仍旧未操作,则应当对这类关键信息加以区分,具体的,可通过预设时间阈值,并为每个关键信息设置时间参数,该时间参数可以是关键信息的最近一次操作时间、发布时间或是出版时间,而后通过该时间参数调整目标渲染参数,如当通过某一关键信息的时间参数与当前时刻的差值超过该预设的时间阈值,即在该时间阈值内仍未操作该关键信息时,则可以对该关键信息所对应的材质进行处理,如首先会降低模拟光源的光源强度参数,使显示的内容看上去变的更暗,或者还可以进一步降低材质贴图亮度,降低材质反射值以及增加材质噪点密度值之中的至少一种,降低材质贴图亮度和材质反射纸能使得该该关键信息的材质变暗;此外,还可以在材质中加入预设的不同类型的噪点,形成蒙尘、生锈、划痕等做旧效果。举例来说,重要级别高的联系人,如果超过预设的时间阈值没有联系,则将其材质上增加一张灰尘效果的材质贴图,实现蒙尘的效果,代表灰尘的材质贴图噪点可以随着时间的增长慢慢变多,达到看不清的效果。
具体的,区别于图10至图14所示的实施例,在本实施例中,确定目标渲染参数之前,需要先确定显示内容的时间参数,而后根据该时间参数对目标渲染参数进行调整。请参阅图15和图16,图15是本申请实施例的图像显示方法的另一个实施例图,图16是本申请实施例的图像显示方法的另一个实施例图,图15中图片界面1502中的图片1504设置为重要图片,超过预设的时间阈值未查看,则变为图16中图片1606的蒙尘及变暗效果。
需要说明的是,对于产生蒙尘、变暗、生锈和划痕效果的关键信息,只需要再次查看,即可使得蒙尘、变暗、生锈和划痕效果渐渐减弱直至消失。亦或者可以在该关键信息上来回触摸也可使得蒙尘、变暗、生锈和划痕效果渐渐减弱直至消失。
905、根据所述渲染参数,渲染所述待显示图像,从而得到渲染后的图像。
可以理解的是,在确定出了渲染参数后,即可对待显示图像进行渲染,以便于显示设备进行显示,该步骤与图3所示实施例中步骤304类似,此处不再赘述。
906、终端显示渲染后的图像。
其中,在完成整个渲染过程后,终端会在自身的显示设备或者是连接的其他显示设备上显示渲染后的显示内容。其中,上述关键信息可以有如下的几种情况,第一种,可以为应用程序界面的不同优先级的应用程序角标,举例来说,对于信息程序和某一新闻程序来说,信息的优先级通常来说,由于其重要性较高,会设置为比新闻程序的优先级更高。
又举例来说,针对联系人,联系人界面的联系人可以设置为不同优先级以及不同类型的联系人条目,如针对类型设置的常用联系人和非常用联系人,针对优先级设置的重要联系人和非重要联系人。
又举例来说,针对邮件,邮件界面可以设置不同优先级的邮件条目,该邮件条目如重要通知设为高优先级,商品信息邮件设置为低优先级。
又例如,针对图片,如图片库中不同优先级的图片,对于风景类的图片可以设置为低优先级,如某些证件的照片或者联系人头像之类的图片,则可以设置为高优先级。
上面对本申请实施例的图像显示方法进行了介绍,下面对本申请实施例的终端进行介绍,请参阅图17,图17是本申请实施例的图像显示方法的另一个实施例图,其中,该终端17可包括:
处理模块1701,获取用于描述所述终端的状态的状态参数;
所述处理模块1701还用于获取待显示图像;
所述处理模块1701还用于根据预设的所述状态参数和渲染参数的对应关系以及所述状态参数,确定所述状态参数对应的所述渲染参数;
所述处理模块1701还用于根据所述渲染参数,渲染所述待显示图像,从而得到渲染后的图像;
显示模块1702,用于显示所述渲染后的图像。
可以看出,可以看出,在此图像显示的过程中,处理模块1701会将描述终端的状态的状态参数加入渲染,使得最终显示的图像不再是仅仅通过预设的手段显示,而是根据终端的状态参数不同而有所不同,此外,终端的状态参数会由于终端的状态不同而不同,因此通过此显示方式能够使得呈现出的图像与终端的状态产生关联,能够使得最终显示出的图像的一定程度上能够模拟出终端使用过程中真实的状态,此外,该终端的状态参数可以因环境因素的不同而不同,从而在不同环境因素下最终显示的图像也不相同,进一步提高了图像内容的区分度,从而增强人机交互体验。
可选的,所述状态参数包括所述终端的屏幕朝向的角度参数、所述终端所在的地理位置参数、所述终端所处环境的环境光参数、时间参数和所述环境的天气参数之中的至少一种。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,处理模块1701还用于:
获取所述状态参数和渲染参数的对应关系,所述对应关系存储于所述终端,或者所述对应关系通过本地网络或者互联网获得。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述环境光参数包括所述环境光的强度和所述环境光的色温之中的至少一种。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述状态参数包括所述环境光参数和所述角度参数,所述处理模块1701具体用于:
根据所述环境光参数,确定虚拟的光环境中用于模拟照射所述待显示图像的光源的模拟光源的光参数,所述光环境还包括用于模拟所述终端的模拟终端,所述模拟光源和所述模拟终端的相对位置为预设,所述模拟终端显示所述待显示图像;
根据所述角度参数,确定所述模拟终端的屏幕朝向,所述渲染参数包括所述模拟终端的屏幕朝向和所述模拟光源的光参数。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述环境光参数包括所述环境光的强度和所述环境光的色温,所述模拟光源的光参数包括光源强度和光源颜色,所述处理模块1701具体用于:
根据所述环境光的强度以及所述光源强度与所述环境光的强度的预设的对应关系,确定所述光源强度;
根据环境光的色温以及所述环境光的色温与所述光源颜色的预设的对应关系,确定所述光源颜色。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述状态参数还包括所述天气参数,所述天气参数包括气温参数或湿度参数,所述处理模块1701还用于:
当所述气温参数的气温值超出预设的气温阈值时,增加所述环境光的强度;和/或,
当所述湿度参数的温度值超出预设的湿度阈值时,减小所述环境光的强度。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述方法还包括获取用于描述所述待显示图像的材质的材质参数,所述处理模块1701具体用于:
根据所述光环境、预设的光照模型以及所述材质参数,确定所述待显示图像的光反射效果,从而得到所述渲染后的图像。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述材质参数包括材质贴图参数和凹凸通道参数之中的至少一种,所述处理模块1701还具体用于:
根据所述材质贴图参数和凹凸通道参数之中的至少一种确定所述待显示图像的材质;
根据所述光环境、预设的光照模型以及所述待显示图像的材质,确定所述待显示图像的光反射效果,从而得到所述渲染后的图像。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述状态参数还包括所述天气参数,所述处理模块1701具体用于:
根据预设的所述天气参数和渲染参数的对应关系以及所述天气参数,调整所述材质贴图参数和凹凸通道参数之中的至少一种;或者,
根据预设的所述天气参数和渲染参数的对应关系以及所述天气参数,调整所述光参数。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述待显示图像包括主屏幕图像、开机画面图像、杂志封面图像和锁定屏幕
图像之中的一种。
可选的,所述处理模块1701具体用于:
获取用于重点显示的关键信息;
根据所述关键信息,确定关键信息对应的待显示图像;
所述处理模块1701还具体用于根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息与所述渲染参数的对应关系、所述关键信息以及所述状态参数,确定所述渲染参数。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述处理模块1701还用于:
确定所述关键信息的优先级;
所述根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息与所述渲染参数的对应关系、所述关键信息以及所述状态参数,确定所述渲染参数包括:
根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息以及所述关键信息的优先级与所述渲染参数的对应关系、所述关键信息、所述关键信息的优先级以及所述状态参数,确定所述渲染参数。其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述处理模块1701具体用于:
获取材质图像;
根据所述材质图像,确定所述材质参数。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述述处理模块1701具体用于:
根据所述终端的用户的选择,确定所述材质图像;或者,
将所述用户拍摄的图像作为所述材质图像;或者,
将从网络获取的图像作为所述材质图像。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述处理模块1701具体用于:
根据所述材质图像,提取所述材质图像中的材质参数,作为所述材质参数;或,
根据所述材质图像,提取所述材质图像中的材质参数从预设的材质库中选取与提取的材质参数的差值在预设的材质阈值内的材质参数,以便获取与提取的材质参数的差值在预设的材质阈值内的材质参数对应的渲染材质;或,
将所述材质图像作为材质贴图。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述材质库存储于所述终端内;或,
所述材质库通过本地网络或者互联网获取得到。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述材质参数还包括凹凸通道参数,所述处理模块1701具体用于:
所述根据所述材质图像,确定所述凹凸通道参数。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述关键信息与所述渲染参数的对应关系存储于所述终端内;或,
所述关键信息与所述渲染参数的对应关系通过本地网络或者互联网获取得到。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述处理模块1701还用于:
确定所述关键信息的时间参数,所述时间参数为所述关键信息的最近一次操作时间、最近一次查看时间、发布时间或出版时间;
根据所述时间参数,调整所述渲染参数。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述材质参数还包括材质贴图亮度、材质反射值和材质噪点密度值之中的至少一种,所述处理模块1701还具体用于:
当所述关键信息的时间参数与当前时刻的差值超过预设的时间阈值时,降低所述光源强度;和/或,
执行降低材质贴图亮度、降低材质反射值以及增加材质噪点值之中的至少一种。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述材质噪点密度值所对应的材质噪点包括灰尘类型噪点、划痕类型噪点或锈迹类型噪点。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述关键信息为关键消息、关键联系人信息、关键邮件信息、关键图像信息、关键应用程序、未读消息、收藏的联系人信息、通话频率高的联系人信息、未读邮件信息、具有重要标识的邮件信息、关注的图像、正在下载的电子书信息、未读的电子书信息、正在下载的应用程序、以及用户标注的应用程序中至少一种。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
可选的,所述待显示图像为应用程序的角标、应用程序的图标、联系人界面中联系人条目图像、邮件界面中邮件条目图像、图像库中的图像。
其中,关于该状态参数的说明具体可参见图3所实施例的对应部分,此处不再赘述。
下面对本申请实施例中终端的结构进行描述,请参阅图18,图18是本申请实施例的终端的一个实施例图,其中,终端18可包括均与总线相连接的至少一个处理器1801、至少一个收发器1802、内存1803和显示屏1804,本申请实施例涉及的终端可以具有比图18所示出的更多或更少的部件,可以组合两个或更多个部件,或者可以具有不同的部件配置或设置,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。
具体的,对于图17所示的实施例来说,该处理器1801能实现图17所示实施例中的处理模块1701的功能,该收发器1802用于终端的数据的收发,该内存1803用于存储处理器1801要执行的指令和数据,处理器1801用于执行所述内存中的指令以实现采用图像显示方法获得渲染后的图像,并由显示屏1804显示该图像。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装
置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Claims (49)
- 一种图像显示方法,其特征在于,所述方法由终端执行,所述方法包括:获取用于描述所述终端的状态的状态参数;获取待显示图像;根据预设的所述状态参数和渲染参数的对应关系以及所述状态参数,确定所述状态参数对应的所述渲染参数;根据所述渲染参数,渲染所述待显示图像,从而得到渲染后的图像;显示所述渲染后的图像。
- 根据权利要求1所述的图像显示方法,其特征在于,所述状态参数包括所述终端的屏幕朝向的角度参数、所述终端所在的地理位置参数、所述终端所处环境的环境光参数、时间参数和所述环境的天气参数之中的至少一种。
- 根据权利要求2所述的图像显示方法,其特征在于,所述方法还包括:获取所述状态参数和渲染参数的对应关系,所述对应关系存储于所述终端,或者所述对应关系通过本地网络或者互联网获得。
- 根据权利要求2所述的图像显示方法,其特征在于,所述环境光参数包括所述环境光的强度和所述环境光的色温之中的至少一种。
- 根据权利要求2所述的图像显示方法,其特征在于,所述状态参数包括所述环境光参数和所述角度参数,所述终端根据预设的对应关系以及所述状态参数,确定所述状态参数对应的渲染参数包括:根据所述环境光参数,确定虚拟的光环境中用于模拟照射所述待显示图像的光源的模拟光源的光参数,所述光环境还包括用于模拟所述终端的模拟终端,所述模拟光源和所述模拟终端的相对位置为预设,所述模拟终端显示所述待显示图像;根据所述角度参数,确定所述模拟终端的屏幕朝向,所述渲染参数包括所述模拟终端的屏幕朝向和所述模拟光源的光参数。
- 根据权利要求5所述的图像显示方法,其特征在于,所述环境光参数包括所述环境光的强度和所述环境光的色温,所述模拟光源的光参数包括光源强度和光源颜色,所述根据所述环境光参数,确定虚拟的光环境中用于模拟照射所述待显示图像的光源的模拟光源的光参数包括:根据所述环境光的强度以及所述光源强度与所述环境光的强度的预设的对应关系,确定所述光源强度;根据环境光的色温以及所述环境光的色温与所述光源颜色的预设的对应关系,确定所述光源颜色。
- 根据权利要求5或6所述的图像显示方法,其特征在于,所述状态参数还包括所述天气参数,所述天气参数包括气温参数或湿度参数,所述方法还包括:当所述气温参数的气温值超出预设的气温阈值时,增加所述环境光的强度;和/或,当所述湿度参数的温度值超出预设的湿度阈值时,减小所述环境光的强度。
- 根据权利要求5至7中任一项所述的图像显示方法,其特征在于,所述方法还包括 获取用于描述所述待显示图像的材质的材质参数,所述根据所述渲染参数,渲染所述终端显示的图像,从而得到渲染后的图像包括:根据所述光环境、预设的光照模型以及所述材质参数,确定所述待显示图像的光反射效果,从而得到所述渲染后的图像。
- 根据权利要求8所述的图像显示方法,其特征在于,所述材质参数包括材质贴图参数和凹凸通道参数之中的至少一种,所述根据所述光环境、预设的光照模型以及所述材质参数,确定所述待显示图像的光反射效果,从而得到所述渲染后的图像包括:根据所述材质贴图参数和凹凸通道参数之中的至少一种确定所述待显示图像的材质;根据所述光环境、预设的光照模型以及所述待显示图像的材质,确定所述待显示图像的光反射效果,从而得到所述渲染后的图像。
- 根据权利要求9所述的图像显示方法,其特征在于,所述状态参数还包括所述天气参数,所述根据预设的所述状态参数和渲染参数的对应关系以及所述状态参数,确定所述状态参数对应的所述渲染参数包括:根据预设的所述天气参数和渲染参数的对应关系以及所述天气参数,调整所述材质贴图参数和凹凸通道参数之中的至少一种;或者,根据预设的所述天气参数和渲染参数的对应关系以及所述天气参数,调整所述光参数。
- 根据权利要求1至10中任一项所述的图像显示方法,其特征在于,所述待显示图像包括主屏幕图像、开机画面图像、杂志封面图像和锁定屏幕图像之中的一种。
- 根据权利要求1至10中任一项所述的图像显示方法,其特征在于,所述获取待显示图像包括:获取用于重点显示的关键信息;根据所述关键信息,确定关键信息对应的待显示图像;所述根据预设的所述状态参数和渲染参数的对应关系以及所述状态参数,确定所述状态参数对应的所述渲染参数包括:根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息与所述渲染参数的对应关系、所述关键信息以及所述状态参数,确定所述渲染参数。
- 根据权利要求12所述的图像显示方法,其特征在于,所述方法还包括:确定所述关键信息的优先级;所述根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息与所述渲染参数的对应关系、所述关键信息以及所述状态参数,确定所述渲染参数包括:根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息以及所述关键信息的优先级与所述渲染参数的对应关系、所述关键信息、所述关键信息的优先级以及所述状态参数,确定所述渲染参数。
- 根据权利要求11所述的图像显示方法,其特征在于,所述获取用于描述所述待显示图像的材质的材质参数包括:获取材质图像;根据所述材质图像,确定所述材质参数。
- 根据权利要求14所述的图像显示方法,其特征在于,所述获取材质图像包括:根据所述终端的用户的选择,确定所述材质图像;或者,将所述用户拍摄的图像作为所述材质图像;或者,将从网络获取的图像作为所述材质图像。
- 根据权利要求14所述的图像显示方法,其特征在于,所述根据所述材质图像,确定所述材质参数包括:根据所述材质图像,提取所述材质图像中的材质参数,作为所述材质参数;或,根据所述材质图像,提取所述材质图像中的材质参数从预设的材质库中选取与提取的材质参数的差值在预设的材质阈值内的材质参数,以便获取与提取的材质参数的差值在预设的材质阈值内的材质参数对应的渲染材质;或,将所述材质图像作为材质贴图。
- 根据权利要求16所述的图像显示方法,其特征在于,所述材质库存储于所述终端内;或,所述材质库通过本地网络或者互联网获取得到。
- 根据权利要求17所述的图像显示方法,其特征在于,所述材质参数还包括凹凸通道参数,所述根据所述材质图像,确定所述材质参数包括:所述根据所述材质图像,确定所述凹凸通道参数。
- 根据权利要求12至18所述的图像显示方法,其特征在于,所述关键信息与所述渲染参数的对应关系存储于所述终端内;或,所述关键信息与所述渲染参数的对应关系通过本地网络或者互联网获取得到。
- 根据权利要求12至19中任一项所述的图像显示方法,其特征在于,所述方法还包括:确定所述关键信息的时间参数,所述时间参数为所述关键信息的最近一次操作时间、最近一次查看时间、发布时间或出版时间;根据所述时间参数,调整所述渲染参数。
- 根据权利要求20所述的图像显示方法,其特征在于,所述材质参数还包括材质贴图亮度、材质反射值和材质噪点密度值之中的至少一种,所述根据所述时间参数,调整所述渲染参数包括:当所述关键信息的时间参数与当前时刻的差值超过预设的时间阈值时,降低所述光源强度;和/或,执行降低材质贴图亮度、降低材质反射值以及增加材质噪点值之中的至少一种。
- 根据权利要求21所述的图像显示方法,其特征在于,所述材质噪点密度值所对应的材质噪点包括灰尘类型噪点、划痕类型噪点或锈迹类型噪点。
- 根据权利要求11至22中任一项所述的图像显示方法,其特征在于,所述关键信息为关键消息、关键联系人信息、关键邮件信息、关键图像信息、关键应用程序、未读消息、收藏的联系人信息、通话频率高的联系人信息、未读邮件信息、具有重要标识的邮件信息、关注的图像、正在下载的电子书信息、未读的电子书信息、正在下载的应用程序、 以及用户标注的应用程序中至少一种。
- 根据权利要求23所述的图像显示方法,其特征在于,所述待显示图像为应用程序的角标、应用程序的图标、联系人界面中联系人条目图像、邮件界面中邮件条目图像、图像库中的图像。
- 一种终端,其特征在于,该终端包括:处理模块,获取用于描述所述终端的状态的状态参数;所述处理模块还用于获取待显示图像;所述处理模块还用于根据预设的所述状态参数和渲染参数的对应关系以及所述状态参数,确定所述状态参数对应的所述渲染参数;所述处理模块还用于根据所述渲染参数,渲染所述待显示图像,从而得到渲染后的图像;显示模块,用于显示所述渲染后的图像。
- 根据权利要求25所述的终端,其特征在于,所述状态参数包括所述终端的屏幕朝向的角度参数、所述终端所在的地理位置参数、所述终端所处环境的环境光参数、时间参数和所述环境的天气参数之中的至少一种。
- 根据权利要求25所述的终端,其特征在于,所述处理模块还用于:获取所述状态参数和渲染参数的对应关系,所述对应关系存储于所述终端,或者所述对应关系通过本地网络或者互联网获得。
- 根据权利要求25所述的终端,其特征在于,所述环境光参数包括所述环境光的强度和所述环境光的色温之中的至少一种。
- 根据权利要求26所述的终端,其特征在于,所述状态参数包括所述环境光参数和所述角度参数,所述处理模块具体用于:根据所述环境光参数,确定虚拟的光环境中用于模拟照射所述待显示图像的光源的模拟光源的光参数,所述光环境还包括用于模拟所述终端的模拟终端,所述模拟光源和所述模拟终端的相对位置为预设,所述模拟终端显示所述待显示图像;根据所述角度参数,确定所述模拟终端的屏幕朝向,所述渲染参数包括所述模拟终端的屏幕朝向和所述模拟光源的光参数。
- 根据权利要求27所述的终端,其特征在于,所述环境光参数包括所述环境光的强度和所述环境光的色温,所述模拟光源的光参数包括光源强度和光源颜色,所述处理模块具体用于:根据所述环境光的强度以及所述光源强度与所述环境光的强度的预设的对应关系,确定所述光源强度;根据环境光的色温以及所述环境光的色温与所述光源颜色的预设的对应关系,确定所述光源颜色。
- 根据权利要求29或30所述的终端,其特征在于,所述状态参数还包括所述天气参数,所述天气参数包括气温参数或湿度参数,所述处理模块还用于:当所述气温参数的气温值超出预设的气温阈值时,增加所述环境光的强度;和/或,当所述湿度参数的温度值超出预设的湿度阈值时,减小所述环境光的强度。
- 根据权利要求29至31中任一项所述的终端,其特征在于,所述方法还包括获取用于描述所述待显示图像的材质的材质参数,所述处理模块具体用于:根据所述光环境、预设的光照模型以及所述材质参数,确定所述待显示图像的光反射效果,从而得到所述渲染后的图像。
- 根据权利要求32所述的终端,其特征在于,所述材质参数包括材质贴图参数和凹凸通道参数之中的至少一种,所述处理模块还具体用于:根据所述材质贴图参数和凹凸通道参数之中的至少一种确定所述待显示图像的材质;根据所述光环境、预设的光照模型以及所述待显示图像的材质,确定所述待显示图像的光反射效果,从而得到所述渲染后的图像。
- 根据权利要求33所述的终端,其特征在于,所述状态参数还包括所述天气参数,所述处理模块具体用于:根据预设的所述天气参数和渲染参数的对应关系以及所述天气参数,调整所述材质贴图参数和凹凸通道参数之中的至少一种;或者,根据预设的所述天气参数和渲染参数的对应关系以及所述天气参数,调整所述光参数。
- 根据权利要求25至34中任一项所述的终端,其特征在于,所述待显示图像包括主屏幕图像、开机画面图像、杂志封面图像和锁定屏幕图像之中的一种。
- 根据权利要求25至34中任一项所述的图像显示方法,其特征在于,所述处理模块具体用于:获取用于重点显示的关键信息;根据所述关键信息,确定关键信息对应的待显示图像;所述处理模块还具体用于根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息与所述渲染参数的对应关系、所述关键信息以及所述状态参数,确定所述渲染参数。
- 根据权利要求36所述的终端,其特征在于,所述处理模块还用于:确定所述关键信息的优先级;所述根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息与所述渲染参数的对应关系、所述关键信息以及所述状态参数,确定所述渲染参数包括:根据预设的所述状态参数和渲染参数的对应关系、预设的所述关键信息以及所述关键信息的优先级与所述渲染参数的对应关系、所述关键信息、所述关键信息的优先级以及所述状态参数,确定所述渲染参数。
- 根据权利要求35所述的终端,其特征在于,所述处理模块具体用于:获取材质图像;根据所述材质图像,确定所述材质参数。
- 根据权利要求38所述的终端,其特征在于,所述述处理模块具体用于:根据所述终端的用户的选择,确定所述材质图像;或者,将所述用户拍摄的图像作为所述材质图像;或者,将从网络获取的图像作为所述材质图像。
- 根据权利要求39所述的终端,其特征在于,所述处理模块具体用于:根据所述材质图像,提取所述材质图像中的材质参数,作为所述材质参数;或,根据所述材质图像,提取所述材质图像中的材质参数从预设的材质库中选取与提取的材质参数的差值在预设的材质阈值内的材质参数,以便获取与提取的材质参数的差值在预设的材质阈值内的材质参数对应的渲染材质;或,将所述材质图像作为材质贴图。
- 根据权利要求40所述的终端,其特征在于,所述材质库存储于所述终端内;或,所述材质库通过本地网络或者互联网获取得到。
- 根据权利要求41所述的终端,其特征在于,所述材质参数还包括凹凸通道参数,所述处理模块具体用于:所述根据所述材质图像,确定所述凹凸通道参数。
- 根据权利要求36至42所述的终端,其特征在于,所述关键信息与所述渲染参数的对应关系存储于所述终端内;或,所述关键信息与所述渲染参数的对应关系通过本地网络或者互联网获取得到。
- 根据权利要求36至42中任一项所述的终端,其特征在于,所述处理模块还用于:确定所述关键信息的时间参数,所述时间参数为所述关键信息的最近一次操作时间、最近一次查看时间、发布时间或出版时间;根据所述时间参数,调整所述渲染参数。
- 根据权利要求44所述的终端,其特征在于,所述材质参数还包括材质贴图亮度、材质反射值和材质噪点密度值之中的至少一种,所述处理模块还具体用于:当所述关键信息的时间参数与当前时刻的差值超过预设的时间阈值时,降低所述光源强度;和/或,执行降低材质贴图亮度、降低材质反射值以及增加材质噪点值之中的至少一种。
- 根据权利要求45所述的终端,其特征在于,所述材质噪点密度值所对应的材质噪点包括灰尘类型噪点、划痕类型噪点或锈迹类型噪点。
- 根据权利要求35至46中任一项所述的终端,其特征在于,所述关键信息为关键消息、关键联系人信息、关键邮件信息、关键图像信息、关键应用程序、未读消息、收藏的联系人信息、通话频率高的联系人信息、未读邮件信息、具有重要标识的邮件信息、关注的图像、正在下载的电子书信息、未读的电子书信息、正在下载的应用程序、以及用户标注的应用程序中至少一种。
- 根据权利要求47所述的终端,其特征在于,所述待显示图像为应用程序的角标、应用程序的图标、联系人界面中联系人条目图像、邮件界面中邮件条目图像、图像库中的图像。
- 一种终端,其特征在于,所述终端包括处理器、存储器和显示屏,该存储器用于存储指令,该处理器用于执行所述指令以执行权利要求1至权利要求24中任一项所述的图像显示方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610912567.5A CN106569763B (zh) | 2016-10-19 | 2016-10-19 | 一种图像显示方法及终端 |
CN201610912567.5 | 2016-10-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018072470A1 true WO2018072470A1 (zh) | 2018-04-26 |
Family
ID=58534149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/091016 WO2018072470A1 (zh) | 2016-10-19 | 2017-06-30 | 一种图像显示方法及终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106569763B (zh) |
WO (1) | WO2018072470A1 (zh) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111340924A (zh) * | 2020-02-25 | 2020-06-26 | 网易(杭州)网络有限公司 | 图像渲染方法、装置、设备及存储介质 |
CN111488186A (zh) * | 2019-01-25 | 2020-08-04 | 阿里巴巴集团控股有限公司 | 数据处理方法、装置、电子设备及计算机存储介质 |
CN112150598A (zh) * | 2020-09-25 | 2020-12-29 | 网易(杭州)网络有限公司 | 云层的渲染方法、装置、设备及存储介质 |
CN112274934A (zh) * | 2020-11-19 | 2021-01-29 | 网易(杭州)网络有限公司 | 模型渲染方法、装置、设备及存储介质 |
CN113140028A (zh) * | 2021-04-08 | 2021-07-20 | 广州三七互娱科技有限公司 | 虚拟物体渲染方法、装置及电子设备 |
CN113515225A (zh) * | 2020-04-10 | 2021-10-19 | Oppo广东移动通信有限公司 | 显示控制方法、装置及存储介质 |
CN113747228A (zh) * | 2021-09-17 | 2021-12-03 | 四川启睿克科技有限公司 | 一种实现智能旋转电视动态屏保的方法 |
CN114363687A (zh) * | 2022-01-07 | 2022-04-15 | 深圳看到科技有限公司 | 三维场景互动视频创建方法及创建装置 |
CN115205999A (zh) * | 2021-04-14 | 2022-10-18 | 中移(上海)信息通信科技有限公司 | 一种设备巡检方法及相关设备 |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106569763B (zh) * | 2016-10-19 | 2020-03-20 | 华为机器有限公司 | 一种图像显示方法及终端 |
CN107809525B (zh) * | 2017-09-22 | 2021-04-27 | 捷开通讯(深圳)有限公司 | 移动终端及其控制方法、存储装置 |
CN107622473B (zh) * | 2017-09-22 | 2020-01-21 | Oppo广东移动通信有限公司 | 图像渲染方法、装置、终端及计算机可读存储介质 |
CN109658486B (zh) * | 2017-10-11 | 2022-12-23 | 腾讯科技(深圳)有限公司 | 图像处理方法及装置、存储介质 |
CN109800037B (zh) * | 2017-11-16 | 2022-11-11 | 阿里巴巴集团控股有限公司 | 界面显示、界面数据处理方法、客户端及服务器 |
JP6904263B2 (ja) * | 2018-01-10 | 2021-07-14 | オムロン株式会社 | 画像処理システム |
CN108200294A (zh) * | 2018-03-29 | 2018-06-22 | 努比亚技术有限公司 | 来信提醒的方法、装置及计算机可读存储介质 |
CN109062481A (zh) * | 2018-07-25 | 2018-12-21 | 北京小米智能科技有限公司 | 图像渲染方法及装置 |
CN110992457B (zh) | 2018-09-30 | 2023-11-03 | 北京京东尚科信息技术有限公司 | 图像处理方法、装置及设备 |
CN109410300A (zh) * | 2018-10-10 | 2019-03-01 | 苏州好玩友网络科技有限公司 | 一种游戏场景中的阴影处理方法及装置及终端设备 |
US11889601B2 (en) * | 2018-12-26 | 2024-01-30 | Kyocera Corporation | Spectrum control device, non-transitory computer readable medium, and data structure |
CN110264550B (zh) * | 2019-06-19 | 2023-03-21 | 深圳市瑞云科技有限公司 | 一种基于cg实时渲染的烟花汇演效果模拟展示***及方法 |
CN110728749B (zh) * | 2019-10-10 | 2023-11-07 | 青岛大学附属医院 | 虚拟三维图像显示***及方法 |
CN111464699B (zh) * | 2020-04-02 | 2022-10-04 | 北京小米移动软件有限公司 | 通话背景显示方法、装置及存储介质 |
CN113986407A (zh) * | 2020-07-27 | 2022-01-28 | 华为技术有限公司 | 封面生成方法、装置及计算机存储介质 |
CN114089876B (zh) * | 2020-08-10 | 2024-05-24 | 深圳市万普拉斯科技有限公司 | 壁纸展示方法、装置、计算机设备和存储介质 |
CN114416240A (zh) * | 2021-12-29 | 2022-04-29 | 中国电信股份有限公司 | 滤镜界面的生成方法、装置、电子设备以及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100182340A1 (en) * | 2009-01-19 | 2010-07-22 | Bachelder Edward N | Systems and methods for combining virtual and real-time physical environments |
CN103853475A (zh) * | 2012-12-03 | 2014-06-11 | 联想(北京)有限公司 | 二维界面的三维化方法和装置 |
CN104268928A (zh) * | 2014-08-29 | 2015-01-07 | 小米科技有限责任公司 | 图像处理方法及装置 |
CN104331168A (zh) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | 显示调整方法和电子设备 |
CN106569763A (zh) * | 2016-10-19 | 2017-04-19 | 华为机器有限公司 | 一种图像显示方法及终端 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102810306B (zh) * | 2012-07-26 | 2015-01-07 | 广东欧珀移动通信有限公司 | 一种显示屏壁纸亮度的自动控制方法 |
CN104238907A (zh) * | 2013-06-20 | 2014-12-24 | 华为技术有限公司 | 界面显示方法、装置和终端设备 |
CN103544263B (zh) * | 2013-10-16 | 2017-05-10 | 广东欧珀移动通信有限公司 | 一种移动终端的渲染方法及装置 |
CN103793134A (zh) * | 2013-12-30 | 2014-05-14 | 深圳天珑无线科技有限公司 | 一种触摸屏终端多界面切换的方法及触摸屏终端 |
CN103838463B (zh) * | 2014-02-28 | 2018-03-13 | 努比亚技术有限公司 | 自动切换壁纸的方法和移动终端 |
CN103927165A (zh) * | 2014-03-20 | 2014-07-16 | 小米科技有限责任公司 | 一种壁纸图片的处理方法及装置 |
US9436585B1 (en) * | 2015-11-19 | 2016-09-06 | International Business Machines Corporation | Image patching in an integrated development environment |
CN105630445A (zh) * | 2015-12-23 | 2016-06-01 | 北京金山安全软件有限公司 | 一种数据显示方法、装置及电子设备 |
CN105867768B (zh) * | 2016-03-28 | 2019-06-04 | 珠海格力电器股份有限公司 | 桌面显示方法和装置 |
-
2016
- 2016-10-19 CN CN201610912567.5A patent/CN106569763B/zh active Active
-
2017
- 2017-06-30 WO PCT/CN2017/091016 patent/WO2018072470A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100182340A1 (en) * | 2009-01-19 | 2010-07-22 | Bachelder Edward N | Systems and methods for combining virtual and real-time physical environments |
CN103853475A (zh) * | 2012-12-03 | 2014-06-11 | 联想(北京)有限公司 | 二维界面的三维化方法和装置 |
CN104268928A (zh) * | 2014-08-29 | 2015-01-07 | 小米科技有限责任公司 | 图像处理方法及装置 |
CN104331168A (zh) * | 2014-11-28 | 2015-02-04 | 广东欧珀移动通信有限公司 | 显示调整方法和电子设备 |
CN106569763A (zh) * | 2016-10-19 | 2017-04-19 | 华为机器有限公司 | 一种图像显示方法及终端 |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111488186B (zh) * | 2019-01-25 | 2023-04-28 | 阿里巴巴集团控股有限公司 | 数据处理方法、装置、电子设备及计算机存储介质 |
CN111488186A (zh) * | 2019-01-25 | 2020-08-04 | 阿里巴巴集团控股有限公司 | 数据处理方法、装置、电子设备及计算机存储介质 |
CN111340924A (zh) * | 2020-02-25 | 2020-06-26 | 网易(杭州)网络有限公司 | 图像渲染方法、装置、设备及存储介质 |
CN111340924B (zh) * | 2020-02-25 | 2024-02-09 | 网易(杭州)网络有限公司 | 图像渲染方法、装置、设备及存储介质 |
CN113515225A (zh) * | 2020-04-10 | 2021-10-19 | Oppo广东移动通信有限公司 | 显示控制方法、装置及存储介质 |
CN112150598A (zh) * | 2020-09-25 | 2020-12-29 | 网易(杭州)网络有限公司 | 云层的渲染方法、装置、设备及存储介质 |
CN112274934A (zh) * | 2020-11-19 | 2021-01-29 | 网易(杭州)网络有限公司 | 模型渲染方法、装置、设备及存储介质 |
CN113140028A (zh) * | 2021-04-08 | 2021-07-20 | 广州三七互娱科技有限公司 | 虚拟物体渲染方法、装置及电子设备 |
CN115205999A (zh) * | 2021-04-14 | 2022-10-18 | 中移(上海)信息通信科技有限公司 | 一种设备巡检方法及相关设备 |
CN113747228A (zh) * | 2021-09-17 | 2021-12-03 | 四川启睿克科技有限公司 | 一种实现智能旋转电视动态屏保的方法 |
CN113747228B (zh) * | 2021-09-17 | 2023-09-15 | 四川启睿克科技有限公司 | 一种实现智能旋转电视动态屏保的方法 |
CN114363687A (zh) * | 2022-01-07 | 2022-04-15 | 深圳看到科技有限公司 | 三维场景互动视频创建方法及创建装置 |
CN114363687B (zh) * | 2022-01-07 | 2023-11-24 | 深圳看到科技有限公司 | 三维场景互动视频创建方法及创建装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106569763A (zh) | 2017-04-19 |
CN106569763B (zh) | 2020-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018072470A1 (zh) | 一种图像显示方法及终端 | |
US12020377B2 (en) | Textured mesh building | |
CN114026831B (zh) | 3d对象摄像头定制***、方法和机器可读介质 | |
US11335067B2 (en) | Augmented reality system | |
US11763481B2 (en) | Mirror-based augmented reality experience | |
US9659381B2 (en) | Real time texture mapping for augmented reality system | |
US11783556B2 (en) | Augmented reality content generators including 3D data in a messaging system | |
CN109087369A (zh) | 虚拟对象显示方法、装置、电子装置及存储介质 | |
US12045921B2 (en) | Automated content curation for generating composite augmented reality content | |
CN106447756B (zh) | 用于生成用户定制的计算机生成动画的方法和*** | |
US20220187959A1 (en) | Timeline media content navigation system | |
KR20150079387A (ko) | 카메라 광 데이터로 가상 환경을 조명하는 방법 | |
EP4272172A1 (en) | Automated content curation for generating composite augmented reality content | |
US20230334791A1 (en) | Interactive reality computing experience using multi-layer projections to create an illusion of depth | |
US20230334790A1 (en) | Interactive reality computing experience using optical lenticular multi-perspective simulation | |
US20240185546A1 (en) | Interactive reality computing experience using multi-layer projections to create an illusion of depth | |
US20230334792A1 (en) | Interactive reality computing experience using optical lenticular multi-perspective simulation | |
WO2023215637A1 (en) | Interactive reality computing experience using optical lenticular multi-perspective simulation | |
WO2024039885A1 (en) | Interactive reality computing experience using optical lenticular multi-perspective simulation | |
WO2024039887A1 (en) | Interactive reality computing experience using optical lenticular multi-perspective simulation | |
WO2023205145A1 (en) | Interactive reality computing experience using multi-layer projections to create an illusion of depth |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17861567 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17861567 Country of ref document: EP Kind code of ref document: A1 |