CN118235108A - Image processing method, intelligent terminal and storage medium - Google Patents

Image processing method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN118235108A
CN118235108A CN202180104097.9A CN202180104097A CN118235108A CN 118235108 A CN118235108 A CN 118235108A CN 202180104097 A CN202180104097 A CN 202180104097A CN 118235108 A CN118235108 A CN 118235108A
Authority
CN
China
Prior art keywords
image
preset
template
intelligent terminal
display state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202180104097.9A
Other languages
Chinese (zh)
Inventor
周勇
王力博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings Co Ltd
Filing date
Publication date
Application filed by Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Publication of CN118235108A publication Critical patent/CN118235108A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses an image processing method, an intelligent terminal and a storage medium, wherein the method comprises the following steps: acquiring at least one first image and at least one first image template in response to the satisfaction of the image switching condition; adjusting the first image according to a preset adjustment rule to obtain a second image; and determining or generating a target image according to the second image and the first image template. By adopting the method provided by the application, the target image is determined through the image template and the image, the target image can be generated according to the image and the image template, and the target image is used as wallpaper, so that the requirement of a user for switching the wallpaper can be met, and the user experience is improved.

Description

Image processing method, intelligent terminal and storage medium Technical Field
The present application relates to the field of image processing technologies, and in particular, to an image processing method, an intelligent terminal, and a storage medium.
Background
Wallpaper functions on intelligent terminals are widely used, and wallpaper refers to background images used by display screens of intelligent terminals. In some implementations, the wallpaper types displayed by the intelligent terminal can be divided into three categories: desktop wallpaper, lock screen wallpaper, and screen-off (Always On Display, AOD) wallpaper. The screen locking wallpaper refers to a background image which can only be displayed by the intelligent terminal in a screen locking state, the desktop wallpaper refers to a background image which is displayed when the intelligent terminal displays a desktop, and the screen extinguishing wallpaper refers to a background image which is displayed when the intelligent terminal is in a screen extinguishing state.
In the conception and implementation of the present application, the applicant has found that at least the following problems exist: when the intelligent terminal displays wallpaper, if the user wants to display different wallpaper in different time periods, the user needs to manually select different images in different time periods, the selected images are set as wallpaper, and then the wallpaper is selected and set again in the next time period. The operation is comparatively loaded down with trivial details, and the efficiency of changing the wall paper is low.
The foregoing description is provided for general background information and does not necessarily constitute prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides an image processing method, an intelligent terminal, and a storage medium, which can generate or determine a target image according to an image and an image template in an image set when it is detected that an image (e.g., wallpaper) switching condition is satisfied. And then the target image can be displayed on a display screen of the intelligent terminal. On one hand, occupation of memory resources can be reduced, loading speed is improved, on the other hand, wallpaper replacement operation of a user is simplified, wallpaper switching efficiency of the user is improved, and user experience is improved.
In order to solve the above technical problems, in a first aspect, the present application provides an image processing method, which is applicable to an intelligent terminal, and includes the following steps:
s1: acquiring at least one first image and at least one first image template in response to the satisfaction of the image switching condition;
s2: adjusting the first image according to a preset adjustment rule to obtain a second image;
S3: and determining or generating a target image according to the second image and the first image template.
Optionally, the step S2 includes:
And adjusting the first image according to at least one of the image adjustment parameter, the third image and the preset special effect to obtain the second image.
Optionally, the step S2 includes:
Acquiring position information of at least one application icon;
And determining a target display area of the first image according to the position information, and adding the third image and/or the preset special effect to the target display area of the first image to obtain the second image.
Optionally, the step S3 includes:
Acquiring image parameters;
Carrying out preset processing on the first image template and the second image to obtain an initial target image;
and adjusting the initial target image according to the image parameters to obtain the target image.
Optionally, the first image and/or the first image template determining manner includes at least one of the following:
set or selected by the user;
determining according to the last selection of the user;
Determining according to the use habit of a user;
And according to big data analysis.
Optionally, the above satisfies the image switching condition, including at least one of:
The environmental information meets preset environmental conditions;
The biological characteristic information of the user meets the preset biological characteristic condition;
The state information meets the preset state condition;
receiving an operation instruction for switching images;
And receiving a start or switch or close instruction aiming at a preset application.
Optionally, the state information includes a display state, and the state information meeting a preset state condition includes detecting a switch from the first display state to the second display state, and further includes at least one of:
if the second display state is a first desktop display state or a screen-off state, the first image is at least one image;
and if the second display state is a screen locking state, the first image is at least two images.
Optionally, the desktop display state further includes a second desktop display state; and/or, if the second display state is the second desktop display state, the first image is at least one image.
Optionally, the at least two images are consecutive image frames.
Optionally, the method further comprises:
Displaying a reference image in the first display state; and/or, the reference image is determined or generated according to the fourth image and the second image template.
Optionally, at least one of the following is included:
if the first display state is a black screen state, the fourth image is empty;
And if the first display state is a screen-off state, a screen-locking state or a first desktop display state, the fourth image comprises at least one image.
Optionally, the desktop display state further includes a second desktop display state; and/or, if the first display state is the second desktop display state, the fourth image is at least one image.
Optionally, in the case that the fourth image is at least two images, the at least two images are consecutive image frames.
Optionally, the acquiring at least one first image and at least one first image template includes:
And acquiring the image corresponding to the preset application and the image template corresponding to the preset application to obtain the at least one first image and the at least one image template.
Optionally, after the step S3, the method further includes:
displaying at least one of the target image, the icon of the preset application and the starting interface of the preset application.
In a second aspect, an embodiment of the present application provides an image processing method, which may be applied to an intelligent terminal, including the following steps:
S10: acquiring at least one first image and at least one first image template in response to the satisfaction of the image switching condition;
S20: adjusting the first image template according to a preset adjustment rule to obtain a second image template;
S30: and determining or generating a target image according to the first image and the second image template.
Optionally, the step S20 includes:
And adjusting the first image template according to at least one of the template adjustment parameters, the fifth image and the preset special effects to obtain the second image template.
Optionally, the step S20 includes:
Acquiring position information of at least one application icon;
And determining a target display area of the first image template according to the position information, and adding the fifth image and/or the preset special effect to the target display area of the first image template to obtain the second image template.
Optionally, the means for acquiring at least one of the template adjustment parameter, the fifth image and the preset special effect includes at least one of the following:
Acquiring according to preset environmental conditions;
Acquiring according to preset biological characteristic conditions;
And acquiring according to a preset state condition.
Optionally, the first image and/or the first image template determining manner includes at least one of the following:
set or selected by the user;
determining according to the last selection of the user;
Determining according to the use habit of a user;
And according to big data analysis.
Optionally, the above satisfies the above image switching condition, including at least one of:
The environmental information meets preset environmental conditions;
The biological characteristic information of the user meets the preset biological characteristic condition;
The state information meets the preset state condition;
receiving an operation instruction for switching images;
And receiving a start or switch or close instruction aiming at a preset application.
Optionally, the step S30 includes:
Acquiring image parameters;
The second image template and the first image are subjected to preset processing to obtain an initial target image;
and adjusting the initial target image according to the image parameters to obtain the target image.
Optionally, the second image template is at least one image template, and at least one image template included in the second image template is continuous image frames; the performing a preset process on the second image template and the first image to obtain an initial target image includes:
And carrying out preset processing on each image template in the first image and the second image template to obtain the initial target image, wherein the target image comprises at least one image, and the sequence of the at least one image is the sequence of the image frames.
Optionally, the acquiring at least one first image and at least one first image template includes:
And acquiring the image corresponding to the preset application and the image template corresponding to the preset application to obtain the at least one first image and the at least one image template.
Optionally, after the step S30, the method further includes:
displaying at least one of the target image, the icon of the preset application and the starting interface of the preset application.
In a third aspect, the present application also provides an image processing apparatus, comprising:
The acquisition unit is used for responding to the satisfaction of the image switching condition and acquiring at least one first image and at least one first image template;
The adjusting unit is used for adjusting the first image according to a preset adjusting rule so as to obtain a second image;
And the processing unit is used for determining or generating a target image according to the second image and the first image template.
In this aspect, further optional embodiments of the image processing apparatus may refer to the relevant content of the first aspect, which is not described in detail herein.
In a fourth aspect, the present application also provides an image processing apparatus, comprising:
The acquisition unit is used for responding to the satisfaction of the image switching condition and acquiring at least one first image and at least one first image template;
The adjusting unit is used for adjusting the first image according to a preset adjusting rule so as to obtain a second image;
And the processing unit is used for determining or generating a target image according to the second image and the first image template.
In this aspect, further optional embodiments of the image processing apparatus may refer to the related matters of the second aspect, which are not described in detail herein.
The application also provides an intelligent terminal, which comprises: the image processing device comprises a memory and a processor, wherein the memory stores an image processing program, and the image processing program realizes the steps of any one of the methods when being executed by the processor.
The application also provides a computer readable storage medium storing a computer program which when executed by a processor performs the steps of any of the methods described above.
As described above, the image processing method of the present application includes the steps of: acquiring a first image set and a first image template in response to the image switching condition being met; and adjusting the first image according to a preset adjustment rule to obtain a second image, and determining or generating a target image according to the second image and the first image template. Through the technical scheme, the function of generating or determining the target image, namely the wallpaper can be realized through the modes of the image and the image template, and the problems of complicated wallpaper switching operation and low wallpaper changing efficiency are solved. And moreover, the wallpaper is generated or determined by the image set and the image template, so that the loading speed is increased, the requirement of a user for switching the wallpaper is met, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic hardware structure diagram of an intelligent terminal for implementing various embodiments of the present application;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application;
Fig. 3 is a flow chart of an image processing method according to the first embodiment;
FIG. 4a is a schematic diagram of a user interface illustrating adjustment of a first image according to a first embodiment;
FIG. 4b is a user interface schematic diagram of a search preset application according to the first embodiment;
FIG. 4c is a schematic diagram of a user interface for closing a preset application according to the first embodiment;
FIG. 4d is a user interface schematic diagram of a switch preset application according to the first embodiment;
FIG. 4e is a timing diagram illustrating the generation or determination of a target image according to the first embodiment;
FIG. 4f is a schematic diagram of a user interface for generating or determining a target image, shown according to the first embodiment;
Fig. 5 is a flowchart of an image processing method according to a second embodiment;
FIG. 6a is a schematic diagram of an image template after different template adjustment parameters are acquired for different reference periods according to the second embodiment;
FIG. 6b is a schematic diagram of a user interface illustrating adjustment of a first image template according to a second embodiment;
FIG. 6c is a user interface schematic diagram showing a second image template as a succession of image frames, according to a second embodiment;
fig. 7 is a flowchart of an image processing method according to a third embodiment;
FIG. 8a is a schematic diagram of a user interface for switching the intelligent terminal from a black screen state to a first desktop display state according to a third embodiment;
FIG. 8b is another user interface diagram illustrating a switch of the intelligent terminal from a black screen state to a first desktop display state according to a third embodiment;
FIG. 8c is a schematic diagram of a user interface for switching the intelligent terminal from the off-screen state to the lock-screen state according to the third embodiment;
FIG. 8d is a schematic diagram of a user interface for switching the intelligent terminal from the off-screen state to the first desktop display state according to the third embodiment;
FIG. 8e is a schematic diagram of a user interface for switching the intelligent terminal from a screen locked state to a first desktop display state according to a third embodiment;
FIG. 8f is a user interface diagram illustrating a smart terminal switching from a first desktop display state to a second desktop display state according to a third embodiment;
fig. 9 is a schematic structural view of an image processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of an intelligent terminal according to the present application;
fig. 11 is a schematic diagram of a hardware structure of an intelligent terminal according to the present application;
Fig. 12 is a schematic diagram of a hardware structure of an intelligent terminal according to the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments. Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element defined by the phrase "comprising one … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element, and furthermore, elements having the same name in different embodiments of the application may have the same meaning or may have different meanings, the particular meaning of which is to be determined by its interpretation in this particular embodiment or by further combining the context of this particular embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" depending on the context. Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups. The terms "or", "and/or", "including at least one of", and the like, as used herein, may be construed as inclusive, or mean any one or any combination. For example, "including at least one of: A. b, C "means" any one of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C ", again as examples," A, B or C "or" A, B and/or C "means" any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be noted that, in this document, step numbers such as S10 and S20 are adopted, and the purpose of the present application is to more clearly and briefly describe the corresponding content, and not to constitute a substantial limitation on the sequence, and those skilled in the art may execute S20 first and then execute S10 when implementing the present application, which is within the scope of protection of the present application.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the following description, suffixes such as "module", "part" or "unit" for representing elements are used only for facilitating the description of the present application, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The intelligent terminal may be implemented in various forms. For example, the smart terminals described in the present application may include smart terminals such as mobile phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal DIGITAL ASSISTANT, PDA), portable media players (Portable MEDIA PLAYER, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
In the following description, an intelligent terminal will be described as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for a mobile purpose.
Referring to fig. 1, which is a schematic hardware structure of an intelligent terminal for implementing various embodiments of the present application, the intelligent terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. It will be appreciated by those skilled in the art that the configuration of the intelligent terminal shown in fig. 1 is not limiting of the intelligent terminal, and the intelligent terminal may include more or less components than those illustrated, or may combine certain components, or may have a different arrangement of components.
The following describes the components of the intelligent terminal in detail with reference to fig. 1:
The radio frequency unit 101 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, optionally, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (GENERAL PACKET Radio Service), CDMA2000 (Code Division Multiple Access, code Division multiple Access 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), 5G, and the like.
WiFi belongs to a short-distance wireless transmission technology, and the intelligent terminal can help a user to send and receive emails, browse webpages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the essential constitution of the intelligent terminal, and can be omitted entirely as required within the scope of not changing the essence of the application.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the intelligent terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the smart terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g. a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The intelligent terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor, optionally, the ambient light sensor may adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1061 and/or the backlight when the smart terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the intelligent terminal. Alternatively, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Optionally, the touch detection device detects the touch azimuth of the user, detects a signal brought by touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. Alternatively, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Alternatively, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and the processor 110 then provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the smart terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the smart terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the intelligent terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the smart terminal 100 or may be used to transmit data between the smart terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, and alternatively, the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, and performs various functions of the intelligent terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the intelligent terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, the application processor optionally handling mainly an operating system, a user interface, an application program, etc., the modem processor handling mainly wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The intelligent terminal 100 may further include a power source 111 (such as a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, etc. through the power management system.
Although not shown in fig. 1, the intelligent terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the intelligent terminal of the present application is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Alternatively, the UE201 may be the terminal 100 described above, which is not described here again.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. Alternatively, the eNodeB2021 may connect with other enodebs 2022 over a backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access for the UE201 to the EPC 203.
EPC203 may include MME (Mobility MANAGEMENT ENTITY ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (SERVING GATE WAY ) 2034, pgw (PDN GATE WAY, packet data network gateway) 2035, PCRF (Policy AND CHARGING Rules Function) 2036, and so on. Optionally, MME2031 is a control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present application is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems (e.g., 5G), etc.
Based on the intelligent terminal hardware structure and the communication network system, various embodiments of the application are provided.
The image processing method, the intelligent terminal and the storage medium provided by the embodiment of the application are further described in detail below. Referring to fig. 3, fig. 3 is a flowchart illustrating an image processing method according to a first embodiment. The image processing method shown in fig. 3 includes 301-303. The method of the embodiment of the application can be executed by the intelligent terminal shown in fig. 1 or a chip in the intelligent terminal, and the intelligent terminal can be applied to the communication network system shown in fig. 2. The method execution body shown in fig. 3 takes an intelligent terminal as an example. Wherein:
301. and acquiring at least one first image and at least one first image template in response to the wallpaper switching condition being met.
In the embodiment of the application, the intelligent terminal can display wallpaper, and the wallpaper refers to a background image displayed by a display screen of the intelligent terminal. Alternatively, wallpaper may be divided into three categories: desktop wallpaper, screen locking wallpaper and screen extinguishing wallpaper. The desktop wallpaper refers to a background image when the intelligent terminal displays a desktop, the screen locking wallpaper refers to a background image displayed by the intelligent terminal in a screen locking state, and the screen extinguishing wallpaper refers to a background image displayed by the intelligent terminal in a screen extinguishing state. If the intelligent terminal always displays the same wallpaper, the user using the intelligent terminal may always see the same image each time the intelligent terminal is used, which is too boring and easy to generate boring emotion. If the user wants to change the wallpaper, the user can reselect one image to be used as the wallpaper in the setting, so that the operation is complicated, and if the user wants to display different wallpapers at different time periods in a certain day, the user needs to manually select different images at different time periods to be used as the wallpaper. The operation is inconvenient for users to frequently change the wallpaper, the wallpaper changing efficiency is low, and the user experience is poor.
In a possible implementation manner, the intelligent terminal may obtain at least one first image and at least one first image template in response to the condition that the wallpaper switching condition is met when the condition that the wallpaper switching condition is met is detected, adjust the first image according to a preset adjustment rule to obtain a second image, determine or generate a target image according to the second image and the first image template, and further use the target image as the wallpaper, so that a user does not need to manually select the image to generate or select the wallpaper. Alternatively, the image template may be a series of values representing transparency and/or color values of different locations of the image, which may also define a series of values of transparency and/or color of the image. If the wallpaper is static wallpaper, the first image is one image, and if the wallpaper is dynamic wallpaper, the first image is a plurality of images, and in order to realize the dynamic effect, the plurality of images can be continuous image frames.
Optionally, the at least one first image and the at least one first image template may be preset by the intelligent terminal, or may be set or selected by a user. Optionally, the at least one first image and the at least one first image template may also be determined according to a previous selection or setting by the user. Optionally, the at least one first image and the at least one first image template may be determined by the intelligent terminal according to big data analysis, which is not limited in the present application.
Optionally, if at least the first image is preset by the intelligent terminal, the first image may be one or more images of the intelligent terminal in a wallpaper setting program of the intelligent terminal. Optionally, if the at least one first image is set by the user, the at least one first image may be an image set selected by the user in the local map library, or a first image obtained by one or more images shot by the user during setting; for at least one first image set by the user, an interface for adding images can be set in the wallpaper setting program, from which the user can add images in the local gallery by himself or herself, or images downloaded from the network, or images taken by the user at the time of setting. Optionally, the at least one first image may be a first image used by the intelligent terminal according to the last target image, for example, the intelligent terminal may obtain an image selected or set by the user in the last process of determining or generating the target image. Optionally, the at least one first image may be determined according to a usage habit of the user, for example, the intelligent terminal may acquire the first image with the largest number of usage times of the user in the determined or generated historical target image. For another example, the intelligent terminal may acquire a first image used when the user periodically generates the target image in the usage habit of the user. Optionally, the at least one first image may be determined by the intelligent terminal according to big data analysis, for example, the intelligent terminal may obtain an image used by the most person in an image preset by the wallpaper setting program, or may be a current warmest image in an image preset by the wallpaper setting program, which is not limited in this application.
Optionally, the first image template may be an image template in the wallpaper setting program of the intelligent terminal, or may be one or more image templates selected by the user according to a plurality of image templates provided in the wallpaper setting program of the intelligent terminal, or may be transparency and/or color values of different positions in an image set by the user, or may be a series of values of the transparency and/or color of the image included in the image templates provided in the wallpaper setting program of the intelligent terminal. Alternatively, the first image template may also be the first image template used by the smart terminal to determine or generate the target image last time. Optionally, the first image template may be an image template with the largest number of times of user use in the user use habit, for example, the first image template with the largest number of times of user use in the historical target image determined or generated by the intelligent terminal. For another example, the intelligent terminal may also obtain a first image template used when the user periodically generates the target image. Alternatively, the first image template may be determined by the intelligent terminal according to big data analysis, for example, the intelligent terminal may obtain an image template used by the most person, and a current hottest image template, which are preset by the wallpaper setting program, and the application is not limited thereto.
In one possible implementation manner, the intelligent terminal may be at least one of the following in response to the image switching condition being satisfied: the environment information meets preset environment conditions, the biological characteristic information of the user meets preset biological characteristic conditions, the state information meets preset state conditions, the intelligent terminal receives an operation instruction for switching images, and the intelligent terminal receives a starting instruction or a switching instruction or a closing instruction aiming at preset application.
Optionally, the intelligent terminal may acquire the environmental information, determine whether the acquired environmental information meets a preset environmental condition, and if the acquired environmental information meets the preset environmental condition, determine that an image switching condition is met. Alternatively, the environmental information may be time information, location information where the intelligent terminal is located, weather information, scene information where the user is located, and the like, which is not limited by the present application. Alternatively, the scene information of the user may be information that the intelligent terminal determines that the user is in an indoor scene or an outdoor scene through an image acquired by the camera, and determines whether the user is in a specific scene, for example, a vehicle-mounted scene, or the like through an image acquired by the camera. Alternatively, the preset environmental condition may be a condition for time information, a condition for location information, a condition for weather information, and a condition for scene information, and in the case where a certain preset environmental condition is satisfied, for example, the preset environmental condition for time information is satisfied, the image switching condition is satisfied. Alternatively, the preset environmental condition may be a condition for an environmental category that is commonly determined according to time information, location information, weather information, and scene information.
Alternatively, the preset environmental condition may be that the time information belongs to a preset period, that is, the intelligent terminal may display different wallpaper in different periods. Alternatively, the time period may be in minutes or hours. For convenience of description, the application takes preset environmental conditions as four reference periods in a day, and the four reference periods respectively comprise an morning period, a midday period, an evening period and a midnight period. For example, the morning period may be 4:01-10:00, the midday period may be 10:01-16:00, the evening period may be 16:01-22:00, and the late night period may be 22:01-4:00. The intelligent terminal can obtain the time information of the current moment by acquiring the system time or the current network time, and under the condition that the time information of the current moment is confirmed to be satisfied and belongs to different preset time periods, the condition that the image switching condition is satisfied is confirmed. Still another exemplary, preset environmental condition may be that the weather belongs to a certain weather category, e.g., rainfall, fog, snowing, etc. Still another exemplary, the preset environmental condition may be that the current location information is preset location information, for example, may be in beijing, shanghai, shenzhen, etc.
Optionally, the intelligent terminal may acquire a biological feature of the user, where the biological feature may be an expression of the user or a voice of the user, and determine whether an expression category corresponding to the expression of the user is a preset expression category, if yes, the intelligent terminal determines that a preset biological feature condition is satisfied. And similarly, converting the voice information of the user into text information, and determining whether the obtained text information comprises a preset text or not by the intelligent terminal if the obtained text information comprises the preset text, wherein if the obtained text information comprises the preset text, the intelligent terminal determines that the preset biological characteristic condition is met. Optionally, the intelligent terminal may determine a biometric category according to the expression category and text information obtained through voice, and determine whether the biometric category meets a preset biometric condition, if so, the intelligent terminal determines that the biometric condition is met. Optionally, the intelligent terminal may collect face image information of the user through the camera and/or collect voice information of the user through the microphone, identify the face image information and the voice information, and determine whether a preset biological feature condition is satisfied through the identified expression category and/or text information.
Optionally, the intelligent terminal may acquire the state of the current device, and obtain state information, where the state information may be screen brightness information, electric quantity information, step number information, gesture information, and information of a display state of the intelligent terminal. Optionally, the intelligent terminal may determine whether a preset state condition is satisfied according to one or more of the above state information, and if so, determine that an image switching condition is satisfied, that is, the preset state condition may be a state condition for one or more of screen brightness information, electric quantity information, step number information, gesture information, and display state, that is, the preset state condition may be a limitation of a parameter value for one or more of the state information. Optionally, the intelligent terminal may obtain system parameters to obtain a screen brightness percentage, an electric quantity percentage, a step number and a display state, and may also obtain the posture of the intelligent terminal according to the gravity acceleration sensor to obtain posture information, for example, may obtain an included angle between a central axis of the intelligent terminal and a vertical direction. And under the condition that the intelligent terminal determines one or more of the following conditions, determining that the preset state conditions are met: the screen brightness percentage belongs to one or more of a preset brightness percentage interval, the electric quantity percentage belongs to a preset electric quantity percentage interval, the step number belongs to a preset step number interval, and the display state is switched from the first display state to the second display state. Optionally, the display state may be a black screen state, a screen-off display state, a screen-lock display state, or a desktop display state, and the desktop display state may be at least one desktop display state.
Optionally, the intelligent terminal receives an operation instruction for switching the image, and determines that the image switching condition is met. The operation instruction may be triggered by the user through the wallpaper setting program, or may be triggered by a shortcut operation, for example, through a specific sliding track, or may be triggered by an image switching instruction included in the conversion from the voice information to the text information, which is not limited by the present application.
Optionally, when the intelligent terminal receives a start or switch or close instruction for a preset application and determines that an image switch condition is met, it may be understood that when the intelligent terminal starts the application, switches an application displayed in the foreground and closes the application, a part or all of wallpaper may be displayed, and if the start or switch or close instruction for the preset application is detected, the image switch condition is determined to be met. The preset application may be part or all of the application installed by the intelligent terminal.
Optionally, the preset environmental conditions, the preset biological feature conditions, the preset status conditions and the preset application identifier (or application type) may respectively correspond to different preset image sets, or may respectively correspond to different preset image template sets. The images in the corresponding image sets and the image templates in the corresponding image template sets can be acquired under the condition that the preset environmental conditions, the preset biological characteristic conditions and the preset state conditions are respectively met. The intelligent terminal can also acquire images in a preset image set corresponding to the application category and/or the application identifier of the preset application, and acquire image templates in a preset image template set corresponding to the application category and/or the application identifier of the preset application.
Optionally, after obtaining at least one first image and at least one first image template, the intelligent terminal may adjust the first image according to a preset adjustment rule to obtain a second image, and determine or generate a target image according to the second image and the first image template.
302. And adjusting the first image according to a preset adjustment rule to obtain a second image.
In one possible implementation, the adjusting the first image according to the preset adjustment rule may be adjusting the first image according to at least one of an image adjustment parameter, a third image, and a preset special effect. Alternatively, the image adjustment parameter may be a transparency parameter, a contrast parameter, a brightness parameter, a gray scale parameter, or the like of the image. Optionally, the image adjustment parameter may be light information, and it is understood that the above adjustment of the transparency parameter, the contrast parameter, the brightness parameter, and the gray scale parameter of the image is all adjustment of all pixels in the first image, and the light information is used to adjust light of the first image, so that the first image presents different light effects. Alternatively, the third image may be an image having a smaller size than the first image, or may be an image including a portion of pixels as preset pixels (transparent pixels), and may be understood as a sticker or as an image mask. Alternatively, the preset effect may be an effect generated by the particle generator, or may be an image in which a part of pixels are preset pixels (transparent pixels).
Optionally, the preset special effect and the third image may be further added at an application icon displayed on the desktop state of the intelligent terminal, that is, the preset special effect and the third image may be special effects and images for the application icon. The intelligent terminal can acquire the position information of at least one application icon, wherein the position information is the position information of the application icon on the user interface, and a preset special effect and/or a third image is added in a display area (namely a target display area) of the position information of the at least one application icon in the first image, so that the effect of highlighting the application icon is achieved.
Referring to fig. 4a together, fig. 4a is a schematic diagram of a user interface for adjusting a first image according to the first embodiment, wherein the left side is the first image, i.e. the image before adjustment, and the right side is the adjusted image, i.e. the second image, as shown in fig. 4 a. Optionally, the intelligent terminal may adjust parameters such as color value, brightness, saturation and the like in the first image according to the image adjustment parameters, optionally, the intelligent terminal may also add a third image on the first image, where the third image may be a third image added for an image element in the image like the lower right corner on the right side in fig. 4a, and similar to the "eye" sticker of the image, the third image may also be a sticker added for a position of an application icon in the image, for example, a third image of an "earphone" pattern added for a "music" application icon. Optionally, the smart terminal may add a preset special effect on the first image, for example, add a "thickened special effect" on the icon border of the "calculator" application icon, or add a "particle special effect" on the icon border of the "calendar" application icon, as shown in fig. 4a, to obtain the second image shown on the right side. Highlighting the "music" application, the "calculator" application, and the "calendar" application.
Optionally, the determined or generated target image may be used as a static wallpaper, that is, the first image is one image, and the determined or generated target image may also be used as a dynamic wallpaper, where the first image is a plurality of images, and the first image is adjusted according to at least one of an image adjustment parameter, a third image and a preset special effect, and may be adjusted according to at least one first image, where it is understood that an adjustment manner of the at least one first image may be the same or different, and the intelligent terminal may adjust according to a specifically included image element of each image, which is not limited in the present application.
303. And determining or generating a target image according to the second image and the first image template.
In one possible implementation manner, the wallpaper of the intelligent terminal is synthesized by taking at least one first image as a basic image and a first image template. Optionally, the intelligent terminal may further acquire image parameters, and determine or generate the target image through the image parameters, the at least one first image and the at least one first image template. Optionally, the intelligent terminal may acquire image parameters, perform preset processing on the first image template and the second image to obtain an initial target image, and adjust the initial target image according to the image parameters to obtain a final target image. Alternatively, the image parameter may be a transparency parameter, a contrast parameter, a brightness parameter, a gray scale parameter, etc. of the image, alternatively, the transparency parameter, the contrast parameter, the brightness parameter, the gray scale parameter, etc. of the image may be an adjustment of color values of all pixels of the first image. Optionally, the preset processing may be a fusion processing of the first image template and the second image, and optionally, the fusion processing may be a plurality of image mixing effects such as color deepening, color fading, and the like, which are not limited in the present application, and for convenience of description, the embodiment of the present application takes the preset processing as an example of the fusion processing. Optionally, the image parameter may be light information, where the light information may be understood as information for performing light-shadow effect conversion on an image, including information for adjusting brightness of the image, so as to control light intensity in the composite image, so that the display effect is finer and more fully expressed, and the light information may be used for adjusting color values of part of pixels in the first image.
Optionally, the light information may be determined according to the ambient light level and/or the time information of the current time, the brightness information may be determined according to the ambient light level and/or the current time, and the light information may be used to indicate an adjustment value of each parameter in the image adjustment parameters, or may refer to the image parameters, where the former is to adjust at least one first image, and the latter is to adjust an initial target image. It should be noted that, the light information may be parameter information adjusted for at least one first image, or may be parameter information adjusted for an initial target image, which can all play a role in adjusting the light of the finally obtained target wallpaper. Alternatively, the image parameter adjustment information may be adjustment information of transparency, contrast, brightness, gray scale, color value of the whole or part of the image. Optionally, the ambient light brightness may be detected by an intelligent shorter light sensor, the current time may be a system time or a network time of the intelligent terminal, the current ambient brightness condition may be determined according to the ambient light brightness or time information of the current time, and further corresponding light information may be determined or generated, so that the brightness of the finally obtained target image may change along with the ambient brightness condition.
The above implementation is explained taking the desktop display state as an example, and the target image displayed in the desktop display state is obtained by combining a second image and a first image template, wherein the first image is a building image with sky as a background, and the first image template is covered on the upper layer of the first image. When the current system time is 6 am, the light ray information comprises pixel coordinates of part or all pixels and image parameters corresponding to the pixel coordinates. For example, the intelligent terminal may adjust the brightness parameters of all pixels of the first image to 60% according to the acquired light information, and the local area forms the orange-yellow light effect by modifying the color values of the pixels of the local area, and at this time, the dawn effect may be formed by fusing the first image template and the target formed by the adjusted first image (i.e., the second image) as a whole, and the target image similar to the light shadow pattern of the dawn is formed in the local area. Similarly, when the current system time is 12 am, the intelligent terminal can adjust the brightness parameters of all pixels of the first image to 100% according to the light information corresponding to the current moment, and fuse the second image and the first image template to form a target image, and the target image is integrally displayed as a bright building image taking a blue sky as a background; when the current system time is 21 pm, the brightness parameters of all pixels of the first image can be adjusted to 20%, a third image comprising starry sky elements or a preset special effect is added to the local area, and the target image formed by fusing the second image and the first image template is integrally displayed as the night effect.
Optionally, in the foregoing example, the light information includes adjusting parameters of some or all pixels in the first image, for example, adjusting brightness parameters of the first image, where the light information may also be used to indicate that brightness parameters of the initial target image are adjusted, that is, the second image obtained after other adjustment is fused with the first image template to obtain the initial target image, and then the initial target image is adjusted according to the light information in the image parameters, so as to obtain the target image.
Optionally, after the target image is obtained, the intelligent terminal may use the target image as wallpaper, that is, display the target image, specifically, may display the target image in a screen-off state, may display the target image in a screen-lock state, and may display the target image in a desktop state. Optionally, after obtaining the target image, the intelligent terminal may display the target image in a desktop display state, where the target image is further used when the application is started, when the application is switched, and when the application is closed. That is, the intelligent terminal may display at least one of the target image, an icon of the preset application, and a start interface of the preset application after obtaining the target image.
Optionally, referring to fig. 4b together, fig. 4b is a schematic diagram of a user interface for searching for a preset application, as shown in fig. 4b, where a user may search for an application to be searched in a search box in order to prevent that there is no way to quickly search for a location of an application to be started due to too many application icons, a terminal device receives an application name (application identifier) input by the user, searches for a location of an application icon in the user interface, may determine a target display area of a first image according to the location of the application icon, and may add a third image and/or a preset special effect in the target display area to obtain a second image, and further determine or generate a target image in the user interface shown in a lower left corner of fig. 4b according to the second image and the first image template, where the image is highlighted on a "music" application icon. Further, the intelligent terminal may receive a trigger operation of the user for the "music" application icon, and in response to the trigger operation, may display a start interface of the "music" application, as shown in the lower right corner of fig. 4 b.
Optionally, referring to fig. 4c together, fig. 4c is a schematic diagram of a user interface for closing a preset application according to the first embodiment, as shown in fig. 4c, the intelligent terminal receives a closing instruction for the "music" application, adds a third image and/or a preset special effect to a target display area corresponding to the "music" application icon in the first image to obtain a second image, and determines or generates a target image, that is, a wallpaper image displayed on the right side of fig. 4c according to the second image and the first image template. Referring to fig. 4d together, fig. 4d is a schematic diagram of a user interface for switching preset applications according to the first embodiment, as shown in fig. 4d, the intelligent terminal may receive a switching instruction of a user for a first application ("music" application) and a switching instruction of a foreground display second application ("calculator" application), and in response to the switching instruction, a target display area in the first image may be determined according to positions of the "music" application icon and the "calculator" application icon, where the target display area may be a display area of the "music" application icon and the "calculator" application icon, and a third image and/or a preset special effect may be added in the target display area of the first image, to obtain a second image, and determine or generate a target image according to the second image and the first image template, as shown in a user interface in the middle of fig. 4 d. Further, the intelligent terminal can start the "calculator" application, and display a starting interface of the "calculator" application.
Referring to fig. 4e together, fig. 4e is a timing diagram illustrating generation or determination of a target image according to the first embodiment. As shown in fig. 4a, the smart terminal may be implemented by running a shader (shader) program when generating or determining the target image, which is an editable program that may be used to implement image rendering and may replace the fixed rendering pipeline. Firstly, an intelligent terminal creates a thread of a loader; and further, at least one first image and at least one first image template are obtained, and the first image is adjusted to obtain a second image. Optionally, the first image template is adjusted to obtain a second image template. And then, carrying out preset processing on the adjusted first image (second image) and the first image template (or the second image template) to obtain an initial target image, and adjusting the initial target image according to image parameters to obtain an image with textures, namely the target image. Optionally, the smart terminal performs a preset process on the first image template and the first image by running a shader program, where the preset process may be a fusion process, and optionally, an effect of the fusion process may be different image mixing effects, for example, effects of color reduction, color deepening, and the like.
Referring to fig. 4f together, fig. 4f is a schematic diagram of a user interface for generating or determining a target image according to the first embodiment. Any image in at least one first image is shown in the upper left corner of fig. 4f, and the display effect of a first image template is shown in the lower left corner of fig. 4f, wherein the first image template comprises transparency and color characteristics of each position in the image, and the first image template are subjected to fusion processing to obtain an initial target image shown in the upper right corner of fig. 4 f. And then adjusting the image parameters of the initial first wallpaper to obtain a target image shown in the lower right corner of fig. 4f, and optionally, in the user interface in the lower left corner of fig. 4f, displaying the target image in a desktop state by the intelligent terminal, wherein the target image is taken as the desktop wallpaper.
Optionally, in fig. 4f, explanation is made by taking at least one first image as an example, where the at least one first image is one image, the intelligent terminal performs fusion processing on each image in the at least one first image and the first image template, and adjusts the fused multiple images according to image parameters respectively to obtain multiple images, and the intelligent terminal can use the obtained multiple images as target images. Optionally, the intelligent terminal may perform superposition processing on the fused multiple images, superimpose the multiple images into one image, and adjust the superimposed image, and adjust image parameters of the superimposed image, so as to obtain a target image that only includes one image.
In the method described in fig. 3, at least one first image and at least one first image template are acquired in response to the wallpaper switching condition being satisfied, the first image is adjusted according to a preset adjustment rule to obtain a second image, and a target image is determined or generated according to the second image and the first image template. Therefore, based on the method described in fig. 3, on one hand, the target image can be determined or generated through the image and the image template, a large number of images are not required to be stored, memory resources are saved, and on the other hand, the target image is used as wallpaper, input of the wallpaper is not required to be generated, operation of a user is simplified, and efficiency of changing the wallpaper displayed on the intelligent terminal is improved.
Referring to fig. 5, fig. 5 is another flow chart of an image processing method according to the second embodiment. The processing method shown in fig. 5 includes 501-503. The method of the embodiment of the application can be executed by the intelligent terminal shown in fig. 1 or a chip in the intelligent terminal, and the intelligent terminal can be applied to the communication network system shown in fig. 2. The method execution body shown in fig. 5 takes an intelligent terminal as an example.
It should be noted that the same or similar parts in the various embodiments of the present application may be referred to each other. In the embodiments of the present application, and the respective implementation/implementation methods in the embodiments, if there is no specific description and logic conflict, terms and/or descriptions between different embodiments, and between the respective implementation/implementation methods in the embodiments, may be consistent and may refer to each other, and technical features in the different embodiments, and the respective implementation/implementation methods in the embodiments, may be combined to form a new embodiment, implementation, or implementation method according to their inherent logic relationship. The above-described embodiments of the present application do not limit the scope of the present application. Wherein:
501. And acquiring at least one first image and at least one first image template in response to the image switching condition being met.
The specific implementation of step 501 may be referred to the specific description of step 301 in the above embodiment, and will not be repeated here.
502. And adjusting the first image template according to a preset adjustment rule to obtain a second image template.
In one possible implementation manner, the adjusting the first image template according to the preset adjustment rule may be that the first image template is adjusted according to at least one of a template adjustment parameter, a fifth image and a preset special effect, so as to obtain the second image template. Alternatively, the image template may be an image for being superimposed on an upper layer of the image, and the image template may be an image including a part of pixels or all of pixels. Alternatively, the template adjustment parameter may be a transparency parameter, a contrast parameter, a brightness parameter, a gray scale parameter, or the like, which adjusts the image template. Optionally, the template adjustment parameter may also be light information, where the light information is used to adjust a light shadow of the image template, and the light information is used to adjust a color value, a transparency parameter, and the like of a part of pixels included in the image template, so that the first image mask presents different light shadow effects, and when determining or generating the target image with the image, the target image including different light shadow effects can be generated with a plurality of different images, which is more beneficial to realizing brightness adjustment of the generated target image in a simple and efficient manner in practical implementation. Alternatively, the fifth image may be an image having a smaller size than the first image, or may be an image including a portion of pixels as preset pixels (transparent pixels), and the third image may be understood as a sticker or as an image mask. Alternatively, the preset effect may be an effect generated by the particle generator, or may be an image in which a part of pixels are preset pixels (transparent pixels).
Optionally, one or more of the template adjustment parameter, the fifth image and the preset special effect of the first image template may be obtained according to a preset environmental condition satisfied by the environmental information acquired by the intelligent terminal, or may be obtained according to a preset biological characteristic condition satisfied by the biological characteristic information of the user acquired by the intelligent terminal, or may be obtained according to a preset state condition satisfied by the state information acquired by the intelligent terminal. One or more of the template adjustment parameters, the fifth image and the preset special effects of the first image template may be obtained together according to at least one of preset environmental conditions, preset biological feature conditions and preset state conditions.
Optionally, referring to fig. 6a, fig. 6a is a schematic diagram of an image template adjusted by acquiring different template adjustment parameters according to different reference periods shown in the second embodiment, as shown in fig. 6a, when environmental information of the current system time of 6 a.m. is acquired, it is determined that a first preset environmental condition is met, template adjustment parameters corresponding to the first preset environmental condition are acquired, and the first image template is adjusted according to one or more of the template adjustment parameters, a fifth image and a preset special effect, and at least one of the template adjustment parameters, the fifth image and the preset special effect, so as to obtain a second image template shown in the upper left corner of fig. 6 a. Similarly, when the current system time is 12 pm, determining that the second preset environmental condition is met, acquiring one or more of an image adjustment parameter, a fifth image and a preset special effect corresponding to the second preset environmental condition, and adjusting the first image template to obtain the display effect of the second image template shown in the upper right corner of fig. 6a, and similarly, when the current system time is 21 pm, obtaining the display effect of the adjusted second image template shown in the lower left corner of fig. 6a, and when the current system time is 0 pm, obtaining the display effect of the adjusted second image template shown in the lower right corner of fig. 6 a. It should be noted that fig. 6a is only an example, and is not limited thereto.
Optionally, the environmental information may be divided into 4 periods, which respectively satisfy preset time information conditions in preset environmental conditions, weather categories corresponding to different weather information in the environmental information may also respectively satisfy preset weather category conditions in the preset environmental conditions, if the position in the environmental information is a preset position, the position information condition in the preset environmental conditions may also be determined to be satisfied, and the scene information in the environmental information may also be in an indoor or outdoor scene and respectively satisfy preset scene category conditions in the preset environmental conditions. And further, according to different preset environmental conditions, one or more of a template adjustment parameter, a fifth image and a preset special effect are obtained. Optionally, the intelligent terminal may satisfy the preset expression category conditions in the corresponding preset biological feature conditions according to the biological feature of the user belonging to different expression categories, so as to acquire one or more of the corresponding template adjustment parameters, the fifth image and the preset special effects by acquiring the preset expression category conditions. Optionally, the intelligent terminal may acquire one or more of a corresponding template adjustment parameter, a fifth image, and a preset special effect according to a preset text condition in the preset biometric conditions satisfied by a preset text included in the text information obtained by the acquired voice information.
Optionally, the intelligent terminal may further determine that one or more of screen brightness percentage belongs to a preset brightness percentage interval, electric quantity percentage belongs to a preset electric quantity percentage interval, step number belongs to a preset step number interval, and one or more of display state switching from the first display state to the second display state satisfies a corresponding preset state condition according to one or more of acquired screen brightness information, electric quantity information, step number information, gesture information and display state information of the intelligent terminal, so as to acquire one or more of a corresponding template adjustment parameter, a fifth image and a preset special effect. It should be noted that the above-mentioned preset environmental conditions, preset biological characteristic conditions, and preset status conditions may be set by a manager, which is not limited in the present application.
Optionally, the intelligent terminal may adjust the first image template according to at least one of the template adjustment parameter, the fifth image and the preset special effect, for example, the fifth image and/or the preset special effect may be added to a display area of the image element included in the first image template. Optionally, the intelligent terminal may acquire the position information of at least one application icon, determine a target display area of the first image template according to the position information, and add the fifth image and/or the preset special effect to the target display area of the first image template to obtain the second image template.
Optionally, referring to fig. 6b together, fig. 6b is a schematic diagram of a user interface for adjusting a first image template according to a second embodiment, where, as shown in fig. 6b, the left side is the first image template, i.e. the image template before adjustment, and the right side is the second image template, i.e. the image template after adjustment. Optionally, the intelligent terminal may adjust parameters such as color value, brightness, saturation and the like in the first image template according to the template adjustment parameters, optionally, the intelligent terminal may also add a fifth image on the first image, where the fifth image may be a fifth image/preset special effect added for an image element in the first image template as in the lower right corner on the right side in fig. 6b, and similar to a sticker of "eyes", the fifth image may also be a sticker added for a position of an application icon in the image, for example, may be a fifth image of an "earphone" pattern added for a "music" application icon. Optionally, the intelligent terminal may add a preset special effect on the first image template, for example, add a "thickened special effect" on the icon frame of the "calculator" application icon, or add a "particle special effect" on the icon frame of the "calendar" application icon, as shown in fig. 6b, to obtain a second image template shown on the right side. Highlighting the "music" application, the "calculator" application, and the "calendar" application.
503. And determining or generating a target image according to the first image and the second image template.
Optionally, the intelligent terminal may acquire image parameters, and perform preset processing on the second image template and the first image to obtain an initial target image; and adjusting the initial target image according to the image parameters to obtain a target image. Optionally, the specific implementation manner in which the intelligent terminal obtains the image parameters and performs the preset processing on the second image template and the first image to obtain the initial target image and adjusts the initial target image according to the image parameters may be referred to the specific description of step 303 in the above embodiment, which is not repeated herein. It should be noted that, in step 303, determination or generation of the target image from the second image and the first image template is described. The first image template may be a second image template that is adjusted by step 502.
Optionally, the second image template may be at least one image template, where at least one image template included in the second image template is a continuous image frame, and the intelligent terminal may perform preset processing on each image template in the first image and the second image template to obtain the initial target image, where the initial target image includes at least one image, and an order of at least one image included in the target image is an order of image frames. And further, adjusting the initial target image according to the image parameters to obtain a target image.
Optionally, referring to fig. 6c together, fig. 6c is a schematic diagram of a user interface in which the second image template is a continuous image frame, as shown in fig. 6c, and the explanation is given taking the second image template including four image templates as an example, where the four image templates may be continuous image frames, the order of the continuous image frames may be a left-to-right order as shown in fig. 6c, and the continuous image frames in the second image template may be a change of environment in different time periods of a day, and may be an image frame in an environmental video of a sky of a time-lapse photography day. Optionally, each image template in the first image and the second image template is subjected to preset processing to obtain an initial target image, and as shown in fig. 6c, each image template in the first image and the second image template is subjected to preset processing to obtain an environment map of the mountain in one day.
Alternatively, in this embodiment, the first image may also be the second image obtained after the adjustment in step 302.
In the method depicted in fig. 5, at least one first image and at least one first image template are acquired in response to the image switching condition being satisfied, the first image template is adjusted according to a preset adjustment rule to obtain a second image template, and a target image is determined or generated according to the first image and the second image template. Therefore, based on the method described in fig. 5, on one hand, the target image can be determined or generated through the image and the image template, a large number of images are not required to be stored, memory resources are saved, and on the other hand, the target image is used as wallpaper, input of the wallpaper is not required to be generated, operation of a user is simplified, and efficiency of changing the wallpaper displayed on the intelligent terminal is improved.
Referring to fig. 7, fig. 7 is a flowchart illustrating an image processing method according to a third embodiment. The processing method shown in fig. 7 includes 701. The method of the embodiment of the application can be executed by the intelligent terminal shown in fig. 1 or a chip in the intelligent terminal, and the intelligent terminal can be applied to the communication network system shown in fig. 2. The method execution body shown in fig. 7 takes an intelligent terminal as an example.
It should be noted that the same or similar parts in the various embodiments of the present application may be referred to each other. In the embodiments of the present application, and the respective implementation/implementation methods in the embodiments, if there is no specific description and logic conflict, terms and/or descriptions between different embodiments, and between the respective implementation/implementation methods in the embodiments, may be consistent and may refer to each other, and technical features in the different embodiments, and the respective implementation/implementation methods in the embodiments, may be combined to form a new embodiment, implementation, or implementation method according to their inherent logic relationship. The above-described embodiments of the present application do not limit the scope of the present application. Wherein:
701. a switch from the first display state to the second display state is detected.
In one possible implementation, the display status of the intelligent terminal may be one or more of the following: screen-off state, screen-lock state and desktop display state. Alternatively, the desktop display states may be a first desktop display state and a second desktop display state, i.e., the desktop display states may be multiple user interfaces, with different user interfaces of the desktop being displayed in each desktop display state. Optionally, icons of part of the applications are displayed in the user interface of the desktop 1 and icons of another part of the applications are displayed in the user interface of the desktop 2.
In one possible implementation manner, the intelligent terminal may receive a switching instruction input by a user, and switch from the first display state to the second display state, for example, the intelligent terminal may receive a display instruction of the user by touching a power key, may also receive a fingerprint verification instruction and a face verification instruction input by the user, and may also receive a switching instruction triggered by a sliding operation input by the user, and so on.
Alternatively, switching from the first display state to the second display state may be the following cases: the method comprises the steps of switching from a black screen state to a first desktop display state, wherein the first desktop display state is one of desktop display states, switching from a screen-off state to a screen-locking state, switching from the screen-off state to the first desktop display state, switching from the screen-locking state to the first desktop display state and switching from the first desktop display state to the second desktop display state. Accordingly, the switching from the first display state to the second display state may also be the following cases: the method comprises the steps of switching from a second desktop display state to a first desktop display state, switching from the first desktop display state to a screen locking state, switching from the screen locking state to a screen extinguishing state, switching from the first desktop display state to the screen extinguishing state and switching from the first desktop display state to the screen locking state.
In a possible implementation manner, when the intelligent terminal detects that the first display state is switched to the second display state, it is determined that the detection meets a preset state condition, that is, an image switching condition is met, at least one first image and at least one first image template are obtained, the first image is adjusted and/or the first image template is adjusted, and then a target image is generated according to the adjusted first image and the first image template. The smart terminal may display a reference image in the first display state before displaying the target image in the second display state, alternatively, the reference image may be determined or generated from the second image template and the fourth image. It is to be understood that the manner of determining or generating the reference image may be the same as the manner of determining or generating the target image, and specific reference may be made to the foregoing description, which is not repeated herein. Alternatively, the fourth image may be set by the smart terminal, that is, a default setting, or may be set by the user, which is not limited in the present application.
Optionally, if the first display state is a black screen state, the fourth image is empty; if the first display state is any one of the screen-off state, the screen-locking state, the first desktop display state and the second desktop display state, the fourth image comprises at least one image, and for smooth playing of the dynamic wallpaper, the fourth image comprises at least two continuous image frames. Similarly, if the second display state is any one of the first desktop display state, the screen-off state and the second desktop display state, the first image comprises one image or at least two images; if the second display state is a screen locking state, in order to smoothly play with other display states, the first image includes at least two images, and if the first image includes at least two images, the at least two images included are continuous image frames.
In the following, the present application is explained by taking several possible switching of the first display state to the second display state as an example:
switching from the black screen state to the first desktop display state
Referring to fig. 8a, fig. 8a is a schematic diagram of a user interface of the intelligent terminal according to the third embodiment, wherein the intelligent terminal is switched from a black screen state to a first desktop display state. As shown in fig. 8a, the left side is the state of the intelligent terminal black screen, i.e. the screen is extinguished, no content is displayed, and the user interface as shown in the right side of fig. 8a can be displayed by pressing the power key by the user. It can be understood that, because the first display state is a black screen state, the fourth image corresponding to the reference image displayed in the first display state is empty, and in the process of the screen of the intelligent terminal being lightened, the static wallpaper determined or generated by the first image set as shown in fig. 8a can be displayed in the first desktop state, and then the first image can be an image. Referring to fig. 8b together, fig. 8b is another schematic diagram of a user interface for switching the intelligent terminal from a black screen state to a first desktop display state according to the third embodiment, as in fig. 8b, dynamic wallpaper determined or generated by a first image may be displayed in a process of lighting a screen of the intelligent terminal, as in fig. 8b, if sizes and positions of elements in the wallpaper are changed, the first image may be at least two images, and for continuity of the dynamic wallpaper, the at least two images included in the first image are continuous image frames.
(II) switching from the screen-off state to the screen-locking state
Referring to fig. 8c, fig. 8c is a schematic diagram of a user interface of the intelligent terminal according to the third embodiment. As shown in fig. 8c, the upper row of three user interfaces is in a screen-off state, that is, when the mobile phone is in a locked state, a screen part area remains long and is displayed with information such as time and notification. In fig. 8c, taking a dynamic wallpaper as an example, the fourth image corresponding to the reference image displayed in the first display state, i.e. the screen-off state, may be one image or at least two images, where the reference image is a static wallpaper when the fourth image is one image, and where the at least two images included in the fourth image are continuous image frames when the dynamic wallpaper is shown in fig. 8 c. Fig. 8c also takes the second display state, i.e. the screen locking state, as an example, the target image is a dynamic wallpaper, and the user interface displayed in the two screen locking states below in fig. 8c further includes a face recognition prompt icon displayed above the time information. Optionally, the first image set of the target image in the screen locking state may also be one image, or may be dynamic wallpaper, and then at least two images are included, that is, in the case that at least two images are included, the at least two images are continuous image frames. Optionally, for smooth switching from the first display state to the second display state, the images in the second image set and the first image set are also consecutive image frames.
Switching from the screen-off state to a first desktop display state;
Referring to fig. 8d together, fig. 8d is a schematic diagram of a user interface for switching the intelligent terminal from a screen-off display state to a first desktop display state according to the third embodiment, and fig. 8d explains an example in which a target image and a reference image of the intelligent terminal are dynamic wallpaper, and in the screen-off state, the fourth image may be one image or two images, that is, static wallpaper or dynamic wallpaper is displayed. Similarly, in the second display state, the first desktop display state is the first desktop display state, and the first image may be one image or at least two images. For smooth display of the dynamic wallpaper, the fourth image and the first image, in case of comprising at least two images, are consecutive image frames. Optionally, for smooth display when switching the display state, at least two images in the fourth image and at least two images in the first image are also consecutive image frames.
(IV) switching from the screen locking state to the first desktop display state
Referring to fig. 8e together, fig. 8e is a schematic diagram of a user interface of the intelligent terminal according to the third embodiment, where the two user interfaces above are in a screen locking state, and the two user interfaces below are in a first desktop display state, as shown in fig. 8 e. In fig. 8e, the target image and the reference image are both dynamic wallpaper, and the target image and the reference image may be static wallpaper, so that the first image and the fourth image may be one image or at least two images, and if the first image and the fourth image both include at least two images, the images included in the first image and the fourth image are continuous image frames. Alternatively, in order to smoothly play the dynamic wallpaper at the time of switching, the images included in the first image and the fourth image may be consecutive image frames.
(V) switching from the first desktop display state to the second desktop display state
Referring to fig. 8f together, fig. 8f is a schematic diagram of a user interface of the intelligent terminal according to the third embodiment, wherein the user interface is switched from the first desktop display state to the second desktop display state. For example, as shown in fig. 8f, when the intelligent terminal is in the first desktop display state, the user may switch to the second desktop display state through a sliding operation, and icons of one or more applications are respectively displayed in the user interfaces of the first desktop display state and the second desktop display state. In the first desktop display state and the second desktop display state, the reference image is switched to the target image, the reference image and the target image can be static wallpaper, and the reference image and the target image can also be dynamic wallpaper. That is, the fourth image and the first image may be one image or at least two images, and if the wallpaper is dynamic, the images included in the fourth image and the first image are continuous image frames in order to ensure smooth switching. Similarly, if the second desktop display state is switched to the first desktop display state, that is, the first display state is the second desktop display state, the second display state is the first desktop display state, and the first image and the fourth image may also include one image or at least two images, where the target image and the reference image are dynamic wallpaper, and the images included in the first image and the fourth image are continuous image frames.
In one possible implementation, if the target image and/or the reference image are dynamic wallpaper, the first image and/or the fourth image include at least two images, and the first image template and/or the second image template may be acquired respectively. Alternatively, the first image template may be identical to the second image template. Taking a first image template as an example, the first image comprises an image 1, an image 2 and an image 3, and the sequence of the images in the first image is the image 1, the image 2 and the image 3 from front to back; the fourth image includes an image 4, an image 5 and an image 6, and the order of the images in the fourth image is from front to back, namely, the image 4, the image 5 and the image 6, and then the images are respectively synthesized through a loader program to obtain a target image 1, a target image 2, a target image 3, a reference image 4, a reference image 5 and a reference image 6. When the actually displayed reference image is switched to the target image, the reference image 4, the reference image 5, the reference image 6, the target image 1, the target image 2, and the target image 3 are displayed in this order.
In one possible implementation manner, each image in the first image includes a first element, each image in the fourth image includes a second element, and a part of elements in the first element is the same as a part of elements in the second element, or the part of elements in the first element is obtained after performing zoom-in processing or zoom-out processing based on the part of elements in the second element. I.e. the reference image and the target image are wallpaper of the same theme for fluency and consistency of the dynamic wallpaper. For example, if the reference image is of a planet theme and the target image is of an animal theme, switching from the reference image to the target image does not give the user a good impression of dynamic wallpaper. Thus, some elements in the reference image and the target image may be identical or may be scaled.
Optionally, part of elements included in each of the first image and the fourth image are the same, so that when the intelligent terminal stores the first image and the fourth image, only part of the images are needed to be stored, and all the images included in the first image and the fourth image can be obtained by scaling according to the elements in the part of the images, thereby effectively saving the memory resources of the intelligent terminal.
Optionally, the reference image displayed on the left side of fig. 8f includes three circles, two incompletely displayed, one complete circle is displayed in the middle, the target image displayed on the right side of fig. 8f also includes three circles, which may respectively correspond to the reference image (wallpaper on the left side of fig. 8 f), optionally, the gray circle on the upper left corner is scaled by the scaling factor k1 on the basis of the reference image, the light gray circle in the middle is scaled by the scaling factor k2, and the dark gray circle on the lower right corner is scaled by the scaling factor k 3.
Alternatively, if the partial elements in the first element and the partial elements in the second element are obtained after the position moving process. For example, in fig. 8f, the gray circle in the upper left corner of the reference image is scaled and then shifted to obtain the gray circle in the upper left corner of the target image.
In the method described in fig. 7, the intelligent terminal switches from displaying the reference image to displaying the target image after determining or generating the target image by detecting that the wallpaper switching condition is satisfied in the case that the intelligent terminal is detected to switch from the first display state to the second display state. Therefore, based on the method described in fig. 7, the operation of switching wallpaper by a user is simplified, wallpaper can be smoothly displayed in different display states of the intelligent terminal, user experience is improved, wallpaper is synthesized through images and image templates, and the memory for storing wallpaper is reduced, so that a large amount of wallpaper can be generated according to the images and the image templates, and memory resources of the intelligent terminal are saved.
Referring to fig. 9, fig. 9 is a schematic diagram of an image processing apparatus 90 according to an embodiment of the application. The image processing apparatus 90 includes an acquisition unit 901, an adjustment unit 902, a processing unit 903, and a display unit 903. Wherein:
An acquiring unit 901, configured to acquire at least one first image and at least one first image template in response to satisfaction of an image switching condition;
an adjusting unit 902, configured to adjust the first image according to a preset adjustment rule, so as to obtain a second image;
A processing unit 903, configured to determine or generate a target image according to the second image and the first image template.
Optionally, the adjusting unit 902 is specifically configured to:
And adjusting the first image according to at least one of the image adjustment parameter, the third image and the preset special effect to obtain the second image.
Optionally, the adjusting unit 902 is specifically configured to:
Acquiring position information of at least one application icon;
And determining a target display area of the first image according to the position information, and adding the third image and/or the preset special effect to the target display area of the first image to obtain the second image.
Optionally, the processing unit 903 is specifically configured to:
Acquiring image parameters;
Carrying out preset processing on the first image template and the second image to obtain an initial target image;
and adjusting the initial target image according to the image parameters to obtain the target image.
Optionally, the first image and/or the first image template determining manner includes at least one of the following:
set or selected by the user;
determining according to the last selection of the user;
Determining according to the use habit of a user;
And according to big data analysis.
Optionally, the above satisfies the image switching condition, including at least one of:
The environmental information meets preset environmental conditions;
The biological characteristic information of the user meets the preset biological characteristic condition;
The state information meets the preset state condition;
receiving an operation instruction for switching images;
And receiving a start or switch or close instruction aiming at a preset application.
Optionally, the state information includes a display state, and the state information meeting a preset state condition includes detecting a switch from the first display state to the second display state, and further includes at least one of:
if the second display state is a first desktop display state or a screen-off state, the first image is at least one image;
and if the second display state is a screen locking state, the first image is at least two images.
Optionally, the desktop display state further includes a second desktop display state; and/or, if the second display state is the second desktop display state, the first image is at least one image.
Optionally, the at least two images are consecutive image frames.
Optionally, the image processing apparatus 90 further includes:
A display unit 904 for displaying the reference image in the first display state; and/or, the reference image is determined or generated according to the fourth image and the second image template.
Optionally, at least one of the following is included:
if the first display state is a black screen state, the fourth image is empty;
And if the first display state is a screen-off state, a screen-locking state or a first desktop display state, the fourth image comprises at least one image.
Optionally, the desktop display state further includes a second desktop display state; and/or, if the first display state is the second desktop display state, the fourth image is at least one image.
Optionally, in the case that the fourth image is at least two images, the at least two images are consecutive image frames.
Optionally, the acquiring unit is specifically configured to:
And acquiring the image corresponding to the preset application and the image template corresponding to the preset application to obtain the at least one first image and the at least one image template.
Optionally, the display unit 904 is further configured to:
displaying at least one of the target image, the icon of the preset application and the starting interface of the preset application.
Referring to fig. 9, fig. 9 is a schematic diagram of an image processing apparatus 90 according to an embodiment of the application. The image processing apparatus 90 includes an acquisition unit 901, an adjustment unit 902, a processing unit 903, and a display unit 903. Wherein:
An acquiring unit 901, configured to acquire at least one first image and at least one first image template in response to satisfaction of an image switching condition;
an adjusting unit 902, configured to adjust the first image template according to a preset adjustment rule, so as to obtain a second image template;
a processing unit 903, configured to determine or generate a target image according to the first image and the second image template.
Optionally, the adjusting unit 902 is specifically configured to:
And adjusting the first image template according to at least one of the template adjustment parameters, the fifth image and the preset special effects to obtain the second image template.
Optionally, the adjusting unit 902 is specifically configured to:
Acquiring position information of at least one application icon;
And determining a target display area of the first image template according to the position information, and adding the fifth image and/or the preset special effect to the target display area of the first image template to obtain the second image template.
Optionally, the means for acquiring at least one of the template adjustment parameter, the fifth image and the preset special effect includes at least one of the following:
Acquiring according to preset environmental conditions;
Acquiring according to preset biological characteristic conditions;
And acquiring according to a preset state condition.
Optionally, the first image and/or the first image template determining manner includes at least one of the following:
set or selected by the user;
determining according to the last selection of the user;
Determining according to the use habit of a user;
And according to big data analysis.
Optionally, the above satisfies the above image switching condition, including at least one of:
The environmental information meets preset environmental conditions;
The biological characteristic information of the user meets the preset biological characteristic condition;
The state information meets the preset state condition;
receiving an operation instruction for switching images;
And receiving a start or switch or close instruction aiming at a preset application.
Optionally, the processing unit 903 is specifically configured to:
Acquiring image parameters;
The second image template and the first image are subjected to preset processing to obtain an initial target image;
and adjusting the initial target image according to the image parameters to obtain the target image.
Optionally, the second image template is at least one image template, and at least one image template included in the second image template is continuous image frames; the processing unit 903 is specifically configured to:
And carrying out preset processing on each image template in the first image and the second image template to obtain the initial target image, wherein the target image comprises at least one image, and the sequence of the at least one image is the sequence of the image frames.
Alternatively, the obtaining unit 901 is specifically used for
And acquiring the image corresponding to the preset application and the image template corresponding to the preset application to obtain the at least one first image and the at least one image template.
Optionally, the image processing apparatus 90 further includes:
and a display unit 904 configured to display at least one of the target image, the icon of the preset application, and the start interface of the preset application.
It should be noted that the operations performed by the respective units of the apparatus shown in fig. 9 may be referred to in the relevant content of the above-described method embodiment. And will not be described in detail herein. The individual units may be implemented in hardware, software or a combination of hardware and software.
Referring to fig. 10, fig. 10 is a schematic hardware structure diagram of an intelligent terminal 100 according to the present application. The intelligent terminal 10 includes: the memory 1001 and the processor 1002, the memory 1001 is configured to store program instructions, and the processor 1002 is configured to invoke the program instructions in the memory 1001 to execute the steps executed by the intelligent terminal in the first embodiment of the method, so that the implementation principle and the beneficial effects are similar, and no detailed description is given here.
Optionally, the above-mentioned intelligent terminal 100 further comprises a communication interface 1003, and the communication interface 1003 may be connected to the processor 1002 through a bus 1004. The processor 1002 may control the communication interface 1003 to implement the functions of reception and transmission of the intelligent terminal 100.
Fig. 11 is a schematic hardware structure diagram of an intelligent terminal 110 according to the present application. The intelligent terminal 110 includes: the memory 1101 and the processor 1102, where the memory 1101 is configured to store program instructions, and the processor 1102 is configured to invoke the program instructions in the memory 1101 to execute the steps executed by the intelligent terminal in the second method embodiment, so that the implementation principle and the beneficial effects are similar, and no detailed description is given here.
Optionally, the above-mentioned intelligent terminal 110 further comprises a communication interface 1103, and the communication interface 1103 may be connected to the processor 1102 through a bus 1104. The processor 1102 may control the communication interface 1103 to implement the functions of receiving and transmitting of the intelligent terminal 110.
Fig. 12 is a schematic hardware structure of an intelligent terminal 120 according to the present application. The intelligent terminal 120 includes: the memory 1201 and the processor 1202, the memory 1201 is used for storing program instructions, and the processor 1202 is used for calling the program instructions in the memory 1201 to execute the steps executed by the intelligent terminal in the third method embodiment, and the implementation principle and the beneficial effects are similar, and are not repeated here.
Optionally, the smart terminal 120 further includes a communication interface 1203, where the communication interface 1203 may be connected to the processor 1202 through the bus 1204. The processor 1202 may control the communication interface 1203 to implement the functions of receiving and transmitting of the intelligent terminal 120.
The integrated modules, implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some steps of the methods of the embodiments of the application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.) means from one website, computer, server, or data center. Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disk, hard disk, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid state disk solid STATE DISK, SSD), etc.
The embodiment of the application also provides an intelligent terminal, which comprises a memory and a processor, wherein the memory stores an image processing program, and the image processing program is executed by the processor to realize the steps of the image processing method in any embodiment.
The embodiment of the present application also provides a computer readable storage medium, on which an image processing program is stored, which when executed by a processor, implements the steps of the image processing method in any of the above embodiments.
The intelligent terminal and the computer readable storage medium provided in the embodiments of the present application may include all the technical features of any one of the embodiments of the image processing method, and the expansion and explanation contents of the description are substantially the same as those of each embodiment of the method, which are not described herein.
Embodiments of the present application also provide a computer program product comprising computer program code which, when run on a computer, causes the computer to perform the method as in the various possible embodiments described above.
The embodiment of the application also provides a chip, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor is used for calling and running the computer program from the memory, so that the device provided with the chip executes the method in the various possible implementation manners.
The embodiment of the application also provides a chip, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor is used for calling and running the computer program from the memory, so that the device provided with the chip executes the method in the various possible implementation manners.
It can be understood that the above scenario is merely an example, and does not constitute a limitation on the application scenario of the technical solution provided by the embodiment of the present application, and the technical solution of the present application may also be applied to other scenarios. For example, as one of ordinary skill in the art can know, with the evolution of the system architecture and the appearance of new service scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
In the present application, the same or similar term concept, technical solution and/or application scenario description will be generally described in detail only when first appearing and then repeatedly appearing, and for brevity, the description will not be repeated generally, and in understanding the present application technical solution and the like, reference may be made to the previous related detailed description thereof for the same or similar term concept, technical solution and/or application scenario description and the like which are not described in detail later.
In the present application, the descriptions of the embodiments are emphasized, and the details or descriptions of the other embodiments may be referred to.
The technical features of the technical scheme of the application can be arbitrarily combined, and all possible combinations of the technical features in the above embodiment are not described for the sake of brevity, however, as long as there is no contradiction between the combinations of the technical features, the application shall be considered as the scope of the description of the application.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, storage disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid state storage disk Solid STATE DISK (SSD)), etc.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (27)

  1. An image processing method, comprising the steps of:
    s1: acquiring at least one first image and at least one first image template in response to the satisfaction of the image switching condition;
    S2: adjusting the first image according to a preset adjustment rule to obtain a second image;
    s3: and determining or generating a target image according to the second image and the first image template.
  2. The method of claim 1, wherein the S2 step comprises:
    And adjusting the first image according to at least one of an image adjustment parameter, a third image and the preset special effect to obtain the second image.
  3. The method of claim 2, wherein the S2 step comprises:
    Acquiring position information of at least one application icon;
    And determining a target display area of the first image according to the position information, and adding the third image and/or the preset special effect in the target display area of the first image to obtain the second image.
  4. The method of claim 1, wherein the S3 step comprises:
    Acquiring image parameters;
    performing preset processing on the first image template and the second image to obtain an initial target image;
    And adjusting the initial target image according to the image parameters to obtain the target image.
  5. The method of claim 1, wherein the first image and/or the first image template determination comprises at least one of:
    set or selected by the user;
    determining according to the last selection of the user;
    Determining according to the use habit of a user;
    And according to big data analysis.
  6. The method of claim 1, wherein the meeting an image switching condition comprises at least one of:
    The environmental information meets preset environmental conditions;
    The biological characteristic information of the user meets the preset biological characteristic condition;
    The state information meets the preset state condition;
    receiving an operation instruction for switching images;
    And receiving a start or switch or close instruction aiming at a preset application.
  7. The method of claim 6, wherein the status information includes a display status, the status information satisfying a preset status condition includes detecting a switch from a first display status to a second display status, further comprising at least one of:
    If the second display state is a first desktop display state or a screen-off state, the first image is at least one image;
    and if the second display state is a screen locking state, the first image is at least two images.
  8. The method of claim 7, wherein the desktop display state further comprises a second desktop display state; and/or, if the second display state is the second desktop display state, the first image is at least one image.
  9. The method of claim 8, wherein the at least two images are consecutive image frames.
  10. The method of claim 7, wherein the method further comprises:
    displaying a reference image in the first display state; and/or the reference image is determined or generated from the fourth image and the second image template.
  11. The method of claim 10, comprising at least one of:
    if the first display state is a black screen state, the fourth image is empty;
    and if the first display state is a screen-off state, a screen-locking state or a first desktop display state, the fourth image comprises at least one image.
  12. The method of claim 11, wherein the desktop display state further comprises a second desktop display state; and/or, if the first display state is the second desktop display state, the fourth image is at least one image.
  13. The method of claim 12, wherein, in the case where the fourth image is at least two images, the at least two images are consecutive image frames.
  14. The method of claim 6, wherein the acquiring at least one first image and at least one first image template comprises:
    And acquiring the image corresponding to the preset application and the image template corresponding to the preset application to obtain the at least one first image and the at least one image template.
  15. The method of claim 14, wherein after the step S3, the method further comprises:
    And displaying at least one of the target image, the icon of the preset application and the starting interface of the preset application.
  16. An image processing method, wherein the method comprises the steps of:
    S10: acquiring at least one first image and at least one first image template in response to the satisfaction of the image switching condition;
    s20: adjusting the first image template according to a preset adjustment rule to obtain a second image template;
    S30: and determining or generating a target image according to the first image and the second image template.
  17. The method of claim 16, wherein the step S20 includes:
    And adjusting the first image template according to at least one of the template adjustment parameter, the fifth image and the preset special effect to obtain the second image template.
  18. The method of claim 17, wherein the step S20 includes:
    Acquiring position information of at least one application icon;
    And determining a target display area of the first image template according to the position information, and adding the fifth image and/or the preset special effect to the target display area of the first image template to obtain the second image template.
  19. The method of claim 17, wherein the means for obtaining at least one of the template adjustment parameter, the fifth image, and the preset special effects comprises at least one of:
    Acquiring according to preset environmental conditions;
    Acquiring according to preset biological characteristic conditions;
    And acquiring according to a preset state condition.
  20. The method of claim 16, wherein the first image and/or the first image template determination comprises at least one of:
    set or selected by the user;
    determining according to the last selection of the user;
    Determining according to the use habit of a user;
    And according to big data analysis.
  21. The method of claim 16, wherein the meeting the image switching condition comprises at least one of:
    The environmental information meets preset environmental conditions;
    The biological characteristic information of the user meets the preset biological characteristic condition;
    The state information meets the preset state condition;
    receiving an operation instruction for switching images;
    And receiving a start or switch or close instruction aiming at a preset application.
  22. The method of claim 16, wherein the step S30 includes:
    Acquiring image parameters;
    performing preset processing on the second image template and the first image to obtain an initial target image;
    And adjusting the initial target image according to the image parameters to obtain the target image.
  23. The method of claim 22, wherein the second image template is at least one image template, the second image template comprising at least one image template that is a succession of image frames; the step of performing preset processing on the second image template and the first image to obtain an initial target image includes:
    and carrying out preset processing on each image template in the first image and the second image template to obtain the initial target image, wherein the target image comprises at least one image, and the sequence of the at least one image is the sequence of the image frames.
  24. The method of claim 21, wherein the acquiring at least one first image and at least one first image template comprises:
    And acquiring the image corresponding to the preset application and the image template corresponding to the preset application to obtain the at least one first image and the at least one image template.
  25. The method of claim 24, wherein after the step S30, the method further comprises:
    And displaying at least one of the target image, the icon of the preset application and the starting interface of the preset application.
  26. An intelligent terminal, wherein the intelligent terminal comprises: a memory, a processor, wherein the memory has stored thereon an image processing program which, when executed by the processor, implements the steps of the image processing method as claimed in claim 1.
  27. A computer readable storage medium, wherein the storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the image processing method according to claim 1.
CN202180104097.9A 2021-12-03 Image processing method, intelligent terminal and storage medium Pending CN118235108A (en)

Publications (1)

Publication Number Publication Date
CN118235108A true CN118235108A (en) 2024-06-21

Family

ID=

Similar Documents

Publication Publication Date Title
CN113647084B (en) Control method for screen-off display, terminal equipment and storage medium
CN108200421B (en) White balance processing method, terminal and computer readable storage medium
CN112672201B (en) Screen recording frame rate control method, equipment and computer readable storage medium
CN109348137A (en) Mobile terminal camera control method, device, mobile terminal and storage medium
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN109068063A (en) A kind of processing of 3 d image data, display methods, device and mobile terminal
CN111353946B (en) Image restoration method, device, equipment and storage medium
EP3249999B1 (en) Intelligent matching method for filter and terminal
CN113590069A (en) Switching method, mobile terminal and storage medium
CN107995425B (en) A kind of image processing method and mobile terminal
CN115617297A (en) Processing method, intelligent terminal and storage medium
CN109976860A (en) It is switched fast the method, terminal and storage medium of application
CN113793407B (en) Moving image producing method, mobile terminal and storage medium
CN112578985B (en) Display mode setting method, device and computer readable storage medium
CN118235108A (en) Image processing method, intelligent terminal and storage medium
CN113360068A (en) Screen capture interaction method, mobile terminal and storage medium
WO2023097671A1 (en) Image processing method, intelligent terminal, and storage medium
CN113835586A (en) Icon processing method, intelligent terminal and storage medium
CN116071248A (en) Image processing method and related equipment
CN108595087B (en) Display control method, device and computer readable storage medium
CN108335301B (en) Photographing method and mobile terminal
CN113840062B (en) Camera control method, mobile terminal and readable storage medium
CN109618034B (en) Shooting method, mobile terminal and readable storage medium
WO2023122906A1 (en) Image processing method, intelligent terminal and storage medium
CN117311555A (en) Interaction method, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication