CN114004915A - Picture editing method, device, equipment and storage medium - Google Patents

Picture editing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114004915A
CN114004915A CN202111235683.5A CN202111235683A CN114004915A CN 114004915 A CN114004915 A CN 114004915A CN 202111235683 A CN202111235683 A CN 202111235683A CN 114004915 A CN114004915 A CN 114004915A
Authority
CN
China
Prior art keywords
picture
editing
edited
identifier
identifiers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111235683.5A
Other languages
Chinese (zh)
Inventor
侯坚波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111235683.5A priority Critical patent/CN114004915A/en
Publication of CN114004915A publication Critical patent/CN114004915A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/80Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application relates to a picture editing method, a device, equipment and a storage medium, wherein the method comprises the steps of obtaining a picture identifier of a picture to be edited and at least one parameter identifier; acquiring at least two identifications as target identifications from the picture identification and each parameter identification of the picture to be edited; acquiring at least two editing state pictures corresponding to the target identifier; and comparing and displaying at least two editing state pictures. The method and the device have the advantages that the parameter identifications corresponding to each group of editing parameters in the editing process can be recorded, the target identifications are obtained from the picture identifications of the pictures to be edited and each parameter identification, and the editing state pictures corresponding to the target identifications are displayed, so that the comparison and display of the editing state pictures in the editing process are realized, the steps are simple, and the comparison of the editing state pictures can be realized.

Description

Picture editing method, device, equipment and storage medium
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, a device, and a storage medium for editing a picture.
Background
With the development of internet information technology and the improvement of life quality of people, more and more users use electronic equipment to take pictures and edit the taken pictures so as to beautify the pictures.
The picture editing function of the current mobile terminal cannot compare the edited state pictures obtained based on each step of editing operation in the process of editing the pictures. For a user, to compare the editing state picture obtained after the first editing operation with the editing state picture obtained after the second editing operation, the user needs to open the picture editing function of the mobile terminal twice to obtain the editing state picture obtained after the first editing operation and the editing state picture obtained after the second editing operation respectively, and then click and view the editing state picture obtained after the first editing operation and the editing state picture obtained after the second editing operation respectively, so as to realize comparison between the editing state picture obtained after the first editing operation and the editing state picture obtained after the second editing operation. The implementation process has complex steps and low efficiency, and the edited state picture obtained after the first-step editing operation cannot be visually compared with the edited state picture obtained by the second-step editing operation.
Disclosure of Invention
The application provides a picture editing method, a picture editing device, picture editing equipment and a storage medium, which are used for solving the problem that an edited state picture cannot be compared in an editing process.
In a first aspect, a method for editing a picture is provided, including:
acquiring a picture identifier and at least one parameter identifier of a picture to be edited, wherein each parameter identifier corresponds to a unique group of editing parameters, and each group of editing parameters is used for editing to obtain an editing state picture of the picture to be edited;
acquiring at least two identifiers from the picture identifiers of the picture to be edited and the parameter identifiers as target identifiers;
acquiring at least two editing state pictures corresponding to the target identifier;
and comparing and displaying the at least two editing state pictures.
Optionally, obtaining at least two identifiers from the picture identifier of the picture to be edited and each of the parameter identifiers as a target identifier includes:
respectively displaying an identification control corresponding to the picture identification of the picture to be edited and each parameter identification;
acquiring at least two target controls indicated by a user from each identification control;
and taking the identifier corresponding to each target control as the target identifier.
Optionally, obtaining at least two target controls indicated by a user from each of the identified controls includes:
acquiring a pressing event of each identification control by a user;
determining a target compression event from each of the compression events for which the compression duration of the compression event is greater than a duration threshold;
and taking the identification controls corresponding to the target pressing events as the at least two target controls.
Optionally, respectively displaying an identifier control corresponding to the picture identifier of the picture to be edited and each of the parameter identifiers, including:
acquiring picture identifiers of the pictures to be edited and editing sequences corresponding to the parameter identifiers respectively;
and displaying each identification control according to the editing sequence.
Optionally, the obtaining of the picture identifier of the picture to be edited and the editing order corresponding to each parameter identifier includes:
acquiring an editing step when the picture to be edited is edited by adopting each group of editing parameters;
generating the edit sequence based on the editing step.
Optionally, when the at least one parameter identifier is N identifiers, two identifiers exist in the N identifiers, editing types to which editing parameters corresponding to the two identifiers belong are different, and N is greater than or equal to 2.
Optionally, after the at least two editing state pictures are displayed in a comparison manner, the method further includes:
and when the final editing state picture of the picture to be edited is obtained, deleting all the editing state pictures except the final editing state picture, wherein the final editing picture indicates that the editing operation of the picture to be edited is finished.
In a second aspect, a picture editing apparatus is provided, including:
the first obtaining unit is used for obtaining a picture identifier of a picture to be edited and at least one parameter identifier, each parameter identifier corresponds to a unique group of editing parameters, and each group of editing parameters is used for editing to obtain an editing state picture of the picture to be edited;
the second acquisition unit is used for acquiring at least two identifiers from the picture identifiers of the picture to be edited and the parameter identifiers as target identifiers;
the third acquisition unit is used for acquiring at least two editing state pictures corresponding to the target identifier;
and the display unit is used for displaying the at least two editing state pictures in a comparison manner.
In a third aspect, an electronic device is provided, including: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory, and implement the picture editing method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the picture editing method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the technical scheme provided by the embodiment of the application, the picture identification and at least one parameter identification of the picture to be edited are obtained, each parameter identification corresponds to a unique group of editing parameters, and each group of editing parameters is used for editing to obtain an editing state picture of the picture to be edited; acquiring at least two identifications as target identifications from the picture identification and each parameter identification of the picture to be edited; acquiring at least two editing state pictures corresponding to the target identifier; and comparing and displaying at least two editing state pictures. The method and the device for displaying the edited state picture can record the parameter identifications corresponding to each group of the edited parameters in the editing process, acquire the target identifications from the picture identifications of the picture to be edited and each parameter identification, and display the edited state picture corresponding to the target identifications, so that the comparison display of the edited state picture in the editing process is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a picture editing method in an embodiment of the present application;
FIG. 2 is a schematic screen shot of the electronic device after opening a picture in the display module;
FIG. 3 is a schematic screen shot of an electronic device after an editing module is opened;
FIG. 4 is a schematic screen shot of an electronic device after a user selects recall of this filter parameter;
FIG. 5 is a schematic screen shot of an electronic device after a user selects a filter parameter of an ice beauty unsatisfactorily recalling the filter parameter;
FIG. 6 is a schematic screen shot of an electronic device displaying two edited state pictures in a comparison manner;
FIG. 7 is a schematic structural diagram of a picture editing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the related art, when a user edits a picture using a picture editing function of a mobile terminal, the user often needs to compare the edited state picture obtained by the current editing with an original picture or an edited state picture obtained by the previous editing to check the difference between the edited state picture obtained by the current editing and the original picture or the edited state picture obtained by the previous editing when the user edits the picture in the next editing, but the current picture editing function cannot compare the edited state picture obtained by the current editing with the original picture or the edited state picture obtained by the previous editing in the picture editing process.
In practical application, a user needs to quit the picture editing function when wanting to compare the edited picture with the original picture, and then clicks and views the edited picture and the original picture, so as to realize comparison of the edited picture with the original picture.
Therefore, the picture editing scheme in the related art cannot realize the comparison of the pictures in the editing process, and the comparison mode after the picture editing function is quitted is not intuitive.
In order to solve the above technical problem, an embodiment of the present application provides a picture editing method, which is applicable to any electronic device;
the electronic device described in the embodiment of the present application may include a smart Phone (e.g., an Android Phone, an iOS Phone, a Windows Phone, etc.), a tablet computer, a palm computer, a notebook computer, a video matrix, a monitoring platform, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable device, which are merely examples, but not exhaustive, and include but are not limited to the foregoing Devices.
As shown in fig. 1, the method may include the steps of:
step 101, acquiring a picture identifier of a picture to be edited and at least one parameter identifier.
Each parameter identification corresponds to a unique group of editing parameters, and each group of editing parameters is used for editing to obtain an editing state picture of a picture to be edited.
In application, when a user needs to use the electronic device to edit a picture to be edited, a picture editing function in the electronic device is opened, the picture to be edited indicated by the user is obtained through the picture editing function, and a picture identifier of the picture to be edited is generated.
In this embodiment, the picture editing function in the electronic device may perform multiple editing operations on an edited picture based on an instruction of a user, where each editing operation corresponds to one group of editing parameters, and different groups of editing parameters may belong to the same editing type, or certainly may belong to different editing types.
When different groups of editing parameters belong to different editing types, in a specific embodiment, when at least one parameter identifier is N identifiers, two identifiers exist in the N identifiers, the editing types of the editing parameters corresponding to the two identifiers are different, and N is greater than or equal to 2.
The types of editing in this embodiment include, but are not limited to, cropping, filtering, adjusting, painting, and/or text. Taking the filter as an example of the editing type, the editing parameters in the editing type include, but are not limited to, black and white, sunny days, memories and/or ice beauty.
In this embodiment, when the editing parameters corresponding to two adjacent editing operations belong to different editing types, the object edited by the next editing operation is an editing state picture obtained by the previous editing operation; and when the editing parameters corresponding to the two adjacent editing operations belong to the same editing type, the objects edited by the two adjacent editing operations are the original images.
For example, when the editing parameters corresponding to two adjacent steps of editing operations are recall in a filter and a pencil in a text, the object edited by the editing parameter of the pencil is actually an editing state picture obtained based on the recall of the editing parameter; for the case that the editing parameters corresponding to the two adjacent editing operations belong to the same editing type, the case of the editing type of a filter is still taken as an example, and if the editing parameters corresponding to the two adjacent editing operations are respectively recall and ice beauty, the editing state pictures obtained by the two editing operations are respectively the editing state pictures obtained by adding the recall filter to the original picture and the editing state pictures obtained by adding the ice beauty filter to the original picture.
In this embodiment, after the editing state picture of the picture to be edited is obtained by using the editing parameter, the parameter identifier of the editing parameter is recorded, so that the picture editing function of the electronic device can obtain the parameter identifier of the editing parameter.
In the application, the parameter identifier of the editing parameter is used for uniquely identifying the editing parameter. Illustratively, the parameter identification includes, but is not limited to, the name of the edit parameter. For example, in the editing type of filter, the parameter identification of the editing parameter may be memory, ice beauty, etc.
And 102, acquiring at least two identifications as target identifications from the picture identification and each parameter identification of the picture to be edited.
It should be understood that, when the target identifier includes a parameter identifier, different parameter identifiers may belong to the same editing type, or may belong to different editing types, which is not specifically limited in this embodiment.
For example, the at least two obtained identifications include artwork, memories, and ice beauty; as another example, the at least two identifications obtained include a recall and a pencil.
In an alternative embodiment, the target identification may be indicated by the user in order to meet the user's comparison requirements.
During specific implementation, respectively displaying an identification control corresponding to the picture identification of the picture to be edited and each parameter identification; acquiring at least two target controls indicated by a user from each identification control; and taking the identifier corresponding to each target control as a target identifier.
In order to facilitate the user to know the editing sequence of the picture to be edited, in this embodiment, the identifier controls corresponding to the picture identifier of the picture to be edited and each parameter identifier are displayed according to the editing sequence corresponding to the picture identifier of the picture to be edited and each parameter identifier.
It should be understood that the edit sequence of the logo indicates the sequence in which the corresponding edit parameters are edited, and thus the edit sequence of the logo may be indicated by arabic numerals. It should be understood that although the marks of the original are also associated with the editing order, since the original is an unedited picture, the editing order of the original should indicate that the original is not edited in addition to indicating the order, and therefore, when the editing order of the marks is indicated by arabic numerals, the editing order associated with the marks of the original is usually indicated by arabic numeral 0. In an example, the picture identifier of the picture to be edited and the editing sequence corresponding to each parameter identifier may be 0-original picture, 1-recall, and 2-ice beauty person, so that the identifier control displayed based on the editing sequence may be the identifier control of the original picture, the identifier control of the recall, and the identifier control of the ice beauty person.
In this embodiment, the sequence in which each editing parameter is edited is related to the editing step of the picture to be edited, so that the editing order of the identifier may be generated based on the editing step of the picture to be edited. Specifically, an editing step when the picture to be edited is edited by adopting each group of editing parameters is obtained; an edit sequence is generated based on the editing step.
In this embodiment, the editing steps of the sets of editing parameters when editing the picture to be edited are determined based on the instruction of the user. In application, when a user edits a picture to be edited through an editing parameter corresponding to the memories in the editing type of the filter, and then edits the picture to be edited through an editing parameter corresponding to the ice beauty in the editing type of the filter, the picture to be edited can be edited through the editing parameter corresponding to the memories in the editing type of the filter as a first step, and the picture to be edited through the editing parameter corresponding to the ice beauty in the editing type of the filter as a second step.
In this embodiment, the target control may be determined based on a pressing event of the identification control by the user.
In a specific embodiment, the pressing events of the user on each identification control are obtained; determining a target pressing event of which the pressing duration of the pressing event is greater than a duration threshold from all the pressing events; and taking the identification controls corresponding to the target pressing events as at least two target controls.
Wherein the duration threshold may be preset by the user based on experience.
In application, when a user touches and presses the identification control, the electronic device captures and generates a pressing event, and the pressing duration of the pressing event is obtained based on the duration of the touch and pressing of the user on the identification control.
And 103, acquiring at least two editing state pictures corresponding to the target identifier.
In this embodiment, the electronic device caches the editing state picture obtained by editing in each step of the editing operation and the corresponding relationship between the parameter identifier and the editing state picture, so that after the target identifier is obtained, at least two editing state pictures corresponding to the target identifier can be obtained based on the corresponding relationship.
And 104, comparing and displaying at least two editing state pictures.
In order to visually compare the at least two editing state pictures, the electronic device in this embodiment may compare and display the at least two editing state pictures in the same interface.
According to the technical scheme provided by the embodiment of the application, the picture identification and at least one parameter identification of the picture to be edited are obtained, each parameter identification corresponds to a unique group of editing parameters, and each group of editing parameters is used for editing to obtain an editing state picture of the picture to be edited; acquiring at least two identifications as target identifications from the picture identification and each parameter identification of the picture to be edited; acquiring at least two editing state pictures corresponding to the target identifier; and comparing and displaying at least two editing state pictures. The method and the device have the advantages that the parameter identifications corresponding to each group of editing parameters in the editing process can be recorded, the target identifications are obtained from the picture identifications of the pictures to be edited and each parameter identification, and the editing state pictures corresponding to the target identifications are displayed, so that the comparison and display of the editing state pictures in the editing process are realized, the steps are simple, and the comparison of the editing state pictures can be realized.
In another embodiment of the present application, in order to reduce the occupation of the cache of the electronic device and increase the operating speed of the electronic device, the editing state picture in the cache may be deleted after exiting the picture editing function.
In the application, whether the picture editing function needs to be exited or not can be determined based on whether the final editing state picture is obtained, wherein the final editing state picture is an editing state picture indicated by a user.
It should be understood that after exiting the picture editing function, the editing state pictures in the cache are all the editing state pictures except the final editing state picture.
It should be understood that, in order to facilitate the user to subsequently view each editing state picture in the editing process, the editing state picture in the cache may not be deleted.
For a clearer description of the embodiment of the present application, the following uses the edit type as a filter, and two sets of edit parameters are respectively for recall and ice beauty to exemplify the implementation of the scheme of the present application:
after a user acquires a picture through the electronic device, the picture is stored in the storage module, when the user needs to edit the picture, the user opens the picture in the display module, and the picture is displayed in the display module, as shown in fig. 2, fig. 2 is a screen capture schematic diagram of the electronic device after the picture is opened in the display module.
Next, the system provides the user with a choice according to the setting, if the user needs to edit the picture, the editing module that needs to select the picture enters an editing state, as shown in fig. 3, and fig. 3 is a screen capture schematic diagram of the electronic device after the editing module is opened.
Then, a user can select an editing type according to the user's own requirements to edit the picture, when the user selects the editing type, the electronic device opens the filter module, the filter module can provide filter parameters provided by the system for selection, when the user selects the required filter parameters (such as recall), the current display module displays the selected filter parameters, the identifier of the selected filter parameters enters the comparison module, as shown in fig. 4, and fig. 4 is a screen capture schematic diagram of the electronic device after the user selects the recall of the filter parameters.
The picture of the editing state of the user during editing is stored in the comparison module, when the current selection is unsatisfactory and another group of editing parameters is selected, the current editing parameters become the last step of editing, as shown in fig. 5, fig. 5 is a screen capture schematic diagram of the electronic device after the user selects the filter parameter of the ice beauty for unsatisfactorily recalling the filter parameter.
If the user wants to compare the current effect with the previous effect by selecting for many times, the user can compare the current effect with the current effect only by pressing the identifier of the filter parameter required in the comparison module for a long time, and the two compared pictures can be displayed in the same display module for better judgment of the user, as shown in fig. 6, which is a screen capture schematic diagram of the electronic device when two edited state pictures are displayed in a comparison manner.
Based on the same concept, an embodiment of the present application provides a picture editing apparatus, and specific implementation of the apparatus may refer to descriptions in the method embodiment section, and repeated details are not repeated, as shown in fig. 7, the apparatus mainly includes:
the first obtaining unit 701 is configured to obtain a picture identifier of a picture to be edited and at least one parameter identifier, where each parameter identifier corresponds to a unique group of editing parameters, and each group of editing parameters is used to edit to obtain an editing state picture of the picture to be edited;
a second obtaining unit 702, configured to obtain at least two identifiers as target identifiers from the picture identifiers and the parameter identifiers of the picture to be edited;
a third obtaining unit 703, configured to obtain at least two editing state pictures corresponding to the target identifier;
and the display unit 704 is used for displaying at least two editing state pictures in a comparison manner.
Optionally, the second obtaining unit 702 is configured to:
respectively displaying an identification control corresponding to the picture identification of the picture to be edited and each parameter identification;
acquiring at least two target controls indicated by a user from each identification control;
and taking the identifier corresponding to each target control as a target identifier.
Optionally, the second obtaining unit 702 is configured to:
acquiring a pressing event of each identification control by a user;
determining a target pressing event of which the pressing duration of the pressing event is greater than a duration threshold from all the pressing events;
and taking the identification controls corresponding to the target pressing events as at least two target controls.
Optionally, the second obtaining unit 702 is configured to:
acquiring a picture identifier of a picture to be edited and an editing sequence corresponding to each parameter identifier;
and displaying the identification controls according to the editing order.
Optionally, the second obtaining unit 702 is configured to:
acquiring an editing step when the picture to be edited is edited by adopting each group of editing parameters;
an edit sequence is generated based on the editing step.
Optionally, when at least one parameter identifier is N identifiers, two identifiers exist in the N identifiers, editing types to which editing parameters corresponding to the two identifiers belong are different, and N is greater than or equal to 2.
Optionally, the apparatus is further configured to:
after the at least two editing state pictures are displayed in a contrast mode, when the final editing state picture of the picture to be edited is obtained, all the editing state pictures except the final editing state picture are deleted, and the final editing picture indicates that the editing operation of the picture to be edited is completed.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 8, the electronic device mainly includes: a processor 801, a memory 802, and a communication bus 803, wherein the processor 801 and the memory 802 communicate with each other via the communication bus 803. The memory 802 stores a program executable by the processor 801, and the processor 801 executes the program stored in the memory 802, so as to implement the following steps:
acquiring a picture identifier and at least one parameter identifier of a picture to be edited, wherein each parameter identifier corresponds to a unique group of editing parameters, and each group of editing parameters is used for editing to obtain an editing state picture of the picture to be edited;
acquiring at least two identifications as target identifications from the picture identification and each parameter identification of the picture to be edited;
acquiring at least two editing state pictures corresponding to the target identifier;
and comparing and displaying at least two editing state pictures.
The communication bus 803 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 803 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
The Memory 802 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor 801.
The Processor 801 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program, which, when run on a computer, causes the computer to execute the picture editing method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized 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 loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A picture editing method, comprising:
acquiring a picture identifier and at least one parameter identifier of a picture to be edited, wherein each parameter identifier corresponds to a unique group of editing parameters, and each group of editing parameters is used for editing to obtain an editing state picture of the picture to be edited;
acquiring at least two identifiers from the picture identifiers of the picture to be edited and the parameter identifiers as target identifiers;
acquiring at least two editing state pictures corresponding to the target identifier;
and comparing and displaying the at least two editing state pictures.
2. The method according to claim 1, wherein obtaining at least two identifiers from the picture identifier of the picture to be edited and each of the parameter identifiers as a target identifier comprises:
respectively displaying an identification control corresponding to the picture identification of the picture to be edited and each parameter identification;
acquiring at least two target controls indicated by a user from each identification control;
and taking the identifier corresponding to each target control as the target identifier.
3. The method of claim 2, wherein obtaining at least two target controls indicated by a user from each of the identified controls comprises:
acquiring a pressing event of each identification control by a user;
determining a target compression event from each of the compression events for which the compression duration of the compression event is greater than a duration threshold;
and taking the identification controls corresponding to the target pressing events as the at least two target controls.
4. The method according to claim 2, wherein respectively displaying an identifier control corresponding to the picture identifier of the picture to be edited and each of the parameter identifiers comprises:
acquiring picture identifiers of the pictures to be edited and editing sequences corresponding to the parameter identifiers respectively;
and displaying each identification control according to the editing sequence.
5. The method according to claim 4, wherein obtaining the picture identifier of the picture to be edited and the editing order corresponding to each parameter identifier comprises:
acquiring an editing step when the picture to be edited is edited by adopting each group of editing parameters;
generating the edit sequence based on the editing step.
6. The method according to claim 1, wherein when the at least one parameter identifier is N identifiers, there are two identifiers in the N identifiers, and editing types of editing parameters corresponding to the two identifiers are different, where N is greater than or equal to 2.
7. The method according to claim 1, wherein after the at least two edit status pictures are displayed in comparison, the method further comprises:
and when the final editing state picture of the picture to be edited is obtained, deleting all the editing state pictures except the final editing state picture, wherein the final editing picture indicates that the editing operation of the picture to be edited is finished.
8. A picture editing apparatus, comprising:
the first obtaining unit is used for obtaining a picture identifier of a picture to be edited and at least one parameter identifier, each parameter identifier corresponds to a unique group of editing parameters, and each group of editing parameters is used for editing to obtain an editing state picture of the picture to be edited;
the second acquisition unit is used for acquiring at least two identifiers from the picture identifiers of the picture to be edited and the parameter identifiers as target identifiers;
the third acquisition unit is used for acquiring at least two editing state pictures corresponding to the target identifier;
and the display unit is used for displaying the at least two editing state pictures in a comparison manner.
9. An electronic device, comprising: the system comprises a processor, a memory and a communication bus, wherein the processor and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor, configured to execute the program stored in the memory, and implement the picture editing method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the picture editing method according to any one of claims 1 to 7.
CN202111235683.5A 2021-10-22 2021-10-22 Picture editing method, device, equipment and storage medium Pending CN114004915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111235683.5A CN114004915A (en) 2021-10-22 2021-10-22 Picture editing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111235683.5A CN114004915A (en) 2021-10-22 2021-10-22 Picture editing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114004915A true CN114004915A (en) 2022-02-01

Family

ID=79923783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111235683.5A Pending CN114004915A (en) 2021-10-22 2021-10-22 Picture editing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114004915A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816626A (en) * 2022-04-08 2022-07-29 北京达佳互联信息技术有限公司 Operation control method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909634A (en) * 2017-11-30 2018-04-13 努比亚技术有限公司 Image display method, mobile terminal and computer-readable recording medium
CN108255389A (en) * 2018-01-12 2018-07-06 努比亚技术有限公司 Image edit method, mobile terminal and computer readable storage medium
CN109597550A (en) * 2018-11-19 2019-04-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN110007837A (en) * 2019-04-01 2019-07-12 维沃移动通信有限公司 A kind of picture editing method and terminal
CN110531907A (en) * 2019-08-30 2019-12-03 维沃移动通信有限公司 A kind of picture editing method and terminal device
CN111290684A (en) * 2019-12-09 2020-06-16 Oppo广东移动通信有限公司 Image display method, image display device and terminal equipment
CN111857512A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Image editing method and device and electronic equipment
CN112165576A (en) * 2020-09-25 2021-01-01 Oppo(重庆)智能科技有限公司 Image display method, image display device, storage medium and electronic equipment
CN112346606A (en) * 2019-08-06 2021-02-09 北京小米移动软件有限公司 Picture processing method and device and storage medium
CN113467735A (en) * 2021-06-16 2021-10-01 荣耀终端有限公司 Image adjusting method, electronic device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107909634A (en) * 2017-11-30 2018-04-13 努比亚技术有限公司 Image display method, mobile terminal and computer-readable recording medium
CN108255389A (en) * 2018-01-12 2018-07-06 努比亚技术有限公司 Image edit method, mobile terminal and computer readable storage medium
CN109597550A (en) * 2018-11-19 2019-04-09 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN110007837A (en) * 2019-04-01 2019-07-12 维沃移动通信有限公司 A kind of picture editing method and terminal
CN112346606A (en) * 2019-08-06 2021-02-09 北京小米移动软件有限公司 Picture processing method and device and storage medium
CN110531907A (en) * 2019-08-30 2019-12-03 维沃移动通信有限公司 A kind of picture editing method and terminal device
CN111290684A (en) * 2019-12-09 2020-06-16 Oppo广东移动通信有限公司 Image display method, image display device and terminal equipment
CN111857512A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Image editing method and device and electronic equipment
CN112165576A (en) * 2020-09-25 2021-01-01 Oppo(重庆)智能科技有限公司 Image display method, image display device, storage medium and electronic equipment
CN113467735A (en) * 2021-06-16 2021-10-01 荣耀终端有限公司 Image adjusting method, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816626A (en) * 2022-04-08 2022-07-29 北京达佳互联信息技术有限公司 Operation control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106055996B (en) Multimedia information sharing method and mobile terminal
CN108495185B (en) Video title generation method and device
CN109286850B (en) Video annotation method and terminal based on bullet screen
KR20190132360A (en) Method and device for processing multimedia resources
US20190050426A1 (en) Automatic grouping based handling of similar photos
CN106534562B (en) File deletion method and device
CN108668172B (en) Video playing method and device
CN106126424A (en) A kind of visual automated testing method of script, device and mobile terminal
US11209951B2 (en) Method and apparatus for displaying application program, terminal device, and storage medium
WO2021179803A1 (en) Content sharing method and apparatus, electronic device and storage medium
CN107220387A (en) Comment on method and device
WO2022188386A1 (en) Video publishing method and apparatus, and device
CN105335198A (en) Font addition method and device
CN114004915A (en) Picture editing method, device, equipment and storage medium
CN104951184A (en) Application program downloading method and device
CN104537049A (en) Picture browsing method and device
CN110798521B (en) File sharing method and device, electronic equipment and storage medium
CN111415266B (en) Sharing method and device of application program, electronic equipment and readable medium
CN112214774A (en) Permission setting method, file playing method and device and electronic equipment
CN106383856A (en) Method and device for managing file system quota
EP3598738A1 (en) Video synthesis method, apparatus and device, and video playing method, apparatus and device
CN113163256B (en) Method and device for generating operation flow file based on video
CN113076288A (en) File processing method and device, electronic equipment and storage medium
CN104199616B (en) A kind of data inputting method and equipment of mobile terminal
CN113641286A (en) Screen capturing method, electronic equipment and computer 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