Movatterモバイル変換


[0]ホーム

URL:


CN108132749B - Image editing method and mobile terminal - Google Patents

Image editing method and mobile terminal
Download PDF

Info

Publication number
CN108132749B
CN108132749BCN201711393075.0ACN201711393075ACN108132749BCN 108132749 BCN108132749 BCN 108132749BCN 201711393075 ACN201711393075 ACN 201711393075ACN 108132749 BCN108132749 BCN 108132749B
Authority
CN
China
Prior art keywords
area
editing
image
target editing
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711393075.0A
Other languages
Chinese (zh)
Other versions
CN108132749A (en
Inventor
黄康康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201711393075.0ApriorityCriticalpatent/CN108132749B/en
Publication of CN108132749ApublicationCriticalpatent/CN108132749A/en
Application grantedgrantedCritical
Publication of CN108132749BpublicationCriticalpatent/CN108132749B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses an image editing method and a mobile terminal, wherein the method comprises the following steps: acquiring a pressing operation of a target editing control in an image editing interface; if the duration time of the pressing operation is longer than the first preset time, setting the target editing control to be in a slidable state; acquiring sliding operation on a target editing control; if the area of the target editing control after the movement is matched with the target editing area of the image, executing preset function operation corresponding to the target editing area; the editing interface comprises at least one editing area, each editing area corresponds to one function operation, the target editing area is one of the at least one editing area, a user can slide the target editing control at will, the area where the target editing control moves is matched with each editing area, the function operation corresponding to each editing area is executed, the target editing control does not need to be clicked continuously to switch the image editing mode, the operation is simple and convenient, the user can operate with one hand, and the user experience is improved.

Description

Translated fromChinese
一种图像编辑方法及移动终端Image editing method and mobile terminal

技术领域technical field

本发明涉及图片处理技术领域,尤其涉及一种图像编辑方法及移动终端。The present invention relates to the technical field of picture processing, and in particular, to an image editing method and a mobile terminal.

背景技术Background technique

随着图像处理技术的不断进步,在移动终端上的图像编辑功能越来越丰富,使得用户在移动终端上进行图像编辑的操作越来越复杂。With the continuous progress of image processing technology, the image editing functions on the mobile terminal are more and more abundant, which makes the operation of the user to perform image editing on the mobile terminal more and more complicated.

目前,用户在移动终端中编辑图像的方式一般为:打开相册,选取相册中的一张图片,然后点击“编辑”控件,进入图像编辑模式,例如,一键美化、滤镜、旋转、边框等编辑模式。用户不停的点击“编辑”控件来切换图像编辑模式,在相应的图像编辑模式下通过滑动或点击的方式更换风格。At present, users generally edit images in mobile terminals as follows: open the album, select an image in the album, and then click the "Edit" control to enter the image editing mode, such as one-click beautification, filter, rotation, frame, etc. Edit mode. The user keeps clicking the "edit" control to switch the image editing mode, and changes the style by sliding or clicking in the corresponding image editing mode.

现有的图像编辑方式操作繁琐,用户需要不停地点击“编辑”控件,或者在相应的图像编辑模式下滑动移动终端的屏幕才能实现用户的编辑需求。The existing image editing method is cumbersome to operate, and the user needs to continuously click the "edit" control, or slide the screen of the mobile terminal in the corresponding image editing mode to meet the user's editing requirements.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种图像编辑方法及移动终端,以解决现有技术图像编辑方式操作比较繁琐的问题。Embodiments of the present invention provide an image editing method and a mobile terminal, so as to solve the problem of complicated operation in the prior art image editing method.

为了解决上述技术问题,本发明是这样实现的:一种图像编辑方法,该方法包括:In order to solve the above-mentioned technical problems, the present invention is realized as follows: an image editing method, the method includes:

获取对图像的编辑界面中目标编辑控件的按压操作;Obtain the pressing operation on the target editing control in the editing interface of the image;

若所述按压操作持续时间大于第一预定时间,则将目标编辑控件设置为可滑动状态;If the duration of the pressing operation is greater than the first predetermined time, setting the target editing control to a slidable state;

获取对所述目标编辑控件的滑动操作;obtaining a sliding operation on the target editing control;

若所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配,则执行预设的与所述目标编辑区域相对应的功能操作;If the moved area of the target editing control matches the target editing area of the image, execute a preset function operation corresponding to the target editing area;

其中,所述编辑界面中包括至少一个编辑区域,每个编辑区域对应于一个功能操作,所述目标编辑区域是所述至少一个编辑区域之一。The editing interface includes at least one editing area, each editing area corresponds to a functional operation, and the target editing area is one of the at least one editing area.

第二方面,本发明实施例还提供一种移动终端,包括:In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:

第一获取模块,用于获取对图像的编辑界面中目标编辑控件的按压操作;The first acquisition module is used to acquire the pressing operation of the target editing control in the editing interface of the image;

第一设置模块,用于若所述按压操作持续时间大于第一预定时间,则将目标编辑控件设置为可滑动状态;a first setting module, configured to set the target editing control to a slidable state if the duration of the pressing operation is greater than the first predetermined time;

第二获取模块,用于获取对所述目标编辑控件的滑动操作;The second acquisition module is used to acquire the sliding operation of the target editing control;

第一执行模块,用于若所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配,则执行预设的与所述目标编辑区域相对应的功能操作;a first execution module, configured to execute a preset functional operation corresponding to the target editing area if the moved area of the target editing control matches the target editing area of the image;

其中,所述编辑界面中包括至少一个编辑区域,每个编辑区域对应于一个功能操作,所述目标编辑区域是所述至少一个编辑区域之一。The editing interface includes at least one editing area, each editing area corresponds to a functional operation, and the target editing area is one of the at least one editing area.

第三方面,本发明实施例还提供一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述所述的图像编辑方法的步骤。In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor When executed, the steps of the image editing method described above are realized.

第四方面,本发明实施例还提供一种可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述所述的图像编辑方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the image editing method described above are implemented.

在本发明实施例中,通过将目标编辑控件设置为可滑动状态,若目标编辑控件移动后的区域与图像的至少一个编辑区域之一的目标编辑区域相匹配,则执行预设的与目标编辑区域相对应的功能操作,可以使用户随意滑动目标编辑控件,可使目标编辑控件移动后的区域与各个编辑区域匹配,执行各个编辑区域对应的功能操作,无需不停点击目标编辑控件以切换图像编辑模式,操作简捷,用户可通过简单的单手操作,就可以进行复杂的图像编辑操作,提高用户体验。In the embodiment of the present invention, by setting the target editing control to a slidable state, if the moved area of the target editing control matches the target editing area of one of the at least one editing area of the image, the preset and target editing is performed. The function operation corresponding to the area allows the user to freely slide the target editing control, and can make the moved area of the target editing control match each editing area, and perform the functional operation corresponding to each editing area without constantly clicking the target editing control to switch images. Editing mode, easy to operate, users can perform complex image editing operations through a simple one-handed operation, improving user experience.

附图说明Description of drawings

图1为本发明实施例提供的图像编辑方法的流程图;1 is a flowchart of an image editing method provided by an embodiment of the present invention;

图2为本发明实施例提供的图像编辑方法在第一和第二实际应用场景下的流程图;2 is a flowchart of an image editing method provided by an embodiment of the present invention under first and second practical application scenarios;

图3为本发明实施例提供的图像编辑方法在第一实际应用场景下的示意图之一;3 is one of the schematic diagrams of the image editing method provided by an embodiment of the present invention in a first practical application scenario;

图4为本发明实施例提供的图像编辑方法在第一实际应用场景下的示意图之二;FIG. 4 is the second schematic diagram of the image editing method provided by the embodiment of the present invention under the first practical application scenario;

图5为本发明实施例提供的图像编辑方法在第一实际应用场景下的示意图之三;FIG. 5 is a third schematic diagram of the image editing method provided by an embodiment of the present invention in a first practical application scenario;

图6为本发明实施例提供的图像编辑方法在第二实际应用场景下的示意图之一;6 is one of the schematic diagrams of the image editing method provided by the embodiment of the present invention in a second practical application scenario;

图7为本发明实施例提供的图像编辑方法在第二实际应用场景下的示意图之二;7 is the second schematic diagram of the image editing method provided by the embodiment of the present invention in a second practical application scenario;

图8为本发明实施例提供的图像编辑方法在第二实际应用场景下的示意图之三;FIG. 8 is a third schematic diagram of the image editing method provided by an embodiment of the present invention in a second practical application scenario;

图9为本发明实施例提供的移动终端的结构示意图之一;FIG. 9 is one of schematic structural diagrams of a mobile terminal provided by an embodiment of the present invention;

图10为本发明实施例提供的移动终端的结构示意图之二。FIG. 10 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。以下结合附图,详细说明本发明各实施例提供的技术方案。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention. The technical solutions provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

为解决现有技术图像编辑方式操作比较繁琐的问题,本发明提供一种图像编辑方法,该方法的执行主体,可以但不限于移动终端(如,手机、平板电脑等)或能够被配置为执行本发明实施例提供的该方法的装置。In order to solve the problem that the operation of the image editing method in the prior art is complicated, the present invention provides an image editing method. The execution body of the method can be, but is not limited to, a mobile terminal (such as a mobile phone, a tablet computer, etc.) or can be configured to execute The apparatus of the method provided by the embodiment of the present invention.

为便于描述,下文以该方法的执行主体为能够执行该方法的移动终端为例,对该方法的实施方式进行介绍。可以理解,该方法的执行主体为移动终端只是一种示例性的说明,并不应理解为对该方法的限定。For ease of description, the following describes the implementation of the method by taking a mobile terminal capable of executing the method as an example as the executing body of the method. It can be understood that the execution subject of the method is a mobile terminal, which is only an exemplary description, and should not be construed as a limitation of the method.

图1为本发明实施例提供的图像编辑方法的流程图,图1的方法可以由移动终端执行,该移动终端具有压力触感屏幕。如图1所示,该方法可以包括:FIG. 1 is a flowchart of an image editing method provided by an embodiment of the present invention. The method in FIG. 1 may be executed by a mobile terminal, and the mobile terminal has a pressure touch screen. As shown in Figure 1, the method may include:

步骤101、获取对图像的编辑界面中目标编辑控件的按压操作。Step 101: Obtain a pressing operation on a target editing control in an image editing interface.

该目标编辑控件在移动终端的压力触感屏幕上显示。该目标编辑控件在压力触感屏幕上以固定“按钮”的形式显示,即目标编辑控件为固定状态。The target editing control is displayed on the pressure touch screen of the mobile terminal. The target editing control is displayed in the form of a fixed "button" on the pressure touch screen, that is, the target editing control is in a fixed state.

本步骤中,获取对图像的编辑界面中目标编辑控件的按压操作,具体可以为,通过压力触感屏幕对在目标编辑控件上输入的按压操作进行获取。具体的,通过压力触感屏幕检测到上述按压操作时,可以获取上述按压操作的压力值。In this step, acquiring the pressing operation on the target editing control in the image editing interface may specifically be acquiring the pressing operation input on the target editing control through a pressure touch screen. Specifically, when the pressing operation is detected through the pressure touch screen, the pressure value of the pressing operation can be acquired.

步骤102、若所述按压操作持续时间大于第一预定时间,则将目标编辑控件设置为可滑动状态。Step 102: If the duration of the pressing operation is greater than the first predetermined time, set the target editing control to a slidable state.

该第一预定时间根据实际需求设定,具体实施时,该第一预定时间可以为2s、5s或10s。The first predetermined time is set according to actual requirements, and in specific implementation, the first predetermined time may be 2s, 5s or 10s.

本步骤具体为,当检测到目标编辑控件被持续按压时间大于第一预定时间时,将目标编辑控件由固定状态变为可滑动状态。此时,目标编辑控件可以被拖动至任意指定位置。Specifically, in this step, when it is detected that the target editing control is continuously pressed for a time longer than the first predetermined time, the target editing control is changed from a fixed state to a slidable state. At this point, the target edit control can be dragged to any specified position.

步骤103、获取对所述目标编辑控件的滑动操作。Step 103: Obtain a sliding operation on the target editing control.

本步骤中,获取对目标编辑控件的滑动操作,具体可以为,获取滑动操作是否由目标编辑控件在压力触感屏幕的初始位置向压力触感屏幕上的目标编辑区域滑动的操作。若是,则确定目标编辑控件移动后的区域与图像的目标编辑区域是否匹配。若是,则执行步骤104。In this step, obtaining the sliding operation on the target editing control may specifically be an operation of obtaining whether the sliding operation is performed by the target editing control sliding from the initial position of the pressure touch screen to the target editing area on the pressure touch screen. If so, determine whether the moved area of the target edit control matches the target edit area of the image. If yes,step 104 is executed.

其中,滑动操作是由目标编辑控件在压力触感屏幕的初始位置向压力触感屏幕上的目标编辑区域滑动的操作,具体可以包括:滑动操作是由目标编辑控件的初始位置直接至目标编辑区域的滑动操作;或者,滑动操作是由目标编辑空间的初始位置滑动至预设的放置位置,再由预设的放置位置向目标编辑区域滑动的操作。The sliding operation is an operation in which the target editing control slides from the initial position of the pressure touch screen to the target editing area on the pressure touch screen, which may specifically include: the sliding operation is a sliding operation from the initial position of the target editing control directly to the target editing area. or, the sliding operation is an operation of sliding from the initial position of the target editing space to the preset placement position, and then sliding from the preset placement position to the target editing area.

步骤104、若所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配,则执行预设的与所述目标编辑区域相对应的功能操作。Step 104: If the moved area of the target editing control matches the target editing area of the image, execute a preset function operation corresponding to the target editing area.

其中,所述编辑界面中包括至少一个编辑区域,每个编辑区域对应于一个功能操作,所述目标编辑区域是所述至少一个编辑区域之一。The editing interface includes at least one editing area, each editing area corresponds to a functional operation, and the target editing area is one of the at least one editing area.

该目标编辑控件移动后的区域与图像的目标编辑区域相匹配,具体实现可以为,若检测该目标编辑控件移动后的区域与图像的目标编辑区域的重叠面积超过阈值,则确定目标编辑控件移动后的区域与图像的目标编辑区域相匹配。The moved area of the target editing control matches the target editing area of the image. The specific implementation can be as follows: if it is detected that the overlapping area between the moved area of the target editing control and the target editing area of the image exceeds a threshold, it is determined that the target editing control is moved. The post area matches the target edit area of the image.

该功能操作可以包括:一键美化功能、图像旋转功能、滤镜功能、边框选取功能等操作。当然,还可以包括对图像进行编辑的其他功操作,例如,裁剪功能操作等。本发明实施例中不再一一列举。The function operation may include: one-key beautification function, image rotation function, filter function, border selection function and other operations. Of course, other functional operations for editing the image may also be included, for example, cropping functional operations and the like. The embodiments of the present invention will not list them one by one.

具体实施时,如,功能操作包括一键美化功能操作,具体为:目标编辑区域对应一键美化功能操作,若目标编辑控件移动后的区域与图像的目标编辑区域相匹配,则执行与目标编辑区域相对应的一键美化功能操作。In specific implementation, for example, the functional operation includes a one-key beautification function operation, specifically: the target editing area corresponds to the one-key beautification function operation, and if the moved area of the target editing control matches the target editing area of the image, then the target editing area is executed. One-key beautification function operation corresponding to the area.

同理,如,功能操作包括图像旋转功能操作,具体为:目标编辑区域对应图像旋转功能操作,若目标编辑控件移动后的区域与图像的目标编辑区域相匹配,则执行与目标编辑区域相对应的图像旋转功能操作。In the same way, for example, the functional operation includes the image rotation function operation, specifically: the target editing area corresponds to the image rotation function operation, and if the moved area of the target editing control matches the target editing area of the image, the operation corresponding to the target editing area is executed. image rotation function operation.

在本发明实施例中,通过将目标编辑控件设置为可滑动状态,若目标编辑控件移动后的区域与图像的至少一个编辑区域之一的目标编辑区域相匹配,则执行预设的与目标编辑区域相对应的功能操作,可以使用户随意滑动目标编辑控件,可使目标编辑控件移动后的区域与各个编辑区域匹配,执行各个编辑区域对应的功能操作,无需不停点击目标编辑控件以切换图像编辑模式,操作简捷,用户可通过简单的单手操作,就可以进行复杂的图像编辑操作,提高用户体验。In the embodiment of the present invention, by setting the target editing control to a slidable state, if the moved area of the target editing control matches the target editing area of one of the at least one editing area of the image, the preset and target editing is performed. The function operation corresponding to the area allows the user to freely slide the target editing control, and can make the moved area of the target editing control match each editing area, and perform the functional operation corresponding to each editing area without constantly clicking the target editing control to switch images. Editing mode, easy to operate, users can perform complex image editing operations through a simple one-handed operation, improving user experience.

可选地,作为一个实施例,步骤104具体可实现为:Optionally, as an embodiment, step 104 can be specifically implemented as:

若所述目标编辑控件移动后的区域与所述图像的目标编辑区域重叠面积超过阈值,则执行预设的与所述目标编辑区域相对应的功能操作。If the overlapping area of the moved area of the target editing control and the target editing area of the image exceeds a threshold, a preset functional operation corresponding to the target editing area is executed.

该阈值可以根据实际需求选定,本发明实施例不做具体限定。The threshold may be selected according to actual requirements, which is not specifically limited in this embodiment of the present invention.

当然,步骤104还可以存在其他实现方式,本发明实施例不做具体限定。Of course, step 104 may also have other implementation manners, which are not specifically limited in this embodiment of the present invention.

可选地,作为一个实施例,步骤103具体可实现为:Optionally, as an embodiment, step 103 can be specifically implemented as:

获取对所述目标编辑控件的滑动操作是否是由目标编辑控件在压力触感屏幕的初始位置向压力触感屏幕上的目标编辑区域滑动的操作。Obtain whether the sliding operation on the target editing control is an operation of sliding the target editing control to the target editing area on the pressure touch-sensitive screen at the initial position of the pressure-touch-sensitive screen.

具体实现方式可以包括:第一,获取对所述目标编辑控件的滑动操作是否是由目标编辑控件的初始位置直接至目标编辑区域的滑动操作;The specific implementation may include: first, obtaining whether the sliding operation on the target editing control is a sliding operation directly from the initial position of the target editing control to the target editing area;

或者,第二,获取对所述目标编辑控件的滑动操作是否是由目标编辑空间的初始位置滑动至预设的放置位置,再由预设的放置位置向目标编辑区域滑动的操作。Or, secondly, obtain whether the sliding operation of the target editing control is a sliding operation from the initial position of the target editing space to the preset placement position, and then sliding from the preset placement position to the target editing area.

若是,则确定目标编辑控件移动后的区域与图像的目标编辑区域是否匹配。若是,则执行步骤104。If so, determine whether the moved area of the target edit control matches the target edit area of the image. If yes, step 104 is executed.

本发明实施例中,第二种实现方式较第一种实现方式,可以将目标编辑控件放置在放置区域,用户可以将放置区域的目标编辑控件滑动至任一编辑区域,使得用户无需反复将目标编辑控件从初始位置拖至各个编辑区域,操作更便捷。In the embodiment of the present invention, the second implementation manner is compared with the first implementation manner. The target editing control can be placed in the placement area, and the user can slide the target editing control in the placement area to any editing area, so that the user does not need to repeatedly place the target editing control. Editing controls can be dragged from the initial position to each editing area, which is more convenient to operate.

可选地,作为一个实施例,所述编辑界面中还可以包括放置区域,所述放置区域为所述目标编辑控件的存放区域。Optionally, as an embodiment, the editing interface may further include a placement area, where the placement area is a storage area of the target editing control.

在执行步骤102之后,还可以包括:After performingstep 102, it may also include:

当检测到所述目标编辑控件被拖动至所述放置区域后,将所述编辑区域设置为以预定透明度显示的显示状态,其中,所述编辑区域的初始显示状态为隐藏显示状态。After detecting that the target editing control is dragged to the placement area, the editing area is set to a display state displayed with a predetermined transparency, wherein the initial display state of the editing area is a hidden display state.

该预定透明度,可以根据实际需求设置。具体实施时,该预定透明度可以为50%的透明度。The predetermined transparency can be set according to actual needs. During specific implementation, the predetermined transparency may be 50% transparency.

本发明实施例通过检测到目标编辑控件被拖动至放置区域后,将编辑区域设置为以预定透明度显示的显示状态,可以使用户获知各个编辑区域,以供用户选择,为用户的编辑操作提供便利。In the embodiment of the present invention, after detecting that the target editing control is dragged to the placement area, the editing area is set to a display state displayed with a predetermined transparency, so that the user can be informed of each editing area for the user to choose, and provide the user with the editing operation. convenient.

可选地,作为一个实施例,在所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配之后,还包括:Optionally, as an embodiment, after the moved area of the target editing control is matched with the target editing area of the image, the method further includes:

将所述编辑区域设置为以预定透明度显示的显示状态,其中,所述编辑区域的初始显示状态为隐藏显示状态。The editing area is set to a display state displayed with a predetermined transparency, wherein an initial display state of the editing area is a hidden display state.

该预定透明度,可以根据实际需求设置。具体实施时,该预定透明度可以为50%的透明度。The predetermined transparency can be set according to actual needs. During specific implementation, the predetermined transparency may be 50% transparency.

本发明实施例通过在目标编辑控件移动后的区域与图像的目标编辑区域相匹配之后,将编辑区域以预定透明度显示,可以使用户获知各个编辑区域,以供用户选择,为用户的编辑操作提供便利。In this embodiment of the present invention, after the moving area of the target editing control matches the target editing area of the image, the editing area is displayed with a predetermined transparency, so that the user can know each editing area for the user to choose, and provide the editing operation for the user. convenient.

可选地,作为一个实施例,在执行104之后,还可以包括:Optionally, as an embodiment, after performing 104, it may further include:

将除所述目标编辑区域之外的编辑区域设置为隐藏显示状态。Editing areas other than the target editing area are set to a hidden display state.

本发明实施例通过在对目标编辑区域执行相对应的功能操作之后,将除目标编辑区域之外的编辑区域设置为隐藏显示状态,可以防止编辑区域遮挡图像,影响用户观看图像。同时,通过显示目标编辑区域,隐藏其他编辑区域,可以提醒用户正在执行的功能操作。The embodiment of the present invention can prevent the editing area from blocking the image and affect the user's viewing of the image by setting the editing area other than the target editing area to the hidden display state after performing the corresponding functional operation on the target editing area. At the same time, by displaying the target editing area and hiding other editing areas, the user can be reminded of the functional operation being performed.

可选地,作为另一个实施例,在执行104之后,还可以包括:Optionally, as another embodiment, after performing 104, it may further include:

检测移动终端的晃动状态信息;其中,该晃动状态信息可以包括晃动次数、晃动频率、晃动方向、晃动时间等。The shaking state information of the mobile terminal is detected; wherein, the shaking state information may include shaking times, shaking frequency, shaking direction, shaking time, and the like.

根据预先设置的晃动状态信息与功能操作指令的对应关系,确定与所述晃动状态信息对应的功能操作指令;According to the preset correspondence between the shaking state information and the functional operation instruction, determine the functional operation instruction corresponding to the shaking state information;

根据所述功能操作指令,对所述图像执行与所述功能操作指令相对应的功能处理操作。According to the functional operation instruction, a functional processing operation corresponding to the functional operation instruction is performed on the image.

具体实施时,以功能操作为旋转操作为例,逆时针晃动一次对应逆时针旋转10度的操作指令,顺时针晃动一次对应顺时针旋转10度的操作指令。当检测到移动终端逆时针晃动一次时,确定逆时针旋转10度的操作指令,根据该操作指令,对图像执行逆时针旋转10度的处理操作。同理,当检测到移动终端顺时针晃动一次时,确定顺时针旋转10度的操作指令,根据该操作指令,对图像执行顺时针旋转10度的处理操作。In the specific implementation, taking the function operation as the rotation operation as an example, one shake counterclockwise corresponds to an operation instruction of 10 degrees counterclockwise, and one shake clockwise corresponds to an operation instruction of 10 degrees clockwise. When it is detected that the mobile terminal shakes counterclockwise once, an operation instruction of rotating counterclockwise by 10 degrees is determined, and according to the operation instruction, the processing operation of rotating the image by 10 degrees counterclockwise is performed. Similarly, when it is detected that the mobile terminal shakes once clockwise, an operation instruction of rotating 10 degrees clockwise is determined, and according to the operation instruction, a processing operation of rotating the image 10 degrees clockwise is performed.

本发明实施例通过在对目标编辑区域执行相对应的功能操作之后,通过检测移动终端的晃动状态信息,根据预设的晃动状态信息与功能操作指令的对应关系,对图像执行对应的功能处理操作,使得用户通过晃动移动终端,即可实现对图像执行与功能操作对应的功能处理操作,无需在相应的图像编辑模式下滑动移动终端的屏幕实现编辑需求,减少用户拇指的点击和滑动操作,操作简单,方便用户使用,提高用户体验。In this embodiment of the present invention, after performing the corresponding functional operation on the target editing area, by detecting the shaking state information of the mobile terminal, and according to the preset corresponding relationship between the shaking state information and the function operation instruction, the corresponding function processing operation is performed on the image. , so that the user can perform the function processing operation corresponding to the function operation on the image by shaking the mobile terminal, without sliding the screen of the mobile terminal in the corresponding image editing mode to achieve the editing requirements, reducing the click and sliding operation of the user's thumb. Simple, user-friendly, and improve user experience.

可选地,作为另一个实施例,还包括:Optionally, as another embodiment, it also includes:

确定在第二预定时间内是否对所述图像执行对应的功能处理操作;determining whether to perform a corresponding functional processing operation on the image within a second predetermined time;

该第二预定时间可以根据实际需求设定,具体实施时,该第二预定时间可以为0.5s、1s、3s。优选的,该第二预定时间为1s。The second predetermined time may be set according to actual requirements, and in specific implementation, the second predetermined time may be 0.5s, 1s, or 3s. Preferably, the second predetermined time is 1s.

若是,则在对所述图像执行对应的功能处理操作的时刻起,按照预定透明度显示所述目标编辑区域;If so, display the target editing area according to a predetermined transparency from the moment when the corresponding function processing operation is performed on the image;

也就是说,若在第二预定时间内检测到对图像执行对应的功能处理操作,则在对图像执行对应的功能处理操作的时刻起,按照预定透明度显示所述目标编辑区域。That is, if it is detected that the corresponding function processing operation is performed on the image within the second predetermined time, the target editing area is displayed according to the predetermined transparency from the moment when the corresponding function processing operation is performed on the image.

本申请实施例可以使用户在对图像进行处理的过程中,能够清楚的观看到目标编辑区域,以明示对图像正在进行的操作。The embodiments of the present application can enable the user to clearly view the target editing area in the process of processing the image, so as to express the ongoing operation on the image.

若否,则按照时间顺序以透明度递减的显示方式,显示所述目标编辑区域。If not, the target editing area is displayed in a display manner with decreasing transparency according to time sequence.

本申请实施例中随着时间的流逝,移动终端屏幕上的目标编辑区域的显示透明度随着时间的流逝逐渐递减,直至消失。In the embodiment of the present application, the display transparency of the target editing area on the screen of the mobile terminal gradually decreases with the elapse of time until it disappears.

可选地,作为又一个实施例,还包括:保存图像。Optionally, as another embodiment, the method further includes: saving the image.

具体的,保存图像的具体实现可以为:在对图像执行对应的功能处理操作之后,显示保存图像的提示对话框;获取对该提示对话框中的确定控件的触控信息,并根据触控信息保存处理后的图像。Specifically, the specific implementation of saving the image may be: after performing the corresponding function processing operation on the image, displaying a prompt dialog box for saving the image; Save the processed image.

或者,保存图像的具体实现也可以为:获取用户触控移动终端的屏幕的第一触控信息,根据第一触控信息,显示保存图像的提示对话框;获取对该提示对话框中的确定控件的第二触控信息,并根据第二触控信息保存处理后的图像。Alternatively, the specific implementation of saving the image may also be: acquiring the first touch information of the user touching the screen of the mobile terminal, and displaying a prompt dialog box for saving the image according to the first touch information; acquiring a confirmation in the prompt dialog box second touch information of the control, and save the processed image according to the second touch information.

当然,保存图像的具体实现还可以采用其他方式,本发明实施例不作具体限定。Certainly, the specific implementation of saving the image may also adopt other manners, which are not specifically limited in the embodiment of the present invention.

下面将结合具体的实施例,对本发明实施例的方法做进一步的描述。The method of the embodiment of the present invention will be further described below with reference to specific embodiments.

图2示出了本发明实施例提供的图像编辑方法在第一实际应用场景下的流程图;2 shows a flowchart of an image editing method provided by an embodiment of the present invention in a first practical application scenario;

具体地说,如图2所示:Specifically, as shown in Figure 2:

在210,选取待编辑图像,进入图像编辑界面。At 210, an image to be edited is selected, and an image editing interface is entered.

该图像编辑界面中可以包括目标编辑控件、至少一个编辑区域和其他编辑控件,每个编辑区域对应于一个功能操作,所述目标编辑区域是所述至少一个编辑区域之一。The image editing interface may include target editing controls, at least one editing area and other editing controls, each editing area corresponds to a functional operation, and the target editing area is one of the at least one editing area.

例如,如图3至图8所示,11表示分享编辑控件、12表示目标编辑控件、13表示删除编辑控件、14表示更多编辑控件。For example, as shown in FIG. 3 to FIG. 8 , 11 denotes a share edit control, 12 denotes a target edit control, 13 denotes a delete edit control, and 14 denotes more edit controls.

在本步骤中,用户解锁移动终端,进入相册,选择需要编辑的图像,点击待编辑图像,进入图像编辑界面,即待编辑图像呈预览模式(如图3所示)。In this step, the user unlocks the mobile terminal, enters the album, selects the image to be edited, clicks the image to be edited, and enters the image editing interface, that is, the image to be edited is in preview mode (as shown in FIG. 3 ).

在执行步骤210之前,将图像编辑界面中的编辑区域设置为隐藏显示状态。Before executingstep 210, the editing area in the image editing interface is set to a hidden display state.

在220,启动图像编辑界面中的目标编辑控件。At 220, the target editing control in the image editing interface is activated.

本步骤具体包括:检测对图像的编辑界面中目标编辑控件的按压操作。若所述按压操作持续时间大于第一预定时间,则将目标编辑控件设置为可滑动状态。This step specifically includes: detecting the pressing operation of the target editing control in the editing interface of the image. If the duration of the pressing operation is longer than the first predetermined time, the target editing control is set to a slidable state.

在230,对所述目标编辑区域执行相对应的功能操作。At 230, a corresponding functional operation is performed on the target editing area.

具体实施为:拖动目标编辑控件由目标编辑控件的初始位置直接至目标编辑区域(如图4中的边框1),若目标编辑控件移动后的区域与图像的目标编辑区域相匹配,则对目标编辑区域执行相对应的功能操作。The specific implementation is: drag the target editing control from the initial position of the target editing control directly to the target editing area (frame 1 in Figure 4). If the moved area of the target editing control matches the target editing area of the image, then The target editing area performs the corresponding function operation.

该目标编辑控件移动后的区域与图像的目标编辑区域相匹配,具体实现可以为,若目标编辑控件移动后的区域与图像的目标编辑区域重叠面积超过阈值,则确定目标编辑控件移动后的区域与图像的目标编辑区域相匹配。The moved area of the target editing control matches the target editing area of the image. The specific implementation can be as follows: if the overlapping area between the moved area of the target editing control and the target editing area of the image exceeds a threshold, determine the area after the target editing control is moved. Matches the target editing area of the image.

在目标编辑控件移动后的区域与图像的目标编辑区域相匹配之后,将编辑区域以预定透明度显示。在对所述目标编辑区域执行相对应的功能操作之后,将除目标编辑区域之外的编辑区域设置为隐藏显示状态(如图4所示)。After the moved area of the target edit control matches the target edit area of the image, the edit area is displayed with a predetermined transparency. After the corresponding functional operation is performed on the target editing area, the editing areas other than the target editing area are set to a hidden display state (as shown in FIG. 4 ).

在240,根据移动终端的晃动状态信息,对所述图像执行对应的功能处理操作。At 240, a corresponding functional processing operation is performed on the image according to the shaking state information of the mobile terminal.

具体实现为,检测移动终端的晃动状态信息;其中,该晃动状态信息可以包括晃动次数、晃动频率、晃动方向、晃动时间等。根据预先设置的晃动状态信息与功能操作指令的对应关系,确定与晃动状态信息对应的功能操作指令;根据功能操作指令,对图像执行对应的功能处理操作。Specifically, the shaking state information of the mobile terminal is detected; wherein, the shaking state information may include shaking times, shaking frequency, shaking direction, shaking time, and the like. According to the preset correspondence between the shaking state information and the function operation instructions, the function operation instruction corresponding to the shaking state information is determined; according to the function operation instruction, the corresponding function processing operation is performed on the image.

具体实施时,以功能操作为边框操作为例,逆时针晃动一次对应更换边框操作指令。如图5所示,当检测到移动终端逆时针晃动一次时,确定更换边框操作指令,根据该操作指令,对图像执行更换边框的处理操作。In the specific implementation, taking the function operation as the frame operation as an example, shaking the frame counterclockwise once corresponds to the operation instruction of changing the frame. As shown in FIG. 5 , when it is detected that the mobile terminal shakes once counterclockwise, an operation instruction of changing the frame is determined, and according to the operation instruction, the processing operation of changing the frame is performed on the image.

在250,是否保存图像。At 250, whether to save the image.

具体实施时,显示是否保存图像的提示信息;获取用户根据所述提示信息输入的触控操作信息。若该触控操作信息为取消操作信息,则执行步骤251不保存操作;若该触控操作信息为保存操作信息,则执行步骤252保存操作。During specific implementation, prompt information on whether to save the image is displayed; and touch operation information input by the user according to the prompt information is acquired. If the touch operation information is cancel operation information,step 251 is performed without saving the operation; if the touch operation information is save operation information,step 252 is performed to save the operation.

本发明实施例提供的图像编辑方法在第二实际应用场景下的流程,该流程图同图2;The process flow of the image editing method provided by the embodiment of the present invention in the second practical application scenario, the flow chart is the same as FIG. 2;

具体地说,如图2所示:Specifically, as shown in Figure 2:

在210,选取待编辑图像,进入图像编辑界面。At 210, an image to be edited is selected, and an image editing interface is entered.

如上述实施例中的相关描述,本发明实施例不再赘述。As described in the foregoing embodiments, details are not repeated in this embodiment of the present invention.

在220,启动图像编辑界面中的目标编辑控件。At 220, the target editing control in the image editing interface is activated.

如上述实施例中的相关描述,本发明实施例不再赘述。As described in the foregoing embodiments, details are not repeated in this embodiment of the present invention.

在230,对所述目标编辑区域执行相对应的功能操作。At 230, a corresponding functional operation is performed on the target editing area.

具体实施为:拖动目标编辑控件由目标编辑空间的初始位置滑动至预设的放置位置(如图6),再由预设的放置位置沿着箭头向目标编辑区域滑动(如图7),若目标编辑控件移动后的区域与图像的目标编辑区域相匹配,则对目标编辑区域执行相对应的功能操作。The specific implementation is as follows: drag the target editing control to slide from the initial position of the target editing space to the preset placement position (as shown in Figure 6), and then slide from the preset placement position to the target editing area along the arrow (as shown in Figure 7), If the moved area of the target editing control matches the target editing area of the image, perform the corresponding functional operation on the target editing area.

该目标编辑控件移动后的区域与图像的目标编辑区域相匹配,具体实现可以为,若目标编辑控件移动后的区域与图像的目标编辑区域重叠面积超过阈值,则确定目标编辑控件移动后的区域与图像的目标编辑区域相匹配。The moved area of the target editing control matches the target editing area of the image. The specific implementation can be as follows: if the overlapping area between the moved area of the target editing control and the target editing area of the image exceeds a threshold, determine the area after the target editing control is moved. Matches the target editing area of the image.

在目标编辑控件被拖动至预设的放置位置之后,将编辑区域以预定透明度显示(如图7所示)。在对所述目标编辑区域执行相对应的功能操作之后,将除目标编辑区域之外的编辑区域设置为隐藏显示状态(如图8所示)。After the target editing control is dragged to the preset placement position, the editing area is displayed with a predetermined transparency (as shown in FIG. 7 ). After the corresponding functional operation is performed on the target editing area, the editing areas other than the target editing area are set to a hidden display state (as shown in FIG. 8 ).

在240,根据移动终端的晃动状态信息,对所述图像执行对应的功能处理操作。At 240, a corresponding functional processing operation is performed on the image according to the shaking state information of the mobile terminal.

具体实现为,检测移动终端的晃动状态信息;其中,该晃动状态信息可以包括晃动次数、晃动频率、晃动方向、晃动时间等。根据预先设置的晃动状态信息与功能操作指令的对应关系,确定与晃动状态信息对应的功能操作指令;根据功能操作指令,对图像执行对应的功能处理操作。Specifically, the shaking state information of the mobile terminal is detected; wherein, the shaking state information may include shaking times, shaking frequency, shaking direction, shaking time, and the like. According to the preset correspondence between the shaking state information and the function operation instructions, the function operation instruction corresponding to the shaking state information is determined; according to the function operation instruction, the corresponding function processing operation is performed on the image.

具体实施时,以功能操作为旋转操作为例,逆时针晃动一次对应逆时针旋转10度的操作指令。当检测到移动终端逆时针晃动一次时,确定逆时针旋转10度的操作指令,根据该操作指令,对图像执行逆时针旋转10度的处理操作。In the specific implementation, taking the function operation as the rotation operation as an example, shaking counterclockwise once corresponds to the operation instruction of rotating counterclockwise by 10 degrees. When it is detected that the mobile terminal shakes counterclockwise once, an operation instruction of rotating counterclockwise by 10 degrees is determined, and according to the operation instruction, the processing operation of rotating the image by 10 degrees counterclockwise is performed.

在250,是否保存图像。At 250, whether to save the image.

如上述实施例中的相关描述,本发明实施例不再赘述。As described in the foregoing embodiments, details are not repeated in this embodiment of the present invention.

以上,结合图1至图8详细说明了本发明实施例的图像编辑方法,下面,结合图9,详细说明本发明实施例的移动终端。The image editing method according to the embodiment of the present invention has been described in detail above with reference to FIG. 1 to FIG. 8 . Next, with reference to FIG. 9 , the mobile terminal according to the embodiment of the present invention will be described in detail.

图9示出了本发明实施例提供的移动终端的结构示意图,如图9所示,该移动终端基于本发明一实施例提供的图像编辑方法,该终端可以包括:FIG. 9 shows a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 9 , the mobile terminal is based on an image editing method provided by an embodiment of the present invention, and the terminal may include:

第一获取模块901,用于获取对图像的编辑界面中目标编辑控件的按压操作;The first obtainingmodule 901 is used to obtain the pressing operation of the target editing control in the editing interface of the image;

第一设置模块902,用于若所述按压操作持续时间大于第一预定时间,则将目标编辑控件设置为可滑动状态;a first setting module 902, configured to set the target editing control to a slidable state if the duration of the pressing operation is greater than a first predetermined time;

第二获取模块903,用于获取对所述目标编辑控件的滑动操作;A second obtaining module 903, configured to obtain a sliding operation on the target editing control;

第一执行模块904,用于若所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配,则执行预设的与所述目标编辑区域相对应的功能操作;The first execution module 904 is configured to execute a preset function operation corresponding to the target editing area if the moved area of the target editing control matches the target editing area of the image;

其中,所述编辑界面中包括至少一个编辑区域,每个编辑区域对应于一个功能操作,所述目标编辑区域是所述至少一个编辑区域之一。The editing interface includes at least one editing area, each editing area corresponds to a functional operation, and the target editing area is one of the at least one editing area.

在一种实施例中,所述第一执行模块904包括:In one embodiment, the first execution module 904 includes:

执行单元,用于若所述目标编辑控件移动后的区域与所述图像的目标编辑区域重叠面积超过阈值,则执行预设的与所述目标编辑区域相对应的功能操作。An execution unit, configured to execute a preset functional operation corresponding to the target editing area if the overlapping area of the moved area of the target editing control and the target editing area of the image exceeds a threshold.

在一种实施例中,所述编辑界面中还包括放置区域,所述放置区域为所述目标编辑控件的存放区域。In an embodiment, the editing interface further includes a placement area, and the placement area is a storage area of the target editing control.

所述移动终端还包括:The mobile terminal also includes:

第二设置模块905,用于当检测到所述目标编辑控件被拖动至所述放置区域后,将所述编辑区域设置为以预定透明度显示的显示状态,其中,所述编辑区域的初始显示状态为隐藏显示状态。Thesecond setting module 905 is configured to, after detecting that the target editing control is dragged to the placement area, set the editing area to a display state displayed with a predetermined transparency, wherein the initial display of the editing area The state is hidden display state.

在一种实施例中,所述移动终端还包括:In an embodiment, the mobile terminal further includes:

第三设置模块906,用于将所述编辑区域设置为以预定透明度显示的显示状态,其中,所述编辑区域的初始显示状态为隐藏显示状态。Thethird setting module 906 is configured to set the editing area to a display state displayed with a predetermined transparency, wherein the initial display state of the editing area is a hidden display state.

在一种实施例中,所述移动终端还包括:In an embodiment, the mobile terminal further includes:

第四设置模块907,用于将除所述目标编辑区域之外的编辑区域设置为隐藏显示状态。The fourth setting module 907 is configured to set the editing area other than the target editing area to a hidden display state.

在一种实施例中,所述移动终端还包括:In an embodiment, the mobile terminal further includes:

第三获取模块908,用于检测移动终端的晃动状态信息;A third acquiringmodule 908, configured to detect shaking state information of the mobile terminal;

第一确定模块909,用于根据预先设置的晃动状态信息与功能操作指令的对应关系,确定与所述晃动状态信息对应的功能操作指令;The first determination module 909 is configured to determine the function operation instruction corresponding to the shake state information according to the preset correspondence between the shake state information and the function operation instruction;

第二执行模块910,用于根据所述功能操作指令,对所述图像执行与所述功能操作指令相对应的功能处理操作。The second execution module 910 is configured to execute a function processing operation corresponding to the function operation instruction on the image according to the function operation instruction.

在一种实施例中,还包括:In one embodiment, it also includes:

第二确定模块911,用于确定在第二预定时间内是否对所述图像执行对应的功能处理操作;a second determining module 911, configured to determine whether to perform a corresponding function processing operation on the image within a second predetermined time;

第一显示模块912,用于若是,则在对所述图像执行对应的功能处理操作的时刻起,按照预定透明度显示所述目标编辑区域;The first display module 912 is configured to display the target editing area according to a predetermined transparency from the moment when the corresponding function processing operation is performed on the image;

第二显示模块913,用于若否,则按照时间顺序以透明度递减的显示方式,显示所述目标编辑区域。The second display module 913 is configured to, if not, display the target editing area in a display manner with decreasing transparency in time sequence.

在本发明实施例中,通过将目标编辑控件设置为可滑动状态,若目标编辑控件移动后的区域与图像的至少一个编辑区域之一的目标编辑区域相匹配,则执行预设的与目标编辑区域相对应的功能操作,可以使用户随意滑动目标编辑控件,可使目标编辑控件移动后的区域与各个编辑区域匹配,执行各个编辑区域对应的功能操作,无需不停点击目标编辑控件以切换图像编辑模式,操作简捷,用户可通过简单的单手操作,就可以进行复杂的图像编辑操作,提高用户体验。In the embodiment of the present invention, by setting the target editing control to a slidable state, if the moved area of the target editing control matches the target editing area of one of the at least one editing area of the image, the preset and target editing is performed. The function operation corresponding to the area allows the user to freely slide the target editing control, and can make the moved area of the target editing control match each editing area, and perform the functional operation corresponding to each editing area without constantly clicking the target editing control to switch images. Editing mode, easy to operate, users can perform complex image editing operations through a simple one-handed operation, improving user experience.

图10为实现本发明各个实施例的一种移动终端的硬件结构示意图,10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention,

该移动终端1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Themobile terminal 1000 includes but is not limited to: aradio frequency unit 1001, anetwork module 1002, anaudio output unit 1003, aninput unit 1004, asensor 1005, adisplay unit 1006, auser input unit 1007, aninterface unit 1008, amemory 1009, aprocessor 1010, andPower supply 1011 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 10 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.

其中,in,

处理器1010,用于获取对图像的编辑界面中目标编辑控件的按压操作;Aprocessor 1010, configured to obtain a pressing operation on a target editing control in an image editing interface;

若所述按压操作持续时间大于第一预定时间,则将目标编辑控件设置为可滑动状态;If the duration of the pressing operation is greater than the first predetermined time, setting the target editing control to a slidable state;

获取对所述目标编辑控件的滑动操作;obtaining a sliding operation on the target editing control;

若所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配,则执行预设的与所述目标编辑区域相对应的功能操作;If the moved area of the target editing control matches the target editing area of the image, execute a preset function operation corresponding to the target editing area;

其中,所述编辑界面中包括至少一个编辑区域,每个编辑区域对应于一个功能操作,所述目标编辑区域是所述至少一个编辑区域之一。The editing interface includes at least one editing area, each editing area corresponds to a functional operation, and the target editing area is one of the at least one editing area.

在本发明实施例中,通过将目标编辑控件设置为可滑动状态,若目标编辑控件移动后的区域与图像的至少一个编辑区域之一的目标编辑区域相匹配,则执行预设的与目标编辑区域相对应的功能操作,可以使用户随意滑动目标编辑控件,可使目标编辑控件移动后的区域与各个编辑区域匹配,执行各个编辑区域对应的功能操作,无需不停点击目标编辑控件以切换图像编辑模式,操作简捷,用户可通过简单的单手操作,就可以进行复杂的图像编辑操作,提高用户体验。In the embodiment of the present invention, by setting the target editing control to a slidable state, if the moved area of the target editing control matches the target editing area of one of the at least one editing area of the image, the preset and target editing is performed. The function operation corresponding to the area allows the user to freely slide the target editing control, and can make the moved area of the target editing control match each editing area, and perform the functional operation corresponding to each editing area without constantly clicking the target editing control to switch images. Editing mode, easy to operate, users can perform complex image editing operations through a simple one-handed operation, improving user experience.

应理解的是,本发明实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, theradio frequency unit 1001 may be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by theprocessor 1010; The uplink data is sent to the base station. Generally, theradio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through thenetwork module 1002, such as helping the user to send and receive emails, browse web pages, and access streaming media.

音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与移动终端1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、通知事件接收声音等等)。音频输出单元1003包括扬声器、蜂鸣器以及受话器等。Theaudio output unit 1003 may convert audio data received by theradio frequency unit 1001 or thenetwork module 1002 or stored in thememory 1009 into audio signals and output as sound. Also, theaudio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (eg, call signal reception sound, notification event reception sound, etc.). Theaudio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.

输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。Theinput unit 1004 is used to receive audio or video signals. Theinput unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and amicrophone 10042, and thegraphics processor 10041 captures still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on thedisplay unit 1006 . The image frames processed by thegraphics processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via theradio frequency unit 1001 or thenetwork module 1002 . Themicrophone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via theradio frequency unit 1001 for output in the case of a telephone call mode.

移动终端1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在移动终端1000移动到耳边时,关闭显示面板10061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 1000 also includes at least onesensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of thedisplay panel 10061 according to the brightness of the ambient light, and the proximity sensor can turn off thedisplay panel 10061 and the proximity sensor when themobile terminal 1000 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; thesensor 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元1006用于显示由用户输入的信息或提供给用户的信息。显示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10061。Thedisplay unit 1006 is used to display information input by the user or information provided to the user. Thedisplay unit 1006 may include adisplay panel 10061, and thedisplay panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元1007可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1070,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。Theuser input unit 1007 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, theuser input unit 1007 includes atouch panel 10071 andother input devices 10072 . Thetouch panel 10071, also known as the touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable objects or accessories on or near thetouch panel 10071. operate). Thetouch panel 10071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 1070, the command sent by theprocessor 1010 is received and executed. In addition, thetouch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to thetouch panel 10071 , theuser input unit 1007 may also includeother input devices 10072 . Specifically,other input devices 10072 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.

进一步的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然在图10中,触控面板10071与显示面板10061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板10071与显示面板10061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, thetouch panel 10071 can be covered on thedisplay panel 10061. When thetouch panel 10071 detects a touch operation on or near it, it transmits it to theprocessor 1010 to determine the type of the touch event, and then theprocessor 1010 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on thedisplay panel 10061. Although in FIG. 10 , thetouch panel 10071 and thedisplay panel 10061 are used as two independent components to realize the input and output functions of the mobile terminal, but in some embodiments, thetouch panel 10071 and thedisplay panel 10061 can be integrated The input and output functions of the mobile terminal are implemented, which is not specifically limited here.

接口单元1008为外部装置与移动终端1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1000内的一个或多个元件或者可以用于在移动终端1000和外部装置之间传输数据。Theinterface unit 1008 is an interface for connecting an external device to themobile terminal 1000 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Theinterface unit 1008 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 1000 or may be used between themobile terminal 1000 and external Transfer data between devices.

存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Thememory 1009 may be used to store software programs as well as various data. Thememory 1009 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally,memory 1009 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器1010是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1010可包括一个或多个处理单元;优选的,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。Theprocessor 1010 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in thememory 1009, and calls the data stored in thememory 1009. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. Theprocessor 1010 may include one or more processing units; preferably, theprocessor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 1010.

移动终端1000还可以包括给各个部件供电的电源1011(比如电池),优选的,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components. Preferably, thepower supply 1011 may be logically connected to theprocessor 1010 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.

另外,移动终端1000包括一些未示出的功能模块,在此不再赘述。In addition, themobile terminal 1000 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述图像编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including aprocessor 1010, amemory 1009, and a computer program stored in thememory 1009 and running on theprocessor 1010, when the computer program is executed by theprocessor 1010 The various processes of the above image editing method embodiments are implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像编辑方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above image editing method embodiments can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。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.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如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 solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), 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 the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (13)

Translated fromChinese
1.一种图像编辑方法,其特征在于,包括:1. an image editing method, is characterized in that, comprises:获取对图像的编辑界面中目标编辑控件的按压操作;Obtain the pressing operation on the target editing control in the editing interface of the image;若所述按压操作持续时间大于第一预定时间,则将目标编辑控件设置为可滑动状态;If the duration of the pressing operation is greater than the first predetermined time, setting the target editing control to a slidable state;获取对所述目标编辑控件的滑动操作;obtaining a sliding operation on the target editing control;若所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配,则对所述图像执行预设的与所述目标编辑区域相对应的功能操作;If the moved area of the target editing control matches the target editing area of the image, perform a preset functional operation corresponding to the target editing area on the image;其中,所述编辑界面中包括至少一个编辑区域,每个编辑区域对应于一个功能操作,所述目标编辑区域是所述至少一个编辑区域之一;Wherein, the editing interface includes at least one editing area, each editing area corresponds to a functional operation, and the target editing area is one of the at least one editing area;获取移动终端的晃动状态信息;Obtain the shaking state information of the mobile terminal;根据预先设置的晃动状态信息与功能操作指令的对应关系,确定与所述晃动状态信息对应的功能操作指令;According to the preset correspondence between the shaking state information and the functional operation instruction, determine the functional operation instruction corresponding to the shaking state information;根据所述功能操作指令,对所述图像执行与所述功能操作指令相对应的功能处理操作。According to the functional operation instruction, a functional processing operation corresponding to the functional operation instruction is performed on the image.2.如权利要求1所述的方法,其特征在于,所述若所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配,则对所述图像执行预设的与所述目标编辑区域相对应的功能操作,包括:2. The method according to claim 1, wherein, if the moved area of the target editing control matches the target editing area of the image, performing a preset and the described image on the image. Function operations corresponding to the target editing area, including:若所述目标编辑控件移动后的区域与所述图像的目标编辑区域重叠面积超过阈值,则执行预设的与所述目标编辑区域相对应的功能操作。If the overlapping area of the moved area of the target editing control and the target editing area of the image exceeds a threshold, a preset functional operation corresponding to the target editing area is executed.3.如权利要求1所述的方法,其特征在于,所述编辑界面中还包括放置区域,所述放置区域为所述目标编辑控件的存放区域;3. The method of claim 1, wherein the editing interface further comprises a placement area, and the placement area is a storage area of the target editing control;在将目标编辑控件设置为可滑动状态之后,还包括:After setting the target edit control to a swipeable state, also include:当检测到所述目标编辑控件被拖动至所述放置区域后,将所述编辑区域设置为以预定透明度显示的显示状态,其中,所述编辑区域的初始显示状态为隐藏显示状态。After detecting that the target editing control is dragged to the placement area, the editing area is set to a display state displayed with a predetermined transparency, wherein the initial display state of the editing area is a hidden display state.4.如权利要求1所述的方法,其特征在于,在所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配之后,还包括:4. The method of claim 1, wherein after the moved area of the target editing control is matched with the target editing area of the image, further comprising:将所述编辑区域设置为以预定透明度显示的显示状态,其中,所述编辑区域的初始显示状态为隐藏显示状态。The editing area is set to a display state displayed with a predetermined transparency, wherein an initial display state of the editing area is a hidden display state.5.如权利要求1所述的方法,其特征在于,在对所述图像执行预设的与所述目标编辑区域相对应的功能操作之后,还包括:5. The method according to claim 1, wherein after performing a preset functional operation corresponding to the target editing area on the image, the method further comprises:将除所述目标编辑区域之外的编辑区域设置为隐藏显示状态。Editing areas other than the target editing area are set to a hidden display state.6.如权利要求1所述的方法,其特征在于,还包括:6. The method of claim 1, further comprising:确定在第二预定时间内是否对所述图像执行对应的功能处理操作;determining whether to perform a corresponding functional processing operation on the image within a second predetermined time;若是,则在对所述图像执行与所述目标编辑区域对应的功能操作的时刻起,按照预定透明度显示所述目标编辑区域;If so, display the target editing area according to a predetermined transparency from the moment when the function operation corresponding to the target editing area is performed on the image;若否,则按照时间顺序以透明度递减的显示方式,显示所述目标编辑区域。If not, the target editing area is displayed in a display manner with decreasing transparency according to time sequence.7.一种移动终端,其特征在于,包括:7. A mobile terminal, comprising:第一获取模块,用于获取对图像的编辑界面中目标编辑控件的按压操作;The first acquisition module is used to acquire the pressing operation of the target editing control in the editing interface of the image;第一设置模块,用于若所述按压操作持续时间大于第一预定时间,则将目标编辑控件设置为可滑动状态;a first setting module, configured to set the target editing control to a slidable state if the duration of the pressing operation is greater than the first predetermined time;第二获取模块,用于获取对所述目标编辑控件的滑动操作;The second acquisition module is used to acquire the sliding operation of the target editing control;第一执行模块,用于若所述目标编辑控件移动后的区域与所述图像的目标编辑区域相匹配,则对所述图像执行预设的与所述目标编辑区域相对应的功能操作;a first execution module, configured to execute a preset functional operation corresponding to the target editing area on the image if the moved area of the target editing control matches the target editing area of the image;其中,所述编辑界面中包括至少一个编辑区域,每个编辑区域对应于一个功能操作,所述目标编辑区域是所述至少一个编辑区域之一;Wherein, the editing interface includes at least one editing area, each editing area corresponds to a functional operation, and the target editing area is one of the at least one editing area;第三获取模块,用于获取移动终端的晃动状态信息;The third acquisition module is used to acquire the shaking state information of the mobile terminal;第一确定模块,用于根据预先设置的晃动状态信息与功能操作指令的对应关系,确定与所述晃动状态信息对应的功能操作指令;a first determining module, configured to determine the function operation instruction corresponding to the shaking state information according to the preset correspondence between the shaking state information and the functional operation instruction;第二执行模块,用于根据所述功能操作指令,对所述图像执行与所述功能操作指令相对应的功能处理操作。The second execution module is configured to execute a function processing operation corresponding to the function operation instruction on the image according to the function operation instruction.8.如权利要求7所述的移动终端,其特征在于,所述第一执行模块包括:8. The mobile terminal according to claim 7, wherein the first execution module comprises:执行单元,用于若所述目标编辑控件移动后的区域与所述图像的目标编辑区域重叠面积超过阈值,则对所述图像执行预设的与所述目标编辑区域相对应的功能操作。The executing unit is configured to execute a preset function operation corresponding to the target editing area on the image if the overlapping area of the moved area of the target editing control and the target editing area of the image exceeds a threshold.9.如权利要求7所述的移动终端,其特征在于,所述编辑界面中还包括放置区域,所述放置区域为所述目标编辑控件的存放区域;9. The mobile terminal of claim 7, wherein the editing interface further comprises a placement area, and the placement area is a storage area of the target editing control;所述移动终端还包括:The mobile terminal also includes:第二设置模块,用于当检测到所述目标编辑控件被拖动至所述放置区域后,将所述编辑区域设置为以预定透明度显示的显示状态,其中,所述编辑区域的初始显示状态为隐藏显示状态。The second setting module is configured to set the editing area to a display state displayed with a predetermined transparency after detecting that the target editing control is dragged to the placement area, wherein the initial display state of the editing area is Display state for hidden.10.如权利要求7所述的移动终端,其特征在于,所述移动终端还包括:10. The mobile terminal of claim 7, wherein the mobile terminal further comprises:第三设置模块,用于将所述编辑区域设置为以预定透明度显示的显示状态,其中,所述编辑区域的初始显示状态为隐藏显示状态。The third setting module is configured to set the editing area to a display state displayed with a predetermined transparency, wherein the initial display state of the editing area is a hidden display state.11.如权利要求7所述的移动终端,其特征在于,所述移动终端还包括:11. The mobile terminal of claim 7, wherein the mobile terminal further comprises:第四设置模块,用于将除所述目标编辑区域之外的编辑区域设置为隐藏显示状态。The fourth setting module is used for setting the editing area other than the target editing area to a hidden display state.12.如权利要求7所述的移动终端,其特征在于,还包括:12. The mobile terminal of claim 7, further comprising:第二确定模块,用于确定在第二预定时间内是否对所述图像执行对应的功能处理操作;a second determining module, configured to determine whether to perform a corresponding functional processing operation on the image within a second predetermined time;第一显示模块,用于若是,则在对所述图像执行对应的功能处理操作的时刻起,按照预定透明度显示所述目标编辑区域;a first display module, configured to display the target editing area according to a predetermined transparency from the moment when the corresponding function processing operation is performed on the image;第二显示模块,用于若否,则按照时间顺序以透明度递减的显示方式,显示所述目标编辑区域。The second display module is configured to, if not, display the target editing area in a display manner with decreasing transparency in time sequence.13.一种移动终端,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现根据权利要求1至6中任一项所述的图像编辑方法的步骤。13. A mobile terminal, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to The steps of the image editing method of any one of claims 1 to 6.
CN201711393075.0A2017-12-212017-12-21Image editing method and mobile terminalActiveCN108132749B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711393075.0ACN108132749B (en)2017-12-212017-12-21Image editing method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711393075.0ACN108132749B (en)2017-12-212017-12-21Image editing method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN108132749A CN108132749A (en)2018-06-08
CN108132749Btrue CN108132749B (en)2020-02-11

Family

ID=62391044

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711393075.0AActiveCN108132749B (en)2017-12-212017-12-21Image editing method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN108132749B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109034150B (en)*2018-06-152021-09-21北京小米移动软件有限公司Image processing method and device
CN111352557B (en)*2020-02-242021-09-14北京字节跳动网络技术有限公司Image processing method, assembly, electronic equipment and storage medium
CN111488104B (en)*2020-04-162021-10-12维沃移动通信有限公司Font editing method and electronic equipment
CN113592983B (en)*2020-04-302025-02-18腾讯科技(深圳)有限公司 Image processing method, device and computer readable storage medium
CN112950337A (en)*2021-04-272021-06-11拉扎斯网络科技(上海)有限公司Image processing method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP3279556B2 (en)*1990-07-062002-04-30株式会社日立製作所 Data editing method
US20160110091A1 (en)*2014-10-162016-04-21Sony CorporationFast and natural one-touch deletion in image editing on mobile devices
CN106354374A (en)*2016-09-302017-01-25维沃移动通信有限公司Icon moving method and mobile terminal

Also Published As

Publication numberPublication date
CN108132749A (en)2018-06-08

Similar Documents

PublicationPublication DateTitle
CN108668083B (en)Photographing method and terminal
CN108762954B (en) Object sharing method and mobile terminal
CN108471498B (en)Shooting preview method and terminal
CN108132749B (en)Image editing method and mobile terminal
CN107817939A (en)A kind of image processing method and mobile terminal
CN108415641B (en) Icon processing method and mobile terminal
CN107728923B (en) An operation processing method and mobile terminal
CN109683777B (en)Image processing method and terminal equipment
CN110795189A (en)Application starting method and electronic equipment
CN111338530A (en) Application icon control method and electronic device
CN110764675A (en) A control method and electronic device
CN108287655A (en)A kind of interface display method, interface display apparatus and mobile terminal
CN108228902B (en) A file display method and mobile terminal
CN110213440A (en)A kind of images share method and terminal
CN110531915A (en) Screen operation method and terminal equipment
WO2020134743A1 (en)Icon moving method and terminal
CN108833709A (en) Method for starting camera and mobile terminal
CN108121486B (en)Picture display method and mobile terminal
CN110321046A (en)A kind of content selecting method and terminal
CN108334265A (en)A kind of document handling method and mobile terminal
CN108881617A (en) A display switching method and mobile terminal
CN110221799A (en)A kind of control method, terminal and computer readable storage medium
CN110196668A (en) Information processing method and terminal device
CN108898555A (en) An image processing method and terminal equipment
CN109710130B (en)Display method and terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp