Image editing method and device, terminal equipment and storage medium

CN119907993APending Publication Date: 2025-04-29SHENZHEN TRANSSION HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280100134.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

In the existing technology, picture editing efficiency is low, and users need to jump to the gallery or third-party software for advanced editing, which reduces processing efficiency and user experience.

Method used

By receiving user-triggered shortcut operations in the terminal device, you can use preset parameters to edit directly on the picture preview interface, including operations triggered by shortcut gestures and functional components, and provide advanced editing effects such as stickers and filters.

Benefits of technology

It reduces the complexity and difficulty of image editing, improves processing efficiency and user experience, and avoids the necessity of jumping to the gallery or third-party software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119907993A_ABST
    Figure CN119907993A_ABST
Patent Text Reader

Abstract

The invention provides an image editing method and device, terminal equipment and a storage medium. The image editing method comprises the steps of obtaining a triggered shortcut operation; and editing a to-be-edited picture through a preset parameter corresponding to the shortcut operation. According to the method, the user can quickly edit the picture by using the quick operation, so that the picture processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Image editing method, device, terminal equipment and storage medium Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to an image editing method, apparatus, terminal device and storage medium. Background Art

[0002] When processing the pictures that have been taken, for example, as shown in Figures 1a and 1b, the left interface is generally in multi-picture preview mode, where only simple editing operations such as deletion or sharing can be performed; while the right interface is in single-picture preview mode, where in addition to performing simple editing operations, you can also enter the gallery for post-editing of pictures.

[0003] As can be seen, due to limited display area and technical implementation, most thumbnail previews serve only as temporary access points for viewing images, retaining only basic editing functions such as deletion and sharing. If you need to perform advanced post-processing on the image, you must access the gallery or a third-party application. This image editing method significantly reduces image processing efficiency. Technical issues

[0004] How to enable users to quickly edit images using quick operations, thereby improving image processing efficiency. Technical Solutions

[0005] In response to the above technical problems, the present application provides an image editing method, apparatus, terminal device and storage medium, which can enable users to quickly edit images using shortcut operations and improve image processing efficiency.

[0006] To achieve the above objectives, the present application provides an image editing method, which includes:

[0007] S10, obtaining the triggered quick operation;

[0008] S20: Edit the image to be edited using preset parameters corresponding to the shortcut operation.

[0009] Optionally, before S20, the method further includes:

[0010] According to the association relationship between the preset parameters and the shortcut operation, the preset parameters corresponding to the shortcut operation are determined or generated.

[0011] Optionally, before determining or generating the preset parameters corresponding to the shortcut operation based on the association between the preset parameters and the shortcut operation, the method further includes:

[0012] Obtain at least one preset parameter and / or at least one shortcut operation;

[0013] Establish an association relationship between the preset parameters and the shortcut operation.

[0014] Optionally, the step S20 includes:

[0015] The picture to be edited is edited in a preset picture preview interface using preset parameters corresponding to the quick operation, wherein the picture preview interface includes at least one picture to be edited.

[0016] Optionally, the picture editing effect corresponding to the preset parameters includes: stickers, and before editing the picture to be edited on a preset picture preview interface using the preset parameters corresponding to the shortcut operation, the process further includes:

[0017] Identifying a target area in the image to be edited;

[0018] The step of editing the image to be edited on a preset image preview interface using preset parameters corresponding to the shortcut operation includes:

[0019] In the picture preview interface, the sticker corresponding to the quick operation is added to the target area to edit the picture to be edited.

[0020] Optionally, the shortcut operation includes a shortcut gesture, and S10 includes:

[0021] The shortcut gesture triggered at any position of the picture to be edited is received, or a shortcut operation triggered by a functional component corresponding to the picture to be edited is received.

[0022] Optionally, before S10, the method further includes:

[0023] A picture acquisition instruction is received, and a picture is captured according to the picture acquisition instruction to obtain the picture to be edited.

[0024] To achieve the above-mentioned object, the present application further provides an image editing device, comprising:

[0025] Receiving module, used to obtain the triggered quick operation;

[0026] The editing module is used to edit the image to be edited using preset parameters corresponding to the shortcut operation.

[0027] Among them, each functional module of the image editing device of the present application implements the steps of the image editing method described above during operation.

[0028] To achieve the above-mentioned purpose, the present application also provides a terminal device, which includes: a memory, a processor, and an image editing program stored in the memory and runnable on the processor, and when the image editing program is executed by the processor, the steps of the image editing method described above are implemented.

[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, on which an image editing program is stored. When the image editing program is executed by a processor, the steps of the image editing method described above are implemented.

[0030] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the image editing method described above. Beneficial effects

[0031] The present application provides an image editing method, apparatus, terminal device, storage medium and computer program product, wherein the image editing method includes: obtaining a triggered shortcut operation; and editing a picture to be edited using preset parameters corresponding to the shortcut operation. In the present application, the terminal device can receive a shortcut operation triggered by a user based on the picture to be edited, so as to perform a corresponding editing operation on the picture based on the shortcut operation. After receiving the shortcut operation triggered by the user based on the picture to be edited, the terminal device will use the preset parameters corresponding to the shortcut operation and pre-set in advance to perform corresponding editing processing on the above-mentioned picture to be edited. Therefore, compared to the method of processing the picture by jumping to the gallery or third-party picture editing software, in the present application, the corresponding picture editing effect can be determined according to the shortcut operation triggered by the user, and then the picture can be directly edited using the picture editing effect, without the need to edit the picture in the gallery or third-party picture editing software, and also avoiding the complex operations of the user when editing the picture. On this basis, the difficulty of picture editing is reduced, the efficiency of picture editing processing is improved, and the user experience is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for describing the embodiments. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without inventive work.

[0033] FIG1a is a first schematic diagram of the image preview interface provided in the background technology of this application;

[0034] FIG1b is a second schematic diagram of the image preview interface provided in the background technology of this application;

[0035] FIG2 is a schematic diagram of the hardware structure of a terminal device implementing various embodiments of the present application, provided by an embodiment of the present application;

[0036] FIG3 is a diagram of a communication network system architecture provided by an embodiment of the present application;

[0037] FIG4 is a schematic diagram of a first flow chart of an image editing method provided by an embodiment of the present application;

[0038] FIG5 is a schematic diagram of a second flow chart of an image editing method provided in an embodiment of the present application;

[0039] FIG6 is a schematic diagram of a third flow chart of an image editing method provided in an embodiment of the present application;

[0040] FIG7 is a schematic diagram of a quick operation provided by an embodiment of the present application;

[0041] FIG8a is a first schematic diagram of a quick editing effect provided by an embodiment of the present application;

[0042] FIG8b is a second schematic diagram of the quick editing effect provided by an embodiment of the present application;

[0043] FIG8c is a third schematic diagram of the quick editing effect provided by an embodiment of the present application;

[0044] FIG9 is a schematic structural diagram of an image editing device provided in an embodiment of the present application;

[0045] FIG10 is a schematic structural diagram of another terminal device provided in an embodiment of the present application;

[0046] FIG11 is a schematic diagram of the hardware structure of a controller 140 provided in an embodiment of the present application;

[0047] FIG12 is a schematic diagram of the hardware structure of a network node 150 provided in an embodiment of the present application;

[0048] The purpose of this application, its features, and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and the accompanying text are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of this application to those skilled in the art by reference to specific embodiments. Modes for Carrying Out the Invention

[0049] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0050] It should be noted that, in this document, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined based on their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0051] It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are used solely to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the term "if," as used herein, may be interpreted as "upon," "when," or "in response to a determination." 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 should be further understood that the terms "comprising" and "including" indicate the presence of the recited features, steps, operations, elements, components, items, types, and / or groups, but do not preclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, types, and / or groups. The terms "or," "and / or," "including at least one of the following," etc., as used herein, may be interpreted as inclusive, meaning any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”; and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; 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 inherently mutually exclusive in some manner.

[0052] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless clearly stated herein, the execution of these steps is not strictly limited in order, and they can be performed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0053] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.

[0054] It should be noted that in this article, step codes such as S301 and S302 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial restriction on the order. When implementing the step, those skilled in the art may execute S302 first and then S301, etc., but these should all be within the scope of protection of this application.

[0055] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0056] In the subsequent description, the use of suffixes such as "module", "component" or "unit" to represent elements is only for the purpose of facilitating the description of the present application and has no specific meaning. Therefore, "module", "component" or "unit" can be used interchangeably.

[0057] Terminal devices can be implemented in various forms. For example, the terminal devices described in this application may include mobile devices with cameras, such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, and other devices, as well as fixed terminals with cameras, such as digital TVs and desktop computers.

[0058] The subsequent description will be made using a terminal device as an example. It will be understood by those skilled in the art that, in addition to components specifically used for mobile purposes, the configuration according to the embodiments of the present application can also be applied to fixed-type terminals.

[0059] Please refer to FIG2 , which is a schematic diagram of the hardware structure of a terminal device for implementing various embodiments of the present application, provided in an embodiment of the present application. The terminal device 100 may include components such as 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 terminal device structure shown in FIG1 does not limit the terminal device, and the terminal device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0060] The following is a detailed introduction to the various components of the terminal device with reference to Figure 1:

[0061] The RF unit 101 can be used to send and receive information or receive signals during calls. Specifically, it receives downlink information from the base station and transmits it to the processor 110 for processing. It also transmits uplink data to the base station. Typically, the RF 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 more. Furthermore, the RF unit 101 can communicate with the network and other devices via wireless communication. The above-mentioned wireless communications may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing- Long Term Evolution) and TDD-LTE (Time Division Duplexing- Long Term Evolution), etc.

[0062] WiFi is a short-range wireless transmission technology. Terminal devices, through WiFi module 102, can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband Internet access. Although FIG1 illustrates WiFi module 102, it is understood that it is not a required component of the terminal device and can be omitted as needed without changing the essence of the application.

[0063] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the terminal device 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. In addition, the audio output unit 103 can also provide audio output related to a specific function performed by the terminal device 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0064] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data from still images or videos captured by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the GPU 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the RF unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) in various operating modes, such as phone call mode, recording mode, and voice recognition mode, and process such sound into audio data. In phone call mode, the processed audio (voice) data may be converted into a format that can be transmitted to a mobile communication base station via the RF unit 101. The microphone 1042 may implement various noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated during the reception and transmission of audio signals.

[0065] The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, or other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 based on the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the terminal device 100 is moved to the ear. An accelerometer, a type of motion sensor, can detect the magnitude of acceleration in all directions (generally three axes) and, when stationary, the magnitude and direction of gravity. This can be used for applications that recognize the phone's posture (such as switching between landscape and portrait modes, related games, and magnetometer posture calibration), vibration recognition-related functions (such as pedometers and tapping), and other functions. Other sensors that may be configured on the phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, are not described here.

[0066] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0067] The user input unit 107 can be used to receive input digital or character information and generate key signal input related to user settings and function control of the terminal device. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can detect user touch operations on or near it (for example, operations performed on or near the touch panel 1071 using a finger, stylus, or any other suitable object or accessory) and drive corresponding connected devices according to pre-set programs. The touch panel 1071 may include a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch position and detects signals generated by the touch operation, transmitting the signals to the touch controller. The touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 110. The touch controller can also receive and execute commands from the processor 110. Furthermore, the touch panel 1071 can be implemented using various types of sensors, including resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, power keys, etc.), a trackball, a mouse, a joystick, etc., and the specifics are not limited here.

[0068] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. The processor 110 then provides a corresponding visual output on the display panel 1061 based on the type of touch event. Although in FIG1 , the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, which is not limited to this specific embodiment.

[0069] The interface unit 108 serves as an interface through which at least one external device can be connected to the terminal device 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from the external device and transmit the received input to one or more elements within the terminal device 100, or may be used to transmit data between the terminal device 100 and the external device.

[0070] Memory 109 can be used to store software programs and various data. Memory 109 may primarily include a program storage area and a data storage area. Optionally, the program storage area may store an operating system and at least one application required for a function (such as sound playback or image playback); the data storage area may store data generated based on the use of the phone (such as audio data and a phone book). Memory 109 may also include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0071] Processor 110 is the control center of the terminal device. It connects all components of the terminal device using various interfaces and circuits. By running or executing software programs and / or modules stored in memory 109 and accessing data stored in memory 109, it performs various terminal device functions and processes data, thereby providing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, processor 110 may integrate an application processor and a modem processor. Optionally, the application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 110.

[0072] The terminal device 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption.

[0073] Although not shown in FIG. 2 , the terminal device 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0074] To facilitate understanding of the embodiments of the present application, the communication network system on which the terminal device of the present application is based is described below.

[0075] Please refer to Figure 3, which is a communication network system architecture diagram provided in an embodiment of the present application. The communication network system is an LTE system of universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence.

[0076] Optionally, UE201 may be the above-mentioned terminal device 100, which will not be described in detail here.

[0077] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 . Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface). eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 may provide UE 201 with access to EPC 203 .

[0078] The EPC 203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving Gate Way) 2034, a PGW (PDN Gate Way) 2035, and a PCRF (Policy and Charging Rules Function) 2036. Optionally, the MME 2031 is a control node that processes signaling between the UE 201 and the EPC 203, providing bearer and connection management. The HSS 2032 provides registers for managing functions such as the Home Location Register (not shown) and stores user-specific information such as service features and data rates. All user data can be sent through SGW2034. PGW2035 can provide IP address allocation and other functions for UE 201. PCRF2036 is the policy and charging control policy decision point for service data flows and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0079] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem), or other IP services.

[0080] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new network systems, etc., which are not limited here.

[0081] Based on the above-mentioned terminal device hardware structure and communication network system, various embodiments of the present application are proposed.

[0082] Please refer to Figure 4, which is a flowchart of the image editing method provided in the first embodiment of the present application. The image editing method of the first embodiment of the present application can be executed by a terminal device equipped with a camera. Optionally, the method can be executed by a server. The method may specifically include the following steps:

[0083] S10, obtaining the triggered quick operation;

[0084] The terminal device can receive a quick operation triggered by the user based on the picture to be edited, and perform a corresponding editing operation on the picture based on the quick operation.

[0085] In this embodiment, after acquiring an image, it is generally necessary to perform advanced editing on the image in an image library or third-party image editing software. In this way, in order to edit the image, the user needs to end the current shooting and then enter the image library or third-party image editing software, which greatly reduces the efficiency of image editing and the user experience. Based on the above problem, in this embodiment, a quick operation triggered by the user for the image to be edited can be directly received, so that the image can be edited using the preset parameters corresponding to the quick operation.

[0086] In one embodiment, the image editing method of the present application can be applied to foldable screen mobile phones (as shown in Figures 1a and 1b). Foldable screen mobile phones generally have two display interfaces. When using a foldable screen mobile phone for shooting, the display interface on the right can be used for picture shooting and single picture preview, while the display interface on the left can be used to display and preview the pictures (at least one) that have been shot. In this embodiment, as shown in Figure 5, if the user needs to perform corresponding post-processing on the preview picture on the left (i.e., the picture to be edited), the corresponding quick operation can be directly performed on the preview picture in the current preview interface. After receiving the quick operation triggered by the user, the terminal device will directly edit the picture in the current preview interface based on the quick operation, without jumping to the gallery or third-party picture editing software to process the picture.

[0087] In another embodiment, when taking a picture through the display interface on the right side of a foldable screen mobile phone, after the shooting is completed, the currently taken picture will be displayed in the display interface on the right. At this time, the user can also trigger the corresponding shortcut operation based on the picture in the display interface on the right to directly edit the preview picture (i.e., the picture to be edited) on the display interface on the right.

[0088] S20: Edit the image to be edited using preset parameters corresponding to the shortcut operation.

[0089] In an embodiment of the present application, after receiving a quick operation triggered by the user based on the picture to be edited, the terminal device will perform corresponding editing processing on the above-mentioned picture to be edited through the preset parameters corresponding to the quick operation. In this embodiment, at least one preset parameter is included, and the preset parameter is a picture editing effect parameter. Each preset parameter has its corresponding picture editing effect (for example, filters, adding plug-ins, adding text, cutting out and defogging, etc.). The picture editing effects corresponding to the above-mentioned picture preset parameters can be preset in the terminal device in advance by technical personnel.

[0090] Optionally, for example, after receiving a quick operation triggered by the user based on the picture to be edited in the display interface on the left, a terminal device with a folding screen may first determine or generate preset parameters corresponding to the quick operation, and then use the picture editing effect corresponding to the preset parameters to edit the picture to be edited directly on the display interface on the left, so that the user can also preview the edited picture directly on the display interface on the left. At this time, the user can save the edited picture locally, or abandon the current picture editing effect and return to the original picture without the picture editing effect added.

[0091] In an embodiment of the present application, a terminal device can receive a quick operation triggered by a user based on a picture to be edited, so as to perform a corresponding editing operation on the picture based on the quick operation. After receiving the quick operation triggered by the user based on the picture to be edited, the terminal device will use the picture editing effects (including filters, adding plug-ins, adding text, cutting out and defogging, etc.) corresponding to the quick operation and corresponding to the preset parameters to perform corresponding advanced editing processing on the above-mentioned picture to be edited. Therefore, compared to the method of processing pictures by jumping to the gallery or third-party picture editing software, in the present application, the corresponding picture editing effect can be determined according to the quick operation triggered by the user, and then the picture editing efficiency can be used to directly edit the picture, without the need to edit the picture in the picture gallery or third-party picture editing software, and also avoid the complicated operations of the user when editing the picture. On this basis, the difficulty of picture editing is reduced, the efficiency of picture editing is improved, and the user experience is greatly improved.

[0092] Based on the first embodiment of the image editing method of the present application, a second embodiment of the image editing method of the present application is proposed. In this embodiment, before the above step S20 of "editing the image to be edited using the image editing effect corresponding to the shortcut operation", the following steps may also be included:

[0093] Step S30: determining or generating preset parameters corresponding to the shortcut operation according to the association relationship between the preset parameters and the shortcut operation.

[0094] In this embodiment, after determining the association between preset parameters and shortcut operations, if the terminal device receives a shortcut operation triggered by the user, it can directly determine or generate preset parameters corresponding to the shortcut operation based on the association. That is, the preset parameters and shortcut operations have a one-to-one correspondence. Based on this, the terminal device can further use the image editing effects corresponding to the preset parameters to perform advanced editing on the image to be edited.

[0095] As shown in FIG6 , before the above step S20 of “editing the image to be edited using the preset parameters corresponding to the shortcut operation”, the following steps may also be included:

[0096] Step S40, determining at least one preset parameter and / or at least one shortcut operation;

[0097] In an embodiment, the terminal device needs to predetermine at least one preset parameter and / or at least one quick operation. Optionally, the image editing effects corresponding to the preset parameters include but are not limited to filters, adding plug-ins, adding text, cutting out, portrait beautification, etc., and the quick operations include but are not limited to quick gestures and quick operations triggered by preset functional components.

[0098] In one embodiment, the back-end developer may pre-set preset parameters and shortcut operations into the terminal device before the terminal device leaves the factory, so that after receiving the shortcut operation triggered by the user, the terminal device can obtain the corresponding image editing effect parameters to perform advanced editing processing on the image.

[0099] In another embodiment, the terminal device includes at least one image editing effect library and at least one quick operation library. The image editing effect library includes multiple image editing effects, while the quick operation library includes multiple quick operations. Based on this, users can also add image editing effects and quick operations to the image editing effect library and quick operation library, respectively, based on actual usage needs, to enrich the image editing effect library and quick operation library, meet user needs, and enhance the user experience.

[0100] Step S50: constructing an association relationship between the preset parameters and the shortcut operations.

[0101] In this embodiment, in order to quickly determine or generate preset parameters corresponding to the quick operation after receiving the triggered quick operation, it is necessary to associate each preset parameter with its corresponding quick operation in advance, so that after the user triggers the quick operation, the terminal device will edit the picture to be edited through the preset parameters corresponding to the quick operation.

[0102] In one embodiment, when establishing the association between preset parameters and quick operations, the preset parameters and quick operations can be mapped so that each preset parameter has its corresponding quick operation. In this way, the user only needs to trigger the corresponding quick operation to quickly edit the image to be edited using the preset parameters corresponding to the quick operation. Therefore, this embodiment greatly reduces the complexity of image processing and improves image processing efficiency, thereby greatly improving the user experience.

[0103] In the above step S20, “editing the image to be edited using the preset parameters corresponding to the shortcut operation” may include:

[0104] Step S201 : Editing the picture to be edited in a preset picture preview interface using preset parameters corresponding to the shortcut operation, wherein the picture preview interface includes at least one picture to be edited.

[0105] In this embodiment, when a user performs a corresponding quick operation on the image to be edited, for example, by making a corresponding gesture on the image to be edited as shown in FIG7 , the terminal device detects the quick operation triggered by the user and determines or generates image editing effect parameters corresponding to the quick operation. Then, in the current image preview interface, the image editing effect corresponding to the aforementioned image editing effect parameters is used to perform advanced editing on the current image to be edited, such as adding filters, adding special effects, image repair, cropping, and portrait beautification.

[0106] Optionally, in this embodiment, the image preview interface includes at least one image to be edited. The arrangement of the images to be edited is not specifically limited in this embodiment. Based on this, the user can edit any image in the image preview interface. Upon receiving a user-triggered shortcut, the terminal device can retrieve corresponding image editing effect parameters based on the shortcut.

[0107] In one embodiment, for a terminal device with a foldable screen, both the left and right display interfaces can be used as image preview interfaces. However, the right preview interface only contains one image to be edited, while the left preview interface contains at least one image to be edited. Based on this, the user can perform advanced editing on the image to be edited on either side.

[0108] Before the above step S20 of "editing the image to be edited using the preset parameters corresponding to the shortcut operation", the following steps are also included:

[0109] Step S60, identifying a target area in the image to be edited;

[0110] On this basis, the above step S201 includes:

[0111] Step S2011: In the picture preview interface, the sticker is added to the target area to edit the picture to be edited.

[0112] In this embodiment, when the picture editing effect corresponding to the preset parameters is a sticker, in order to accurately edit the picture to be edited, it is necessary to pre-identify the target area in the picture to be edited (that is, the area where the people and / or objects in the picture to be edited are located).

[0113] Furthermore, after receiving the user-triggered shortcut operation, the terminal device will use the image editing effect corresponding to the shortcut operation (for example, adding stickers to the image) to add stickers to the target area of ​​the image to be edited, and obtain the edited images shown in Figures 8a, 8b and 8c. It can be seen that users can add different stickers to the image in the image preview interface through different shortcut operations.

[0114] In another embodiment, after the terminal device adds stickers to a target area in a picture to be edited, the user can move the stickers in the target area to other locations, thereby achieving flexible and advanced editing of the picture.

[0115] In this embodiment, the terminal device needs to predetermine at least one preset parameter and / or at least one quick operation. In order to quickly determine the corresponding preset parameter after receiving the triggered quick operation, it is necessary to pre-associate each preset parameter with its corresponding quick operation. If the terminal device receives a quick operation triggered by the user, it can directly determine or generate the preset parameter corresponding to the quick operation based on the above-mentioned association relationship. Then, using the picture editing effect corresponding to the preset parameter, the editing operation is performed on the picture to be edited in the preset picture preview interface. Therefore, the present application can determine the corresponding picture editing effect according to the quick operation triggered by the user, and then use the picture editing effect to perform advanced editing processing on the picture to be edited directly in the picture preview interface, without the need to edit the picture in the picture library or third-party picture editing software, which reduces the difficulty of picture editing processing, improves the efficiency of picture editing processing, and greatly improves the user experience.

[0116] Based on the first and second embodiments of the image editing method of the present application, a third embodiment of the present application is proposed.

[0117] Compared with the first and second embodiments, in this embodiment, in step S10, "obtaining a triggered shortcut operation" may include:

[0118] Step S101: receiving the shortcut gesture triggered at any position of the picture to be edited, or receiving a shortcut operation triggered based on a functional component corresponding to the picture to be edited.

[0119] In this embodiment, the quick operation includes quick gestures. For example, you can use your finger to draw an arc, a "✔", a straight line, slide your finger left or right, etc. on the picture to be edited. Each quick gesture has its corresponding preset parameters, so that the terminal device can determine the corresponding image editing effect parameters according to the quick gesture triggered by the user, and then use the image editing effect corresponding to the image editing effect parameter to process the picture to be edited.

[0120] Optionally, in addition to quick gestures, quick operations may also include quick operations triggered by functional components corresponding to the image to be edited. Based on this, the terminal device may receive a quick operation triggered by the user based on the functional components corresponding to the image to be edited, and then process the image to be edited using preset parameters corresponding to the quick operation.

[0121] In one embodiment, the backend developer may pre-install functional components in the terminal device in advance. In this embodiment, the location of the functional components is not specifically limited. For example,

[0122] The functional component can be located at the bottom, top, side, etc. of the picture to be edited. Furthermore, if the user triggers a certain functional component, then after receiving the quick operation triggered by the user through the functional component, the terminal device will use the preset parameters corresponding to the quick operation to process the picture to be edited. For example, if the user triggers a quick operation through the functional component at the bottom of the picture to be edited (if the functional component is used to add a filter), at this time, after receiving the quick operation triggered by the user based on the functional component, the terminal device will obtain the preset parameters corresponding to the quick operation, and then use the picture editing effect corresponding to the preset parameters (that is, multiple style filters), and then add filters to the picture to be edited. Optionally, the user can switch the filter style by clicking on the functional component.

[0123] Before the above step S10 of "obtaining the triggered quick operation", the following steps are also included:

[0124] Step S70: receiving a picture acquisition instruction, and taking a picture according to the picture acquisition instruction to obtain the picture to be edited.

[0125] In this embodiment, after receiving the picture acquisition instruction from the user, the terminal device will capture the picture according to the picture acquisition instruction to obtain the picture to be edited.

[0126] In one embodiment, if the terminal device is a folding mobile phone with two display screens, then after receiving a picture acquisition instruction triggered by the user, display screen A will be used to take pictures, and the other display screen B will be used for picture preview. At this time, the picture to be edited after taking the picture can be located in the preview interface of display screen B.

[0127] In the present application, after receiving the user's picture acquisition instruction, the terminal device will take a picture according to the picture acquisition instruction to obtain the picture to be edited. The terminal device receives the shortcut gesture triggered at any position of the picture to be edited, or receives a shortcut operation triggered based on the functional component corresponding to the picture to be edited. Therefore, in the present application, the user triggers the shortcut operation in a variety of ways, so that the terminal device can edit the picture using the picture editing effect corresponding to the shortcut operation, which not only reduces the difficulty of picture editing, but also improves the efficiency of picture editing, while improving the user experience.

[0128] Please refer to Figure 9, which is a schematic diagram of the structure of an image editing device provided in an embodiment of the present application. This device can be installed on the terminal device in the above method embodiment. The image editing device shown in Figure 9 can be used to perform some or all of the functions in the above method embodiment. A detailed description of each module is as follows:

[0129] Receiving module 10, used to obtain the triggered shortcut operation;

[0130] The editing module 20 is used to edit the image to be edited using preset parameters corresponding to the shortcut operation.

[0131] In an optional embodiment, the image editing device is further configured to determine or generate preset parameters corresponding to the shortcut operation based on an association relationship between the preset parameters and the shortcut operation.

[0132] In an optional embodiment, the image editing device is further configured to obtain at least one preset parameter and / or at least one shortcut operation; and establish an association relationship between the preset parameter and the shortcut operation.

[0133] In an optional embodiment, the editing module 20 is specifically configured to edit the picture to be edited in a preset picture preview interface using preset parameters corresponding to the shortcut operation, wherein the picture preview interface includes at least one picture to be edited.

[0134] In an optional embodiment, the image editing device is further configured to identify a target area in the image to be edited;

[0135] The editing module 20 is specifically configured to add the sticker corresponding to the quick operation to the target area in the picture preview interface, so as to edit the picture to be edited.

[0136] In an optional embodiment, the shortcut operation includes: a shortcut gesture, and the receiving module 10 is specifically used to receive the shortcut gesture triggered at any position of the picture to be edited, or to receive the shortcut operation triggered by the functional component corresponding to the picture to be edited.

[0137] In an optional embodiment, the image editing device is further configured to receive a picture acquisition instruction, and capture a picture according to the picture acquisition instruction to obtain the picture to be edited.

[0138] According to one embodiment of the present application, the steps involved in the above-mentioned image editing method can be performed by the various modules in the image editing device shown in Figure 9. The various modules in the image editing device shown in Figure 9 can be individually or completely merged into one or several other modules to form a structure, or one (or some) of the modules can be further divided into multiple functionally smaller units to form a structure, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In actual applications, the functions of a module can also be implemented by multiple modules, or the functions of multiple modules can be implemented by one module. In other embodiments of the present application, the image editing device may also include other modules. In actual applications, these functions can also be implemented with the assistance of other modules, and can be implemented by the collaboration of multiple modules.

[0139] Please refer to Figure 10, which is a structural diagram of another terminal device provided in an embodiment of the present application. The terminal device includes a memory 1201, a processor 1202, and an image editing program stored in the memory 1201 and runnable on the processor 1202. When the image editing program is executed by the processor, the steps of the image editing method in any of the above embodiments are implemented.

[0140] The present application also provides a storage medium on which an image editing program is stored. When the image editing program is executed by a processor, the steps of the image editing method in any of the above embodiments are implemented.

[0141] In the embodiments of the terminal device and storage medium provided in this application, all technical features of the above-mentioned image editing method embodiments are included. The expanded and explained contents of the specification are basically the same as those of the above-mentioned caller note method embodiments, and will not be repeated here.

[0142] An embodiment of the present application further provides a computer program product, which includes computer program code. When the computer program code runs on a computer, the computer executes the methods in the various possible implementation modes described above.

[0143] An embodiment of the present application also provides a chip, including a memory and a processor, wherein the memory is used to store computer programs, and the processor is used to call and run the computer programs from the memory, so that a device equipped with the chip executes the methods in the various possible implementation modes as described above.

[0144] The embodiment of the present application also provides a computer module for executing the methods in the various possible implementation modes described above.

[0145] A computing device generally includes a processor and a memory, where the memory is used to store instructions. When the instructions are executed by the processor, the computing device executes the steps or program modules of the present application.

[0146] FIG11 is a schematic diagram of the hardware structure of a controller 140 provided in this application. The controller 140 includes a memory 1401 and a processor 1402. The memory 1401 is used to store program instructions, and the processor 1402 is used to call the program instructions in the memory 1401 to execute the steps performed by the controller in the above method embodiment. The implementation principles and beneficial effects are similar and will not be repeated here.

[0147] Optionally, the controller further includes a communication interface 1403, which can be connected to the processor 1402 via a bus 1404. The processor 1402 can control the communication interface 1403 to implement the receiving and sending functions of the controller 140.

[0148] Figure 12 is a schematic diagram of the hardware structure of a network node 150 provided in this application. The network node 150 includes a memory 1501 and a processor 1502. The memory 1501 is used to store program instructions, and the processor 1502 is used to call the program instructions in the memory 1501 to execute the steps performed by the first node in the above method embodiment. The implementation principles and beneficial effects are similar and will not be repeated here.

[0149] Optionally, the network node further includes a communication interface 1503, which can be connected to the processor 1502 via a bus 1504. The processor 1502 can control the communication interface 1503 to implement the receiving and sending functions of the network node 150.

[0150] The integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium. The software function modules stored in a storage medium include a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute some of the steps of the methods of various embodiments of the present application.

[0151] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can 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 process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a storage medium or transmitted from one storage medium to another storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive solid state disk, SSD), etc.

[0152] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0153] In this application, the same or similar terminology, technical solutions and / or application scenario descriptions are generally only described in detail the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of this application, for the same or similar terminology, technical solutions and / or application scenario descriptions that are not described in detail later, you can refer to the previous relevant detailed descriptions.

[0154] In this application, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0155] The various technical features of the technical solution of this application can be combined arbitrarily. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0156] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for enabling a terminal device (which can be a smart phone, computer, server, controlled terminal, or network device, etc.) to execute the method of each embodiment of the present application.

[0157] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An image editing method, wherein: The method comprises: S10, obtaining the triggered quick operation; S20: Edit the image to be edited using preset parameters corresponding to the shortcut operation.

2. The method according to claim 1, wherein Before S20, it also includes: According to the association relationship between the preset parameters and the shortcut operation, the preset parameters corresponding to the shortcut operation are determined or generated.

3. The method according to claim 2, wherein: Before determining or generating the image editing effect corresponding to the shortcut operation based on the association between the image editing effect and the shortcut operation, the method further includes: Obtain at least one preset parameter and / or at least one shortcut operation; Establish an association relationship between the preset parameters and the shortcut operation.

4. The method according to any one of claims 1 to 3, wherein The S20 includes: The picture to be edited is edited in a preset picture preview interface using preset parameters corresponding to the quick operation, wherein the picture preview interface includes at least one picture to be edited.

5. The method according to claim 4, wherein The picture editing effect corresponding to the preset parameters includes: stickers, and the preset parameters corresponding to the shortcut operation are used, before editing the picture to be edited in the preset picture preview interface, further comprising: Identifying a target area in the image to be edited; The step of editing the image to be edited on a preset image preview interface using preset parameters corresponding to the shortcut operation includes: In the picture preview interface, the sticker corresponding to the quick operation is added to the target area to edit the picture to be edited.

6. The method according to any one of claims 1 to 3, wherein The quick operation includes: a quick gesture, and the S10 includes: Receive the shortcut gesture triggered at any position of the picture to be edited, or receive the shortcut operation triggered by the functional component corresponding to the picture to be edited.

7. The method according to any one of claims 1 to 3, wherein Before S10, the following is also included: A picture acquisition instruction is received, and a picture is captured according to the picture acquisition instruction to obtain the picture to be edited.

8. An image editing device, wherein: The image editing device comprises: Receiving module, used to obtain the triggered shortcut operation; The editing module is used to edit the image to be edited using preset parameters corresponding to the shortcut operation.

9. A terminal device, wherein: The system comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 7.

10. A storage medium, wherein: include: The storage medium stores at least one instruction, and the at least one instruction is suitable for being loaded by a processor and executing the method according to any one of claims 1 to 7.