CN113938620B - Image processing method, mobile terminal and storage medium - Google Patents

Image processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN113938620B
CN113938620B CN202111343111.9A CN202111343111A CN113938620B CN 113938620 B CN113938620 B CN 113938620B CN 202111343111 A CN202111343111 A CN 202111343111A CN 113938620 B CN113938620 B CN 113938620B
Authority
CN
China
Prior art keywords
shooting
video
preset
image
images
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.)
Active
Application number
CN202111343111.9A
Other languages
Chinese (zh)
Other versions
CN113938620A (en
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
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN202111343111.9A priority Critical patent/CN113938620B/en
Publication of CN113938620A publication Critical patent/CN113938620A/en
Application granted granted Critical
Publication of CN113938620B publication Critical patent/CN113938620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The application provides an image processing method, a mobile terminal and a storage medium, wherein a preset template is determined in response to a first operation instruction; shooting at least two images to be processed; and processing at least two images to be processed according to a preset template to obtain a target video or a target image. The target video or the target image obtained by the method is obtained by processing at least two shot images to be processed according to the preset template, so that the target video or the target image has more storyline, the types of the obtained target video or the target image are enriched, and the user experience is improved.

Description

Image processing method, mobile terminal and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to an image processing method, a mobile terminal, and a storage medium.
Background
The mobile terminal provides great convenience for the life of the user. The user can record life by taking a picture or recording a video by using the camera of the mobile terminal. The user can form a new video or image by editing, splicing and the like at least two images formed by photographing and recording a plurality of sections of video formed by video, so as to form a video or image story through the new video or image.
In some implementations, when processing multiple images, at least two images can be spliced into a long image only through the operation of a user, or at least two images are displayed on one image, so that a target image is obtained.
The processing of at least two images or the video formed by at least two images is simply performed by splicing and synthesizing the images or the video, so that the types of the synthesized target images or target videos are single, and the user experience is reduced.
Disclosure of Invention
Aiming at the technical problems, the application provides an image processing method, a mobile terminal and a storage medium, which can determine or generate a target image or a target video with storyline, enrich the types of the target image or the target video and further improve the experience of users.
In order to solve the technical problems, the application provides an image processing method, which is applied to a mobile terminal and comprises the following steps:
and responding to the first operation instruction, and determining a preset template.
At least two images to be processed are photographed.
And processing the at least two images to be processed according to the preset template to obtain a target video or a target image.
Optionally, the preset template includes at least one of the following: preset shooting information, preset transition information and preset scenario information.
Optionally, the preset shooting information includes at least one of shooting type, shooting scene and shooting scenario; the shooting at least two images to be processed comprises the following steps:
shooting at least two images to be processed according to the preset shooting information;
if the shooting type is video shooting, shooting at least one section of video to be processed according to the shooting scene and the shooting plot, wherein the at least one section of video to be processed comprises at least two images to be processed; and/or the number of the groups of groups,
and if the shooting type is image shooting, shooting the at least two images to be processed according to the shooting scene and the shooting plot.
Optionally, the preset shooting information further includes shooting duration; according to the shooting scene and the shooting scenario, shooting at least one section of video to be processed comprises:
at least one of a photographing duration, a photographing scene, and a photographing scenario is displayed in response to the second operation instruction.
And shooting at least one section of video to be processed in the shooting scene according to the shooting duration and the shooting scenario.
Optionally, the capturing the at least two images to be processed according to the capturing scene and the capturing scenario includes:
and responding to a third operation instruction, and displaying the shooting scene and the shooting plot.
And shooting the at least two images to be processed in the shooting scene according to the shooting scenario.
Optionally, the processing the at least two images to be processed according to the preset template to obtain a target video includes:
and preprocessing the video to be processed according to the preset scenario information, and determining or generating a first video, wherein the preprocessing comprises adding a filter.
And adding the preset transition information between two adjacent sections of the first video to obtain a target video, wherein the preset transition information comprises transition audio and a preset transition image.
Optionally, the preset transition information includes image distribution information; the processing the at least two images to be processed according to the preset template to obtain a target image comprises the following steps:
and preprocessing at least two images to be processed according to the preset scenario information to obtain a first image, wherein the preprocessing comprises adding a filter.
And according to the image distribution information, arranging the first images with preset quantity to obtain at least one target image.
Optionally, the method further comprises:
at least two target images are photographed in response to the fourth operation instruction.
And preprocessing the target image to obtain a processed target image.
And synthesizing the processed target image, and determining or generating a target template, wherein the target template is a video or an image and comprises target shooting information, target transition information and target scenario information.
The embodiment of the application also provides an image processing device, which comprises:
the response module is used for responding to the first operation instruction and determining a preset template.
And the shooting module is used for shooting at least two images to be processed.
And the processing module is used for processing the at least two images to be processed according to the preset template to obtain a target video or a target image.
Optionally, the preset template includes at least one of the following: preset shooting information, preset transition information and preset scenario information.
Optionally, the preset shooting information includes at least one of shooting type, shooting scene and shooting scenario; the shooting module is specifically used for shooting at least two images to be processed according to the preset shooting information; when the shooting type is video shooting, shooting at least one section of video to be processed according to the shooting scene and the shooting plot, wherein the at least one section of video to be processed comprises at least two images to be processed; and when the shooting type is image shooting, shooting the at least two images to be processed according to the shooting scene and the shooting plot.
Optionally, the preset shooting information further includes shooting duration; the response module is further configured to display at least one of a shooting duration, a shooting scene, and a shooting scenario in response to the second operation instruction. The shooting module is specifically configured to shoot at least one section of video to be processed in the shooting scene according to the shooting duration and the shooting scenario.
Optionally, the response module is further configured to display the shooting scene and the shooting scenario in response to a third operation instruction. The shooting module is specifically configured to shoot the at least two images to be processed in the shooting scene according to the shooting scenario.
Optionally, the processing module is specifically configured to pre-process the video to be processed according to the preset scenario information, and determine or generate a first video, where the pre-process includes adding a filter; and adding the preset transition information between two adjacent sections of the first video to obtain a target video, wherein the preset transition information comprises transition audio and a preset transition image.
Optionally, the preset transition information includes image distribution information; the processing module is specifically configured to pre-process at least two images to be processed according to the preset scenario information to obtain a first image, where the pre-processing includes adding a filter; and according to the image distribution information, arranging the first images with preset quantity to obtain at least one target image.
Optionally, the device further comprises a creation module, wherein the creation module is used for responding to a fourth operation instruction and shooting at least two target images; preprocessing the target image to obtain a processed target image; and synthesizing the processed target image, and determining or generating a target template, wherein the target template is a video or an image and comprises target shooting information, target transition information and target scenario information.
The application also provides a mobile terminal, comprising: 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, implements the steps of any of the methods described above.
As described above, the image processing method of the present application is applied to a mobile terminal, and determines a preset template in response to a first operation instruction; shooting at least two images to be processed; and processing at least two images to be processed according to a preset template to obtain a target video or a target image. According to the technical scheme, at least two photographed images to be processed are processed according to the preset template to obtain the target video or the target image, the obtained target video or the target image has storyline, so that the obtained target video or the target image is richer, the playability of a camera can be effectively increased, the enthusiasm of a user for photographing by using the camera of the mobile terminal is stimulated, and therefore 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 diagram of a hardware structure of a mobile terminal according to an embodiment 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 schematic flow chart of an image processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a method for determining a preset template according to an embodiment of the present application;
fig. 5 is a schematic diagram of a display interface of preset shooting information according to an embodiment of the present application;
fig. 6 is a schematic diagram of a display interface for demonstrating video according to an embodiment of the present application;
FIG. 7 is a flowchart of another image processing method according to an embodiment of the present application;
Fig. 8 is a schematic diagram of a display interface of preset shooting information according to an embodiment of the present application;
fig. 9 is a schematic diagram of a display interface for demonstrating an image according to an embodiment of the present application;
FIG. 10 is a flowchart of a method for determining or generating a drama video according to an embodiment of the present application;
FIG. 11 is a flowchart of a method for determining or generating a caricature image according to an embodiment of the present application;
FIG. 12 is a schematic diagram of a method for fabricating a target template according to an embodiment of the present application;
FIG. 13 is a flowchart of a method for authoring a target template according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of an image processing apparatus according to an embodiment of 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 "responsive 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 S301 and S302 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 S302 first and then S301 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 technical scheme provided by the embodiment of the application can be applied to a scene used by a camera, in particular to application of synthesizing images or videos shot by the camera.
The camera of the mobile terminal can shoot images and videos composed of at least two images, and precious moments in work and life can be recorded through the shooting mode. After capturing the image or video, it may be necessary to perform a composition process on the image or video, for example, a plurality of pieces of video recording a certain plant growth process are subjected to a composition process in time sequence, so as to obtain a composite video, and the whole growth process of the plant can be observed by watching the composite video.
However, when at least two images are combined into one image, or multiple video segments are combined into one video segment, the combined images or video segments are simply spliced, so that the connectivity of the combined images or video segments is poor, the story performance of the combined images or video segments cannot be experienced, the playability of a camera in the mobile terminal is reduced, and the user experience is reduced.
In order to solve the problem of poor story quality of the synthesized image or video due to simple splicing processing, a template with a story line can be preset, at least two images are shot according to the template, and at least two images to be processed are processed to obtain a target video or target image with story quality, so that the playability of the camera is improved. Thereby improving the user experience.
The mobile terminal may be implemented in various forms in the embodiments of the present application. For example, mobile terminals described in the present application may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), wearable devices, smart bracelets, pedometers, and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal 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 moving purpose.
Referring to fig. 1, fig. 1 is a schematic hardware structure of a mobile terminal according to an embodiment of the present application, where the mobile 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. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile 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, 2000, CDMA 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), and 5G, among others.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, 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 the WiFi module 102, it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as required within the scope of not changing the essence of the invention.
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 mobile 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 mobile 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 mobile 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 mobile 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 mobile 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 mobile 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 mobile 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 mobile 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 mobile terminal 100 or may be used to transmit data between the mobile 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 mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile 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 mobile 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. The modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., 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 perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In the embodiment of the present application, it is necessary to establish a connection between the mobile terminal and the communication network system to realize downloading of the application program to the mobile terminal 100.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile 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) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 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 above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are presented.
Fig. 3 is a flowchart of an image processing method according to an embodiment of the present application. The image processing method may be performed by software and/or hardware means, which may be, for example, an image processing device, which may be a mobile terminal or a processing chip in a mobile terminal. Optionally, referring to fig. 3, the image processing method may include:
s301, responding to a first operation instruction, and determining a preset template.
For example, the preset template may include at least one of preset shooting information, preset transition information and preset scenario information, which is only illustrated as an example, but the embodiment of the present application is not limited thereto. The shooting process can be enhanced in interest by presetting shooting information in a preset template and/or presetting transition information and/or presetting scenario information.
For example, the first operation instruction may be input by clicking or long pressing a related control on a display screen of the mobile terminal by a user, or may be input in other manners, which is not limited in the embodiment of the present application. The preset templates may include a preset video template and a preset image template, alternatively, the preset video template may provide a template for a user to take a video, and the preset image template may provide a template for the user to take an image, that is, a photo, so that the user can take the video and the image according to the requirements in the template.
When determining the preset template in response to the first operation instruction, referring to fig. 4, fig. 4 is a schematic diagram of a method for determining the preset template according to an embodiment of the present application. According to fig. 4, a plurality of video templates and image templates are displayed on a display interface of the mobile terminal, and a user clicks a control of the video template 2 on the display interface of the mobile terminal, and the display interface displays contents in the video template 2, that is, preset shooting information, preset transition information and preset scenario information of the video template 2. The user can determine whether to use the video template by checking preset shooting information, preset transition information and preset scenario information in the displayed video template 2, and if the video template 2 is determined to be used, shooting can be performed according to the preset shooting information in the video template 2; and/or if the video template 2 is not used, the user can return to the previous interface by clicking a return control at the upper left of the video template 2 to reselect the video template or the image template. It should be understood that the embodiment of the present application is only illustrated in fig. 4, and the embodiment of the present application is not limited thereto.
After determining the preset template, the following step S302 may be performed:
s302, shooting at least two images to be processed.
Optionally, at least two images to be processed are shot, shooting can be performed according to preset shooting information, and the preset shooting information can comprise at least one of shooting type, shooting scene and shooting plot; when at least two images to be processed are shot according to preset shooting information, shooting videos or shooting images can be determined according to shooting types, if the shooting types are video shooting, at least one section of video to be processed is shot according to shooting scenes and shooting plots, and the at least one section of video to be processed comprises the at least two images to be processed; and/or if the shooting type is image shooting, shooting at least two images to be processed according to shooting scenes and shooting episodes.
It can be understood that the shooting type may be displayed on the display interface in a text or image manner, for example, in fig. 4, when the display interface displays the preset shooting information, the display interface may be displayed on the preset shooting information control position in a text or icon manner, and the embodiment of the present application does not limit the specific display manner.
In the embodiment of the application, the image to be processed or the video to be processed is shot according to shooting scenes and shooting plots by shooting types, so that the shot video to be processed or the shot image to be processed has storyline, different shooting scenes and shooting plots, and the contents of the shot video to be processed or the shot image to be processed are different, thereby improving the playability of the camera and improving the user experience.
Optionally, when the shooting type is video shooting, the shooting information further includes shooting duration; at least one of a shooting duration, a shooting scene and a shooting scenario can be displayed in response to the second operation instruction when at least one section of video to be processed is shot according to the shooting scene and the shooting scenario; and shooting at least one section of video to be processed in the shooting scene according to the shooting duration and the shooting plot. Optionally, the shooting duration and the shooting scenario may be the shooting duration and the shooting scenario of each piece of video to be processed in at least one piece of video to be processed, and the shooting scenario may include the number of people, the lines, the person impersonation, and the like required for shooting the video, for example, the preset template is a segment in a television play, and the television play segment requires 2 men, 1 women, and related lines, impersonation, actions, and the like of the person, so that the shot video can fully restore the television play segment. The embodiment of the application does not limit the specific content of the displayed shooting time length, shooting scene and shooting scenario.
Fig. 5 is a schematic diagram of a display interface of preset shooting information according to an embodiment of the present application. According to fig. 5, after clicking the preset photographing information in the video template 2, the user may display the photographing duration, the photographing scene, and the photographing scenario on the display interface. It may be understood that the shooting scene may be a scene described by text or an image example, which is not limited in any way in the embodiment of the present application. The shooting scenario may be a short text description of shooting content, or may be other forms, which are not limited in any way by the embodiment of the present application.
Optionally, the shot scenario may be a shot demonstration video, for example, as shown in fig. 6, and fig. 6 is a schematic diagram of a display interface of the demonstration video provided by the embodiment of the present application. After receiving the user clicking the shooting scenario control on the display interface after the jump in fig. 5, displaying the shot demonstration video on the display interface, and displaying the video to be shot to the user through the demonstration video, so that the user can control the camera to shoot a video similar to the demonstration video by referring to the demonstration video, and the requirement of the shot video and the template is higher in compliance. Further, by clicking on the photographing control in fig. 6, the camera can be controlled to photograph video. In order to avoid that the duration of the shot video to be processed exceeds the shooting duration, in the process of controlling the camera to shoot the video to be processed, the shot video to be processed can be timed, and when the duration reaches the shooting duration, the camera mode is automatically exited, and shooting is stopped.
It can be understood that, in order to provide the user with the video clips that have already been shot, the user controls the camera to shoot at least one section of the video to be processed by watching the shot demonstration video, so that the shot video to be processed meets the requirement of the preset template.
Optionally, when at least one section of video to be processed is shot in the shooting scene, a Virtual Reality technology (VR) may be used to construct the shooting scene, for example, a VR technology is used to construct a scene of a science fiction movie or a scene that cannot be restored in a cartoon scene or the like, or a VR technology may be used to determine or generate clothing, props, hair ornaments, and the like of a person, so that the video to be processed shot in the VR scene can fully restore a preset template.
According to the embodiment of the application, at least one section of video to be processed is shot in the shooting scene according to the shooting duration and the shooting plot, so that the shot video to be processed has storyline, the interest of a user in shooting the video by using the camera can be mobilized, the types of target videos obtained according to the shot video are more various, the playability of the camera is improved, and the user experience is further improved.
S303, processing at least two images to be processed according to a preset template to obtain a target video or a target image.
Optionally, according to the above steps, after processing at least two images to be processed, a target image may be obtained, and after processing at least one section of video to be processed synthesized by at least two images to be processed, a target video may be obtained. In the following, a description will be given by taking an example of processing at least one section of video to be processed to obtain a target video.
When at least two images to be processed are processed according to a preset template to obtain a target video, the video to be processed can be preprocessed according to preset scenario information to determine or generate a first video, and the preprocessing comprises adding a filter; and adding preset transition information between two adjacent sections of first videos to obtain a target video, wherein the preset transition information comprises transition audio and a preset transition image. Alternatively, the preset transition image may be an image already existing in the template, or may be a captured image of the user, for example, an image captured by the user using a camera, or a video frame image in the video to be processed, which is not limited in any way in the embodiment of the present application.
Optionally, the added filter may be added according to preset scenario information and scene information in a preset template, for example, a black-and-white filter is added to change the shot video into a black-and-white video, and the embodiment of the application does not limit the specific filter.
Optionally, the preset transition information may be a manner of adding text to a curtain, where the text is used to describe main content of the next video, and the transition audio may be music or audio corresponding to the text, which is not limited in the embodiment of the present application. For example, the preset transition information is a mode of simulating closing and opening in a drama, so that the obtained target video is presented in the form of the drama, the playability of the camera is improved, and the enthusiasm of a user for using the camera can be mobilized.
It can be understood that the processing of the video to be processed may be performed after all the video to be processed is captured, or may be performed when each video to be processed is captured during the capturing process, or alternatively, may be set according to the actual situation, which is not limited in the embodiment of the present application.
In the embodiment of the application, the video to be processed is processed according to the preset scenario information, and the preset transition information is added, so that the obtained target video has storyline, the problems of poor connection degree and single type between the two first videos can be avoided by adding the transition information, the target video is more vivid and interesting, the playability of the camera is enhanced, and the user experience is improved.
Alternatively, at least two images to be processed captured in the step S302 may be processed to obtain the target image, and the method for obtaining the target image is not limited in this embodiment.
It can be seen that, in the image processing method provided by the embodiment of the application, the preset template is determined in response to the first operation instruction; shooting at least two images to be processed; and processing at least two images to be processed according to a preset template to obtain a target video or a target image. The target video or the target image obtained by the method is obtained by processing at least two shot images to be processed according to the preset template, and the at least two images to be processed are not simply synthesized, so that the target video or the target image has storylinability.
In order to facilitate understanding of the technical solution provided by the present application, the following describes in detail processing at least two images to be processed to obtain a target image by taking a shooting type as image shooting, and fig. 7 is a schematic flow chart of another image processing method provided by an embodiment of the present application. The image processing method may be performed by software and/or hardware means, which may be, for example, an image processing device, which may be a mobile terminal or a processing chip in a mobile terminal. Optionally, referring to fig. 7, the image processing method may include:
S701, responding to a first operation instruction, and determining a preset template.
Optionally, the preset template includes preset shooting information, preset transition information and preset scenario information.
Optionally, in response to the first operation instruction, the method for determining the preset template is the same as that in step S301, which is described above, and the embodiments of the present application are not described herein again. It will be appreciated that in an embodiment, the determined preset template is an image template. For example, as shown in fig. 4, the user clicks a control corresponding to any one of the image templates on the display interface, so that the display interface of the mobile terminal displays preset shooting information, preset transition information and preset scenario information.
S702, presetting shooting information comprises at least one of shooting types, shooting scenes and shooting episodes, and shooting at least two images to be processed according to the shooting scenes and the shooting episodes when the shooting types are image shooting.
When at least two images to be processed are shot according to shooting scenes and shooting episodes, the shooting scenes and the shooting episodes can be displayed in response to a third operation instruction; according to the shooting scenario, at least two images to be processed are shot in the shooting scene. For example, as shown in fig. 8, fig. 8 is a schematic diagram of a display interface of preset shooting information according to an embodiment of the present application. According to fig. 8, the display interface of the mobile terminal displays a photographing scene and photographing information by responding to a user clicking a preset photographing information control. When the shooting scene is displayed on the display interface, the shooting scene of the preset template can be described for the user in a text description mode, or the shooting scene can be displayed by clicking a shooting scene control on the display interface of fig. 8, and the shooting scene can be specifically set according to actual conditions, and the embodiment of the application is not limited in any way.
Optionally, in order to improve the matching degree of the shot image to be processed and the image required in the template image, the demonstration image may be displayed by clicking the shooting scenario control in the display interface after the jump in fig. 8, as shown in fig. 9, fig. 9 is a schematic diagram of a display interface of the demonstration image provided by the embodiment of the present application, and according to fig. 9, the shooting angle may be displayed while the demonstration image is displayed. The presentation image shown in fig. 9 may be a photographed optimal image, and the photographing angle is an optimal angle for photographing an image to be processed. It can be understood that, since at least two images to be processed need to be captured, the number of images included in the demonstration image may be determined according to the number of images to be processed that need to be captured, for example, if the number of images to be processed is 60, 10 images may be included in the demonstration image, and the embodiment of the present application does not limit the specific number.
Optionally, after viewing the presentation image displayed on the display interface, the user may click on the shooting control on the display interface after skipping in fig. 9 to perform a shooting interface, and control the camera to shoot at least two images to be processed. It is understood that the user may take a photograph according to the recommended photographing angle when controlling the camera to take the image to be processed.
According to the embodiment of the application, at least two images to be processed are shot in a shooting scene according to the shooting plot, and the images to be processed shot in different shooting plots are different, so that the shot images to be processed have storyline and various types, the playability of the camera is improved, and the enthusiasm of a user for using the camera can be effectively improved.
After all the images to be processed are photographed, the following step S703 is performed:
s703, processing at least two images to be processed according to preset scenario information and preset transition information to obtain a target image.
The preset transition information comprises image distribution information; when at least two images to be processed are processed according to the preset template, the at least two images to be processed can be processed according to preset scenario information and preset transition information to obtain a target image. Optionally, at least two images to be processed may be preprocessed according to preset scenario information to obtain a first image, where the preprocessing includes adding a filter; and according to the image distribution information, arranging the first images with the preset quantity to obtain at least one target image.
Optionally, when filters are added to at least two images to be processed, the filters added to each image to be processed may be the same or different, for example, a cartoon filter may be added to at least two images to be processed, so that the images to be processed are changed into a cartoon form, which may be specifically set according to the actual situation, and the embodiment of the present application does not limit the above. It is understood that the image distribution information may be the number of first images included in each target image and the arrangement of the first images in the target image, for example, 4 first images are included in the target image, and the 4 first images are uniformly arranged on the target image according to the photographing order. The embodiment of the application does not limit the specific distribution situation.
It can be understood that the processing of the images to be processed may be performed after all the images to be processed are captured, or may be performed every time one or a group of images to be processed are captured during the capturing process, and optionally, may be set according to the actual situation, which is not limited in the embodiment of the present application.
Alternatively, when the target images are obtained, if the target images are at least two, the target images can be also made into video form to be played, and the application is not limited in any way.
In the embodiment of the application, the filters are added for at least two images to be processed according to the scenario information, so that the images to be processed after the filters are added are more in accordance with the requirement of a preset template and are more realistic. In addition, according to the image distribution information, the first images after the filter is added are arranged to obtain target images, so that the obtained target images have storyline, the enthusiasm of a user for using the camera can be stimulated, the playability of the camera is improved, and the user experience is improved.
It can be seen that, in the image processing method provided by the embodiment of the application, the preset template is determined in response to the first operation instruction; the preset shooting information comprises at least one of shooting type, shooting scene and shooting scenario, and when the shooting type is image shooting, at least two images to be processed are shot according to the shooting scene and the shooting scenario; and processing at least two images to be processed according to the preset scenario information and the preset transition information to obtain a target image. Because the target image obtained by the technical scheme is obtained by processing at least two images to be processed which are shot according to the shooting scene and the shooting plot, the target image has storyline and is not simple to synthesize, the playability of the camera is improved, and the user experience is improved.
In order to facilitate understanding of the technical solution of the present application, the technical solution of the present application will be described in detail below with specific examples.
Fig. 10 is a flowchart of a method for determining or generating a drama video according to an embodiment of the present application. As shown in fig. 10, when a camera is used to determine or generate a drama video, the following steps may be included:
step 1: the video scenario mode is determined, i.e. the video mode is determined. Optionally, the user may determine a video mode from among a plurality of modes displayed on the display interface, where, according to the above embodiment, a plurality of pieces of video to be processed need to be captured.
Step 2: the scenario is selected. In the video scenario mode, a desired scenario is selected among a plurality of scenarios displayed on the mobile terminal interface, for example, a movie clip, a television episode, or the like. It can be understood that when selecting a scenario, the scenario may be selected according to a newspaper screen, a scenario prompt, and a video audio of each scene displayed on the mobile terminal interface, which is not particularly limited in the embodiment of the present application.
Step 3: and shooting scenario videos. According to fig. 10, when capturing a scenario video, a presentation video may be watched first to understand a plot of a story and watch a story outline to understand a scenario trend, alternatively, the presentation video may be a collection of a plurality of video clips or may be a video clip, specifically may be set according to an actual situation, and in addition, the presentation video and the story outline may be displayed on a display interface of a mobile terminal in a video manner to deepen an impression of a user. Optionally, shooting is performed with the scene as a segment, and when shooting, a camera may be used to shoot according to the content of the demonstration video, so as to shoot a video as similar as possible to the demonstration video. After a video is shot, a screen display cut and different video audio effects can be added during video switching, so that a camera is continuously utilized to shoot the next video according to story development, the screen display cut and the video audio effects are added, a video synthesized by a plurality of sections of videos and a plurality of screen display cuts is obtained, all video fragments are shot, and the video is saved in a form of a drama.
Step 4: and obtaining a target video. Optionally, after shooting and storing the video are finished in the step 3, outputting the drama video.
In the embodiment shown in fig. 10, the technical scheme of the application can use the camera of the mobile terminal to shoot the drama video instead of simply splicing the multiple video segments, so that the connection between the multiple video segments is more natural and interesting, thereby improving the playability of the camera and improving the user experience.
Fig. 11 is a flowchart of a method for determining or generating a cartoon image according to an embodiment of the present application. According to the technical solution provided by the present application, as shown in fig. 11, the method for determining or generating a cartoon image may include the steps of:
step 1: the photo scenario mode is determined, i.e., the image mode is determined. Alternatively, the user may determine the image mode among a plurality of modes displayed on the display interface, where at least two images to be processed need to be captured according to the above embodiment.
Step 2: the scenario is selected. In the photo scenario mode, an interested cartoon scenario is selected from a plurality of cartoon scenarios displayed on the mobile terminal interface, and the cartoon scenario mode can be exemplified by cartoon created by other users or cartoon created into books or movies. It may be appreciated that when selecting a cartoon scenario, the selection may be performed according to an example product, a scenario prompt and a split-mirror manner displayed on the mobile terminal interface, which is not particularly limited in the embodiment of the present application. Optionally, the splitting mode may include a display mode of each cartoon image in the template, and may also be other contents of the cartoon, which is not limited in any way in the embodiment of the present application.
Step 3: and shooting cartoon images. According to fig. 11, before the cartoon image is photographed, the display interface of the mobile terminal may also display a presentation cartoon, display the effect of the finished product of the author to introduce a scenario, and explain one by one in a story-dividing manner to deepen the impression of the user on each of the dividing mirrors. There is one photographing suggestion at each split lens, mainly recommended photographing angle, optionally at least two images are photographed with a camera. For example, the recommended shooting angle may occur when the story is told by a split mirror, or may be displayed on a display interface of the mobile terminal when shooting is performed by using a camera, for example, a contour of a person is displayed on the display interface, and optionally may be set according to actual situations. And synthesizing at least one cartoon in the form of a cartoon split mirror according to story development in the process of shooting all images or shooting the images. Optionally, after the image is shot, the image can be processed to obtain a corresponding cartoon image, or cartoon shooting is set, and the cartoon image is directly shot by using a camera, specifically, the cartoon image can be set according to actual conditions.
Step 4: and obtaining a target image. Optionally, after synthesizing at least one cartoon in the step 3, outputting a cartoon image.
In the embodiment shown in fig. 11, the technical scheme provided by the application can be used for shooting cartoon images by using the camera, so that the problem that a user is boring due to simple image splicing is avoided, the playability of the camera is effectively increased, the user experience is improved, and the enthusiasm of the user for using the camera of the mobile terminal can be fully mobilized.
In another embodiment of the present application, a user may autonomously make a preset template and upload the made template to a server, so that other users can obtain the template through the server and make an image or video by using shooting information, transition information and scenario information in the template.
Fig. 12 is a schematic diagram of a method for fabricating a target template according to an embodiment of the present application. The method comprises the following steps:
s1201, in response to the fourth operation instruction, at least two target images are photographed.
Optionally, when at least two target images are shot in response to the fourth operation instruction, shooting can be performed according to the type of the manufactured target template, and if the target template is a video template, shooting multiple segments of video, wherein each segment of video comprises at least two images; and/or if the target template is an image template, at least two images are shot.
It will be appreciated that at least two of the images taken are presentation images for prompting other users to take content, for example, taking multiple video segments for use as templates for other users to take, providing references to other users. The embodiment of the application does not limit the specific shooting image. According to the above embodiment, if the template is an image template, the shooting angle of the image needs to be set.
S1202, preprocessing the target image to obtain a processed target image.
Optionally, the target image is preprocessed, which may be a filter added, or other processing, such as VR technology, for example, and the embodiment of the present application is not limited in this respect.
S1203, performing synthesis processing on the processed target image, and determining or generating a target template, wherein the target template is a video or an image, and comprises target shooting information, target transition information and target scenario information.
Optionally, when the processed target image is synthesized, the target transition information and the target scenario information need to be synthesized according to the target transition information, and in this embodiment, the target transition information and the target scenario information may be added by the user according to their own preference, and the embodiment of the present application does not limit any specific content.
After determining or generating the target template, adding an identifier to the target template, and uploading the target template with the identifier to a server. Optionally, the added identifier may be an identifier of the user, so as to represent a publisher of the target template, or may be other identifier information, which is not limited in this embodiment of the present application.
In the embodiment of the application, the user can upload the target template to the server, and can also view and photograph the target template uploaded by other users in the server through the mobile terminal, so that the template is richer, thereby effectively improving the enthusiasm of the user for photographing by using the camera and increasing the playability of the camera in the mobile terminal.
Optionally, in the embodiment of the present application, in order to further mobilize the enthusiasm of the user, after the user uploads the authored target template to the server, user feedback evaluation may be performed at intervals, and the target template with higher evaluation may be rewarded, or the enthusiasm of the user may be stimulated by other means.
In summary, in this embodiment, at least two target images are captured in response to the fourth operation instruction; preprocessing the target image to obtain a processed target image; and synthesizing the processed target image, determining or generating a target template, wherein the target template is a video or an image, and comprises target shooting information, target transition information and target scenario information. The user can independently create the target template, enrich the types of the target template, and effectively mobilize the enthusiasm of the user for using the camera, so that the user experience is improved.
Fig. 13 is a flowchart of a method for authoring a target template according to an embodiment of the present application. According to the illustration of fig. 13, when authoring a target template, the following steps are included:
step 1: and a scenario creation platform. Optionally, the user may log in on the scenario creation platform to obtain the creation authority of the scenario creation platform, and the embodiment of the present application does not limit any specific login manner.
Step 2: a mode is selected. Optionally, selecting a video mode or a photo mode is included. If the selected mode is the video mode, executing the step 3; if the selected mode is the photo mode, step 4 is executed.
Step 3: an example video work is determined or generated. Optionally, the example video composition is determined or generated from story notes, newspaper cut-off visual effects, sound effects, scene special effects, sound effects, and story paragraph decomposition. Optionally, the story document, the visual effect, the sound effect, the scene special effect, the sound effect and the story paragraph decomposition may be made by the user, or may be selected by the user from materials provided on the authoring platform, which is not limited in the embodiment of the present application. In addition, the determined or generated example video work may be a complete video, such as a complete drama video, or may be a multi-segment video, for example, the complete video may be divided into multiple segments, each of which is a segment of video, which is not limited in any way by the embodiments of the present application.
Step 4: an example photo work is determined or generated. Optionally, the example video authoring is determined or generated according to story notes, mirror presentations, scene effects, and comic formats. Optionally, the story document, the split-mirror demonstration, the scene special effect and the cartoon format may be made by the user or selected by the user from materials provided on the authoring platform, which is not limited in the embodiment of the present application. Further, the example photo works determined or generated are images one by one.
Step 5: and finishing the creation and uploading to a server. And uploading the authored example video work to the server through the authoring platform to obtain the example photo work.
In the embodiment of the application, the user can independently create the video works or the photo works and upload the video works or the photo works to the server, so that other users take the works as templates to shoot the same video works or photo works, the playability of the camera is increased, the enthusiasm of the user is fully mobilized, and the user experience is improved.
Fig. 14 is a schematic structural diagram of an image processing apparatus 140 according to an embodiment of the present application, optionally, referring to fig. 14, the image processing apparatus 140 may include:
A response module 1401, configured to determine a preset template in response to the first operation instruction.
A shooting module 1402, configured to shoot at least two images to be processed.
The processing module 1403 is configured to process at least two images to be processed according to a preset template, so as to obtain a target video or a target image.
Optionally, the preset template includes at least one of: preset shooting information, preset transition information and preset scenario information.
Optionally, the preset shooting information includes at least one of shooting type, shooting scene and shooting scenario; the shooting module 1402 is specifically configured to shoot at least two images to be processed according to preset shooting information; when the shooting type is video shooting, shooting at least one section of video to be processed according to shooting scenes and shooting episodes, wherein the at least one section of video to be processed comprises at least two images to be processed; when the shooting type is image shooting, at least two images to be processed are shot according to shooting scenes and shooting episodes.
Optionally, the preset shooting information further includes shooting duration; the response module 1401 is further configured to display at least one of a shooting duration, a shooting scene, and a shooting scenario in response to the second operation instruction.
The shooting module 1402 is specifically configured to shoot at least one section of video to be processed in a shooting scene according to a shooting duration and a shooting scenario.
Optionally, the response module 1401 is further configured to display a shooting scene and a shooting scenario in response to the third operation instruction. The shooting module 1402 is specifically configured to shoot at least two images to be processed in a shooting scene according to a shooting scenario.
Optionally, the processing module 1403 is specifically configured to pre-process the video to be processed according to preset scenario information, determine or generate a first video, where the pre-process includes adding a filter; and adding preset transition information between two adjacent sections of first videos to obtain a target video, wherein the preset transition information comprises transition audio and a preset transition image.
Optionally, the preset transition information includes image distribution information; the processing module 1403 is specifically configured to pre-process at least two images to be processed according to preset scenario information to obtain a first image, where the pre-processing includes adding a filter; and according to the image distribution information, arranging the first images with the preset quantity to obtain at least one target image.
Optionally, the apparatus further includes a creating module 1404, the creating module 1404 being configured to capture at least two target images in response to a fourth operation instruction; preprocessing the target image to obtain a processed target image; and synthesizing the processed target image, determining or generating a target template, wherein the target template is a video or an image, and comprises target shooting information, target transition information and target scenario information.
The image processing device provided by the embodiment of the application can execute the technical scheme of the image processing method in any embodiment, and the implementation principle and beneficial effects of the image processing device are similar to those of the image processing method, and can be referred to the implementation principle and beneficial effects of the image processing method, and are not repeated here.
The embodiment of the application also provides a mobile 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 embodiments of the mobile terminal and the computer readable storage medium provided by 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 repeated 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.
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 Disk (SSD)), among others.
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 (8)

1. An image processing method, comprising:
responding to a first operation instruction, and determining a preset template; the preset template comprises at least one of the following: presetting shooting information, preset transition information and preset scenario information;
shooting at least two images to be processed according to the preset shooting information;
processing the at least two images to be processed according to the preset template to obtain a target video or a target image;
the preset transition information comprises image distribution information;
the processing the at least two images to be processed according to the preset template to obtain a target image comprises the following steps:
preprocessing at least two images to be processed according to the preset scenario information to obtain a first image, wherein the preprocessing comprises adding a filter;
according to the image distribution information, arranging a preset number of first images to obtain at least one target image; the image distribution information is the number of the first images contained in each target image and the arrangement condition of the first images in the target image.
2. The method of claim 1, wherein the preset photographing information includes at least one of a photographing type, a photographing scene, and a photographing scenario;
shooting at least two images to be processed according to the preset shooting information, wherein the shooting comprises the following steps:
if the shooting type is video shooting, shooting at least one section of video to be processed according to the shooting scene and the shooting plot, wherein the at least one section of video to be processed comprises at least two images to be processed; and/or the number of the groups of groups,
and if the shooting type is image shooting, shooting the at least two images to be processed according to the shooting scene and the shooting plot.
3. The method of claim 2, wherein the preset photographing information further includes a photographing duration;
according to the shooting scene and the shooting scenario, shooting at least one section of video to be processed comprises:
responding to the second operation instruction, and displaying at least one of shooting duration, shooting scene and shooting plot;
and shooting at least one section of video to be processed in the shooting scene according to the shooting duration and the shooting scenario.
4. The method of claim 2, wherein capturing the at least two images to be processed according to the capture scene and the capture scenario comprises:
Responding to a third operation instruction, and displaying the shooting scene and the shooting plot;
and shooting the at least two images to be processed in the shooting scene according to the shooting scenario.
5. The method according to any one of claims 1 to 4, wherein the processing the at least two images to be processed according to the preset template to obtain a target video further includes:
preprocessing the video to be processed according to the preset scenario information, and determining or generating a first video, wherein the preprocessing comprises adding a filter;
and adding the preset transition information between two adjacent sections of the first video to obtain a target video, wherein the preset transition information comprises transition audio and a preset transition image.
6. The method according to any one of claims 1 to 4, further comprising:
shooting at least two target images in response to a fourth operation instruction;
preprocessing the target image to obtain a processed target image;
and synthesizing the processed target image, and determining or generating a target template, wherein the target template is a video or an image and comprises target shooting information, target transition information and target scenario information.
7. A mobile terminal, the mobile terminal comprising: 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 according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that 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 any of claims 1 to 6.
CN202111343111.9A 2021-11-12 2021-11-12 Image processing method, mobile terminal and storage medium Active CN113938620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111343111.9A CN113938620B (en) 2021-11-12 2021-11-12 Image processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111343111.9A CN113938620B (en) 2021-11-12 2021-11-12 Image processing method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113938620A CN113938620A (en) 2022-01-14
CN113938620B true CN113938620B (en) 2023-11-07

Family

ID=79286677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111343111.9A Active CN113938620B (en) 2021-11-12 2021-11-12 Image processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113938620B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390345B (en) * 2022-01-24 2024-02-09 惠州Tcl移动通信有限公司 Video generation method, device, electronic equipment and computer readable storage medium
CN114900734B (en) * 2022-05-18 2024-05-03 广州太平洋电脑信息咨询有限公司 Vehicle type comparison video generation method and device, storage medium and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846377A (en) * 2018-06-29 2018-11-20 百度在线网络技术(北京)有限公司 Method and apparatus for shooting image
CN109788204A (en) * 2019-03-12 2019-05-21 维沃移动通信有限公司 Shoot processing method and terminal device
CN110177219A (en) * 2019-07-01 2019-08-27 百度在线网络技术(北京)有限公司 The template recommended method and device of video
CN111601039A (en) * 2020-05-28 2020-08-28 维沃移动通信有限公司 Video shooting method and device and electronic equipment
WO2021135601A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Auxiliary photographing method and apparatus, terminal device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846377A (en) * 2018-06-29 2018-11-20 百度在线网络技术(北京)有限公司 Method and apparatus for shooting image
CN109788204A (en) * 2019-03-12 2019-05-21 维沃移动通信有限公司 Shoot processing method and terminal device
CN110177219A (en) * 2019-07-01 2019-08-27 百度在线网络技术(北京)有限公司 The template recommended method and device of video
WO2021135601A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Auxiliary photographing method and apparatus, terminal device, and storage medium
CN111601039A (en) * 2020-05-28 2020-08-28 维沃移动通信有限公司 Video shooting method and device and electronic equipment

Also Published As

Publication number Publication date
CN113938620A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN107390972B (en) Terminal screen recording method and device and computer readable storage medium
CN106937039B (en) Imaging method based on double cameras, mobile terminal and storage medium
CN109068052B (en) Video shooting method, mobile terminal and computer readable storage medium
RU2745737C1 (en) Video recording method and video recording terminal
CN111010610B (en) Video screenshot method and electronic equipment
CN113938620B (en) Image processing method, mobile terminal and storage medium
CN108683852A (en) A kind of video recording method, terminal and computer readable storage medium
CN111147779B (en) Video production method, electronic device, and medium
CN111597370B (en) Shooting method and electronic equipment
CN111182213B (en) Video production method, electronic device, and medium
CN113542610A (en) Shooting method, mobile terminal and storage medium
CN114915745B (en) Multi-view video recording method and device and electronic equipment
CN114025215A (en) File processing method, mobile terminal and storage medium
CN112135045A (en) Video processing method, mobile terminal and computer storage medium
CN113286106B (en) Video recording method, mobile terminal and storage medium
CN113727047A (en) Video processing method, mobile terminal and readable storage medium
CN111263093B (en) Video recording method and electronic equipment
CN113194227A (en) Processing method, mobile terminal and storage medium
CN114040183B (en) Image processing method, mobile terminal and storage medium
CN111866391B (en) Video shooting method and device and computer readable storage medium
CN107784629A (en) Distant view photograph filter processing method and mobile terminal
CN113596350B (en) Image processing method, mobile terminal and readable storage medium
CN116940967A (en) Image control method, mobile terminal and storage medium
CN117793426A (en) Processing method, intelligent terminal and storage medium
CN117156217A (en) Image processing method, intelligent terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant