CN111402273A - Image processing method and electronic equipment - Google Patents
Image processing method and electronic equipment Download PDFInfo
- Publication number
- CN111402273A CN111402273A CN202010207477.2A CN202010207477A CN111402273A CN 111402273 A CN111402273 A CN 111402273A CN 202010207477 A CN202010207477 A CN 202010207477A CN 111402273 A CN111402273 A CN 111402273A
- Authority
- CN
- China
- Prior art keywords
- image
- input
- parameters
- target
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000000034 method Methods 0.000 claims abstract description 30
- 230000004044 response Effects 0.000 claims abstract description 26
- 238000012545 processing Methods 0.000 claims description 8
- 238000004891 communication Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 238000003709 image segmentation Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000010191 image analysis Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4038—Image mosaicing, e.g. composing plane images from plane sub-images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an image processing method and electronic equipment, and relates to the technical field of communication. The method comprises the following steps: receiving a first input of a user for a first image; identifying and extracting parameters of the first image in response to the first input; receiving a second input of the user; and responding to the second input, and applying a target parameter in the parameters of the first image to the second image to obtain a target image. According to the scheme of the invention, the target image is obtained by identifying and extracting the parameters of the first image and applying the target parameters in the parameters to the second image, at least one parameter in the image can be identified, and the target parameters in the parameters are processed, so that the image is customized.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an image processing method and an electronic device.
Background
At present, a user can only process an image according to the style of the system, the user-defined image style cannot be realized, and the user cannot apply a favorite template if the user is interested in the template of a certain photo.
Disclosure of Invention
The embodiment of the invention provides an image processing method and electronic equipment, and aims to solve the problems that only the image style, the template and the like of a system can be used for processing an image, and the image can not be customized.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an image processing method applied to an electronic device, including:
receiving a first input of a user for a first image;
identifying and extracting parameters of the first image in response to the first input;
receiving a second input of the user;
and responding to the second input, and applying a target parameter in the parameters of the first image to the second image to obtain a target image.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the first acquisition module is used for receiving first input of a user on the first image;
a first response module for identifying and extracting parameters of the first image in response to the first input;
the second acquisition module is used for receiving a second input of the user;
and the second response module is used for responding to the second input and applying the target parameter in the parameters of the first image to the second image to obtain a target image.
In this way, in the embodiment of the present invention, by identifying and extracting the parameters of the first image and applying the target parameters in the parameters to the second image to obtain the target image, at least one parameter in the image can be identified and the target parameters in the parameters are processed, thereby realizing the self-definition of the image.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 shows a flow diagram of an image processing method of an embodiment of the invention;
FIG. 2 shows one of the first image diagrams of the embodiment of the invention;
FIG. 3 is a diagram illustrating first image parameters according to an embodiment of the present invention;
FIG. 4 shows one of the schematic target images of an embodiment of the invention;
FIG. 5 is a second schematic diagram of a first image according to an embodiment of the present invention;
FIG. 6 is a second schematic diagram of a target image according to an embodiment of the invention;
FIG. 7 is a third schematic diagram of a first image according to an embodiment of the present invention;
FIG. 8 shows a second image schematic of an embodiment of the invention;
FIG. 9 shows a block diagram of an electronic device of an embodiment of the invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In making the description of the embodiments of the present invention, some concepts used in the following description will first be explained.
Image parameters: the various parts of the image contain parameters such as the sky, sea, beach, etc. of a landscape photograph, such as the background of a character photograph, characters, etc., which may be subdivided into head, upper body, lower body, etc. features.
Image segmentation: the method is characterized in that different areas with special meanings in an image are divided, the areas are not intersected with each other, and each area meets certain similarity criteria of characteristics such as gray scale, texture, color and the like. Image segmentation is one of the most important steps in the image analysis process, and the segmented region can be used as a target region for subsequent feature extraction.
As shown in fig. 1, an embodiment of the present invention provides an image processing method applied to an electronic device, including:
Specifically, the first image may be any one of pictures, and the first input may be a sliding operation, an operation of pressing the first image for a time exceeding a preset time, a pressing of an Artificial Intelligence (AI) key, and the like, which is not limited herein.
Optionally, the parameter of the first image includes, but is not limited to, at least one of object information, outline information, and image style information.
Specifically, the first image is subjected to image segmentation, and parameters included in various parts in the first image, such as an object (e.g., a person) in the first image, are identified and extracted, and the object may be further subdivided into features such as a head, an upper body, a lower body, and the like.
And step 13, receiving a second input of the user.
And 14, responding to the second input, and applying the target parameters in the parameters of the first image to the second image to obtain a target image.
Specifically, the target parameter in the first image can be applied to any one of the second images, so that the effect of self-defining the parameter of the image is realized; the second image may be a plurality of images, a sticker, and the like, and is not limited herein.
For example: as shown in fig. 2, the target parameter is outline information of the first image (i.e., six photo frames in fig. 2), the photo frame of the first image is extracted, and the extracted photo frame is as shown in fig. 3; the second image (including multiple pictures) is filled into the picture frame of the first image to form a new image, i.e. a target image, and the obtained target image is as shown in fig. 4.
In the embodiment of the invention, the target image is obtained by identifying and extracting the parameters of the first image and applying the target parameters in the parameters to the second image, at least one parameter in the image can be identified, and the target parameters in the parameters are processed, so that the image is customized.
Further, as shown in fig. 5 and 6, in a case that the first image and the second image are the same image, the parameter of the first image includes first object information and second object information, and the target parameter is the first object information, the step 13 may specifically include:
receiving a second input of a parameter of the first image by a user;
the step 14 may specifically include:
and applying the characteristic information contained in the target parameter to the characteristic information contained in the second object information to obtain a target image.
Specifically, if the first image and the second image are the same image, the first image includes first object information and second object information, and the target parameter is the first object information, the user may replace the feature information of the second object information with the feature information of the first object information through a second input of the target parameter (first object information), thereby obtaining the target image.
For example: the first image comprises first object information (namely a solid line triangle part in fig. 5) and second object information (namely a solid line circle part in fig. 5), the user obtains characteristic information of the first object information (namely a dotted line triangle part corresponding to an arrow of the solid line triangle part in fig. 5) by pressing the first object information and suspends the characteristic information of the first object information on the current display interface, and the user obtains characteristic information of the second object information (namely a dotted line circle part corresponding to an arrow of the solid line circle part in fig. 5) by pressing the second object information and suspends the characteristic information of the second object information on the current display interface; the user may apply the feature information of the first object information to the feature information of the second object information by dragging the feature information of the first object information to a position of the second object information, that is, replacing the feature information of the second object information with the feature information of the first object information, so as to obtain a target image, where the target image is as shown in fig. 6. The characteristic information may be color information or the like.
Further, before the step 13, the method may further include:
receiving a third input of a user for a parameter of the first image;
and responding to the third input, processing the target parameter in the parameters of the first image, and saving the processed target parameter.
Specifically, the target parameters (some or all of the parameters) of the parameters of the first image may be processed, and the processed target parameters may be stored.
For example: as shown in fig. 7, the identified and extracted parameters of the first image are displayed below the first image, the area a in fig. 7 is the area where the first image is located, the extracted parameters of the first image are object information, outline information and image style information, which are respectively displayed below the area a, and a user can select and store one of the parameters by clicking the parameter.
For example: if the user selects the image style information, and the image style information comprises the first image style information and the second image style information, the user can respectively store the first image style information and the second image style information, or the first image style information and the second image style information can be processed, the two styles are mixed to form a new image style information, and the image style information is stored, so that the user can store the favorite image style and other information in real time, and the user can customize the name of the stored image style information, thereby facilitating the subsequent use. The third input operation may be a click operation of a user on a parameter of the first image, and the like, which is not specifically limited herein.
Further, step 13 may specifically include:
receiving a second input of the user for the second image;
the step 14 may specifically include:
and applying the stored processed target parameters to the second image to obtain a target image.
Specifically, the image editing interface may be entered through a second input (such as a pressing operation) of the user on the selected second image, and after entering the image editing interface, the user may select the first area of the second image and further edit the first area of the second image; alternatively, the user may select a first region of the second image, and then edit a second region of the second image other than the first region to form an edited target image.
For example: as shown in fig. 8, the B area is an area where the second image is located, and options available for editing may be displayed below the B area, for example: the image style, filter, sticker, etc. are used to edit the second image by clicking the image style (which may be the image style of the system itself or the image style saved by the user) to form the target image. Here, the display position of the option for editing is not limited.
In summary, in the embodiment of the present invention, the target image is obtained by identifying and extracting the parameter of the first image and applying the target parameter in the parameter of the first image to the second image, so as to identify at least one parameter in the image and process the target parameter in the parameter, thereby implementing the self-definition of the image.
As shown in fig. 9, an embodiment of the present invention further provides an electronic device 90, including:
a first obtaining module 91, configured to receive a first input of the first image from the user;
a first response module 92 for identifying and extracting parameters of the first image in response to the first input;
a second obtaining module 93, configured to receive a second input of the user;
a second response module 94, configured to respond to the second input, apply a target parameter of the parameters of the first image to a second image to obtain a target image.
Optionally, the parameter of the first image includes at least one of object information, outline information and image style information.
Optionally, when the first image and the second image are the same image, the parameter of the first image includes first object information and second object information, and the target parameter is the first object information, the second obtaining module 93 includes:
the first acquisition unit is used for receiving second input of the parameters of the first image by a user;
the second response module includes:
and the first response unit is used for applying the characteristic information contained in the target parameter to the characteristic information contained in the second object information to obtain a target image.
Optionally, the electronic device 90 further includes:
the third acquisition module is used for receiving third input of the parameters of the first image by the user;
and the third response module is used for responding to the third input, processing the target parameter in the parameters of the first image and storing the processed target parameter.
Optionally, the second obtaining module 93 includes:
the second acquisition unit is used for receiving a second input of the user for the second image;
the second response module includes:
and the second response unit is used for applying the saved processed target parameters to the second image to obtain a target image.
The electronic device 90 can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 8, and details are not described here for avoiding repetition.
In the embodiment of the present invention, the first response module 92 identifies and extracts the parameters of the first image, and the second response module 94 applies the target parameters in the parameters to the second image to obtain the target image, so as to identify at least one parameter in the image and process the target parameters in the parameters, thereby implementing the self-definition of the image.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 1010 is configured to:
receiving a first input of a user for a first image;
identifying and extracting parameters of the first image in response to the first input;
receiving a second input of the user;
and responding to the second input, and applying a target parameter in the parameters of the first image to the second image to obtain a target image.
The electronic device 1000 according to the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 8, and details are not repeated here to avoid repetition.
Therefore, the electronic device identifies and extracts the parameters of the first image through the processor 1010, applies the target parameters in the parameters to the second image to obtain the target image, can identify at least one parameter in the image, and processes the target parameters in the parameters, thereby realizing the self-definition of the image.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio 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. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 1002, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic apparatus 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1001 in case of a phone call mode.
The electronic device 1000 also includes at least one sensor 1005, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 10061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 10061 and/or the backlight when the electronic device 1000 moves to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The Display unit 1006 may include a Display panel 10061, and the Display panel 10061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 1007 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, 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 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 1008 is an interface for connecting an external device to the electronic apparatus 1000. 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 1008 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and the external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage 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, and the like), 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 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.
The processor 1010 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby integrally monitoring the electronic device. Processor 1010 may include one or more processing units; preferably, the processor 1010 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 processor 1010.
The electronic device 1000 may further include a power source 1011 (e.g., a battery) for supplying power to various components, and preferably, the power source 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the electronic device 1000 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process of the above-mentioned embodiment of the image processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-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 computer program implements each process of the embodiment of the image processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should 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 (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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. An image processing method applied to an electronic device, comprising:
receiving a first input of a user for a first image;
identifying and extracting parameters of the first image in response to the first input;
receiving a second input of the user;
and responding to the second input, and applying a target parameter in the parameters of the first image to the second image to obtain a target image.
2. The method of claim 1, wherein the parameters of the first image comprise at least one of object information, outline information, and image style information.
3. The method of claim 2, wherein in a case that the first image and the second image are the same image, the parameter of the first image includes first object information and second object information, and the target parameter is the first object information, the receiving a second input of the user comprises:
receiving a second input of a parameter of the first image by a user;
the applying the target parameter in the parameters of the first image to the second image to obtain the target image includes:
and applying the characteristic information contained in the target parameter to the characteristic information contained in the second object information to obtain a target image.
4. The method of claim 1, wherein prior to receiving the second input from the user, the method further comprises:
receiving a third input of a user for a parameter of the first image;
and responding to the third input, processing the target parameter in the parameters of the first image, and saving the processed target parameter.
5. The method of claim 4, wherein receiving a second input from the user comprises:
receiving a second input of the user for the second image;
the applying a target parameter of the parameters of the first image to the second image to obtain a target image includes:
and applying the stored processed target parameters to the second image to obtain a target image.
6. An electronic device, comprising:
the first acquisition module is used for receiving first input of a user on the first image;
a first response module for identifying and extracting parameters of the first image in response to the first input;
the second acquisition module is used for receiving a second input of the user;
and the second response module is used for responding to the second input and applying the target parameter in the parameters of the first image to the second image to obtain a target image.
7. The electronic device of claim 6, wherein the parameter of the first image comprises at least one of object information, outline information, and image style information.
8. The electronic device according to claim 7, wherein in a case where the first image and the second image are the same image, the parameter of the first image includes first object information and second object information, and the target parameter is the first object information, the second acquiring module includes:
the first acquisition unit is used for receiving second input of the parameters of the first image by a user;
the second response module includes:
and the first response unit is used for applying the characteristic information contained in the target parameter to the characteristic information contained in the second object information to obtain a target image.
9. The electronic device of claim 6, further comprising:
the third acquisition module is used for receiving third input of the parameters of the first image by the user;
and the third response module is used for responding to the third input, processing the target parameter in the parameters of the first image and storing the processed target parameter.
10. The electronic device of claim 9, wherein the second obtaining module comprises:
the second acquisition unit is used for receiving a second input of the user for the second image;
the second response module includes:
and the second response unit is used for applying the saved processed target parameters to the second image to obtain a target image.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010207477.2A CN111402273A (en) | 2020-03-23 | 2020-03-23 | Image processing method and electronic equipment |
PCT/CN2021/081022 WO2021190351A1 (en) | 2020-03-23 | 2021-03-16 | Image processing method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010207477.2A CN111402273A (en) | 2020-03-23 | 2020-03-23 | Image processing method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111402273A true CN111402273A (en) | 2020-07-10 |
Family
ID=71413436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010207477.2A Pending CN111402273A (en) | 2020-03-23 | 2020-03-23 | Image processing method and electronic equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111402273A (en) |
WO (1) | WO2021190351A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021190351A1 (en) * | 2020-03-23 | 2021-09-30 | 维沃移动通信有限公司 | Image processing method and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109089042A (en) * | 2018-08-30 | 2018-12-25 | Oppo广东移动通信有限公司 | The recognition methods of image procossing mode, device, storage medium and mobile terminal |
CN109461124A (en) * | 2018-09-21 | 2019-03-12 | 维沃移动通信(杭州)有限公司 | A kind of image processing method and terminal device |
CN110223237A (en) * | 2019-04-23 | 2019-09-10 | 维沃移动通信有限公司 | Adjust the method and terminal device of image parameter |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657793B (en) * | 2017-01-11 | 2019-01-22 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN107330867B (en) * | 2017-06-16 | 2020-02-18 | Oppo广东移动通信有限公司 | Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment |
CN109104566B (en) * | 2018-06-28 | 2020-10-16 | 维沃移动通信有限公司 | Image display method and terminal equipment |
CN109993711A (en) * | 2019-03-25 | 2019-07-09 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN111402273A (en) * | 2020-03-23 | 2020-07-10 | 维沃移动通信(杭州)有限公司 | Image processing method and electronic equipment |
-
2020
- 2020-03-23 CN CN202010207477.2A patent/CN111402273A/en active Pending
-
2021
- 2021-03-16 WO PCT/CN2021/081022 patent/WO2021190351A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109089042A (en) * | 2018-08-30 | 2018-12-25 | Oppo广东移动通信有限公司 | The recognition methods of image procossing mode, device, storage medium and mobile terminal |
CN109461124A (en) * | 2018-09-21 | 2019-03-12 | 维沃移动通信(杭州)有限公司 | A kind of image processing method and terminal device |
CN110223237A (en) * | 2019-04-23 | 2019-09-10 | 维沃移动通信有限公司 | Adjust the method and terminal device of image parameter |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021190351A1 (en) * | 2020-03-23 | 2021-09-30 | 维沃移动通信有限公司 | Image processing method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
WO2021190351A1 (en) | 2021-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107943390B (en) | Character copying method and mobile terminal | |
CN107977652B (en) | Method for extracting screen display content and mobile terminal | |
CN108427873B (en) | Biological feature identification method and mobile terminal | |
CN108881782B (en) | Video call method and terminal equipment | |
CN108646960B (en) | File processing method and flexible screen terminal | |
US20230014409A1 (en) | Detection result output method, electronic device and medium | |
CN111125800B (en) | Icon display method and electronic equipment | |
CN109448069B (en) | Template generation method and mobile terminal | |
CN109618218B (en) | Video processing method and mobile terminal | |
CN109166164B (en) | Expression picture generation method and terminal | |
CN110650367A (en) | Video processing method, electronic device, and medium | |
CN108600544A (en) | A kind of Single-hand control method and terminal | |
CN110769186A (en) | Video call method, first electronic device and second electronic device | |
CN111464746B (en) | Photographing method and electronic equipment | |
CN107729100B (en) | Interface display control method and mobile terminal | |
CN111080747B (en) | Face image processing method and electronic equipment | |
CN109639981B (en) | Image shooting method and mobile terminal | |
CN110825475A (en) | Input method and electronic equipment | |
CN111126388B (en) | Image recognition method and electronic equipment | |
CN109819331B (en) | Video call method, device and mobile terminal | |
CN110213437B (en) | Editing method and mobile terminal | |
CN111402271A (en) | Image processing method and electronic equipment | |
CN110780795A (en) | Screen capturing method and electronic equipment | |
WO2021190351A1 (en) | Image processing method and electronic device | |
CN110825288A (en) | Image screening processing method and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200710 |