WO2019051684A1 - Picture editing method, mobile terminal, and readable storage medium - Google Patents

Picture editing method, mobile terminal, and readable storage medium Download PDF

Info

Publication number
WO2019051684A1
WO2019051684A1 PCT/CN2017/101630 CN2017101630W WO2019051684A1 WO 2019051684 A1 WO2019051684 A1 WO 2019051684A1 CN 2017101630 W CN2017101630 W CN 2017101630W WO 2019051684 A1 WO2019051684 A1 WO 2019051684A1
Authority
WO
WIPO (PCT)
Prior art keywords
editing
target
picture
graphic element
edit
Prior art date
Application number
PCT/CN2017/101630
Other languages
French (fr)
Chinese (zh)
Inventor
莫翠云
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/101630 priority Critical patent/WO2019051684A1/en
Priority to CN201780096734.6A priority patent/CN111344735B/en
Publication of WO2019051684A1 publication Critical patent/WO2019051684A1/en

Links

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

Definitions

  • the present invention relates to the field of graphics processing, and in particular, to a picture editing method, a mobile terminal, and a readable storage medium.
  • the shooting function of the mobile terminal has become more and more mature, and the camera function of the mobile terminal has become one of the most frequently used functions of the user, and in order to make the photo effect better, the mobile terminal can perform the picture.
  • Edit but the current image editing method is to edit the entire image, and the user wants to adjust the brightness, filter, graffiti and other editing actions on the part of the image, which will have a certain impact on the entire image, resulting in a picture.
  • the overall effect is reduced. Therefore, how to make a partial edit of the picture without affecting the whole picture is an urgent problem to be solved.
  • the main object of the present invention is to provide a picture editing method, a mobile terminal, and a readable storage medium, which are intended to solve the problem that the picture is partially edited, and it is difficult to avoid the adverse effect on the whole picture.
  • the present invention provides a picture editing method, and the picture editing method includes the following steps:
  • the graphic element matching the editing target is set as the target module, and the target module is edited and saved.
  • the step of acquiring the editing target and editing the graphic element of the target includes:
  • the pre-stored edit target selection list is displayed, and the edit target and the graphic element of the edit target are acquired based on the operation instruction acquired by the edit target selection list.
  • the step of acquiring the editing target and the graphic element of the editing target based on the operation instruction collected by the editing target selection list comprises:
  • the edit target is generated with a custom input.
  • the step of matching the graphic elements in the edited picture according to the graphic element of the editing target includes:
  • the graphic element is determined to be a graphic element matching the editing target, and the graphic element matching the editing target is a similar item of the editing target.
  • the graphic element is determined to be a graphic element that matches the editing target, wherein the step of matching the graphic element with the editing target is the same item of the editing target :
  • the first prompt information is output to prompt the user that the same item is not detected
  • a second prompt message is output to display the detected similar item.
  • outputting the second prompt information to display the detected similar item includes:
  • the prompt information of whether to perform merge editing is output.
  • the step of outputting the prompt information for whether to perform the merge editing includes:
  • each similar item is set as a separate editing module for separate editing
  • the step of editing and saving the target module includes:
  • the target module is restored to the original graphic element, where the original graphic element is the target module before editing.
  • the present invention further provides a mobile terminal, the mobile terminal comprising: a memory, a processor, and a picture editing program stored on the memory and operable on the processor, the picture
  • a mobile terminal comprising: a memory, a processor, and a picture editing program stored on the memory and operable on the processor, the picture
  • the steps of the picture editing method as described above are implemented when the editing program is executed by the processor.
  • the present invention also provides a computer readable storage medium, a picture editing program stored on the computer readable storage medium, the picture editing program being executed by a processor to implement picture editing as described above The steps of the method.
  • the picture editing method proposed by the invention can identify the picture according to the editing target that the user wants to perform partial editing when the user performs picture editing, and set the identified editing target as a separate target module, and then edit the target module. , thereby avoiding the adverse effect on the overall picture when performing partial editing of the picture. This enables the user to perform accurate partial editing of the image, and the effect of the overall image is not affected, so that the user's operability and experience are improved.
  • FIG. 1 is a schematic structural diagram of a terminal/device in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of an embodiment of a picture editing method according to the present invention.
  • step S10 is a schematic flowchart of a refinement of step S10 in another embodiment of a picture editing method according to the present invention
  • step S30 is a schematic flowchart of a refinement of step S30 in still another embodiment of a picture editing method according to the present invention.
  • FIG. 5 is a schematic diagram of a usage scenario of a picture editing method according to the present invention.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
  • the terminal may be a smart phone, or may be a tablet computer, an e-book reader, or an MP3 (Moving Picture) Experts Group Audio Layer III, Motion Picture Expert Compress Standard Audio Level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
  • MP3 Moving Picture
  • MP4 Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3 Players
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • sensors such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • an operating system may be included in the memory 1005 as a computer storage medium.
  • a network communication module may be included in the memory 1005 as a computer storage medium.
  • a user interface module may be included in the memory 1005 as a computer storage medium.
  • a picture editing program may be included in the memory 1005 as a computer storage medium.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
  • the processor 1001 can be used to call the picture editing program stored in the memory 1005 and perform the following operations:
  • the graphic element matching the editing target is set as the target module, and the target module is edited and saved.
  • processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
  • the pre-stored edit target selection list is displayed, and the edit target and the graphic element of the edit target are acquired based on the operation instruction acquired by the edit target selection list.
  • processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
  • the edit target is generated with a custom input.
  • processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
  • the graphic element is determined to be a graphic element matching the editing target, and the graphic element matching the editing target is a similar item of the editing target.
  • processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
  • the first prompt information is output to prompt the user that the same item is not detected
  • a second prompt message is output to display the detected similar item.
  • processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
  • the prompt information of whether to perform merge editing is output.
  • processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
  • each similar item is set as a separate editing module for separate editing
  • processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
  • the target module is restored to the original graphic element, where the original graphic element is the target module before editing.
  • a first embodiment of the present invention provides a picture editing method, where the picture editing method includes:
  • Step S10 acquiring an editing target and a graphic element of the editing target
  • Step S20 matching the graphic elements in the edited picture according to the graphic element of the editing target
  • step S30 the graphic element matching the editing target is set as the target module, and the target module is edited and saved.
  • the graphic element corresponding to the stored edit target is acquired (for example, if the stored edit target has a car, the corresponding storage car is Graphic element), by editing the graphic element of the target, it is possible to detect whether there is an editing target in the picture (for example, if the editing target input by the user is a car, first obtain the graphic elements of the vehicle, such as the shape, contour and color of the vehicle), ie
  • the editing module including the editing target is obtained by matching the graphic element of the editing target to match whether the editing target exists in the image to be edited.
  • the editing module is different from the image to be edited. There is a separate editing interface, so that the user can edit the editing target separately in the target module, and will not affect the rest of the editing image, so that the user wants to edit the image.
  • the picture editing method of the invention can modularly divide the area that the user wants to edit when the user performs picture editing, so that the user can edit a certain module of the picture to be edited, and the rest of the picture does not affect. This allows the user to perform detailed and comprehensive personalized editing of some parts of the picture during the editing of the picture, and does not have to worry about the other parts of the picture being adversely affected by the editing, such as adjusting the brightness, large-scale graffiti, etc. An editing operation that makes it easy to edit the rest of the picture.
  • the user has a picture with one person, one tree, two cars, and a background, and the user wants to edit the vehicle in the picture.
  • the editing function in the existing mobile terminal is used, the user can only edit the entire picture, and edit the character in the process of editing the entire picture, but in the process, the user is very easy to cause other parts of the picture.
  • Some bad effects such as damage, such as the user wants to graffiti the characters, and the graffiti form editing is difficult to control the editing area very carefully, so it is very easy to cause the graffiti to affect the rest of the picture, resulting in The overall effect of the image is compromised and the user experience is very low.
  • the user wants to edit the picture, firstly, the user selects the editing target selection list or the custom input editing target, and acquires the graphic element of the editing target pre-stored corresponding to the editing target. According to the acquired characteristics of the editing target graphic element, the target module in the edited image is matched, and when the similarity of the pre-stored editing target is greater than or equal to the minimum limit in the image to be edited, the part in the image to be edited can be determined.
  • the graphics and editing targets are similar items, and the similar items are set as separate target modules (ie, a new image editing window independent of the image to be edited), and the user can separately edit the target module in the target module, and After the editing of the target module is completed, the content of the target module image is replaced with the target module in the image to be edited, so that the individual editing of the target module is achieved, and the other content of the image to be edited is not affected by the editing.
  • target modules ie, a new image editing window independent of the image to be edited
  • the user can implement partial deep editing of the image (such as graffiti, etc.), and when using the original editing method to deeply edit the image, the user is concerned about the image to be edited because of some deep editing ( For example, changing the background color, changing the brightness, making graffiti, etc., and causing the rest of the image to be destroyed, will be limited when editing the image. As a result, satisfactory editing results cannot be achieved, which makes editing pictures a sloppy thing. If you want to edit the target module in a bold way, you are afraid to affect other content in the picture. If you want to not affect other content of the picture, then Unexpected editing of the target module is not possible.
  • the image editing method of the present invention enables the user to submit the editing module after inputting the target to be edited, and the user replaces the edited target module with the target module in the image to be edited after editing the target module separately.
  • the user can edit the target module without any scruples, improve the usability of the image editing function, and improve the user experience.
  • step S10 the steps of acquiring the editing target and the graphic elements of the editing target include:
  • step S11 the pre-stored editing target selection list is displayed, and the editing target and the graphic element of the editing target are acquired based on the operation instruction acquired by the editing target selection list.
  • the mobile terminal stores a preset editing target, and the user can select a common editing target by editing the target selection list. After the user selects the editing target, the editing target selected by the user and the graphic element corresponding thereto are acquired.
  • the image editing method of the present invention it is preferred to obtain an editing target that the user wants to edit, and the editing target is also a part of the image to be edited. How to obtain the editing target from the image to be edited needs to match the editing target graphic element. If you want to know the graphic element of the target module, you need to know what the target module is.
  • the mobile terminal stores some commonly used editing targets for the user to select when editing the pictures (higher-incident items in daily life, such as clothes, bags, cars, buildings, etc.), and the editing targets stored in the mobile terminal. At the same time, the graphic elements of these editing targets are also stored, so that as long as the user's editing target is acquired, the graphic elements corresponding to the editing target can be quickly obtained.
  • the mobile terminal prompts the user to select an editing target and displays the stored editing target selection list, and the user can conveniently select the editing target in the editing target selection list.
  • the user selects the editing target by clicking, the editing target selected by the user is obtained, and the corresponding pre-stored graphic element is obtained, so as to identify whether the editing target exists in the image through the feature.
  • step S11 the step of acquiring the editing target and the graphic element of the editing target based on the operation instruction of the editing target selection list acquisition includes:
  • Step S111 if an input instruction is detected in an option of the edit target selection list, an option of the input instruction is detected as an edit target;
  • step S112 if a custom input command is received, an edit target is generated with a custom input.
  • an input instruction in the edit target selection list is acquired, and an edit target selected by the user is acquired. Or get the edit target selected by the user through custom input.
  • the edit target selection list stored in the mobile terminal is an item whose frequency of occurrence or frequency of use is high in daily life, and can basically cover the usage requirements of a general user, but a few users cannot be selected from the edit target selection list. Edit goals (such as some very useful items or irregular items). Therefore, in addition to being selected in the edit list, the user can perform a custom selection to obtain an edit target.
  • the user-defined selection is that the user directly selects the editing target directly in the image to be edited (for example, the user delimits an area in the image to be edited, and the area serves as the target module).
  • step S20 the step of matching the graphic elements in the edited picture according to the graphic element of the editing target includes:
  • Step S21 comparing the graphic elements of the editing target with the graphic elements of the graphic elements in the image to be edited, and obtaining the similarity between the two;
  • Step S22 when the similarity is greater than or equal to the preset similarity threshold, the graphic element is determined to be a graphic element matching the editing target, wherein the graphic element matching the editing target is a similar item of the editing target.
  • the feature is obtained according to the editing target, and the feature is compared with the graphic in the image to be edited, and the matching result is used to determine whether the graphic is an item of the same type as the editing target.
  • Similarity is the reference value that measures the same degree of two pictures. By comparing the texture, outline, color and other information of two pictures, the similarity of two pictures can be obtained. Because the similarity of similar items is often much larger than that of non-similar items (for example, the similarity of similar items is generally greater than or equal to 60%, and the similarity of non-similar items is generally less than 60%). Therefore, after obtaining the similarity value, it can be judged. Whether the two are similar items, if it is a similar item, it is determined that there is a similar figure with the editing target in the picture to be edited.
  • step S22 when the similarity is greater than or equal to the preset similarity threshold, the graphic element is determined to be a graphic element matching the editing target, wherein the step of matching the graphic element with the editing target is the same item of the editing target :
  • Step S23 if the same item is not detected, the first prompt information is output to prompt the user that the same item is not detected;
  • step S24 if a similar item is detected, the second prompt information is output to display the detected similar item.
  • the user is prompted differently according to the number of similar items. If no similar items are detected (there is no editing target in the image to be edited or the similarity is too low to be recognized), the prompt information is output, and a prompt interface is displayed to inform the user that the similar item is not detected in the image to be edited, and the user is asked whether to re-do Edit the selection of the target. If the same kind of item is identified, it means that there is an editing target in the picture, and the detected similar item is displayed for the user to check.
  • the user may choose to replace the picture for re-editing, or the system fails to effectively identify the similar item in the picture for various reasons, and the user may also change the selection method (change Select an edit target for customization to select an edit target for image editing. If the matching result is that there is a similar item, the similar items in the picture to be edited are listed and displayed, and the matching result can be confirmed. According to the matching result, the user's prompts and the processing of the pictures are also different, which makes the method more humanized and easier to operate.
  • step S24 if the same kind of item is detected, the step of outputting the second prompt information to display the detected similar item includes:
  • step S25 if the number of similar items is plural, the prompt information of whether to perform merge editing is output.
  • the processing mode for user editing is different depending on the number of similar items in the picture. Since the same type of target module may be associated or the location is very close, the user needs to merge and edit multiple target modules (the merge editing will merge multiple similar items into one similar item and use one editing interface together), for example, Personal photo, when editing pictures, you may need to merge and edit the group.
  • the combined editing can greatly improve the editing efficiency of the user (for example, taking a graduation photo, the number of people in the picture may reach tens of hundreds of people. At this time, if editing is performed separately, the editing efficiency is very low, and the merged editing can quickly have the same editing purpose.
  • the same kind of editing without uniform editing can improve the efficiency and make the editing effect consistent. At the same time, the editing effect can be unified, so that users can achieve high-efficiency editing of multiple target modules without superb professional editing skills.
  • step S25 if the number of similar items is multiple, the step of outputting prompt information for whether to perform merge editing includes:
  • Step S251 if an instruction not to perform merge editing is received, each similar item is set as a separate editing module for separate editing;
  • Step S252 if an instruction to perform merge editing is received, a list of merge edits is output, and the merged edited similar items are regarded as one edit module for editing.
  • the target module is set as a corresponding individual or the whole according to the received individual editing instruction or the combined editing instruction.
  • the list of similar items is displayed, and the user selects the desired combination by selecting in the list.
  • Similar items after receiving the same kind of items that the user wants to merge and edit, merge these similar items, and in the subsequent editing, the merged similar items are an editing unit of the same type, and an editing window is shared. For example, there are five similar items in a picture, which are A, B, C, D, and E. When the user edits the picture, they want to edit A separately, while B and C edit and edit, D and E are the same. Make a merge edit.
  • the user After detecting that there are multiple similar items, the user is prompted whether to perform merge editing, and the user can select merge editing, select B and C in the same item list to merge, D and E merge, and then select merge editing. Similar items (first select B and C combined editing, then select D and E combined editing) to merge.
  • the user can effectively improve the overall editing efficiency when editing multiple similar items, and can flexibly select the merged similar items, thereby reducing the difficulty of use and improving the user experience.
  • step S30 the graphic element matching the editing target is set as the target module, and the steps of editing and saving the target module include:
  • Step S31 detecting whether a save instruction is received
  • Step S32 if a save instruction is received, replacing the original graphic element with the edited target module;
  • step S33 the target module is restored to the original graphic element, wherein the original graphic element is the target module before editing.
  • the user may select whether to save the target module, and if the target module is saved, replace the target module with the editing target in the image to be edited. If the target module is not saved, the editing target in the image to be edited does not change.
  • the user can consider whether to save the edited target module according to factors such as the final editing effect. If the user chooses to save the target module, the edited target module will replace the original image in the image to be edited to form an edited image. If the user does not save, the picture to be edited will not change.
  • the user can flexibly select according to the effect of the editing, avoiding the editing behavior of the target module, modifying the edited picture too early, and saving the original image of the image to be edited, for the user.
  • the operation is more flexible, which effectively reduces the difficulty of use and improves the user experience.
  • the present invention also provides a mobile terminal having a picture editing method.
  • the mobile terminal based on the picture editing method of the present invention comprises: a memory, a processor, and a picture editing program stored on the memory and operable on the processor, the picture editing program being implemented by the processor The picture editing method steps.
  • embodiments of the present invention also provide a computer readable storage medium.
  • the computer readable storage medium of the present invention stores a picture editing program that, when executed by the processor, implements the steps of the picture editing method as described above.
  • portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Provided are a picture editing method, a mobile terminal, and a readable storage medium. The picture editing method comprises the following steps: acquiring an editing object and graphic elements of the editing object; matching graphic elements in a picture to be edited with the graphic elements of the editing object; and setting graphic elements matched with those of the editing object as an object module, and editing and saving the object module. According to the present invention, a part of a picture that a user wants to edit is identified and acquired, and the part that the user wants to edit is then set as an object module which is independent of the overall picture, so that the user can separately edit the object module and save same after the editing is completed, and after saving, the original content in the picture will be replaced by the object module, thereby achieving precise partial editing for the picture.

Description

图片编辑方法、移动终端以及可读储存介质  Picture editing method, mobile terminal and readable storage medium
技术领域Technical field
本发明涉及图形处理领域,尤其涉及一种图片编辑方法、移动终端以及可读储存介质。The present invention relates to the field of graphics processing, and in particular, to a picture editing method, a mobile terminal, and a readable storage medium.
背景技术Background technique
随着技术的发展,移动终端的拍摄功能也变得越来越成熟,移动终端的拍照功能也成了用户最常使用的功能之一,而为了使照片效果更好,移动终端能够对图片进行编辑,但是目前的图片编辑方法是针对整个图片进行编辑的,而用户想要对图片的部分进行调节亮度、滤镜、涂鸦等编辑动作时,会对整个图片都造成一定的影响,从而导致图片的整体效果降低。因此如何在进行图片局部编辑的同时,对图片整体不造成影响是急需解决的问题。With the development of technology, the shooting function of the mobile terminal has become more and more mature, and the camera function of the mobile terminal has become one of the most frequently used functions of the user, and in order to make the photo effect better, the mobile terminal can perform the picture. Edit, but the current image editing method is to edit the entire image, and the user wants to adjust the brightness, filter, graffiti and other editing actions on the part of the image, which will have a certain impact on the entire image, resulting in a picture. The overall effect is reduced. Therefore, how to make a partial edit of the picture without affecting the whole picture is an urgent problem to be solved.
发明内容Summary of the invention
本发明的主要目的在于提供一种图片编辑方法、移动终端以及可读储存介质,旨在解决图片进行局部编辑时,难以避免对图片整体造成的不良影响。The main object of the present invention is to provide a picture editing method, a mobile terminal, and a readable storage medium, which are intended to solve the problem that the picture is partially edited, and it is difficult to avoid the adverse effect on the whole picture.
为实现上述目的,本发明提供一种图片编辑方法,所述图片编辑方法包括以下步骤:To achieve the above object, the present invention provides a picture editing method, and the picture editing method includes the following steps:
获取编辑目标以及编辑目标的图形要素;Get the editing target and the graphic elements of the editing target;
根据编辑目标的图形要素对待编辑图片中的图形要素进行匹配;Match the graphic elements in the edited image according to the graphic elements of the editing target;
将与编辑目标匹配的图形要素设为目标模块,对目标模块进行编辑与保存。The graphic element matching the editing target is set as the target module, and the target module is edited and saved.
可选地,所述获取编辑目标以及编辑目标的图形要素的步骤包括:Optionally, the step of acquiring the editing target and editing the graphic element of the target includes:
显示预存的编辑目标选择列表,基于编辑目标选择列表采集的操作指令,获取编辑目标以及该编辑目标的图形要素。The pre-stored edit target selection list is displayed, and the edit target and the graphic element of the edit target are acquired based on the operation instruction acquired by the edit target selection list.
可选地,所述基于编辑目标选择列表采集的操作指令,获取编辑目标以及该编辑目标的图形要素的步骤包括:Optionally, the step of acquiring the editing target and the graphic element of the editing target based on the operation instruction collected by the editing target selection list comprises:
若在编辑目标选择列表的选项中检测到输入指令,以检测到输入指令的选项作为编辑目标;If an input command is detected in an option of the edit target selection list, an option to input the command is detected as an edit target;
若接收到自定义输入指令,则以自定义输入而生成编辑目标。If a custom input command is received, the edit target is generated with a custom input.
可选地,所述根据编辑目标的图形要素对待编辑图片中的图形要素进行匹配的步骤包括:Optionally, the step of matching the graphic elements in the edited picture according to the graphic element of the editing target includes:
将编辑目标的图形要素与待编辑图片中图形要素的图形要素进行对比,得出二者的相似度;Comparing the graphic elements of the editing target with the graphic elements of the graphic elements in the image to be edited, and obtaining the similarity between the two;
当相似度大于等于预设相似临界值时,则判该图形要素为与编辑目标匹配的图形要素,其中与编辑目标匹配的图形要素为编辑目标的同类物品。When the similarity is greater than or equal to the preset similarity threshold, the graphic element is determined to be a graphic element matching the editing target, and the graphic element matching the editing target is a similar item of the editing target.
可选地,所述当相似度大于等于预设相似临界值时,则判该图形要素为与编辑目标匹配的图形要素,其中与编辑目标匹配的图形要素为编辑目标的同类物品的步骤之后包括:Optionally, when the similarity is greater than or equal to the preset similarity threshold, the graphic element is determined to be a graphic element that matches the editing target, wherein the step of matching the graphic element with the editing target is the same item of the editing target :
若未检测到同类物品,则输出第一提示信息,以提示用户未检测同类物品;If the same item is not detected, the first prompt information is output to prompt the user that the same item is not detected;
若检测到同类物品,则输出第二提示信息,以将检测到的同类物品进行显示。If a similar item is detected, a second prompt message is output to display the detected similar item.
可选地,所述若检测到同类物品,则输出第二提示信息,以将检测到的同类物品进行显示的步骤之后包括:Optionally, if the detecting the same kind of item, outputting the second prompt information to display the detected similar item includes:
若同类物品的数量为多个,则输出是否进行合并编辑的提示信息。If the number of similar items is multiple, the prompt information of whether to perform merge editing is output.
可选地,所述若同类物品的数量为多个,则输出是否进行合并编辑的提示信息的步骤包括:Optionally, if the number of the similar items is multiple, the step of outputting the prompt information for whether to perform the merge editing includes:
若接收到不进行合并编辑的指令,则将每个同类物品设为一个单独的编辑模块,以进行单独编辑;If an instruction to perform merge editing is received, each similar item is set as a separate editing module for separate editing;
若接收到进行合并编辑的指令,则输出合并编辑的列表,并将合并编辑的同类物品视为一个编辑模块进行编辑。If an instruction to perform merge editing is received, a list of merge edits is output, and the merged edited similar items are treated as one edit module for editing.
可选地,所述对目标模块进行编辑与保存的步骤包括:Optionally, the step of editing and saving the target module includes:
检测是否接收到保存指令;Check if a save command is received;
若有接收到保存指令,则以编辑后的目标模块替换原图形要素;If a save command is received, the original graphic element is replaced with the edited target module;
若未接收到保存指令,则将目标模块恢复为原图形要素,其中原图形要素为编辑前的目标模块。If the save command is not received, the target module is restored to the original graphic element, where the original graphic element is the target module before editing.
此外,为实现上述目的,本发明还提供一种移动终端,所述移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的图片编辑程序,所述图片编辑程序被所述处理器执行时实现如上所述图片编辑方法的步骤。In addition, in order to achieve the above object, the present invention further provides a mobile terminal, the mobile terminal comprising: a memory, a processor, and a picture editing program stored on the memory and operable on the processor, the picture The steps of the picture editing method as described above are implemented when the editing program is executed by the processor.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储的图片编辑程序,所述图片编辑程序被处理器执行时实现如上所述的图片编辑方法的步骤。Furthermore, in order to achieve the above object, the present invention also provides a computer readable storage medium, a picture editing program stored on the computer readable storage medium, the picture editing program being executed by a processor to implement picture editing as described above The steps of the method.
本发明提出的图片编辑方法,能够在用户进行图片编辑时,根据用户想要进行局部编辑的编辑目标对图片进行识别,将识别得到的编辑目标设为单独的目标模块,再对目标模块进行编辑,从而避免了在进行图片的局部编辑时对整体图片造成的不良影响。使得用户能够能够对图片进行精确的局部编辑,并且整体图片的效果不会受到影响,使得用户的可操作性与使用体验都得到了提高。The picture editing method proposed by the invention can identify the picture according to the editing target that the user wants to perform partial editing when the user performs picture editing, and set the identified editing target as a separate target module, and then edit the target module. , thereby avoiding the adverse effect on the overall picture when performing partial editing of the picture. This enables the user to perform accurate partial editing of the image, and the effect of the overall image is not affected, so that the user's operability and experience are improved.
附图说明DRAWINGS
图1是本发明实施例方案涉及的硬件运行环境的终端\装置结构示意图;1 is a schematic structural diagram of a terminal/device in a hardware operating environment according to an embodiment of the present invention;
图2为本发明图片编辑方法一实施例的流程示意图;2 is a schematic flow chart of an embodiment of a picture editing method according to the present invention;
图3为本发明图片编辑方法另一实施例中步骤S10的细化流程示意图;3 is a schematic flowchart of a refinement of step S10 in another embodiment of a picture editing method according to the present invention;
图4为本发明图片编辑方法又一实施例中步骤S30的细化流程示意图;4 is a schematic flowchart of a refinement of step S30 in still another embodiment of a picture editing method according to the present invention;
图5为本发明图片编辑方法一使用场景示意图。FIG. 5 is a schematic diagram of a usage scenario of a picture editing method according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
本发明实施例终端可以是智能手机,也可以是平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、便携计算机等具有显示功能的可移动式终端设备。In the embodiment of the present invention, the terminal may be a smart phone, or may be a tablet computer, an e-book reader, or an MP3 (Moving Picture) Experts Group Audio Layer III, Motion Picture Expert Compress Standard Audio Level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more. Among them, sensors such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及图片编辑程序。As shown in FIG. 1, an operating system, a network communication module, a user interface module, and a picture editing program may be included in the memory 1005 as a computer storage medium.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的图片编辑程序,并执行以下操作:In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client; and the processor 1001 can be used to call the picture editing program stored in the memory 1005 and perform the following operations:
获取编辑目标以及编辑目标的图形要素;Get the editing target and the graphic elements of the editing target;
根据编辑目标的图形要素对待编辑图片中的图形要素进行匹配;Match the graphic elements in the edited image according to the graphic elements of the editing target;
将与编辑目标匹配的图形要素设为目标模块,对目标模块进行编辑与保存。The graphic element matching the editing target is set as the target module, and the target module is edited and saved.
进一步地,处理器1001可以调用存储器1005中存储的图片编辑程序,还执行以下操作:Further, the processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
显示预存的编辑目标选择列表,基于编辑目标选择列表采集的操作指令,获取编辑目标以及该编辑目标的图形要素。The pre-stored edit target selection list is displayed, and the edit target and the graphic element of the edit target are acquired based on the operation instruction acquired by the edit target selection list.
进一步地,处理器1001可以调用存储器1005中存储的图片编辑程序,还执行以下操作:Further, the processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
若在编辑目标选择列表的选项中检测到输入指令,以检测到输入指令的选项作为编辑目标;If an input command is detected in an option of the edit target selection list, an option to input the command is detected as an edit target;
若接收到自定义输入指令,则以自定义输入而生成编辑目标。If a custom input command is received, the edit target is generated with a custom input.
进一步地,处理器1001可以调用存储器1005中存储的图片编辑程序,还执行以下操作:Further, the processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
将编辑目标的图形要素与待编辑图片中图形要素的图形要素进行对比,得出二者的相似度;Comparing the graphic elements of the editing target with the graphic elements of the graphic elements in the image to be edited, and obtaining the similarity between the two;
当相似度大于等于预设相似临界值时,则判该图形要素为与编辑目标匹配的图形要素,其中与编辑目标匹配的图形要素为编辑目标的同类物品。When the similarity is greater than or equal to the preset similarity threshold, the graphic element is determined to be a graphic element matching the editing target, and the graphic element matching the editing target is a similar item of the editing target.
进一步地,处理器1001可以调用存储器1005中存储的图片编辑程序,还执行以下操作:Further, the processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
若未检测到同类物品,则输出第一提示信息,以提示用户未检测同类物品;If the same item is not detected, the first prompt information is output to prompt the user that the same item is not detected;
若检测到同类物品,则输出第二提示信息,以将检测到的同类物品进行显示。If a similar item is detected, a second prompt message is output to display the detected similar item.
进一步地,处理器1001可以调用存储器1005中存储的图片编辑程序,还执行以下操作:Further, the processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
若同类物品的数量为多个,则输出是否进行合并编辑的提示信息。If the number of similar items is multiple, the prompt information of whether to perform merge editing is output.
进一步地,处理器1001可以调用存储器1005中存储的图片编辑程序,还执行以下操作:Further, the processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
若接收到不进行合并编辑的指令,则将每个同类物品设为一个单独的编辑模块,以进行单独编辑;If an instruction to perform merge editing is received, each similar item is set as a separate editing module for separate editing;
若接收到进行合并编辑的指令,则输出合并编辑的列表,并将合并编辑的同类物品视为一个编辑模块进行编辑。If an instruction to perform merge editing is received, a list of merge edits is output, and the merged edited similar items are treated as one edit module for editing.
进一步地,处理器1001可以调用存储器1005中存储的图片编辑程序,还执行以下操作:Further, the processor 1001 can call the picture editing program stored in the memory 1005, and also performs the following operations:
检测是否接收到保存指令;Check if a save command is received;
若有接收到保存指令,则以编辑后的目标模块替换原图形要素;If a save command is received, the original graphic element is replaced with the edited target module;
若未接收到保存指令,则将目标模块恢复为原图形要素,其中原图形要素为编辑前的目标模块。If the save command is not received, the target module is restored to the original graphic element, where the original graphic element is the target module before editing.
参照图2,本发明第一实施例提供一种图片编辑方法,所述图片编辑方法包括: Referring to FIG. 2, a first embodiment of the present invention provides a picture editing method, where the picture editing method includes:
步骤S10,获取编辑目标以及编辑目标的图形要素;Step S10, acquiring an editing target and a graphic element of the editing target;
步骤S20,根据编辑目标的图形要素对待编辑图片中的图形要素进行匹配;Step S20, matching the graphic elements in the edited picture according to the graphic element of the editing target;
步骤S30,将与编辑目标匹配的图形要素设为目标模块,对目标模块进行编辑与保存。In step S30, the graphic element matching the editing target is set as the target module, and the target module is edited and saved.
具体地,首先根据用户由编辑目标列中选择或者自定义选取所得到编辑目标,获取到编辑目标后则获取储存的编辑目标所对应的图形要素(例如储存的编辑目标有汽车,则对应储存汽车的图形要素),通过编辑目标的图形要素可以检测图片中是否存在编辑目标(例如用户输入的编辑目标是汽车,则首先获取车辆的图形要素,像是车辆的形状、轮廓以及颜色等),即通过编辑目标的图形要素匹配待编辑图片中是否存在编辑目标,从而得到包含编辑目标的编辑模块。编辑模块区别于待编辑图片,存在单独的编辑界面,使得用户能够在目标模块中对编辑目标进行单独的编辑,并且不会对待编辑图片中其余的部分造成影响,从而达到用户想要对待编辑图片中的某个特点模块进行编辑的目的。Specifically, firstly, according to the user selects or selects the edit target obtained by the edit target column, and obtains the edit target, the graphic element corresponding to the stored edit target is acquired (for example, if the stored edit target has a car, the corresponding storage car is Graphic element), by editing the graphic element of the target, it is possible to detect whether there is an editing target in the picture (for example, if the editing target input by the user is a car, first obtain the graphic elements of the vehicle, such as the shape, contour and color of the vehicle), ie The editing module including the editing target is obtained by matching the graphic element of the editing target to match whether the editing target exists in the image to be edited. The editing module is different from the image to be edited. There is a separate editing interface, so that the user can edit the editing target separately in the target module, and will not affect the rest of the editing image, so that the user wants to edit the image. A feature module in the module for editing purposes.
目前使用移动终端进行拍照已经成了日常生活中的一部分,而且随着移动终端的发展,仅仅拍照已经不能够满足用户的需求了,图片的后期处理与编辑也成为了移动终端的标配之一。而图片的编辑是否足够方便、功能是否强大则也成为了用户选择移动终端的一个参考因素。At present, taking pictures with mobile terminals has become a part of daily life, and with the development of mobile terminals, only taking pictures can not meet the needs of users, and post-processing and editing of pictures has become one of the standard of mobile terminals. . Whether the editing of the picture is convenient enough or powerful is also a reference factor for the user to select the mobile terminal.
本发明图片编辑方法能够在用户进行图片编辑时,将用户的想要编辑的区域进行模块式的分割,使得用户能够在对待编辑图片的某个模块进行编辑时,而图片其余部分不会造成影响,这样使得用户能够在进行图片编辑时,对一些部分的细节进行能详细,全面的个性化编辑,并且不必担心图片的其它部分会受到编辑的不良影响,例如进行调节亮度、大范围涂鸦等非常容易对图片其余部分进行误编辑的编辑操作。The picture editing method of the invention can modularly divide the area that the user wants to edit when the user performs picture editing, so that the user can edit a certain module of the picture to be edited, and the rest of the picture does not affect. This allows the user to perform detailed and comprehensive personalized editing of some parts of the picture during the editing of the picture, and does not have to worry about the other parts of the picture being adversely affected by the editing, such as adjusting the brightness, large-scale graffiti, etc. An editing operation that makes it easy to edit the rest of the picture.
例如用户有一个图片,图片中有一个人、一棵树、两辆车以及背景,用户想要对图片中的车辆进行编辑。若是使用现有的移动终端中的编辑功能,用户只能够对整个图片进行编辑,在对整个图片进行编辑的过程中对人物进行编辑,但是在这个过程中,用户非常容易对图片的其他部分造成一些破坏等不良的影响,比如用户想要对人物进行涂鸦,而涂鸦这种形式编辑是难以对编辑区域进行非常细致的控制的,因此非常容易造成涂鸦时对图片其余部分也造成影响,从而导致图片的整体效果遭到破坏,并且导致用户的使用体验非常低。(场景示意图如图5,其中C1为待编辑图片中的树,B1为为待编辑图片中的人,A1与A2分别为待编辑图片中两辆车。A为预存的车辆,用以对图片中的车辆进行匹配)For example, the user has a picture with one person, one tree, two cars, and a background, and the user wants to edit the vehicle in the picture. If the editing function in the existing mobile terminal is used, the user can only edit the entire picture, and edit the character in the process of editing the entire picture, but in the process, the user is very easy to cause other parts of the picture. Some bad effects such as damage, such as the user wants to graffiti the characters, and the graffiti form editing is difficult to control the editing area very carefully, so it is very easy to cause the graffiti to affect the rest of the picture, resulting in The overall effect of the image is compromised and the user experience is very low. (Scenario is shown in Figure 5, where C1 is the tree in the picture to be edited, B1 is the person in the picture to be edited, and A1 and A2 are respectively two cars in the picture to be edited. A is a pre-stored vehicle for the picture In the vehicle to match)
在用户想要编辑图片时,首先获取用户在编辑目标选择列表或者自定义输入的编辑目标,并获取与编辑目标对应预存的编辑目标的图形要素。根据获取到的编辑目标图形要素的特点来对待编辑图片中的目标模块进行匹配,在待编辑图片中具有与预存的编辑目标相似度大于等于最低的限度时,则可以判定待编辑图片中该部分图形与编辑目标为同类物品,并将同类物品设为单独的目标模块(即独立于待编辑图片的一个新的图片编辑窗口),而用户在目标模块中能够对目标模块进行单独的编辑,并在完成对目标模块的编辑后,将目标模块图片的内容替换待编辑图片中的目标模块,从而达到对目标模块的单独编辑,并使得待编辑图片的其他内容不会受到编辑的影响。When the user wants to edit the picture, firstly, the user selects the editing target selection list or the custom input editing target, and acquires the graphic element of the editing target pre-stored corresponding to the editing target. According to the acquired characteristics of the editing target graphic element, the target module in the edited image is matched, and when the similarity of the pre-stored editing target is greater than or equal to the minimum limit in the image to be edited, the part in the image to be edited can be determined. The graphics and editing targets are similar items, and the similar items are set as separate target modules (ie, a new image editing window independent of the image to be edited), and the user can separately edit the target module in the target module, and After the editing of the target module is completed, the content of the target module image is replaced with the target module in the image to be edited, so that the individual editing of the target module is achieved, and the other content of the image to be edited is not affected by the editing.
通过对目标模块的匹配与单独编辑,用户可以实现对图片的部分深度编辑(例如涂鸦等),而使用原有的编辑方法对图片进行深度编辑时,用户由于担心待编辑图片因为一些深度编辑(例如更换底色,改变亮度,进行涂鸦等)而使得图片中的其余内容遭到破坏,会在编辑图片时受到限制。从而无法达到满意的编辑效果,如此一来使得编辑图片成了一件鸡肋的事,想要大刀阔斧的编辑目标模块,则害怕影响到图片中的其他内容;想要不影响图片的其他内容,则无法对目标模块进行预想的编辑。By matching and separately editing the target module, the user can implement partial deep editing of the image (such as graffiti, etc.), and when using the original editing method to deeply edit the image, the user is worried about the image to be edited because of some deep editing ( For example, changing the background color, changing the brightness, making graffiti, etc., and causing the rest of the image to be destroyed, will be limited when editing the image. As a result, satisfactory editing results cannot be achieved, which makes editing pictures a sloppy thing. If you want to edit the target module in a bold way, you are afraid to affect other content in the picture. If you want to not affect other content of the picture, then Unexpected editing of the target module is not possible.
而通过本发明图片编辑方法,使得用户能够在输入想要编辑的目标后,将编辑模块提出,用户在单独对目标模块进行编辑之后,再将编辑完的目标模块替换待编辑图片中的目标模块,用户能够毫无顾忌的对目标模块进行编辑,提升了图片编辑功能的可用性,并且使得用户体验获得提升。The image editing method of the present invention enables the user to submit the editing module after inputting the target to be edited, and the user replaces the edited target module with the target module in the image to be edited after editing the target module separately. The user can edit the target module without any scruples, improve the usability of the image editing function, and improve the user experience.
进一步地,如图3,步骤S10,获取编辑目标以及编辑目标的图形要素的步骤包括:Further, as shown in FIG. 3, step S10, the steps of acquiring the editing target and the graphic elements of the editing target include:
步骤S11,显示预存的编辑目标选择列表,基于编辑目标选择列表采集的操作指令,获取编辑目标以及该编辑目标的图形要素。In step S11, the pre-stored editing target selection list is displayed, and the editing target and the graphic element of the editing target are acquired based on the operation instruction acquired by the editing target selection list.
具体地,移动终端中储存有预设编辑目标,用户通过编辑目标选择列表能够选出常用的编辑目标,在用户选择完编辑目标后,获取到用户选择的编辑目标以及与其对应的图形要素。Specifically, the mobile terminal stores a preset editing target, and the user can select a common editing target by editing the target selection list. After the user selects the editing target, the editing target selected by the user and the graphic element corresponding thereto are acquired.
本发明图片编辑方法,首选需要获取到用户想要编辑的编辑目标,而编辑目标也是待编辑图片中的一部分。如何由待编辑图片中获取到编辑目标需要通过对编辑目标图形要素的匹配,想要知道目标模块的图形要素则需要先知道目标模块是什么。移动终端中储存有一些常用的编辑目标以供用户在进行图片编辑时选择(日常生活中出现频率较高的物品,例如衣服、包包、车、建筑等等),移动终端中储存的编辑目标的同时也储存有这些编辑目标的图形要素,因此只要获取到了用户的编辑目标,则可以快速的获取到编辑目标对应的图形要素。In the image editing method of the present invention, it is preferred to obtain an editing target that the user wants to edit, and the editing target is also a part of the image to be edited. How to obtain the editing target from the image to be edited needs to match the editing target graphic element. If you want to know the graphic element of the target module, you need to know what the target module is. The mobile terminal stores some commonly used editing targets for the user to select when editing the pictures (higher-incident items in daily life, such as clothes, bags, cars, buildings, etc.), and the editing targets stored in the mobile terminal. At the same time, the graphic elements of these editing targets are also stored, so that as long as the user's editing target is acquired, the graphic elements corresponding to the editing target can be quickly obtained.
具体地过程为,用户选择待编辑图片后,移动终端会提示用户选择编辑目标并展示储存的编辑目标选择列表,用户可以方便的选择编辑目标选择列表中的编辑目标。用户通过点击的方式选择编辑目标后,获取到用户所选的编辑目标,并获取其对应预存的图形要素,以便后续通过特征识别图片中是否存在编辑目标。通过向用户展示移动终端中储存的编辑目标以供用户进行选择,从而快速的获取到用户的编辑目标以及其图形要素。Specifically, after the user selects the image to be edited, the mobile terminal prompts the user to select an editing target and displays the stored editing target selection list, and the user can conveniently select the editing target in the editing target selection list. After the user selects the editing target by clicking, the editing target selected by the user is obtained, and the corresponding pre-stored graphic element is obtained, so as to identify whether the editing target exists in the image through the feature. By displaying the editing target stored in the mobile terminal to the user for selection by the user, the user's editing target and its graphic elements are quickly obtained.
进一步地,步骤S11,基于编辑目标选择列表采集的操作指令,获取编辑目标以及该编辑目标的图形要素的步骤包括:Further, in step S11, the step of acquiring the editing target and the graphic element of the editing target based on the operation instruction of the editing target selection list acquisition includes:
步骤S111,若在编辑目标选择列表的选项中检测到输入指令,以检测到输入指令的选项作为编辑目标;Step S111, if an input instruction is detected in an option of the edit target selection list, an option of the input instruction is detected as an edit target;
步骤S112,若接收到自定义输入指令,则以自定义输入而生成编辑目标。In step S112, if a custom input command is received, an edit target is generated with a custom input.
具体地,获取在编辑目标选择列表中的输入指令,获取用户选取的编辑目标。或者获取用户通过自定义输入选取的编辑目标。Specifically, an input instruction in the edit target selection list is acquired, and an edit target selected by the user is acquired. Or get the edit target selected by the user through custom input.
移动终端中储存的编辑目标选择列表中是日常生活中的一些出现频率或者使用频率较高的物品,基本可以能够涵盖一般用户的使用需求,但是少数用户任然无法由编辑目标选择列表中选取到编辑目标(例如一些非常用物品或者非规则物品)。因此,除了通过在编辑列表中选择之外,还可以由用户进行自定义的选取来获得编辑目标。用户自定义选择是用户直接在待编辑图片中对编辑目标直接进行选取(例如用户在待编辑图片中划定一个区域,则该区域作为目标模块)。通过编辑目标选择列表提供选择与自定义获取编辑目标的方式,能够解决足绝大多数用户对于编辑目标的选取问题,并获取编辑目标所对应的图形要素。The edit target selection list stored in the mobile terminal is an item whose frequency of occurrence or frequency of use is high in daily life, and can basically cover the usage requirements of a general user, but a few users cannot be selected from the edit target selection list. Edit goals (such as some very useful items or irregular items). Therefore, in addition to being selected in the edit list, the user can perform a custom selection to obtain an edit target. The user-defined selection is that the user directly selects the editing target directly in the image to be edited (for example, the user delimits an area in the image to be edited, and the area serves as the target module). By editing the target selection list to provide selection and custom acquisition of the editing target, it is possible to solve the problem that most users select the editing target and obtain the graphic elements corresponding to the editing target.
进一步地,步骤S20,所述根据编辑目标的图形要素对待编辑图片中的图形要素进行匹配的步骤包括:Further, in step S20, the step of matching the graphic elements in the edited picture according to the graphic element of the editing target includes:
步骤S21,将编辑目标的图形要素与待编辑图片中图形要素的图形要素进行对比,得出二者的相似度;Step S21, comparing the graphic elements of the editing target with the graphic elements of the graphic elements in the image to be edited, and obtaining the similarity between the two;
步骤S22,当相似度大于等于预设相似临界值时,则判该图形要素为与编辑目标匹配的图形要素,其中与编辑目标匹配的图形要素为编辑目标的同类物品。Step S22, when the similarity is greater than or equal to the preset similarity threshold, the graphic element is determined to be a graphic element matching the editing target, wherein the graphic element matching the editing target is a similar item of the editing target.
具体地,获取到编辑目标后,根据编辑目标取得其特征,并将特征与待编辑图片中的图形进行相似度的比对,根据比对结果判定图形是否为与编辑目标同类的物品。Specifically, after the editing target is acquired, the feature is obtained according to the editing target, and the feature is compared with the graphic in the image to be edited, and the matching result is used to determine whether the graphic is an item of the same type as the editing target.
取得编辑目标的图形要素之后(仅限通过编辑目标选择列表选择编辑目标的情况,自定义选择的情况为自定义区域直接设为目标模块,则无需进行识别),将待编辑图片中各图形与编辑目标进行特征进行相似度对比。相似度是衡量两个图片的相同程度的参考值,通过对比两个图片的纹理、轮廓、颜色等信息,即可得出两个图片的相似度。因同类物品的相似度往往远大于非同类物品(例如同类物品的相似度一般大于等于60%,而非同类物品的相似度一般小于60%),因此得出相似度的数值后,可以判断出二者是否为同类物品,若是为同类物品,则判定待编辑图片中存在与编辑目标同类图形。After the graphic element of the editing target is obtained (only when the editing target is selected by editing the target selection list, if the custom selection is directly set as the target module, the identification is not necessary), and the graphics in the image to be edited are Edit the target to perform feature similarity comparison. Similarity is the reference value that measures the same degree of two pictures. By comparing the texture, outline, color and other information of two pictures, the similarity of two pictures can be obtained. Because the similarity of similar items is often much larger than that of non-similar items (for example, the similarity of similar items is generally greater than or equal to 60%, and the similarity of non-similar items is generally less than 60%). Therefore, after obtaining the similarity value, it can be judged. Whether the two are similar items, if it is a similar item, it is determined that there is a similar figure with the editing target in the picture to be edited.
进一步地,步骤S22,当相似度大于等于预设相似临界值时,则判该图形要素为与编辑目标匹配的图形要素,其中与编辑目标匹配的图形要素为编辑目标的同类物品的步骤之后包括:Further, in step S22, when the similarity is greater than or equal to the preset similarity threshold, the graphic element is determined to be a graphic element matching the editing target, wherein the step of matching the graphic element with the editing target is the same item of the editing target :
步骤S23,若未检测到同类物品,则输出第一提示信息,以提示用户未检测同类物品;Step S23, if the same item is not detected, the first prompt information is output to prompt the user that the same item is not detected;
步骤S24,若检测到同类物品,则输出第二提示信息,以将检测到的同类物品进行显示。In step S24, if a similar item is detected, the second prompt information is output to display the detected similar item.
具体地,根据同类物品的数量,对用户进行不同的提示。若是没有检测到同类物品(待编辑图片中没有编辑目标或者相似度太低无法识别),则输出提示信息,弹出提示界面,告知用户待编辑图片中未检测出同类物品,并询问用户是否重新进行编辑目标的选择。若是识别出了同类物品,则表明图片中存在编辑目标,将检测出的同类物品进行展示,以便用户检查。Specifically, the user is prompted differently according to the number of similar items. If no similar items are detected (there is no editing target in the image to be edited or the similarity is too low to be recognized), the prompt information is output, and a prompt interface is displayed to inform the user that the similar item is not detected in the image to be edited, and the user is asked whether to re-do Edit the selection of the target. If the same kind of item is identified, it means that there is an editing target in the picture, and the detected similar item is displayed for the user to check.
在识别完毕后,若是未识别出同类物品,则提示用户,用户可以选择更换图片重新编辑,或者系统由于各种原因未能有效的识别出图片中的同类物品,用户还可以更改选取方式(变为自定义选择编辑目标)来选择编辑目标以进行图片编辑。若是匹配结果为存在同类物品,则将待编辑图片中的同类物品列出并展示,用能够对匹配结果进行确认。根据匹配的结果,对用户的提示以及图片的处理也是不尽相同,从而使得方法更加人性化,并且操作更为简便。After the identification is completed, if the similar item is not recognized, the user is prompted, the user may choose to replace the picture for re-editing, or the system fails to effectively identify the similar item in the picture for various reasons, and the user may also change the selection method (change Select an edit target for customization to select an edit target for image editing. If the matching result is that there is a similar item, the similar items in the picture to be edited are listed and displayed, and the matching result can be confirmed. According to the matching result, the user's prompts and the processing of the pictures are also different, which makes the method more humanized and easier to operate.
进一步地,步骤S24,若检测到同类物品,则输出第二提示信息,以将检测到的同类物品进行显示的步骤之后包括:Further, in step S24, if the same kind of item is detected, the step of outputting the second prompt information to display the detected similar item includes:
步骤S25,若同类物品的数量为多个,则输出是否进行合并编辑的提示信息。In step S25, if the number of similar items is plural, the prompt information of whether to perform merge editing is output.
具体地,根据同类物品的数量,进行不同的处理,若是仅有一个目标模块,则无特殊处理。若是目标模块有多个,则提示用户是否进行将匹配得到的同类物品进行合并编辑。Specifically, different processing is performed according to the number of similar items, and if there is only one target module, there is no special processing. If there are multiple target modules, the user is prompted whether to perform the merge editing of the matched items.
根据图片中的同类物品数量不同,对于用户编辑的处理模式也不同。由于相同类型的目标模块可能存在关联或者位置非常接近等情况,用户需要将多个目标模块进行合并编辑(合并编辑即将多个同类物品合并为一个同类物品,共同使用一个编辑界面),例如在多个人的合影,在编辑图片时,可能需要对合影的人进行合并编辑。合并编辑可以使得用户的编辑效率大幅度提高(例如拍摄毕业照,图片中的人数可能达到几十上百人,此时若是进行单独编辑则编辑效率十分低下,而合并编辑可快速对具有相同编辑目的的同类无进行统一的编辑,能够提高效率并且使得编辑效果一致),同时能够使得编辑效果得到统一,使得用户无需高超的专业编辑技巧也可以实现对多个目标模块进行高效率的编辑。The processing mode for user editing is different depending on the number of similar items in the picture. Since the same type of target module may be associated or the location is very close, the user needs to merge and edit multiple target modules (the merge editing will merge multiple similar items into one similar item and use one editing interface together), for example, Personal photo, when editing pictures, you may need to merge and edit the group. The combined editing can greatly improve the editing efficiency of the user (for example, taking a graduation photo, the number of people in the picture may reach tens of hundreds of people. At this time, if editing is performed separately, the editing efficiency is very low, and the merged editing can quickly have the same editing purpose. The same kind of editing without uniform editing can improve the efficiency and make the editing effect consistent. At the same time, the editing effect can be unified, so that users can achieve high-efficiency editing of multiple target modules without superb professional editing skills.
进一步地,步骤 S25,若同类物品的数量为多个,则输出是否进行合并编辑的提示信息的步骤包括:Further, in step S25, if the number of similar items is multiple, the step of outputting prompt information for whether to perform merge editing includes:
步骤S251,若接收到不进行合并编辑的指令,则将每个同类物品设为一个单独的编辑模块,以进行单独编辑;Step S251, if an instruction not to perform merge editing is received, each similar item is set as a separate editing module for separate editing;
步骤S252,若接收到进行合并编辑的指令,则输出合并编辑的列表,并将合并编辑的同类物品视为一个编辑模块进行编辑。Step S252, if an instruction to perform merge editing is received, a list of merge edits is output, and the merged edited similar items are regarded as one edit module for editing.
具体地,根据接收到的单独编辑指令或者合并编辑指令,将目标模块设为对应的个体或者整体。Specifically, the target module is set as a corresponding individual or the whole according to the received individual editing instruction or the combined editing instruction.
根据同类物品的数量以及用户对于图片编辑的实际需求,能够将多个同类物品进行合并处理,在接收到合并编辑的指令后,将同类物品列表显示,用户通过在列表中选择想要进行合并的同类物品,接收到用户想要进行合并编辑的同类物品之后,将这些同类物品进行合并,并在后续编辑时,合并的同类物品为一个编辑同类物品单位,同时公用一个编辑窗口。例如一个图片中有5个人物的同类物品,分别为A,B,C,D,E,用户在进行图片编辑时,想要单独编辑A,而B和C则进行合并编辑,D和E同样进行合并编辑。则在检测到同类物品为多个后,提示用户是否进行合并编辑,用户可以选择进行合并编辑后,在同类物品列表中选择B和C进行合并,D和E进行合并,然后将选择合并编辑的同类物品(首先选择B和C合并编辑,再选择D和E合并编辑)进行合并。According to the number of similar items and the actual needs of the user for image editing, multiple similar items can be combined, and after receiving the instruction of the merge editing, the list of similar items is displayed, and the user selects the desired combination by selecting in the list. Similar items, after receiving the same kind of items that the user wants to merge and edit, merge these similar items, and in the subsequent editing, the merged similar items are an editing unit of the same type, and an editing window is shared. For example, there are five similar items in a picture, which are A, B, C, D, and E. When the user edits the picture, they want to edit A separately, while B and C edit and edit, D and E are the same. Make a merge edit. After detecting that there are multiple similar items, the user is prompted whether to perform merge editing, and the user can select merge editing, select B and C in the same item list to merge, D and E merge, and then select merge editing. Similar items (first select B and C combined editing, then select D and E combined editing) to merge.
通过合并编辑的功能,提高了用户对于多个同类物品进行编辑时,能够有效的提高总体的编辑效率,并且可以灵活的选择合并的同类物品,降低了使用难度,同时提高了用户使用体验。By combining the editing functions, the user can effectively improve the overall editing efficiency when editing multiple similar items, and can flexibly select the merged similar items, thereby reducing the difficulty of use and improving the user experience.
进一步地,如图4,步骤S30,将与编辑目标匹配的图形要素设为目标模块,对目标模块进行编辑与保存的步骤包括:Further, as shown in FIG. 4, step S30, the graphic element matching the editing target is set as the target module, and the steps of editing and saving the target module include:
步骤S31,检测是否接收到保存指令;Step S31, detecting whether a save instruction is received;
步骤S32,若有接收到保存指令,则以编辑后的目标模块替换原图形要素;Step S32, if a save instruction is received, replacing the original graphic element with the edited target module;
步骤S33若未接收到保存指令,则将目标模块恢复为原图形要素,其中原图形要素为编辑前的目标模块。If the save instruction is not received in step S33, the target module is restored to the original graphic element, wherein the original graphic element is the target module before editing.
具体地,用户完成目标模块的编辑后,可选择是否保存目标模块,若保存目标模块,则将目标模块替换待编辑图片中的编辑目标。若不保存目标模块,则待编辑图片中的编辑目标不变。Specifically, after the user completes editing of the target module, the user may select whether to save the target module, and if the target module is saved, replace the target module with the editing target in the image to be edited. If the target module is not saved, the editing target in the image to be edited does not change.
在编辑完成后,用户可以根据最终编辑效果等因素考虑是否将编辑过的目标模块进行保存。若用户选择对目标模块进行保存,则编辑过的目标模块将会替换待编辑图片中的原有图像,形成编辑后的图片。若用户不进行保存,则待编辑图片不会发生变化。After the editing is completed, the user can consider whether to save the edited target module according to factors such as the final editing effect. If the user chooses to save the target module, the edited target module will replace the original image in the image to be edited to form an edited image. If the user does not save, the picture to be edited will not change.
通过是否选择保存编辑够的目标模块,用户能够根据编进的效果进行灵活的选择,避免了目标模块的编辑行为对待编辑图片过早的进行修改,保存了待编辑图片的原始图像,对于用户而言操作更加灵活可能,有效降低了使用难度并提高了用户使用体验。By selecting whether to save the edited target module, the user can flexibly select according to the effect of the editing, avoiding the editing behavior of the target module, modifying the edited picture too early, and saving the original image of the image to be edited, for the user. The operation is more flexible, which effectively reduces the difficulty of use and improves the user experience.
本发明还提供具有一种图片编辑方法的移动终端。The present invention also provides a mobile terminal having a picture editing method.
本发明基于图片编辑方法的移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的图片编辑程序,所述图片编辑程序被所述处理器执行时实现如上所述的图片编辑方法步骤。The mobile terminal based on the picture editing method of the present invention comprises: a memory, a processor, and a picture editing program stored on the memory and operable on the processor, the picture editing program being implemented by the processor The picture editing method steps.
其中,在所述处理器上运行的图片编辑程序被执行时所实现的方法可参照本发明图片编辑方法各个实施例,在此不再赘述。For the method that is implemented when the image editing program running on the processor is executed, reference may be made to various embodiments of the image editing method of the present invention, and details are not described herein again.
此外本发明实施例还提出一种计算机可读存储介质。Furthermore, embodiments of the present invention also provide a computer readable storage medium.
本发明计算机可读存储介质上存储有图片编辑程序,所述图片编辑程序被处理器执行时实现如上所述的图片编辑方法的步骤。The computer readable storage medium of the present invention stores a picture editing program that, when executed by the processor, implements the steps of the picture editing method as described above.
其中,在所述处理器上运行的图片编辑程序被执行时所实现的方法可参照本发明图片编辑方法各个实施例,在此不再赘述。For the method that is implemented when the image editing program running on the processor is executed, reference may be made to various embodiments of the image editing method of the present invention, and details are not described herein again.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种图片编辑方法,其特征在于,所述图片编辑方法包括以下步骤: A picture editing method, characterized in that the picture editing method comprises the following steps:
    获取编辑目标以及编辑目标的图形要素;Get the editing target and the graphic elements of the editing target;
    根据编辑目标的图形要素对待编辑图片中的图形要素进行匹配;Match the graphic elements in the edited image according to the graphic elements of the editing target;
    将与编辑目标匹配的图形要素设为目标模块,对目标模块进行编辑与保存。The graphic element matching the editing target is set as the target module, and the target module is edited and saved.
  2. 如权利要求1所述的图片编辑方法,其特征在于,所述获取编辑目标以及编辑目标的图形要素的步骤包括:The picture editing method according to claim 1, wherein the step of acquiring the editing target and the graphic element of the editing target comprises:
    显示预存的编辑目标选择列表,基于编辑目标选择列表采集的操作指令,获取编辑目标以及该编辑目标的图形要素。The pre-stored edit target selection list is displayed, and the edit target and the graphic element of the edit target are acquired based on the operation instruction acquired by the edit target selection list.
  3. 如权利要求2所述的图片编辑方法,其特征在于,所述基于编辑目标选择列表采集的操作指令,获取编辑目标以及该编辑目标的图形要素的步骤包括:The picture editing method according to claim 2, wherein the step of acquiring the editing target and the graphic element of the editing target based on the operation instruction of the editing target selection list acquisition comprises:
    若在编辑目标选择列表的选项中检测到输入指令,以检测到输入指令的选项作为编辑目标;If an input command is detected in an option of the edit target selection list, an option to input the command is detected as an edit target;
    若接收到自定义输入指令,则以自定义输入而生成编辑目标。If a custom input command is received, the edit target is generated with a custom input.
  4. 如权利要求1所述的图片编辑方法,其特征在于,所述根据编辑目标的图形要素对待编辑图片中的图形要素进行匹配的步骤包括:The picture editing method according to claim 1, wherein the step of matching the graphic elements in the edited picture according to the graphic element of the editing target comprises:
    将编辑目标的图形要素与待编辑图片中图形要素的图形要素进行对比,得出二者的相似度;Comparing the graphic elements of the editing target with the graphic elements of the graphic elements in the image to be edited, and obtaining the similarity between the two;
    当相似度大于等于预设相似临界值时,则判该图形要素为与编辑目标匹配的图形要素,其中与编辑目标匹配的图形要素为编辑目标的同类物品。When the similarity is greater than or equal to the preset similarity threshold, the graphic element is determined to be a graphic element matching the editing target, and the graphic element matching the editing target is a similar item of the editing target.
  5. 如权利要求4所述的图片编辑方法,其特征在于,所述当相似度大于等于预设相似临界值时,则判该图形要素为与编辑目标匹配的图形要素,其中与编辑目标匹配的图形要素为编辑目标的同类物品的步骤之后包括:The picture editing method according to claim 4, wherein when the similarity is greater than or equal to a preset similarity threshold, the graphic element is determined to be a graphic element matching the editing target, wherein the graphic matching the editing target After the steps for editing the target's similar items, the steps include:
    若未检测到同类物品,则输出第一提示信息,以提示用户未检测同类物品;If the same item is not detected, the first prompt information is output to prompt the user that the same item is not detected;
    若检测到同类物品,则输出第二提示信息,以将检测到的同类物品进行显示。If a similar item is detected, a second prompt message is output to display the detected similar item.
  6. 如权利要求5所述的图片编辑方法,其特征在于,所述若检测到同类物品,则输出第二提示信息,以将检测到的同类物品进行显示的步骤之后包括:The picture editing method according to claim 5, wherein the step of outputting the second prompt information to display the detected similar item if the same type item is detected includes:
    若同类物品的数量为多个,则输出是否进行合并编辑的提示信息。If the number of similar items is multiple, the prompt information of whether to perform merge editing is output.
  7. 如权利要求6所述的图片编辑方法,其特征在于,所述若同类物品的数量为多个,则输出是否进行合并编辑的提示信息的步骤包括:The picture editing method according to claim 6, wherein if the number of similar items is plural, the step of outputting prompt information for whether to perform merge editing includes:
    若接收到不进行合并编辑的指令,则将每个同类物品设为一个单独的编辑模块,以进行单独编辑;If an instruction to perform merge editing is received, each similar item is set as a separate editing module for separate editing;
    若接收到进行合并编辑的指令,则输出合并编辑的列表,并将合并编辑的同类物品视为一个编辑模块进行编辑。If an instruction to perform merge editing is received, a list of merge edits is output, and the merged edited similar items are treated as one edit module for editing.
  8. 如权利要求1所述的图片编辑方法,其特征在于,所述将与编辑目标匹配的图形要素设为目标模块,对目标模块进行编辑与保存的步骤包括:The picture editing method according to claim 1, wherein the graphic element matching the editing target is set as a target module, and the step of editing and saving the target module comprises:
    检测是否接收到保存指令;Check if a save command is received;
    若有接收到保存指令,则以编辑后的目标模块替换原图形要素;If a save command is received, the original graphic element is replaced with the edited target module;
    若未接收到保存指令,则将目标模块恢复为原图形要素,其中原图形要素为编辑前的目标模块。If the save command is not received, the target module is restored to the original graphic element, where the original graphic element is the target module before editing.
  9. 一种移动终端,其特征在于,所述移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的图片编辑程序,所述图片编辑程序被所述处理器执行时实现如权利要求1至8中任一项所述的图片编辑方法的步骤。A mobile terminal, comprising: a memory, a processor, and a picture editing program stored on the memory and operable on the processor, the picture editing program being used by the processor The step of implementing the picture editing method according to any one of claims 1 to 8 at the time of execution.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有图片编辑程序,所述图片编辑程序被处理器执行时实现如权利要求1至8中任一项所述的图片编辑方法的步骤。A computer readable storage medium, wherein the computer readable storage medium stores a picture editing program, the picture editing program being executed by a processor to implement the method of any one of claims 1 to 8. The steps of the image editing method.
PCT/CN2017/101630 2017-09-13 2017-09-13 Picture editing method, mobile terminal, and readable storage medium WO2019051684A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/101630 WO2019051684A1 (en) 2017-09-13 2017-09-13 Picture editing method, mobile terminal, and readable storage medium
CN201780096734.6A CN111344735B (en) 2017-09-13 2017-09-13 Picture editing method, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101630 WO2019051684A1 (en) 2017-09-13 2017-09-13 Picture editing method, mobile terminal, and readable storage medium

Publications (1)

Publication Number Publication Date
WO2019051684A1 true WO2019051684A1 (en) 2019-03-21

Family

ID=65722201

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101630 WO2019051684A1 (en) 2017-09-13 2017-09-13 Picture editing method, mobile terminal, and readable storage medium

Country Status (2)

Country Link
CN (1) CN111344735B (en)
WO (1) WO2019051684A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423049A (en) * 2020-10-27 2021-02-26 深圳Tcl新技术有限公司 Information source connection display method, device, equipment and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112750181A (en) * 2021-01-22 2021-05-04 珠海优特电力科技股份有限公司 Graphic processing method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139357A (en) * 2015-08-26 2015-12-09 深圳市金立通信设备有限公司 Image editing method and terminal
CN105204850A (en) * 2015-08-31 2015-12-30 深圳市金立通信设备有限公司 Image processing method and terminal
KR101622316B1 (en) * 2015-03-13 2016-05-19 서울대학교산학협력단 System and method for providing video

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951749B (en) * 2015-05-12 2018-07-20 三星电子(中国)研发中心 Picture material identification device and method
CN105096363A (en) * 2015-06-30 2015-11-25 北京金山安全软件有限公司 Picture editing method and picture editing device
CN106339694A (en) * 2016-09-14 2017-01-18 北京金山安全软件有限公司 Image processing method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101622316B1 (en) * 2015-03-13 2016-05-19 서울대학교산학협력단 System and method for providing video
CN105139357A (en) * 2015-08-26 2015-12-09 深圳市金立通信设备有限公司 Image editing method and terminal
CN105204850A (en) * 2015-08-31 2015-12-30 深圳市金立通信设备有限公司 Image processing method and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423049A (en) * 2020-10-27 2021-02-26 深圳Tcl新技术有限公司 Information source connection display method, device, equipment and readable storage medium
CN112423049B (en) * 2020-10-27 2024-04-30 深圳Tcl新技术有限公司 Information source connection display method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN111344735A (en) 2020-06-26
CN111344735B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
WO2020166892A1 (en) Electronic device for providing augmented reality user interface and operating method thereof
WO2017039321A1 (en) Foldable electronic device including hidden display and information display method thereof
WO2014082500A1 (en) Page loading method and system therefor, and computer storage medium
WO2015109865A1 (en) Customized control method and system for air conditioner operation mode
WO2018113187A1 (en) Display control method and display device
WO2016165556A1 (en) Data processing method, device and system for video stream
WO2016058258A1 (en) Terminal remote control method and system
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2014000635A1 (en) Method for reader to provide service, reader, terminal and computer storage medium
WO2018227880A1 (en) Data comparison method, apparatus and device, and readable storage medium
WO2015144052A1 (en) Method and apparatus for collecting statistics on network information
WO2018126888A1 (en) Method and apparatus for configuring a shortcut for a television function
WO2017219663A1 (en) Mobile terminal, and method and system for searching application program thereof
WO2017088444A1 (en) Method and device for prompting electric quantity information of terminal
WO2018233301A1 (en) Product recommendation method, apparatus, and device, and computer readable storage medium
WO2018120430A1 (en) Page construction method, terminal, computer-readable storage medium and page construction device
WO2017036208A1 (en) Method and system for extracting information in display interface
WO2019062109A1 (en) Method of mounting disk array, android device and storage medium
WO2018223602A1 (en) Display terminal, frame contrast enhancement method, and computer readable storage medium
WO2017121066A1 (en) Application program display method and system
WO2019051684A1 (en) Picture editing method, mobile terminal, and readable storage medium
WO2019091128A1 (en) Signal preview method for new access source and television set
WO2017071223A1 (en) Control method and device for television application
WO2017088429A1 (en) Method and system for controlling touchscreen application program in display terminal by mobile terminal
WO2020075960A1 (en) Electronic device, external electronic device, and method for controlling external electronic device by using electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17924862

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17924862

Country of ref document: EP

Kind code of ref document: A1