CN108255389B - Image editing method, mobile terminal and computer readable storage medium - Google Patents

Image editing method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108255389B
CN108255389B CN201810029414.5A CN201810029414A CN108255389B CN 108255389 B CN108255389 B CN 108255389B CN 201810029414 A CN201810029414 A CN 201810029414A CN 108255389 B CN108255389 B CN 108255389B
Authority
CN
China
Prior art keywords
image
editing
edited
mobile terminal
displaying
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
CN201810029414.5A
Other languages
Chinese (zh)
Other versions
CN108255389A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810029414.5A priority Critical patent/CN108255389B/en
Publication of CN108255389A publication Critical patent/CN108255389A/en
Application granted granted Critical
Publication of CN108255389B publication Critical patent/CN108255389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

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

Abstract

The invention discloses an image editing method, which is applied to a mobile terminal and comprises the following steps: when an image editing completion instruction is received and preset operation is detected, transferring the edited image to an auxiliary screen of the mobile terminal for displaying; and extracting the corresponding image to be edited according to the received extraction instruction, and displaying the extracted image to be edited on a main screen of the mobile terminal. The invention also discloses a mobile terminal and a computer readable storage medium. The invention can enable a better interaction mode to be realized between the picture editing and the picture browsing and storing effects, the use is smoother, the frequency of interrupting the user to continuously edit the picture is reduced, the picture editing efficiency of the user is improved, and the user experience is improved.

Description

Image editing method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of image editing technologies, and in particular, to an image editing method, a mobile terminal, and a computer-readable storage medium.
Background
With the popularization of mobile terminals and the abundance of functions thereof, users have more and more time to immerse in the mobile terminals every day, and the users can complete various operations such as taking pictures, editing images and the like through the mobile terminals.
In the prior art, when an image is edited, various operations are often performed, various effects are tried and adjusted, a plurality of pictures with different effects may need to be stored in the editing process, then when a user selects a picture, an address for storing the edited image is returned, such as an album, and then comparison selection is performed.
Disclosure of Invention
The invention mainly aims to provide an image editing method, a mobile terminal and a computer readable storage medium, and aims to solve the technical problems that the existing image editing method is complicated in operation steps, the continuous image editing of a user is easily interrupted, the image editing efficiency of the user is influenced, and the user needs to switch back and forth between an album and an edited image, so that the use experience is influenced.
To achieve the above object, the present invention provides an image editing method, including:
when an image editing completion instruction is received and preset operation is detected, transferring the edited image to an auxiliary screen of the mobile terminal for displaying;
and extracting the corresponding image to be edited according to the received extraction instruction, and displaying the extracted image to be edited on a main screen of the mobile terminal.
Optionally, before the step of extracting the corresponding image to be edited according to the received instruction and displaying the extracted image to be edited on the main screen of the mobile terminal, the method further includes:
and at least one of options of continuously editing the current finished image, editing the original image and reselecting the edited image is displayed to the user.
Optionally, after the step of transferring the edited image to the auxiliary screen of the mobile terminal for displaying, the method further includes:
performing sensor input processing on an image displayed in an auxiliary screen of the mobile terminal to obtain a planar image of the image;
performing image segmentation processing on the plane image to obtain each component of the plane image;
and identifying the image subjected to image segmentation processing, giving a corresponding name to each component segmented from the image, and displaying the image in a classified manner according to each component and the corresponding name character.
Optionally, before the step of transferring the edited image to the auxiliary screen of the mobile terminal for displaying when the image editing completion instruction is received and the preset operation is detected, the method further includes:
when an image editing instruction is received, acquiring an image to be edited, and displaying the image to be edited on a main screen of the mobile terminal;
acquiring at least one image characteristic used for identifying image editing content;
according to the image characteristics, identifying the image to be edited so as to determine the editing content of the image to be edited;
selecting an editing option corresponding to the editing content from image editing options;
and outputting the editing options corresponding to the editing contents in the image editing interface.
Optionally, the step of acquiring at least one image feature for identifying the image editing content comprises:
acquiring at least one image editing option;
and determining the image characteristics corresponding to the editing options according to the at least one image editing option.
Optionally, the step of identifying the image to be edited according to the image feature to determine the editing content of the image to be edited includes:
and identifying the image to be edited according to the image characteristics corresponding to the editing options so as to determine the editing content of the image to be edited.
In addition, in order to achieve the above object, the present invention further provides a mobile terminal, which includes a processor, a network interface, a user interface, and a memory, wherein the memory stores an image editing program; the processor is configured to execute the image editing program to implement the steps of the image editing method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon an image editing program which, when executed by a processor, implements the steps of the image editing method as described above.
According to the image editing method, the mobile terminal and the computer readable storage medium, when an image editing completion instruction is received and preset operation is detected, the edited image is transferred to an auxiliary screen of the mobile terminal to be displayed; then, corresponding images to be edited are extracted according to the received extraction instruction, the extracted images to be edited are displayed on a main screen of the mobile terminal, in the mode, the images to be edited can be stored and displayed through an auxiliary screen of the mobile terminal, the images to be edited are selected through the main screen of the mobile terminal, the images are continuously edited, when a user selects the edited images, the user does not need to quit an editing page, after the user selects the images, the images are directly continuously edited through the main screen, the situation that the images are edited by the user cannot be interrupted, user operation steps are reduced, the editing efficiency of the user is improved, and user experience is improved.
Drawings
Fig. 1 is a schematic diagram of an alternative hardware configuration of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication device of the mobile terminal shown in FIG. 1;
FIG. 3 is a flowchart illustrating an image editing method according to a first embodiment of the present invention;
FIG. 4 is a diagram of a main screen displaying picture information and an auxiliary screen displaying text information of the mobile terminal according to the present invention;
FIG. 5 is a diagram illustrating a main screen and an auxiliary screen of a mobile terminal according to the present invention disposed in a same plane;
FIG. 6 is a flowchart illustrating an image editing method according to a second embodiment of the present invention;
fig. 7 is a flowchart illustrating an image editing method according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving GateWay) 2034, a PGW (PDN GateWay) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
The main solution of the embodiment of the invention is as follows: when an image editing completion instruction is received and preset operation is detected, transferring the edited image to an auxiliary screen of the mobile terminal for displaying; then, the corresponding image to be edited is extracted according to the received instruction, the extracted image to be edited is displayed on a main screen of the mobile terminal, in the mode, the image to be edited can be stored and displayed through an auxiliary screen of the mobile terminal, the image to be edited is selected through the main screen of the mobile terminal, the editing is continued, when the user selects the edited image, the editing page does not need to be quitted, after the user selects the edited image, the image is directly continuously edited through the main screen, the situation that the image is edited by the user cannot be interrupted, the operation steps of the user are reduced, the editing efficiency of the user is improved, and the user experience is improved.
The invention provides an image editing method.
Referring to fig. 3, fig. 3 is a flowchart illustrating an image editing method according to a first embodiment of the present invention.
In this embodiment, the method includes:
step S10, when an image editing completion instruction is received and a preset operation is detected, transferring the edited image to the auxiliary screen of the mobile terminal for displaying;
in this embodiment, the type of the mobile terminal may be set according to actual needs, for example, the mobile terminal may include a mobile phone, a tablet computer, and the like. The mobile terminal is provided with a main screen and an auxiliary screen, wherein the main screen and the auxiliary screen can respectively display different contents and can also display consistent contents. The main screen is the positive display screen of mobile terminal, and the setting position and the size of assisting the screen can be according to particular case and nimble setting. For example, the auxiliary screen may be provided on the back side of the mobile terminal, or may be provided on the front side of the mobile terminal in parallel with the main screen. As shown in fig. 4, the main screen is disposed on the front side of the mobile terminal, and the auxiliary screen is disposed on the back side of the mobile terminal, as shown in fig. 5, both the main screen and the auxiliary screen are disposed on the same plane on the front side of the mobile terminal. The mobile terminal can open single-screen display mode or double-screen display mode according to user's user demand, and in order to save mobile terminal's energy consumption, optionally, mobile terminal carries out single-screen display through main screen under the acquiescence condition, when receiving to open double-screen display mode, accessible main screen carries out double-screen display with the assistance screen. In order to improve the reliability of the dual-screen display, the mobile terminal may first acquire the display content in the main screen to determine whether a condition for starting the dual-screen display mode is satisfied, for example, when a camera is turned on in the main screen to take a picture, it is determined that it is not necessary to start the dual-screen display mode; when no application is opened in the main screen, the user is not using the mobile terminal, and it is determined that it is not necessary to start the dual-screen display mode. When the main screen opens the information with both pictures and texts, the text information and the picture information can be displayed in the main screen and the auxiliary screen respectively because the information comprises the text information and the picture information. When the information is in a browsed state, it is indicated that a user pays attention to the information, and the condition for starting the double-screen display mode is judged to be met; or when the image to be edited is opened in the main screen, the edited image needs to be stored and displayed, and the condition for starting the double-screen display mode is judged to be met; further, the user can manually start the dual-screen display mode, and specifically, the dual-screen display mode can be started by clicking a corresponding start button or switch in the mobile terminal.
Further, in order to reduce the determination process of the mobile terminal, an application program that needs to start the dual-screen display mode may be added to the auxiliary screen in advance, so that the number of times that the mobile terminal determines whether the dual-screen display mode needs to be started through the content is reduced in the subsequent use, and the power consumption of the mobile terminal is reduced.
After the user finishes the image editing, the user can trigger an image editing finishing instruction by clicking a corresponding button, when the mobile terminal receives the image editing finishing instruction, whether a preset operation, such as an upward sliding operation, is received or not needs to be further detected, and when the preset operation is detected, the edited image can be transferred to an auxiliary screen of the mobile terminal for displaying;
and step S20, extracting the corresponding image to be edited according to the received extraction instruction, and displaying the extracted image to be edited on the main screen of the mobile terminal.
When the edited image is transferred to an auxiliary screen of the mobile terminal for displaying, when a user selects an image to be edited and triggers an extraction instruction, the corresponding image to be edited can be extracted according to the received extraction instruction, and the extracted image to be edited is displayed on a main screen of the mobile terminal, so that the user can continue to edit the image through the main screen, wherein the user can select the currently edited image for continuing editing, for example, after the image is cut, the user can continue to edit the image, such as whitening and the like after only the cutting effect is kept; the user can also select an original image to edit, for example, after the nostalgic filter is added to the image, the image after the nostalgic filter is added is reserved, and then a classic filter is added to the original image; further, the user may also select other images for editing.
Further, before the step of extracting the corresponding image to be edited according to the received extraction instruction and displaying the extracted image to be edited on the main screen of the mobile terminal, the method further comprises the following steps:
and at least one of options of continuously editing the current finished image, editing the original image and reselecting the edited image is displayed to the user.
Before the user triggers the extracting instruction, option frames for continuously editing the current finished image, editing the original image and reselecting the edited image can be generated, and at least one of the generated option frames is displayed to the user, so that the user can select the image to be edited.
According to the image editing method provided by the embodiment, when an image editing completion instruction is received and preset operation is detected, an edited image is transferred to an auxiliary screen of a mobile terminal for displaying; then, the corresponding image to be edited is extracted according to the received instruction, the extracted image to be edited is displayed on a main screen of the mobile terminal, in the mode, the image to be edited can be stored and displayed through an auxiliary screen of the mobile terminal, the image to be edited is selected through the main screen of the mobile terminal, the editing is continued, when the user selects the edited image, the editing page does not need to be quitted, after the user selects the edited image, the image is directly continuously edited through the main screen, the situation that the image is edited by the user cannot be interrupted, the operation steps of the user are reduced, the editing efficiency of the user is improved, and the user experience is improved.
Further, referring to fig. 6, a second embodiment of the image editing method of the present invention is proposed based on the first embodiment of the image editing method of the present invention.
In this embodiment, the steps after step S10 further include:
step S30, performing sensor input processing on the image displayed in the auxiliary screen of the mobile terminal to obtain a plane image of the image;
step S40, carrying out image segmentation processing on the plane image to obtain each component of the plane image;
and step S50, recognizing the image after image segmentation, giving the image with the corresponding names of the components obtained by image segmentation, and displaying the image in a classified manner according to the components and the corresponding name characters.
In this embodiment, the image analysis process generally includes image sensor input, image segmentation, and image recognition, and the image content can be obtained through the image sensor input and the image segmentation, where the sensor input refers to converting an actual object scene into an expression form suitable for computer processing, and for a three-dimensional object scene, converting it into a two-dimensional plane image for processing and analysis, for example, converting a perspective view in an image edited by a user into a two-dimensional plane image. Image segmentation refers to the decomposition of an object and its components from an image of a scene. The components are in turn made up of image primitives. Decomposing a scene into such a hierarchical structure requires applying knowledge about the objects in the scene. Segmentation can be generally regarded as a decision process, and its algorithms can be divided into two categories, namely pixel technology and area technology. The image point technique is to classify each image point by a threshold method, for example, to obtain strokes in a character image by comparing the image point gray level with a threshold value, thereby obtaining specific characters, graphic contents, and components in the image edited by a user, and to obtain the components of the image by techniques such as region growing, merging, and decomposition.
And then, identifying the image subjected to the image segmentation processing, and giving corresponding names to the components segmented from the image, wherein the image identification means giving corresponding names to the components segmented from the image, such as roads, bridges, buildings or various machine parts on an industrial automatic assembly line in a natural object scene. Generally, classification can be performed by using a decision theory and a structural method according to shape and gray scale information, and a series of image models of known objects can also be constructed, and objects to be recognized are matched and compared with the image models. The object to be identified can be identified, after all the images edited by the user are identified, the images can be classified, the same or similar images are classified into the same class, for example, the two images of the nostalgic filter and the classic filter are respectively classified into the same class by the user through the same original image, and then the images edited by the user are displayed according to the class, so that the user can conveniently compare and select the images, and the user experience is improved.
In the image editing method provided by this embodiment, a sensor input process is performed on an image displayed in an auxiliary screen of the mobile terminal, so as to obtain a planar image of the image; then, carrying out image segmentation processing on the plane image to obtain each component of the plane image; and finally, identifying the image subjected to image segmentation, giving the image with a corresponding name to each segmented component, and displaying the image in a classified manner according to each component and the corresponding name character, so that a user can conveniently compare and select the image, and the user experience is improved.
Further, referring to fig. 7, a third embodiment of the image editing method of the present invention is proposed based on the first embodiment of the image editing method of the present invention.
In this embodiment, the step before step S10 further includes:
step S60, when receiving the image editing instruction, acquiring the image to be edited and displaying the image to be edited on the main screen of the mobile terminal;
in this embodiment, when an image editing instruction is received, an image to be edited can be acquired according to the received image editing instruction, and after the image to be edited is acquired, the image which is ready for editing by a user is displayed in an application (software or program) interface of the image editing of the mobile terminal main screen, and the application (software or program) capable of editing the image is called image editing; the interface of the image editing application is called an image editing interface; the image that the user is ready to edit becomes the image to be edited.
The editing in the embodiment of the invention means that a user can adjust (or modify) one or more parameters of an image to meet the requirements of the user. For example, the user may adjust one or more of the parameters of brightness, sharpness, etc. in the picture to make the picture more suitable for the user's needs. The user may also adjust (modify) the entire content in the image or some content in the image. For example, the user may adjust the roughness of the face in the image, or may adjust the contour of the face (to achieve a face-thinning effect). The content of the image to be edited related to the embodiment of the present invention may be a person, a landscape, or other content, such as a text, which is not limited herein.
Step S70, acquiring at least one image characteristic used for identifying the image editing content;
when the image is identified in the embodiment of the present invention, a feature that is pre-used for identifying content included in the image, that is, an image feature described in the embodiment of the present invention, needs to be obtained first. The image features are then matched with the features parsed from the image to determine the specific content contained in the image (e.g., using the features of the eyes, nose, etc. to determine whether the image contains a human face).
Further, the step of obtaining at least one image feature for identifying the image editing content comprises:
acquiring at least one image editing option;
and determining the image characteristics corresponding to the editing options according to the at least one image editing option.
Step S80, according to the image characteristics, identifying the image to be edited to determine the editing content of the image to be edited;
the image editing content in the embodiment of the invention is part or all of the content of the image in which the parameters can be changed. Specifically, one or more of parameters such as color, shape, contour, etc. of the image may be adjusted. The application for editing the image may include specific parameters as needed, or may include various parameters for ensuring versatility. The image editing content may be set by the user in advance, may be determined according to the operation of the user, or may be extracted according to a certain rule (for example, editing content such as a face that is frequently used by the user may be recorded, and may be determined as the image editing content). The image features may include: color features, structural features, content features, texture features, and the like. In practice, the image features may be used to analyze the similarity between two or more images. If the image characteristics of the two images are identical, the image contents of the two images can be considered similar, at least belonging to the same category.
In the embodiment of the present invention, the image feature may be used to identify editable image content in the image to be edited, where the editable image content matches the image feature. It should be noted that, each of the image features for identifying the image editing content may be an image feature of a different category, and is used for identifying different image contents. For example, the image features for identifying the image editing content include: the image characteristics of the face, the image characteristics of the mountain range and the image characteristics of the European building are used for respectively identifying the image of the face, the image of the mountain range and the image of the European building. Specifically, the terminal may determine, as the editing content, image content in the image to be edited, which corresponds to the image feature. For example, the image feature for identifying the image editing content is a yellow-type human eye image feature. Then, the terminal may determine the image content in the image to be edited, which conforms to the image characteristics of the yellow-boy eyes, as the editing content of the image to be edited. As another example, the image feature for recognizing the image editing contents is an image feature of a human tooth. Then, the terminal may determine image content in the image to be edited that conforms to the image features of the human teeth as editing content of the image to be edited.
Further, the step of identifying the image to be edited according to the image features to determine the editing content of the image to be edited includes:
and identifying the image to be edited according to the image characteristics corresponding to the editing options so as to determine the editing content of the image to be edited.
Step S90, selecting the editing options corresponding to the editing content from the image editing options;
the image editing options may be a set of image editing vertices preset by the terminal. The image editing options may also be image editing options provided by a full or partial image editing program on the terminal. For example, the beauty program provides image editing options of face whitening, beauty and the like. As another example, the office software provides editing options for editing the flow chart. In practical application, the editing options corresponding to the editing contents are mainly used for editing the editing contents.
And S100, outputting an editing option corresponding to the editing content in the image editing interface.
After the editing is finished, the editing options corresponding to the editing contents can be output in the image editing interface.
The invention further provides a mobile terminal.
In the mobile terminal 100 shown in fig. 1, the processor 110 may be configured to execute an image editing program stored in the memory 109 to implement the following steps:
when an image editing completion instruction is received and preset operation is detected, transferring the edited image to an auxiliary screen of the mobile terminal for displaying;
and extracting the corresponding image to be edited according to the received extraction instruction, and displaying the extracted image to be edited on a main screen of the mobile terminal.
Further, the processor 110 may also execute the image editing program stored in the memory 109 to implement the following steps:
and at least one of options of continuously editing the current finished image, editing the original image and reselecting the edited image is displayed to the user.
Further, the processor 110 may also execute the image editing program stored in the memory 109 to implement the following steps:
performing sensor input processing on an image displayed in an auxiliary screen of the mobile terminal to obtain a planar image of the image;
performing image segmentation processing on the plane image to obtain each component of the plane image;
and identifying the image subjected to image segmentation processing, giving a corresponding name to each component segmented from the image, and displaying the image in a classified manner according to each component and the corresponding name character.
Further, the processor 110 may also execute the image editing program stored in the memory 109 to implement the following steps:
when an image editing instruction is received, acquiring an image to be edited, and displaying the image to be edited on a main screen of the mobile terminal;
acquiring at least one image characteristic used for identifying image editing content;
according to the image characteristics, identifying the image to be edited so as to determine the editing content of the image to be edited;
selecting an editing option corresponding to the editing content from image editing options;
and outputting the editing options corresponding to the editing contents in the image editing interface.
Further, the processor 110 may also execute the image editing program stored in the memory 109 to implement the following steps:
acquiring at least one image editing option;
and determining the image characteristics corresponding to the editing options according to the at least one image editing option.
Further, the processor 110 may also execute the image editing program stored in the memory 109 to implement the following steps:
and identifying the image to be edited according to the image characteristics corresponding to the editing options so as to determine the editing content of the image to be edited.
The specific embodiment of the mobile terminal of the present invention is basically the same as the embodiments of the image editing method described above, and will not be described herein again.
The present invention also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
when an image editing completion instruction is received and preset operation is detected, transferring the edited image to an auxiliary screen of the mobile terminal for displaying;
and extracting the corresponding image to be edited according to the received extraction instruction, and displaying the extracted image to be edited on a main screen of the mobile terminal.
Further, the one or more programs are executable by the one or more processors to also implement the steps of:
and at least one of options of continuously editing the current finished image, editing the original image and reselecting the edited image is displayed to the user.
Further, the one or more programs are executable by the one or more processors to also implement the steps of:
performing sensor input processing on an image displayed in an auxiliary screen of the mobile terminal to obtain a planar image of the image;
performing image segmentation processing on the plane image to obtain each component of the plane image;
and identifying the image subjected to image segmentation processing, giving a corresponding name to each component segmented from the image, and displaying the image in a classified manner according to each component and the corresponding name character.
Further, the one or more programs are executable by the one or more processors to also implement the steps of:
when an image editing instruction is received, acquiring an image to be edited, and displaying the image to be edited on a main screen of the mobile terminal;
acquiring at least one image characteristic used for identifying image editing content;
according to the image characteristics, identifying the image to be edited so as to determine the editing content of the image to be edited;
selecting an editing option corresponding to the editing content from image editing options;
and outputting the editing options corresponding to the editing contents in the image editing interface.
Further, the one or more programs are executable by the one or more processors to also implement the steps of:
acquiring at least one image editing option;
and determining the image characteristics corresponding to the editing options according to the at least one image editing option.
Further, the one or more programs are executable by the one or more processors to also implement the steps of:
and identifying the image to be edited according to the image characteristics corresponding to the editing options so as to determine the editing content of the image to be edited.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the image editing method and the mobile terminal, and is not described herein again.
It should also be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An image editing method applied to a mobile terminal is characterized by comprising the following steps:
when an image editing completion instruction is received and preset operation is detected, transferring the edited image to an auxiliary screen of the mobile terminal for displaying;
extracting a corresponding image to be edited according to the received extraction instruction, wherein the corresponding image to be edited comprises at least one of a currently edited image, an original image and a reselected image, and displaying the extracted image to be edited on a main screen of the mobile terminal;
when an image editing completion instruction is received and preset operation is detected, before the step of transferring the edited image to the auxiliary screen of the mobile terminal for displaying, the method further comprises the following steps:
and when an image editing instruction is received, acquiring an image to be edited, and displaying the image to be edited on a main screen of the mobile terminal.
2. The image editing method of claim 1, wherein before the step of extracting the corresponding image to be edited according to the received instruction and displaying the extracted image to be edited on a main screen of the mobile terminal, the method further comprises:
and displaying options of continuously editing the current edited image, editing the original image and reselecting the edited image to the user.
3. The image editing method according to claim 1, wherein after the step of transferring the edited image to the secondary screen of the mobile terminal for display, the method further comprises:
performing sensor input processing on an image displayed in an auxiliary screen of the mobile terminal to obtain a planar image of the image;
performing image segmentation processing on the plane image to obtain each component of the plane image;
and identifying the image subjected to image segmentation processing, giving a corresponding name to each component segmented from the image, and displaying the image in a classified manner according to each component and the corresponding name character.
4. The image editing method according to claim 1, wherein before the step of transferring the edited image to the auxiliary screen of the mobile terminal for displaying when the image editing completion instruction is received and the preset operation is detected, the method further comprises:
acquiring at least one image characteristic used for identifying image editing content;
according to the image characteristics, identifying the image to be edited so as to determine the editing content of the image to be edited;
selecting an editing option corresponding to the editing content from image editing options;
and outputting the editing options corresponding to the editing contents in an image editing interface.
5. The image editing method according to claim 4, wherein the step of acquiring at least one image feature for identifying image editing contents comprises:
acquiring at least one image editing option;
and determining the image characteristics corresponding to the editing options according to the at least one image editing option.
6. The image editing method according to claim 5, wherein the step of identifying the image to be edited to determine the editing content of the image to be edited based on the image feature comprises:
and identifying the image to be edited according to the image characteristics corresponding to the editing options so as to determine the editing content of the image to be edited.
7. A mobile terminal is characterized in that the mobile terminal comprises a processor, a network interface, a user interface and a memory, wherein an image editing program is stored in the memory; the processor is configured to execute the image editing program to implement the steps of:
when an image editing completion instruction is received and preset operation is detected, transferring the edited image to an auxiliary screen of the mobile terminal for displaying;
extracting a corresponding image to be edited according to the received extraction instruction, wherein the corresponding image to be edited comprises at least one of a currently edited image, an original image and a reselected image, and displaying the extracted image to be edited on a main screen of the mobile terminal;
when an image editing completion instruction is received and preset operation is detected, before the step of transferring the edited image to the auxiliary screen of the mobile terminal for displaying, the method further comprises the following steps:
and when an image editing instruction is received, acquiring an image to be edited, and displaying the image to be edited on a main screen of the mobile terminal.
8. The mobile terminal of claim 7, wherein the processor is further configured to execute the image editing program to perform the steps of:
and displaying options of continuously editing the current edited image, editing the original image and reselecting the edited image to the user.
9. The mobile terminal of claim 7, wherein the processor is further configured to execute the image editing program to perform the steps of:
performing sensor input processing on an image displayed in an auxiliary screen of the mobile terminal to obtain a planar image of the image;
performing image segmentation processing on the plane image to obtain each component of the plane image;
and identifying the image subjected to image segmentation processing, giving a corresponding name to each component segmented from the image, and displaying the image in a classified manner according to each component and the corresponding name character.
10. A computer-readable storage medium, having stored thereon an image editing program which, when executed by a processor, implements the steps of the image editing method according to any one of claims 1 to 6.
CN201810029414.5A 2018-01-12 2018-01-12 Image editing method, mobile terminal and computer readable storage medium Active CN108255389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810029414.5A CN108255389B (en) 2018-01-12 2018-01-12 Image editing method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810029414.5A CN108255389B (en) 2018-01-12 2018-01-12 Image editing method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108255389A CN108255389A (en) 2018-07-06
CN108255389B true CN108255389B (en) 2021-10-29

Family

ID=62727022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810029414.5A Active CN108255389B (en) 2018-01-12 2018-01-12 Image editing method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108255389B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309753A (en) * 2018-07-23 2019-02-05 努比亚技术有限公司 Picture sharing method, terminal and computer readable storage medium
CN114004915A (en) * 2021-10-22 2022-02-01 珠海格力电器股份有限公司 Picture editing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913683A (en) * 2005-08-12 2007-02-14 Lg电子株式会社 Mobile communication terminal with dual-display unit having function of editing captured image and method thereof
CN103309560A (en) * 2013-06-08 2013-09-18 东莞宇龙通信科技有限公司 Multi-interface information display method and terminal
CN105139357A (en) * 2015-08-26 2015-12-09 深圳市金立通信设备有限公司 Image editing method and terminal
US9405500B1 (en) * 2012-09-12 2016-08-02 Marisa Cox Photo album device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913683A (en) * 2005-08-12 2007-02-14 Lg电子株式会社 Mobile communication terminal with dual-display unit having function of editing captured image and method thereof
US9405500B1 (en) * 2012-09-12 2016-08-02 Marisa Cox Photo album device and system
CN103309560A (en) * 2013-06-08 2013-09-18 东莞宇龙通信科技有限公司 Multi-interface information display method and terminal
CN105139357A (en) * 2015-08-26 2015-12-09 深圳市金立通信设备有限公司 Image editing method and terminal

Also Published As

Publication number Publication date
CN108255389A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN109743504B (en) Auxiliary photographing method, mobile terminal and storage medium
CN107959795B (en) Information acquisition method, information acquisition equipment and computer readable storage medium
CN110555171B (en) Information processing method, device, storage medium and system
CN107885448B (en) Control method for application touch operation, mobile terminal and readable storage medium
CN107168626B (en) Information processing method and device and computer readable storage medium
CN109471579B (en) Terminal screen information layout adjustment method and device, mobile terminal and storage medium
CN109584897B (en) Video noise reduction method, mobile terminal and computer readable storage medium
CN109545221B (en) Parameter adjustment method, mobile terminal and computer readable storage medium
CN111935402A (en) Picture shooting method, terminal device and computer readable storage medium
CN114037692A (en) Image processing method, mobile terminal and storage medium
CN108255389B (en) Image editing method, mobile terminal and computer readable storage medium
CN107368253B (en) Picture zooming display method, mobile terminal and storage medium
CN108200287B (en) Information processing method, terminal and computer readable storage medium
CN107743198B (en) Photographing method, terminal and storage medium
CN109859115A (en) A kind of image processing method, terminal and computer readable storage medium
CN113126844A (en) Display method, terminal and storage medium
CN112449098B (en) Shooting method, device, terminal and storage medium
CN108388389B (en) Interactive interface control method, mobile terminal and computer storage medium
CN112532838B (en) Image processing method, mobile terminal and computer storage medium
CN110275667B (en) Content display method, mobile terminal, and computer-readable storage medium
CN113779285A (en) Dynamic processing method and device for picture library and computer readable storage medium
CN114442886A (en) Data processing method, intelligent terminal and storage medium
CN109495683B (en) Interval shooting method and device and computer readable storage medium
CN109656658B (en) Editing object processing method and device and computer readable storage medium
CN114092366A (en) Image processing method, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant