WO2022012657A1 - Image editing method and apparatus, and electronic device - Google Patents

Image editing method and apparatus, and electronic device Download PDF

Info

Publication number
WO2022012657A1
WO2022012657A1 PCT/CN2021/106721 CN2021106721W WO2022012657A1 WO 2022012657 A1 WO2022012657 A1 WO 2022012657A1 CN 2021106721 W CN2021106721 W CN 2021106721W WO 2022012657 A1 WO2022012657 A1 WO 2022012657A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
target
editing
thumbnails
parameter
Prior art date
Application number
PCT/CN2021/106721
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 维沃移动通信有限公司
Publication of WO2022012657A1 publication Critical patent/WO2022012657A1/en

Links

Images

Classifications

    • 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
    • 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/0485Scrolling or panning
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

An image editing method and apparatus, and an electronic device, which belong to the technical field of image processing. The method comprises: receiving a first editing operation for a first image (101); in response to the first editing operation, editing the first image by using a first parameter corresponding to the first editing operation (102); receiving a selection operation for a target thumbnail (103); and in response to the selection operation, editing, by using a target parameter, a target image corresponding to the target thumbnail, and displaying an edited target image (104), wherein the first parameter comprises at least one sub-parameter, and the target parameter comprises at least one sub-parameter in the first parameter.

Description

图像编辑方法、装置和电子设备Image editing method, apparatus and electronic device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年7月17日在中国提交的中国专利申请号No.202010692429.7的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202010692429.7 filed in China on Jul. 17, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请属于图像处理技术领域,具体涉及一种图像编辑方法、装置和电子设备。The present application belongs to the technical field of image processing, and in particular relates to an image editing method, apparatus and electronic device.
背景技术Background technique
近年来,电子设备逐渐得到普及,在使用电子设备的过程中,用户有时会对电子设备中的图像进行编辑,如添加滤镜、调色或剪裁等,以获得满足用户个性化需求的图像。In recent years, electronic devices have gradually become popular. In the process of using electronic devices, users sometimes edit images in the electronic devices, such as adding filters, toning or cropping, to obtain images that meet the user's personalized needs.
在实现本申请过程中,发明人发现现有技术中至少存在如下问题:当用户需要编辑某一张图像时,需要进入到这张图像的编辑界面,并在这张图像的编辑界面执行编辑操作,之后,当用户需要编辑另一张图像时,需要退出这张图像的编辑界面,进入另一张图像的编辑界面,并在另一张图像的编辑界面执行编辑操作,这导致图像编辑的效果较低。In the process of realizing this application, the inventor found that there are at least the following problems in the prior art: when a user needs to edit a certain image, he needs to enter the editing interface of this image, and perform an editing operation on the editing interface of this image , after that, when the user needs to edit another image, he needs to exit the editing interface of this image, enter the editing interface of another image, and perform editing operations in the editing interface of another image, which results in the effect of image editing lower.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种图像编辑方法、装置和电子设备,能够解决图像编辑的效果较低的问题。The purpose of the embodiments of the present application is to provide an image editing method, apparatus and electronic device, which can solve the problem of low image editing effect.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种图像编辑方法,该方法包括:In a first aspect, an embodiment of the present application provides an image editing method, the method comprising:
接收针对第一图像的第一编辑操作;receiving a first editing operation for the first image;
响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑;Editing the first image using first parameters corresponding to the first editing operation in response to the first editing operation;
接收针对目标缩略图的选择操作;Receive a selection operation for the target thumbnail;
响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像;In response to the selection operation, using the target parameter, edit the target image corresponding to the target thumbnail, and display the edited target image;
其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数。Wherein, the first parameter includes at least one sub-parameter, and the target parameter includes at least one sub-parameter in the first parameter.
第二方面,本申请实施例提供了一种图像编辑装置,该装置包括:In a second aspect, an embodiment of the present application provides an image editing apparatus, and the apparatus includes:
第一接收模块,用于接收针对第一图像的第一编辑操作;a first receiving module, configured to receive a first editing operation for the first image;
第一编辑模块,用于响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑;a first editing module, configured to edit the first image using a first parameter corresponding to the first editing operation in response to the first editing operation;
选择模块,用于接收针对目标缩略图的选择操作;a selection module, configured to receive a selection operation for the target thumbnail;
第二编辑模块,用于响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑;a second editing module, configured to edit the target image corresponding to the target thumbnail by using target parameters in response to the selection operation;
第一显示模块,用于显示编辑后的目标图像;a first display module for displaying the edited target image;
其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数。Wherein, the first parameter includes at least one sub-parameter, and the target parameter includes at least one sub-parameter in the first parameter.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,通过接收针对第一图像的第一编辑操作,响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑,接收针对目标缩略图的选择操作,响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像;其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数,能够实现在对某一图像进行编辑后,将该 图像已具有的至少部分编辑效果自动应用于用户所选的另一图像,而无需接收用户对另一个图像的编辑操作,这样,能够减少所需接收的编辑操作,从而能够提高编辑效率,有利于图像的批量处理。In the embodiment of the present application, by receiving a first editing operation for a first image, in response to the first editing operation, the first image is edited using a first parameter corresponding to the first editing operation , receiving a selection operation for the target thumbnail, in response to the selection operation, using target parameters to edit the target image corresponding to the target thumbnail, and display the edited target image; wherein the first parameter It includes at least one sub-parameter, and the target parameter includes at least one sub-parameter in the first parameter, which can realize that after editing an image, at least part of the editing effect already possessed by the image is automatically applied to the user selected There is no need to receive the editing operation of the other image by the user, so that the editing operation that needs to be received can be reduced, the editing efficiency can be improved, and the batch processing of images can be facilitated.
附图说明Description of drawings
图1是本申请实施例提供的图像编辑方法的流程图;1 is a flowchart of an image editing method provided by an embodiment of the present application;
图2是本申请实施例提供的图像编辑方法的举例图之一;Fig. 2 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图3是本申请实施例提供的图像编辑方法的举例图之一;Fig. 3 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图4是本申请实施例提供的图像编辑方法的举例图之一;Fig. 4 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图5是本申请实施例提供的图像编辑方法的举例图之一;Fig. 5 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图6是本申请实施例提供的图像编辑方法的举例图之一;FIG. 6 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图7是本申请实施例提供的图像编辑方法的举例图之一;FIG. 7 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图8是本申请实施例提供的图像编辑方法的举例图之一;FIG. 8 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图9是本申请实施例提供的图像编辑方法的举例图之一;FIG. 9 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图10是本申请实施例提供的图像编辑方法的举例图之一;FIG. 10 is one of the example diagrams of the image editing method provided by the embodiment of the present application;
图11是本申请实施例提供的图像编辑装置的结构图;11 is a structural diagram of an image editing apparatus provided by an embodiment of the present application;
图12是本申请实施例提供的一种电子设备的结构图;12 is a structural diagram of an electronic device provided by an embodiment of the present application;
图13是本申请实施例提供的另一种电子设备的结构图。FIG. 13 is a structural diagram of another electronic device provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说 明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“示所,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. Objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or multiple. In addition, "and/or" in the description and the claims indicates at least one of the connected objects, and the character "as shown, generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的图像编辑方法进行详细地说明。The image editing method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,本申请实施例提供一种图像编辑方法,包括:As shown in FIG. 1 , an embodiment of the present application provides an image editing method, including:
步骤101、接收针对第一图像的第一编辑操作; Step 101, receiving a first editing operation for the first image;
步骤102、响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑; Step 102, in response to the first editing operation, edit the first image using a first parameter corresponding to the first editing operation;
步骤103、接收针对目标缩略图的选择操作; Step 103, receiving a selection operation for the target thumbnail;
步骤104、响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像; Step 104, in response to the selection operation, using target parameters, edit the target image corresponding to the target thumbnail, and display the edited target image;
其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数。Wherein, the first parameter includes at least one sub-parameter, and the target parameter includes at least one sub-parameter in the first parameter.
本申请实施例中,上述接收第一图像的第一编辑操作可以是:在图像编辑界面,接收第一图像的第一编辑操作。上述第一编辑操作可以仅包括针对第一图像的单个编辑操作,也可以包括针对第一图像的多个编辑操作。In the embodiment of the present application, the above-mentioned first editing operation of receiving the first image may be: receiving the first editing operation of the first image on the image editing interface. The above-mentioned first editing operation may only include a single editing operation for the first image, or may include multiple editing operations for the first image.
上述子参数可以是滤镜参数、饱和度参数、亮度参数、字幕参数、贴纸参数、光效参数或边框参数等各类参数。在使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑后,第一图像可以具有了第一编辑效果。The above sub-parameters can be filter parameters, saturation parameters, brightness parameters, subtitle parameters, sticker parameters, light effect parameters or frame parameters and other parameters. After the first image is edited using the first parameter corresponding to the first editing operation, the first image may have a first editing effect.
上述步骤103具体可以是在所述图像编辑界面接收针对目标缩略图的选择操作,也可以是在除图像编辑界面以外的界面接收针对目标缩略图的选择操作,例如,可以是在相册界面接收针对目标缩略图的选择操作。上述选择操作可以是点击,例如,单击或双击、滑动、长按或双指捏合等各种触控操作。The above step 103 may specifically be receiving a selection operation for the target thumbnail in the image editing interface, or receiving a selection operation for the target thumbnail in an interface other than the image editing interface, for example, it may be in the album interface. The selection operation of the target thumbnail. The above-mentioned selection operation may be a click, for example, various touch operations such as single-click or double-tap, slide, long-press or two-finger pinch.
在使用目标参数,对与所述目标缩略图对应的目标图像进行编辑后,目标图像可以具有了目标编辑效果。具体的,当目标参数仅包括所述第一参数中的部分子参数时,目标编辑效果可以是第二编辑效果;当目标参数包括所述第一参数中的每一个子参数时,目标编辑效果可以是第一编辑效果。After the target image corresponding to the target thumbnail is edited using the target parameters, the target image may have the target editing effect. Specifically, when the target parameter includes only some sub-parameters in the first parameter, the target editing effect may be the second editing effect; when the target parameter includes each sub-parameter in the first parameter, the target editing effect Can be the first edit effect.
本申请实施例,通过接收针对第一图像的第一编辑操作,响应于所述第 一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑,接收针对目标缩略图的选择操作,响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像;其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数,能够实现在对某一图像进行编辑后,将该图像已具有的至少部分编辑效果自动应用于用户所选的另一图像,而无需接收用户对另一个图像的编辑操作,这样,能够减少所需接收的编辑操作,从而能够提高编辑效率,使图像的批量编辑能够更加方便和高效,也使图像的替换能够更加方便和高效。In this embodiment of the present application, by receiving a first editing operation for a first image, in response to the first editing operation, the first image is edited using a first parameter corresponding to the first editing operation, and receiving For the selection operation of the target thumbnail, in response to the selection operation, use the target parameter to edit the target image corresponding to the target thumbnail, and display the edited target image; wherein the first parameter includes at least A sub-parameter, the target parameter includes at least one sub-parameter in the first parameter, which can realize that after an image is edited, at least part of the editing effect that the image already has is automatically applied to another selected by the user. One image does not need to receive the editing operation of another image from the user. In this way, the editing operation that needs to be received can be reduced, the editing efficiency can be improved, the batch editing of images can be more convenient and efficient, and the replacement of images can be more convenient and efficient. Convenient and efficient.
可选的,所述响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像之后,所述方法还包括:Optionally, after the target image corresponding to the target thumbnail is edited by using target parameters in response to the selection operation, and the edited target image is displayed, the method further includes:
接收第二编辑操作;receiving a second editing operation;
响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对所述编辑后的目标图像再次进行编辑;或者,响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对编辑后的所述第一图像以及所述编辑后的目标图像再次进行编辑。In response to the second editing operation, the edited target image is edited again using the second parameter corresponding to the second editing operation; or, in response to the second editing operation, using the second parameter corresponding to the second editing operation. For the second parameter corresponding to the second editing operation, the edited first image and the edited target image are edited again.
本申请实施例中,上述第二参数可以包括至少一个子参数,此处,子参数可以是滤镜参数、饱和度参数、亮度参数、字幕参数、贴纸参数、光效参数或边框参数等各类参数。In this embodiment of the present application, the above-mentioned second parameter may include at least one sub-parameter, where the sub-parameter may be a filter parameter, a saturation parameter, a brightness parameter, a subtitle parameter, a sticker parameter, a light effect parameter, or a frame parameter, etc. parameter.
在使用与所述第二编辑操作对应的第二参数,对所述编辑后的目标图像再次进行编辑后,目标图像可以同时具有了所述目标编辑效果和第三编辑效果。After the edited target image is edited again using the second parameter corresponding to the second editing operation, the target image may have the target editing effect and the third editing effect at the same time.
在使用与所述第二编辑操作对应的第二参数,对编辑后的所述第一图像以及所述编辑后的目标图像再次进行编辑后,第一图像可以是同时具有了所述第一编辑效果和所述第三编辑效果,而目标图像可以是同时具有了所述目标编辑效果和所述第三编辑效果。After the edited first image and the edited target image are edited again using the second parameter corresponding to the second editing operation, the first image may have the first edited image at the same time. effect and the third editing effect, and the target image may have both the target editing effect and the third editing effect.
由于响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像之后,所述方法还包括:接收 第二编辑操作,响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对所述编辑后的目标图像再次进行编辑,从而使得在将已应用于第一图像的至少部分编辑效果自动应用于被选择的目标图像后,用户还能够根据需要进一步编辑目标图像,以调整目标图像的编辑效果,这样,能够进一步提高图像编辑时的灵活性,以更好地满足用户需求。After the target image corresponding to the target thumbnail image is edited by using the target parameter in response to the selection operation, and the edited target image is displayed, the method further includes: receiving a second editing operation, in response to the selection operation. the second editing operation, and using the second parameter corresponding to the second editing operation, the edited target image is edited again, so that at least part of the editing effect that has been applied to the first image is automatically applied to After the target image is selected, the user can further edit the target image as required to adjust the editing effect of the target image. In this way, the flexibility of image editing can be further improved to better meet the user's needs.
由于响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像之后,所述方法还包括:接收第二编辑操作,响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对编辑后的所述第一图像以及所述编辑后的目标图像再次进行编辑,从而使得在将已应用于第一图像的至少部分编辑效果自动应用于目标图像后,用户还能够根据需要进一步对第一图像和目标图像进行同步编辑,以同步调整第一图像和第二图像的编辑效果,这样,既能够进一步提高图像编辑时的灵活性,以更好地满足用户需求,也能够进一步实现对多张图像的同时编辑,使图像的批量编辑能够更加方便和高效。After the target image corresponding to the target thumbnail image is edited by using the target parameter in response to the selection operation, and the edited target image is displayed, the method further includes: receiving a second editing operation, in response to the selection operation. In the second editing operation, the edited first image and the edited target image are edited again using the second parameter corresponding to the second editing operation, so that the edited first image and the edited target image are edited again. After at least part of the editing effect of the image is automatically applied to the target image, the user can further synchronously edit the first image and the target image as needed to synchronously adjust the editing effect of the first image and the second image. The flexibility in image editing can better meet user needs, and can further realize simultaneous editing of multiple images, making batch editing of images more convenient and efficient.
可选的,所述响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像,包括:Optionally, in response to the selection operation, using target parameters, edit the target image corresponding to the target thumbnail, and display the edited target image, including:
响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像,且撤销目标编辑操作;In response to the selection operation, using the target parameter, edit the target image corresponding to the target thumbnail, display the edited target image, and undo the target editing operation;
其中,所述目标编辑操作为:使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑的操作。The target editing operation is an operation of editing the first image by using the first parameter corresponding to the first editing operation.
由于可以响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像,且撤销目标编辑操作,其中,所述目标编辑操作为:使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑的操作,从而能够实现在对某一图像进行编辑后,将该图像已具有的至少部分编辑效果自动转移至用户所选的另一图像,这样,能够使编辑过程中的图像替换更加方便和高效。Because the target image corresponding to the target thumbnail can be edited in response to the selection operation using target parameters, the edited target image is displayed, and the target editing operation is cancelled, wherein the target editing operation is: The operation of editing the first image using the first parameter corresponding to the first editing operation, so that after editing an image, at least part of the editing effect already possessed by the image can be automatically transferred to the first image. Another image selected by the user, thus making image replacement during editing more convenient and efficient.
可选的,所述接收针对目标缩略图的选择操作之前,所述方法还包括:Optionally, before receiving the selection operation for the target thumbnail, the method further includes:
接收第一预设操作;receiving a first preset operation;
响应于所述第一预设操作,显示包括所述目标缩略图在内的N张缩略图;In response to the first preset operation, displaying N thumbnails including the target thumbnail;
其中,所述N为正整数,所述N张缩略图与除所述第一图像以外的N张图像一一对应。The N is a positive integer, and the N thumbnails are in one-to-one correspondence with the N images other than the first image.
本申请实施例中,上述第一预设操作可以是点击,例如,单击或双击、滑动、长按或双指捏合等各种触控操作。In this embodiment of the present application, the above-mentioned first preset operation may be a click, for example, various touch operations such as single-click or double-click, slide, long press, or two-finger pinch.
上述N张图像可以是N张单独的图像,如可以是相册中的N张图像;上述N张图像也可以是来自于一幅或多幅动图中的N张图像。The above N images may be N individual images, such as N images in an album; the above N images may also be N images from one or more moving pictures.
由于在接收针对目标缩略图的选择操作之前,所述方法还包括:接收第一预设操作,响应于所述第一预设操作,显示包括所述目标缩略图在内的N张缩略图,其中,所述N为正整数,所述N张缩略图与除所述第一图像以外的N张图像一一对应,从而使得用户通过执行第一预设操作,就能够调出包括所述目标缩略图在内的N张缩略图,操作便捷,能够便于用户选择目标缩略图。Because before receiving the selection operation for the target thumbnail, the method further includes: receiving a first preset operation, and in response to the first preset operation, displaying N thumbnails including the target thumbnail, The N is a positive integer, and the N thumbnails are in one-to-one correspondence with the N images other than the first image, so that the user can call up images including the target by performing the first preset operation. N thumbnails including thumbnails are easy to operate and can facilitate the user to select target thumbnails.
可选的,所述响应于所述第一预设操作,显示包括目标缩略图在内的N张缩略图,包括:Optionally, in response to the first preset operation, displaying N thumbnails including the target thumbnail, including:
响应于所述第一预设操作,获取所述第一图像的特征信息;in response to the first preset operation, acquiring feature information of the first image;
从预存的多张图像中,确定与所述特征信息匹配的且除所述第一图像以外的N张图像,其中,所述N张图像包括所述目标图像;From the pre-stored multiple images, determine N images matching the feature information and other than the first image, wherein the N images include the target image;
显示所述N张图像一一对应的N张缩略图。N thumbnails corresponding to the N images one-to-one are displayed.
本申请实施例中,上述特征信息可以包括以下至少一项:类型、风格、内容。此处,类型可以包括人物类、动物类或风景类等;风格可以包括唯美、复古或中性酷感等;内容可以包括人物、动物或风景等。其中,类型和风格均可以根据第一图像的内容确定。In this embodiment of the present application, the above feature information may include at least one of the following: type, style, and content. Here, the genre may include characters, animals, or landscapes; the style may include aesthetic, retro, or neutral cool; and the content may include characters, animals, or landscapes. Wherein, both the type and the style may be determined according to the content of the first image.
为便于理解,此处举例说明:For ease of understanding, here is an example:
例一、假设第一图像为甲的单人照,那么,上述特征信息可以为甲的头像信息,而上述N张图像可以均为甲的单人照,或者也可以包括甲的单人照以及甲与其他人的合拍照。Example 1. Assuming that the first image is a single-person photo of A, then, the above feature information can be the avatar information of A, and the above N images can all be a single-person photo of A, or can also include A's single-person photo and A photo taken with other people.
例二、假设第一图像的拍摄地点为A,那么,上述特征信息可以是拍摄地点为A,而上述N张图像可以是拍摄地点均为A的N张图像,也就是说,上述N张图像中的每一张图像的拍摄地点均为A。Example 2. Assuming that the shooting location of the first image is A, the above characteristic information may be that the shooting location is A, and the above N images may be N images whose shooting locations are A, that is, the above N images Each image in is shot at A.
例三、假设第一图像的背景为B,那么,上述特征信息可以是背景为B,而上述N张图像可以是背景均为B的N张图像,也就是说,上述N张图像中的每一张图像的背景均为B。Example 3. Assuming that the background of the first image is B, then the above feature information may be that the background is B, and the above N images may be N images with the background B, that is, each of the above N images. The background of one image is all B.
由于所述响应于所述第一预设操作,显示包括目标缩略图在内的N张缩略图,包括:响应于所述第一预设操作,获取所述第一图像的特征信息,从预存的多张图像中,确定与所述特征信息匹配的且除所述第一图像以外的N张图像,其中,所述N张图像包括所述目标图像,显示所述N张图像一一对应的N张缩略图,从而能够使显示的N张缩略图对应的N张图像与第一图像更加近似,这样,能够更好地满足用户的需求。Since the displaying N thumbnails including the target thumbnail in response to the first preset operation includes: in response to the first preset operation, acquiring the feature information of the first image, and obtaining the feature information from the pre-stored image. Among the multiple images of , determine N images that match the feature information and are other than the first image, wherein the N images include the target image, and the N images are displayed one-to-one corresponding to the N images. There are N thumbnails, so that the N images corresponding to the displayed N thumbnails can be more similar to the first image, which can better meet the needs of the user.
可选的,所述响应于所述第一预设操作,显示包括所述目标缩略图在内的N张缩略图之后,所述方法还包括:Optionally, after displaying N thumbnails including the target thumbnail in response to the first preset operation, the method further includes:
接收第二预设操作;receiving a second preset operation;
响应于所述第二预设操作,缩放所述N张缩略图,并新增显示P张缩略图,所述P为正整数,所述P张缩略图中的任一张缩略图与所述N张缩略图中的任一张缩略图不相同,所述P张缩略图与除所述第一图像以外的P张图像一一对应;或者,响应于所述第二预设操作,将显示的所述N张缩略图替换为另外N张缩略图,所述另外N张缩略图与除所述第一图像以外的N张图像一一对应。In response to the second preset operation, the N thumbnails are scaled, and P thumbnails are newly displayed, where P is a positive integer, and any thumbnail in the P thumbnails is the same as the Any one of the N thumbnails is different, and the P thumbnails are in one-to-one correspondence with the P images other than the first image; or, in response to the second preset operation, the display will be displayed. The N thumbnails of are replaced with other N thumbnails, and the other N thumbnails are in one-to-one correspondence with the N images other than the first image.
本申请实施例中,上述第二预设操作可以是点击,例如,单击或双击、滑动、长按或双指捏合等各种触控操作。In this embodiment of the present application, the above-mentioned second preset operation may be a click, for example, various touch operations such as single-click or double-click, slide, long press, or two-finger pinch.
由于显示包括所述目标缩略图在内的N张缩略图之后,所述方法还包括:接收第二预设操作;响应于所述第二预设操作,缩放所述N张缩略图,并新增显示P张缩略图,所述P为正整数,所述P张缩略图中的任一张缩略图与所述N张缩略图中的任一张缩略图不相同,所述P张缩略图与除所述第一图像以外的P张图像一一对应;或者,响应于所述第二预设操作,将显示的所述N张缩略图替换为另外N张缩略图,所述另外N张缩略图与除所述第一图像以外的N张图像一一对应,从而使得用户可以通过执行第二预设操作来查看与第一图像不同的更多图像,且操作方便。After the N thumbnails including the target thumbnail are displayed, the method further includes: receiving a second preset operation; in response to the second preset operation, zooming the N thumbnails, and creating a new P additional thumbnails are displayed, where P is a positive integer, any one of the P thumbnails is different from any one of the N thumbnails, and the P thumbnails One-to-one correspondence with P images other than the first image; or, in response to the second preset operation, replace the displayed N thumbnails with another N thumbnails, the other N thumbnails The thumbnails are in one-to-one correspondence with N images other than the first image, so that the user can view more images different from the first image by performing the second preset operation, and the operation is convenient.
为便于理解本申请实施例,示例说明如下。如图2所示,一种图像编辑 方法,可以包括以下步骤:To facilitate understanding of the embodiments of the present application, examples are described as follows. As shown in Figure 2, an image editing method may include the following steps:
步骤201、用户选择图像C,图像C进入编辑状态,此时显示界面如图3所示,图3所示的31代表图片区,图片区31显示有图像C,图3所示的32代表编辑区,编辑区32显示有多个编辑控件,不同编辑控件分别对应不同编辑效果。 Step 201, the user selects the image C, and the image C enters the editing state. At this time, the display interface is as shown in FIG. 3, 31 shown in FIG. 3 represents the picture area, the image area 31 is displayed with the image C, and 32 shown in FIG. 3 represents the editing The editing area 32 displays a plurality of editing controls, and different editing controls respectively correspond to different editing effects.
此处,图像C可以理解为上述第一图像。Here, the image C can be understood as the above-mentioned first image.
步骤202、在图3所示的界面,用户点击了编辑区32显示的编辑控件“白皙”,则将白皙滤镜添加至图像C上,此时图片区31显示的是编辑后的图像C。 Step 202 , in the interface shown in FIG. 3 , the user clicks the editing control “white” displayed in the editing area 32 , then the white filter is added to the image C, and the edited image C is displayed in the picture area 31 at this time.
此处,上述点击了编辑区32显示的编辑控件“白皙”可以理解为上述第一编辑操作;上述将白皙滤镜添加至图像C上可以理解为上述使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑。Here, the above-mentioned clicking on the editing control "white" displayed in the editing area 32 can be understood as the above-mentioned first editing operation; the above-mentioned adding the white-white filter to the image C can be understood as the above-mentioned use of the first editing operation corresponding to the first editing operation. A parameter to edit the first image.
步骤203、接着,用户在图像区31执行双指捏合的操作,图片区31显示“照片墙”,其中,编辑后的图像C作为“照片墙”的主图显示在中间,相册中除图像C以外的多张图像所对应的多张缩略图均作为“照片墙”的辅图显示在主图的四周,所有辅图按照时间序列由上到下、从左到右依次排列,如图4所示。Step 203: Next, the user performs a two-finger pinch operation in the image area 31, and the picture area 31 displays a “photo wall”, wherein the edited image C is displayed in the middle as the main image of the “photo wall”, and the image C is removed from the album. The thumbnails corresponding to the other images are displayed around the main image as the auxiliary images of the "Photo Wall". Show.
此处,双指捏合的操作可以理解为上述第一预设操作,“照片墙”中的所有辅图可以理解为上述N张缩略图。Here, the operation of pinching with two fingers can be understood as the above-mentioned first preset operation, and all the auxiliary images in the "Photo Wall" can be understood as the above-mentioned N thumbnails.
步骤204、在图4所示的界面,用户在图片区31再次执行双手捏合的操作,“照片墙”中的主图和辅图均被缩放,“照片墙”中的辅图数量增加,增加的辅图中的每一张辅图均不同于之前显示的辅图和主图,如图5所示,此时,编辑区32的多个编辑控件依然可以用于调节编辑效果,但效果的作用对象仅为图像C。 Step 204, in the interface shown in FIG. 4, the user performs the operation of pinching with both hands in the picture area 31 again, the main picture and the auxiliary picture in the "photo wall" are both zoomed, and the number of the auxiliary pictures in the "photo wall" increases. Each of the auxiliary figures in the auxiliary figure is different from the auxiliary figure and the main figure shown before, as shown in Figure 5, at this time, a plurality of editing controls in the editing area 32 can still be used to adjust the editing effect, but the effect of the effect object Image C only.
步骤205、接着,在图5所示的界面,用户在图像区31执行向左滑动的操作,“照片墙”中的所有辅图向左移动,且随着移动,最左侧的一列辅图逐渐消失,最右侧逐渐新增一列辅图,如图6所示。Step 205: Next, on the interface shown in FIG. 5, the user performs a left-swipe operation in the image area 31, and all the auxiliary images in the "Photo Wall" move to the left, and along with the movement, the leftmost column of auxiliary images moves to the left. It gradually disappears, and a column of auxiliary images is gradually added to the far right, as shown in Figure 6.
步骤206、在图6所示的界面,当用户单击“照片墙”中缩略图28时,原来的主图即图像C将会被缩略图28对应的图像28所替换,且图像28会被 添加有白皙滤镜,而图像C上的白皙滤镜将被去除,也就是说,单击缩略图28时,缩略图28对应的图像28会成为主图进入编辑状态,而且会具有图像C的编辑效果,而图像C则退出编辑状态不再是主图,且不保留任何编辑效果,如图7所示,此时,编辑区的多个编辑控件依然可以用于调节编辑效果,但效果的作用对象仅为图像28。Step 206: On the interface shown in FIG. 6, when the user clicks the thumbnail 28 in the "Photo Wall", the original main image, that is, image C, will be replaced by the image 28 corresponding to the thumbnail 28, and the image 28 will be replaced by the image C. A white filter is added, and the white filter on image C will be removed, that is, when you click on the thumbnail 28, the image 28 corresponding to the thumbnail 28 will become the main image and enter the editing state, and will have the image C's Editing effect, while image C exits the editing state and is no longer the main image, and does not retain any editing effect, as shown in Figure 7, at this time, multiple editing controls in the editing area can still be used to adjust the editing effect, but the effect of The object of action is only the image 28 .
此处,缩略图28可以理解为上述目标缩略图,图像28可以理解为上述目标图像。上述原来的主图即图像C将会被缩略图28对应的图像28所替换,且图像28会被添加有白皙滤镜,而图像C上的白皙滤镜将被去除,可以理解为:上述使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像,且撤销目标编辑操作。Here, the thumbnail image 28 can be understood as the above-mentioned target thumbnail image, and the image 28 can be understood as the above-mentioned target image. The above-mentioned original main image, that is, image C, will be replaced by image 28 corresponding to thumbnail 28, and image 28 will be added with a white filter, and the white filter on image C will be removed, which can be understood as: the above use target parameter, edit the target image corresponding to the target thumbnail, display the edited target image, and cancel the target editing operation.
步骤207、在图7所示的界面,当用户单击“照片墙”中的主图即图像28或者在图片区31执行双指放大的操作时,“照片墙”消失,返回正常编辑图像的状态,如图8所示。Step 207: On the interface shown in FIG. 7, when the user clicks the main image in the "Photo Wall", that is, image 28, or performs a two-finger zoom-in operation in the picture area 31, the "Photo Wall" disappears and returns to the normal editing mode of the image. state, as shown in Figure 8.
步骤208、在图6所示的界面,当用户依次长按“照片墙”中的缩略图6、缩略图28和缩略图43时,缩略图6对应的图像6、缩略图28对应的图像28和缩略图43对应的图像43均会被补充为主图,且图像6、图像28和图像43上均会被添加上白皙滤镜,且图像C的白皙滤镜也将被保留,也就是说,依次长按“照片墙”中的缩略图6、缩略图28和缩略图43时,缩略图6对应的图像6、缩略图28对应的图像28和缩略图43对应的图像43也均会成为主图进入编辑状态,图像C、图像6、图像28和图像43这四张主图叠加显示于图片区31,且此时的图像6、图像28和图像43均具有与图像C相同的编辑效果,且图像C也会保留之前的编辑效果,如图9所示,此时,编辑区的多个编辑控件依然可以用于调节编辑效果,但效果的作用对象包括图像C、图像6、图像28和图像43,也就是说,之后,用户的编辑操作将同时作用于图像C、图像6、图像28和图像43。Step 208: On the interface shown in FIG. 6, when the user presses and holds the thumbnail 6, the thumbnail 28 and the thumbnail 43 in the "Photo Wall" in turn, the image 6 corresponding to the thumbnail 6 and the image 28 corresponding to the thumbnail 28 are displayed. The image 43 corresponding to the thumbnail image 43 will be added to the main image, and the white filter will be added to the image 6, image 28 and image 43, and the white filter of the image C will also be retained, that is to say , when you press and hold Thumbnail 6, Thumbnail 28 and Thumbnail 43 in the "Photo Wall" in turn, the image 6 corresponding to Thumbnail 6, the image 28 corresponding to Thumbnail 28, and the image 43 corresponding to Thumbnail 43 will also become The main image enters the editing state, and the four main images, Image C, Image 6, Image 28 and Image 43, are superimposed and displayed in the picture area 31, and at this time, Image 6, Image 28 and Image 43 all have the same editing effect as Image C. , and image C will also retain the previous editing effect, as shown in Figure 9, at this time, multiple editing controls in the editing area can still be used to adjust the editing effect, but the effect objects of the effect include image C, image 6, image 28 and image 43, that is, after that, the user's editing operation will act on image C, image 6, image 28 and image 43 at the same time.
此处,缩略图6、缩略图28和缩略图43均可以理解为上述目标缩略图,图像6、图像28和图像43均可以理解为上述目标图像。上述缩略图6对应的图像6、缩略图28对应的图像28和缩略图43对应的图像43均会被补充为主图,且图像6、图像28和图像43上均会被添加上白皙滤镜,且图像C 的白皙滤镜也将被保留,可以理解为:上述使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像。Here, the thumbnail 6 , the thumbnail 28 and the thumbnail 43 can all be understood as the above-mentioned target thumbnails, and the image 6 , the image 28 and the image 43 can all be understood as the above-mentioned target image. Image 6 corresponding to thumbnail 6, image 28 corresponding to thumbnail 28, and image 43 corresponding to thumbnail 43 will all be supplemented as the main image, and a whiteness filter will be added to image 6, image 28, and image 43 , and the fairness filter of the image C will also be retained, which can be understood as: using the above target parameters to edit the target image corresponding to the target thumbnail, and display the edited target image.
步骤209、在图9所示的界面,当用户单击“照片墙”中的主图或者在图片区31执行双指放大的操作时,“照片墙”消失,返回正常编辑图像的状态,如图10所示,返回正常编辑图像的状态后,编辑界面的图片区31会显示所有主图,且用户之后的编辑操作将同时作用于所有主图。 Step 209. On the interface shown in FIG. 9, when the user clicks the main image in the "Photo Wall" or performs a two-finger zoom-in operation in the picture area 31, the "Photo Wall" disappears and returns to the normal image editing state, such as: As shown in FIG. 10 , after returning to the normal state of editing images, the picture area 31 of the editing interface will display all the main images, and subsequent editing operations by the user will simultaneously affect all the main images.
本示例通过在图像编辑界面扩展图片区的交互方式,为双手捏和的操作赋予“照片墙”的功能,从而可以在图像编辑的过程中进行编辑对象的替换和添加,减少了操作步骤,更加方便用户更快完成大量照片的编辑处理;且能够将用户之前进行的一系列编辑处理获得的编辑效果快速复用到替换后的编辑对象或复用到被添加的编辑对象上,从而无需丢弃或重新进行这些编辑操作,提升了编辑操作的容错性和易用性。This example extends the interactive mode of the picture area in the image editing interface, and gives the "photo wall" function to the operation of pinching with both hands, so that the editing objects can be replaced and added in the process of image editing, which reduces the operation steps and makes it easier to It is convenient for users to complete the editing processing of a large number of photos faster; and the editing effects obtained by a series of editing processing performed by the user can be quickly reused to the replaced editing objects or to the added editing objects, so that there is no need to discard or Re-doing these editing operations improves the fault tolerance and ease of use of the editing operations.
本申请实施例,通过接收针对第一图像的第一编辑操作,响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑,接收针对目标缩略图的选择操作,响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像;其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数,能够实现在对某一图像进行编辑后,将该图像已具有的至少部分编辑效果自动应用于用户所选的另一图像,而无需接收用户对另一个图像的编辑操作,这样,能够减少所需接收的编辑操作,从而能够提高编辑效率,使图像的批量编辑能够更加方便和高效,也使图像的替换能够更加方便和高效。In this embodiment of the present application, by receiving a first editing operation for a first image, in response to the first editing operation, the first image is edited using a first parameter corresponding to the first editing operation, and receiving For the selection operation of the target thumbnail, in response to the selection operation, use the target parameter to edit the target image corresponding to the target thumbnail, and display the edited target image; wherein the first parameter includes at least A sub-parameter, the target parameter includes at least one sub-parameter in the first parameter, which can realize that after an image is edited, at least part of the editing effect that the image already has is automatically applied to another selected by the user. One image does not need to receive the editing operation of another image from the user. In this way, the editing operation that needs to be received can be reduced, the editing efficiency can be improved, the batch editing of images can be more convenient and efficient, and the replacement of images can be more convenient and efficient. Convenient and efficient.
需要说明的是,本申请实施例提供的图像编辑方法,执行主体可以为图像编辑装置,或者该图像编辑装置中的用于执行图像编辑的方法的控制模块。本申请实施例中以图像编辑装置执行图像编辑的方法为例,说明本申请实施例提供的图像编辑的装置。It should be noted that, in the image editing method provided by the embodiments of the present application, the execution body may be an image editing apparatus, or a control module in the image editing apparatus for executing the image editing method. In the embodiments of the present application, a method for performing image editing by an image editing apparatus is used as an example to describe the image editing apparatus provided in the embodiments of the present application.
如图11所示,本申请实施例提供一种图像编辑装置1100,包括:As shown in FIG. 11, an embodiment of the present application provides an image editing apparatus 1100, including:
第一接收模块1101,用于接收针对第一图像的第一编辑操作;a first receiving module 1101, configured to receive a first editing operation for the first image;
第一编辑模块1102,用于响应于所述第一编辑操作,使用与所述第一编 辑操作对应的第一参数,对所述第一图像进行编辑;a first editing module 1102, configured to edit the first image by using the first parameter corresponding to the first editing operation in response to the first editing operation;
选择模块1103,用于接收针对目标缩略图的选择操作;A selection module 1103, configured to receive a selection operation for the target thumbnail;
第二编辑模块1104,用于响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑;The second editing module 1104 is configured to, in response to the selection operation, use the target parameter to edit the target image corresponding to the target thumbnail;
第一显示模块1105,用于显示编辑后的目标图像;The first display module 1105 is used to display the edited target image;
其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数。Wherein, the first parameter includes at least one sub-parameter, and the target parameter includes at least one sub-parameter in the first parameter.
可选的,所述装置1100还包括:Optionally, the apparatus 1100 further includes:
第二接收模块,用于接收第二编辑操作;a second receiving module, configured to receive a second editing operation;
第三编辑模块,用于响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对所述编辑后的目标图像再次进行编辑;或者,响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对编辑后的所述第一图像以及所述编辑后的目标图像再次进行编辑。A third editing module, configured to edit the edited target image again by using the second parameter corresponding to the second editing operation in response to the second editing operation; or, in response to the second editing operation In the editing operation, the edited first image and the edited target image are edited again by using the second parameter corresponding to the second editing operation.
可选的,所述第二编辑模块1104用于:Optionally, the second editing module 1104 is used for:
响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像,且撤销目标编辑操作;In response to the selection operation, using the target parameter, edit the target image corresponding to the target thumbnail, display the edited target image, and undo the target editing operation;
其中,所述目标编辑操作为:使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑的操作。The target editing operation is an operation of editing the first image by using the first parameter corresponding to the first editing operation.
可选的,所述装置1100还包括:Optionally, the apparatus 1100 further includes:
第三接收模块,用于接收第一预设操作;a third receiving module, configured to receive the first preset operation;
第二显示模块,用于响应于所述第一预设操作,显示包括所述目标缩略图在内的N张缩略图;a second display module, configured to display N thumbnails including the target thumbnail in response to the first preset operation;
其中,所述N为正整数,所述N张缩略图与除所述第一图像以外的N张图像一一对应。The N is a positive integer, and the N thumbnails are in one-to-one correspondence with the N images other than the first image.
可选的,所述第二显示模块包括:Optionally, the second display module includes:
获取单元,用于响应于所述第一预设操作,获取所述第一图像的特征信息;an acquiring unit, configured to acquire feature information of the first image in response to the first preset operation;
确定单元,用于从预存的多张图像中,确定与所述特征信息匹配的且除所述第一图像以外的N张图像,其中,所述N张图像包括所述目标图像;a determining unit, configured to determine, from a plurality of pre-stored images, N images matching the feature information and other than the first image, wherein the N images include the target image;
显示单元,用于显示所述N张图像一一对应的N张缩略图。A display unit, configured to display N thumbnails corresponding to the N images one-to-one.
可选的,所述装置1100还包括:Optionally, the apparatus 1100 further includes:
第四接收模块,用于接收第二预设操作;a fourth receiving module, configured to receive a second preset operation;
第三显示模块,用于响应于所述第二预设操作,缩放所述N张缩略图,并新增显示P张缩略图,所述P为正整数,所述P张缩略图中的任一张缩略图与所述N张缩略图中的任一张缩略图不相同,所述P张缩略图与除所述第一图像以外的P张图像一一对应;或者,响应于所述第二预设操作,将显示的所述N张缩略图替换为另外N张缩略图,所述另外N张缩略图与除所述第一图像以外的N张图像一一对应。A third display module, configured to scale the N thumbnails in response to the second preset operation, and newly display P thumbnails, where P is a positive integer, and any of the P thumbnails is a positive integer. One thumbnail is different from any one of the N thumbnails, and the P thumbnails are in one-to-one correspondence with the P images other than the first image; or, in response to the first image The second preset operation is to replace the displayed N thumbnails with another N thumbnails, and the other N thumbnails are in one-to-one correspondence with the N images other than the first image.
本申请实施例,通过接收针对第一图像的第一编辑操作,响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑,接收针对目标缩略图的选择操作,响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像;其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数,能够实现在对某一图像进行编辑后,将该图像已具有的至少部分编辑效果自动应用于用户所选的另一图像,而无需接收用户对另一个图像的编辑操作,这样,能够减少所需接收的编辑操作,从而能够提高编辑效率,使图像的批量编辑能够更加方便和高效,也使图像的替换能够更加方便和高效。In this embodiment of the present application, by receiving a first editing operation for a first image, in response to the first editing operation, the first image is edited using a first parameter corresponding to the first editing operation, and receiving For the selection operation of the target thumbnail, in response to the selection operation, use the target parameter to edit the target image corresponding to the target thumbnail, and display the edited target image; wherein the first parameter includes at least A sub-parameter, the target parameter includes at least one sub-parameter in the first parameter, which can realize that after an image is edited, at least part of the editing effect that the image already has is automatically applied to another selected by the user. One image does not need to receive the editing operation of another image from the user. In this way, the editing operation that needs to be received can be reduced, the editing efficiency can be improved, the batch editing of images can be more convenient and efficient, and the replacement of images can be more convenient and efficient. Convenient and efficient.
本申请实施例中的图像编辑装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The image editing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
本申请实施例中的图像编辑装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The image editing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的图像编辑装置能够实现图1至图10的方法实施例实现的各个过程,为避免重复,这里不再赘述。The image editing apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 10 , and to avoid repetition, details are not repeated here.
可选的,如图12所示,本申请实施例还提供一种电子设备1200,包括处理器1201,存储器1202,存储在存储器1202上并可在所述处理器1201上运行的程序或指令,该程序或指令被处理器1201执行时实现上述图像编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 12, an embodiment of the present application further provides an electronic device 1200, including a processor 1201, a memory 1202, a program or instruction stored in the memory 1202 and executable on the processor 1201, When the program or instruction is executed by the processor 1201, each process of the above-mentioned image editing method embodiment can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图13为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309、以及处理器1310等部件。The electronic device 1300 includes but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310, etc. part.
本领域技术人员可以理解,电子设备1300还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1300 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1310 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 13 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
其中,用户输入单元1307,用于接收针对第一图像的第一编辑操作;Wherein, the user input unit 1307 is used to receive the first editing operation for the first image;
处理器1310,用于响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑;a processor 1310, configured to, in response to the first editing operation, edit the first image using a first parameter corresponding to the first editing operation;
用户输入单元1307,还用于接收针对目标缩略图的选择操作;The user input unit 1307 is further configured to receive a selection operation for the target thumbnail;
处理器1310,还用于响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑;The processor 1310 is further configured to, in response to the selection operation, use the target parameter to edit the target image corresponding to the target thumbnail;
显示单元1306,用于显示编辑后的目标图像;a display unit 1306, for displaying the edited target image;
其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数。Wherein, the first parameter includes at least one sub-parameter, and the target parameter includes at least one sub-parameter in the first parameter.
本申请实施例,通过接收针对第一图像的第一编辑操作,响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进 行编辑,接收针对目标缩略图的选择操作,响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像;其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数,能够实现在对某一图像进行编辑后,将该图像已具有的至少部分编辑效果自动应用于用户所选的另一图像,而无需接收用户对另一个图像的编辑操作,这样,能够减少所需接收的编辑操作,从而能够提高编辑效率,使图像的批量编辑能够更加方便和高效,也使图像的替换能够更加方便和高效。In this embodiment of the present application, by receiving a first editing operation for a first image, in response to the first editing operation, the first image is edited using a first parameter corresponding to the first editing operation, and receiving For the selection operation of the target thumbnail, in response to the selection operation, use the target parameter to edit the target image corresponding to the target thumbnail, and display the edited target image; wherein the first parameter includes at least A sub-parameter, the target parameter includes at least one sub-parameter in the first parameter, which can realize that after an image is edited, at least part of the editing effect that the image already has is automatically applied to another selected by the user. One image does not need to receive the editing operation of another image from the user. In this way, the editing operation that needs to be received can be reduced, the editing efficiency can be improved, the batch editing of images can be more convenient and efficient, and the replacement of images can be more convenient and efficient. Convenient and efficient.
可选的,用户输入单元1307,还用于接收第二编辑操作;Optionally, the user input unit 1307 is further configured to receive a second editing operation;
处理器1310,还用于响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对所述编辑后的目标图像再次进行编辑;或者,响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对编辑后的所述第一图像以及所述编辑后的目标图像再次进行编辑。The processor 1310 is further configured to, in response to the second editing operation, use the second parameter corresponding to the second editing operation to edit the edited target image again; or, in response to the second editing operation In the editing operation, the edited first image and the edited target image are edited again by using the second parameter corresponding to the second editing operation.
可选的,处理器1310,还用于响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,且撤销目标编辑操作;Optionally, the processor 1310 is further configured to, in response to the selection operation, use target parameters to edit the target image corresponding to the target thumbnail image, and revoke the target editing operation;
显示单元1306,用于显示编辑后的目标图像;a display unit 1306, for displaying the edited target image;
其中,所述目标编辑操作为:使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑的操作。The target editing operation is an operation of editing the first image by using the first parameter corresponding to the first editing operation.
可选的,用户输入单元1307,还用于接收第一预设操作;Optionally, the user input unit 1307 is further configured to receive a first preset operation;
显示单元1306,还用于响应于所述第一预设操作,显示包括所述目标缩略图在内的N张缩略图;The display unit 1306 is further configured to display N thumbnails including the target thumbnail in response to the first preset operation;
其中,所述N为正整数,所述N张缩略图与除所述第一图像以外的N张图像一一对应。The N is a positive integer, and the N thumbnails are in one-to-one correspondence with the N images other than the first image.
可选的,处理器1310,还用于:Optionally, the processor 1310 is further configured to:
响应于所述第一预设操作,获取所述第一图像的特征信息;in response to the first preset operation, acquiring feature information of the first image;
从预存的多张图像中,确定与所述特征信息匹配的且除所述第一图像以外的N张图像,其中,所述N张图像包括所述目标图像;From the pre-stored multiple images, determine N images matching the feature information and other than the first image, wherein the N images include the target image;
显示单元1306,还用于显示所述N张图像一一对应的N张缩略图。The display unit 1306 is further configured to display the N thumbnails corresponding to the N images one-to-one.
可选的,用户输入单元1307,还用于接收第二预设操作;Optionally, the user input unit 1307 is further configured to receive a second preset operation;
显示单元1306,还用于响应于所述第二预设操作,缩放所述N张缩略图,并新增显示P张缩略图,所述P为正整数,所述P张缩略图中的任一张缩略图与所述N张缩略图中的任一张缩略图不相同,所述P张缩略图与除所述第一图像以外的P张图像一一对应;或者,响应于所述第二预设操作,将显示的所述N张缩略图替换为另外N张缩略图,所述另外N张缩略图与除所述第一图像以外的N张图像一一对应。The display unit 1306 is further configured to scale the N thumbnails in response to the second preset operation, and newly display P thumbnails, where P is a positive integer, and any of the P thumbnails is a positive integer. One thumbnail is different from any one of the N thumbnails, and the P thumbnails are in one-to-one correspondence with the P images other than the first image; or, in response to the first image The second preset operation is to replace the displayed N thumbnails with another N thumbnails, and the other N thumbnails are in one-to-one correspondence with the N images other than the first image.
应理解的是,本申请实施例中,输入单元1304可以包括图形处理器(Graphics Processing Unit,GPU)13041和麦克风13042,图形处理器13041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1306可包括显示面板13061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板13061。用户输入单元1307包括触控面板13071以及其他输入设备13072。触控面板13071,也称为触摸屏。触控面板13071可包括触摸检测装置和触摸控制器两个部分。其他输入设备13072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1309可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1310可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1310中。It should be understood that, in this embodiment of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042. Such as camera) to obtain still pictures or video image data for processing. The display unit 1306 may include a display panel 13061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and other input devices 13072 . The touch panel 13071 is also called a touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again. Memory 1309 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 1310 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1310.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述图像编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above image editing method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述图像编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复, 这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above image editing method embodiments. Each process can achieve the same technical effect, and in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (14)

  1. 一种图像编辑方法,包括:An image editing method comprising:
    接收针对第一图像的第一编辑操作;receiving a first editing operation for the first image;
    响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑;Editing the first image using first parameters corresponding to the first editing operation in response to the first editing operation;
    接收针对目标缩略图的选择操作;Receive a selection operation for the target thumbnail;
    响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像;In response to the selection operation, using the target parameter, edit the target image corresponding to the target thumbnail, and display the edited target image;
    其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数。Wherein, the first parameter includes at least one sub-parameter, and the target parameter includes at least one sub-parameter in the first parameter.
  2. 根据权利要求1所述的方法,其中,所述响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像之后,所述方法还包括:The method according to claim 1, wherein after the target image corresponding to the target thumbnail is edited using target parameters in response to the selection operation, and the edited target image is displayed, the method Also includes:
    接收第二编辑操作;receiving a second editing operation;
    响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对所述编辑后的目标图像再次进行编辑;或者,响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对编辑后的所述第一图像以及所述编辑后的目标图像再次进行编辑。In response to the second editing operation, the edited target image is edited again using the second parameter corresponding to the second editing operation; or, in response to the second editing operation, using the second parameter corresponding to the second editing operation. For the second parameter corresponding to the second editing operation, the edited first image and the edited target image are edited again.
  3. 根据权利要求1所述的方法,其中,所述响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像,包括:The method according to claim 1, wherein, in response to the selection operation, using target parameters to edit the target image corresponding to the target thumbnail, and display the edited target image, comprising:
    响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像,且撤销目标编辑操作;In response to the selection operation, using the target parameter, edit the target image corresponding to the target thumbnail, display the edited target image, and undo the target editing operation;
    其中,所述目标编辑操作为:使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑的操作。The target editing operation is an operation of editing the first image by using the first parameter corresponding to the first editing operation.
  4. 根据权利要求1所述的方法,其中,所述接收针对目标缩略图的选择操作之前,所述方法还包括:The method according to claim 1, wherein before the receiving the selection operation for the target thumbnail, the method further comprises:
    接收第一预设操作;receiving a first preset operation;
    响应于所述第一预设操作,显示包括所述目标缩略图在内的N张缩略图;In response to the first preset operation, displaying N thumbnails including the target thumbnail;
    其中,所述N为正整数,所述N张缩略图与除所述第一图像以外的N张图像一一对应。The N is a positive integer, and the N thumbnails are in one-to-one correspondence with the N images other than the first image.
  5. 根据权利要求4所述的方法,其中,所述响应于所述第一预设操作,显示包括目标缩略图在内的N张缩略图,包括:The method according to claim 4, wherein, in response to the first preset operation, displaying N thumbnails including the target thumbnail, comprising:
    响应于所述第一预设操作,获取所述第一图像的特征信息;in response to the first preset operation, acquiring feature information of the first image;
    从预存的多张图像中,确定与所述特征信息匹配的且除所述第一图像以外的N张图像,其中,所述N张图像包括所述目标图像;From the pre-stored multiple images, determine N images matching the feature information and other than the first image, wherein the N images include the target image;
    显示所述N张图像一一对应的N张缩略图。N thumbnails corresponding to the N images one-to-one are displayed.
  6. 根据权利要求4所述的方法,其中,所述响应于所述第一预设操作,显示包括所述目标缩略图在内的N张缩略图之后,所述方法还包括:The method according to claim 4, wherein after the N thumbnail images including the target thumbnail image are displayed in response to the first preset operation, the method further comprises:
    接收第二预设操作;receiving a second preset operation;
    响应于所述第二预设操作,缩放所述N张缩略图,并新增显示P张缩略图,所述P为正整数,所述P张缩略图中的任一张缩略图与所述N张缩略图中的任一张缩略图不相同,所述P张缩略图与除所述第一图像以外的P张图像一一对应;或者,响应于所述第二预设操作,将显示的所述N张缩略图替换为另外N张缩略图,所述另外N张缩略图与除所述第一图像以外的N张图像一一对应。In response to the second preset operation, the N thumbnails are scaled, and P thumbnails are newly displayed, where P is a positive integer, and any thumbnail in the P thumbnails is the same as the Any one of the N thumbnails is different, and the P thumbnails are in one-to-one correspondence with the P images other than the first image; or, in response to the second preset operation, the display will be displayed. The N thumbnails of are replaced with other N thumbnails, and the other N thumbnails are in one-to-one correspondence with the N images other than the first image.
  7. 一种图像编辑装置,包括:An image editing device, comprising:
    第一接收模块,用于接收针对第一图像的第一编辑操作;a first receiving module, configured to receive a first editing operation for the first image;
    第一编辑模块,用于响应于所述第一编辑操作,使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑;a first editing module, configured to edit the first image using a first parameter corresponding to the first editing operation in response to the first editing operation;
    选择模块,用于接收针对目标缩略图的选择操作;a selection module, configured to receive a selection operation for the target thumbnail;
    第二编辑模块,用于响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑;a second editing module, configured to edit the target image corresponding to the target thumbnail by using target parameters in response to the selection operation;
    第一显示模块,用于显示编辑后的目标图像;a first display module for displaying the edited target image;
    其中,所述第一参数包括至少一个子参数,所述目标参数包括所述第一参数中的至少一个子参数。Wherein, the first parameter includes at least one sub-parameter, and the target parameter includes at least one sub-parameter in the first parameter.
  8. 根据权利要求7所述的装置,还包括:The apparatus of claim 7, further comprising:
    第二接收模块,用于接收第二编辑操作;a second receiving module, configured to receive a second editing operation;
    第三编辑模块,用于响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对所述编辑后的目标图像再次进行编辑;或者,响应于所述第二编辑操作,使用与所述第二编辑操作对应的第二参数,对编辑后的所述第一图像以及所述编辑后的目标图像再次进行编辑。A third editing module, configured to edit the edited target image again by using the second parameter corresponding to the second editing operation in response to the second editing operation; or, in response to the second editing operation In the editing operation, the edited first image and the edited target image are edited again by using the second parameter corresponding to the second editing operation.
  9. 根据权利要求7所述的装置,其中,所述第二编辑模块用于:The apparatus of claim 7, wherein the second editing module is used to:
    响应于所述选择操作,使用目标参数,对与所述目标缩略图对应的目标图像进行编辑,并显示编辑后的目标图像,且撤销目标编辑操作;In response to the selection operation, using the target parameter, edit the target image corresponding to the target thumbnail, display the edited target image, and undo the target editing operation;
    其中,所述目标编辑操作为:使用与所述第一编辑操作对应的第一参数,对所述第一图像进行编辑的操作。The target editing operation is an operation of editing the first image by using the first parameter corresponding to the first editing operation.
  10. 根据权利要求7所述的装置,还包括:The apparatus of claim 7, further comprising:
    第三接收模块,用于接收第一预设操作;a third receiving module, configured to receive the first preset operation;
    第二显示模块,用于响应于所述第一预设操作,显示包括所述目标缩略图在内的N张缩略图;a second display module, configured to display N thumbnails including the target thumbnail in response to the first preset operation;
    其中,所述N为正整数,所述N张缩略图与除所述第一图像以外的N张图像一一对应。The N is a positive integer, and the N thumbnails are in one-to-one correspondence with the N images other than the first image.
  11. 根据权利要求10所述的装置,其中,所述第二显示模块包括:The apparatus of claim 10, wherein the second display module comprises:
    获取单元,用于响应于所述第一预设操作,获取所述第一图像的特征信息;an acquiring unit, configured to acquire feature information of the first image in response to the first preset operation;
    确定单元,用于从预存的多张图像中,确定与所述特征信息匹配的且除所述第一图像以外的N张图像,其中,所述N张图像包括所述目标图像;a determining unit, configured to determine, from a plurality of pre-stored images, N images matching the feature information and other than the first image, wherein the N images include the target image;
    显示单元,用于显示所述N张图像一一对应的N张缩略图。A display unit, configured to display N thumbnails corresponding to the N images one-to-one.
  12. 根据权利要求10所述的装置,还包括:The apparatus of claim 10, further comprising:
    第四接收模块,用于接收第二预设操作;a fourth receiving module, configured to receive a second preset operation;
    第三显示模块,用于响应于所述第二预设操作,缩放所述N张缩略图,并新增显示P张缩略图,所述P为正整数,所述P张缩略图中的任一张缩略图与所述N张缩略图中的任一张缩略图不相同,所述P张缩略图与除所述第一图像以外的P张图像一一对应;或者,响应于所述第二预设操作,将显示的所述N张缩略图替换为另外N张缩略图,所述另外N张缩略图与除所述第 一图像以外的N张图像一一对应。A third display module, configured to scale the N thumbnails in response to the second preset operation, and newly display P thumbnails, where P is a positive integer, and any of the P thumbnails is a positive integer. One thumbnail is different from any one of the N thumbnails, and the P thumbnails are in one-to-one correspondence with the P images other than the first image; or, in response to the first image The second preset operation is to replace the displayed N thumbnails with another N thumbnails, and the other N thumbnails are in one-to-one correspondence with the N images other than the first image.
  13. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-6任一项所述的图像编辑方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to implement claims 1-6 The steps of any one of the image editing methods.
  14. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-6任一项所述的图像编辑方法的步骤。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the image editing method according to any one of claims 1-6 are implemented.
PCT/CN2021/106721 2020-07-17 2021-07-16 Image editing method and apparatus, and electronic device WO2022012657A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010692429.7 2020-07-17
CN202010692429.7A CN111857512A (en) 2020-07-17 2020-07-17 Image editing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022012657A1 true WO2022012657A1 (en) 2022-01-20

Family

ID=73001154

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106721 WO2022012657A1 (en) 2020-07-17 2021-07-16 Image editing method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN111857512A (en)
WO (1) WO2022012657A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116543074A (en) * 2023-03-31 2023-08-04 北京百度网讯科技有限公司 Image processing method, device, electronic equipment and storage medium
CN116543075A (en) * 2023-03-31 2023-08-04 北京百度网讯科技有限公司 Image generation method, device, electronic equipment and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857512A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Image editing method and device and electronic equipment
CN112734882B (en) * 2020-12-30 2024-03-05 维沃移动通信有限公司 Image processing method and device
CN113157182A (en) * 2021-03-31 2021-07-23 北京达佳互联信息技术有限公司 Image editing method, image editing device, electronic equipment and storage medium
CN114004915A (en) * 2021-10-22 2022-02-01 珠海格力电器股份有限公司 Picture editing method, device, equipment and storage medium
CN114594883A (en) * 2022-02-25 2022-06-07 北京达佳互联信息技术有限公司 Shooting method, shooting device, shooting equipment and storage medium
CN116594973A (en) * 2023-05-23 2023-08-15 北京优贝卡科技有限公司 File processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103460173A (en) * 2011-06-21 2013-12-18 株式会社尼康 Display program and display device
CN104737112A (en) * 2012-10-16 2015-06-24 微软公司 Thumbnail and document map based navigation in a document
CN106033593A (en) * 2015-03-09 2016-10-19 夏普株式会社 Image processing equipment and image processing method
CN108965770A (en) * 2018-08-30 2018-12-07 Oppo广东移动通信有限公司 Image processing template generation method, device, storage medium and mobile terminal
CN110543578A (en) * 2019-08-09 2019-12-06 华为技术有限公司 object recognition method and device
CN111857512A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Image editing method and device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101752002B1 (en) * 2010-11-29 2017-07-11 엘지전자 주식회사 Method for webbrowsing and display apparatus thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103460173A (en) * 2011-06-21 2013-12-18 株式会社尼康 Display program and display device
CN104737112A (en) * 2012-10-16 2015-06-24 微软公司 Thumbnail and document map based navigation in a document
CN106033593A (en) * 2015-03-09 2016-10-19 夏普株式会社 Image processing equipment and image processing method
CN108965770A (en) * 2018-08-30 2018-12-07 Oppo广东移动通信有限公司 Image processing template generation method, device, storage medium and mobile terminal
CN110543578A (en) * 2019-08-09 2019-12-06 华为技术有限公司 object recognition method and device
CN111857512A (en) * 2020-07-17 2020-10-30 维沃移动通信有限公司 Image editing method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116543074A (en) * 2023-03-31 2023-08-04 北京百度网讯科技有限公司 Image processing method, device, electronic equipment and storage medium
CN116543075A (en) * 2023-03-31 2023-08-04 北京百度网讯科技有限公司 Image generation method, device, electronic equipment and storage medium
CN116543075B (en) * 2023-03-31 2024-02-13 北京百度网讯科技有限公司 Image generation method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111857512A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2022012657A1 (en) Image editing method and apparatus, and electronic device
WO2022063023A1 (en) Video shooting method, video shooting apparatus, and electronic device
WO2022063022A1 (en) Video preview method and apparatus and electronic device
WO2022206696A1 (en) Photographing interface display method and apparatus, electronic device and medium
CN112954210B (en) Photographing method and device, electronic equipment and medium
WO2022116885A1 (en) Photographic method, apparatus, electronic device, and storage medium
CN112135049A (en) Image processing method and device and electronic equipment
WO2022143971A1 (en) Video processing method and apparatus, and electronic device
WO2022143386A1 (en) Photographing method, photographing device, electronic device and medium
CN112911147B (en) Display control method, display control device and electronic equipment
US20230345113A1 (en) Display control method and apparatus, electronic device, and medium
CN113014801B (en) Video recording method, video recording device, electronic equipment and medium
WO2022068806A1 (en) Image processing method and apparatus, and electronic device
CN113794829B (en) Shooting method and device and electronic equipment
WO2023284632A1 (en) Image display method and apparatus, and electronic device
WO2023072156A1 (en) Photographing method, photographing apparatus, electronic device, and readable storage medium
CN112486390A (en) Display control method and device and electronic equipment
WO2023083089A1 (en) Photographing control display method and apparatus, and electronic device and medium
WO2023016462A1 (en) Video recording method and apparatus, electronic device, and medium
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN112672061A (en) Video shooting method and device, electronic equipment and medium
CN113259743A (en) Video playing method and device and electronic equipment
CN113794834A (en) Image processing method and device and electronic equipment
WO2022111458A1 (en) Image capture method and apparatus, electronic device, and storage medium
WO2022089481A1 (en) Information processing method and apparatus, and 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: 21841413

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: 21841413

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21841413

Country of ref document: EP

Kind code of ref document: A1