WO2021185142A1 - 图像处理方法、电子设备及存储介质 - Google Patents
图像处理方法、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2021185142A1 WO2021185142A1 PCT/CN2021/080138 CN2021080138W WO2021185142A1 WO 2021185142 A1 WO2021185142 A1 WO 2021185142A1 CN 2021080138 W CN2021080138 W CN 2021080138W WO 2021185142 A1 WO2021185142 A1 WO 2021185142A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- recognition area
- area
- module
- user
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 28
- 238000012545 processing Methods 0.000 claims abstract description 66
- 238000000034 method Methods 0.000 claims abstract description 48
- 238000004590 computer program Methods 0.000 claims description 15
- 230000011218 segmentation Effects 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 7
- 230000001815 facial effect Effects 0.000 description 7
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 210000005069 ears Anatomy 0.000 description 2
- 210000001508 eye Anatomy 0.000 description 2
- 210000004709 eyebrow Anatomy 0.000 description 2
- 210000000088 lip Anatomy 0.000 description 2
- 210000001331 nose Anatomy 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000001154 acute effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000004424 eye movement Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer 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
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
Definitions
- the present invention relates to the field of communication technology, in particular to an image processing method, electronic equipment and storage medium.
- the current image processing method only supports processing for the entire image, but not for partial images.
- the image In order to solve the problem that the image cannot be processed locally, the image is automatically recognized and then segmented. However, for some images with complex scenes, because some images in the image cannot be recognized, the image segmentation is inaccurate, which makes it impossible to quickly , Process the image accurately, resulting in unsatisfactory image processing effect.
- the embodiments of the present invention provide an image processing method, an electronic device, and a storage medium to solve the problem that the image processing method in the prior art cannot accurately process the image after segmentation, and the image processing effect is not good.
- the present invention is implemented as follows:
- an embodiment of the present invention provides an image processing method.
- the method includes: receiving an editing operation of a user on a first target image; determining a recognition area according to the editing operation; The image of the recognition area is processed.
- an embodiment of the present invention also provides an electronic device, the electronic device includes: a first receiving module, configured to receive a user's editing operation on a first target image; a first determining module, configured according to the The editing operation determines the recognition area; the first processing module is used to process the image of the recognition area according to the first processing rule.
- an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor. When executed, the steps of the image processing method are realized.
- an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the image processing method.
- the recognition area is determined; and the image in the recognition area is processed according to the first processing rule. It can be realized that in the image processing process, it is not limited to the global processing of the first target image.
- the first target image can be divided into partial images according to user editing operations, and the recognition area of the first target image can be locally processed, so that The processed image quality is better.
- Fig. 1 is a flowchart of steps of an embodiment of an image processing method provided by the present invention
- FIG. 2 is a flowchart of steps of another embodiment of an image processing method provided by the present invention.
- FIG. 3 is a structural block diagram of an embodiment of an electronic device provided by the present invention.
- FIG. 4 is a structural block diagram of another embodiment of an electronic device provided by the present invention.
- FIG. 5 is a schematic diagram of the hardware structure of an embodiment of an electronic device provided by the present invention.
- FIG. 1 there is shown a step flow chart of an embodiment of an image processing method provided by the present invention.
- Step 101 The electronic device receives the user's editing operation on the first target image.
- the first target image may be an image in an electronic device album, or an image obtained from a server, and an image obtained by calling a camera of the electronic device, which is not specifically limited in the embodiment of the present invention.
- the user can manually divide the recognition area and the non-recognition area in the first target image, or manually edit the recognized and non-recognized objects of each object in the image.
- Step 102 The electronic device determines the recognition area according to the editing operation.
- the area where each sliding track is closed is determined, and then the recognition area is determined through the user's setting operation on the area, where the recognition area is the area that needs to be replaced.
- Step 103 The electronic device processes the image of the recognition area according to the first processing rule.
- the recognition area is processed using the first processing rule, for example, the recognition area is replaced, or the recognition area is enlarged or reduced.
- the first target image is divided into a non-recognition area and a recognition area, thereby avoiding the inaccurate segmentation of the image due to automatic recognition, resulting in improper processing of local areas and other problems, so that the image processing effect is better.
- the recognition area is determined; and the image in the recognition area is processed according to the first processing rule. It can be realized that in the image processing process, it is not limited to the global processing of the first target image.
- the first target image can be divided into partial images according to user editing operations, and the recognition area of the first target image can be locally processed, so that The processed image quality is better.
- FIG. 2 a flowchart of another embodiment of an image processing method provided by the present invention is shown.
- Step 201 The electronic device receives the user's segmentation operation on the first target image.
- the segmentation operation may be sliding in the first target image, and the segmentation operation is determined according to the sliding trajectory.
- the first target image may be an image in an electronic device album, or an image obtained from a server, and an image obtained by calling a camera of the electronic device, which is not specifically limited in the embodiment of the present invention.
- Step 202 The electronic device divides the first target image into multiple sub-regions according to the dividing operation.
- the first target image there are multiple sliding trajectories, and different closed sliding trajectories form a sub-region. According to the segmentation operation, the first target image is divided into multiple sub-regions.
- Step 203 The electronic device receives the user's editing operation on each sub-region.
- the user can manually select the recognized area and the non-recognized area in the first target image, or manually edit the recognized and non-recognized objects of each object in the image.
- Step 204 For each sub-area, the electronic device determines the recognition area and the non-recognition area of the sub-area according to the editing operation.
- a processing rule is to process the image in the recognition area
- the second processing rule is to process the image in the non-recognition area.
- the second processing rule is to perform enhancement processing on image parameters in the non-recognition area.
- the first target image is a face image
- the eyes, eyebrows, lips, nose, and ears in the face image are manually segmented.
- the user can select which areas are the recognition areas, and select another part of the areas as the non-recognition areas.
- the area where each sliding track is closed is determined, and then the recognition area and the non-recognition area are determined through the user's setting operation on the area, where the recognition area is required
- the area to be replaced, and the non-recognized area is the area that does not need to be replaced.
- the first target image is a face image
- the eyes, eyebrows, lips, nose, and ears in the face image are manually segmented.
- the user can select which areas are the recognition areas, and select another part of the areas as the non-recognition areas.
- Step 205 the electronic device obtains the parameter information of the identification area
- Step 206 The electronic device receives the second target image selected by the user
- Step 207 The electronic device replaces the image of the recognition area with the second target image according to the parameter information.
- the parameter information of the recognition area may be shape information or sliding trajectory information, and the image of the recognition area is replaced with the second target image according to the shape information or sliding trajectory information.
- the image processing method provided by the embodiment of the present invention further includes: determining a second target image corresponding to the recognition area, the second target image is an image selected by the user, or may be a preset image in the electronic device.
- the recognition area needs to be occluded. Therefore, the second target image is replaced with an image of the recognition area to highlight the recognition area.
- Steps 204 to 207 may also be: the electronic device recognizes the first area image of the above-mentioned recognition area; the electronic device determines the second area image selected by the user; the electronic device adjusts the second area image according to the first area image to obtain the adjustment After the second area image, the electronic device replaces the first area image with the adjusted second area image.
- the first area image and the second area image may be portraits.
- the recognition area and the non-recognition area are determined, and the recognition area is recognized by the image recognition technology, and the first person in the recognition area is recognized.
- each second portrait is output and displayed in the recognition area.
- the second portrait is an image pre-stored in the electronic device, and each output second portrait is displayed in the form of a list or displayed in a nine-square grid for the user to select and adjust the second portrait according to the first portrait.
- the first portrait is the left half of the portrait.
- the second portrait is also the left half, and the size of the portrait and The size of the facial features of the portrait are adjusted by the first portrait.
- the first portrait is replaced with the adjusted second portrait, so that the left half of the portrait of the final generated image is the left half of the second portrait, and the right The half area is the right half of the first portrait.
- the second portrait based on the first portrait
- the position of the facial features is adjusted.
- the generated image is more natural.
- the size of the facial features of the second portrait can be adjusted by the user according to preferences.
- Image recognition technology refers to the object recognition of images to identify various targets and objects in different modes. Image recognition technology may be based on the main features of the image. Each image has its characteristics, such as the letter A has a sharp point, P has a circle, and the center of Y has an acute angle. Research on eye movement during image recognition shows that the line of sight is always focused on the main features of the image, that is, where the contour of the image is the largest or the direction of the contour changes suddenly. These places have the greatest amount of information.
- Step 208 The electronic device performs enhancement processing on the image parameters in the non-recognition area.
- the image parameters include any one of the following: image brightness, image contrast, and image color.
- the image of each object in the non-recognition area is recognized, and the image of each object in the recognition area is highlighted, or the image parameters of the non-recognition area are directly enhanced to highlight the recognition area.
- the image parameters It can be: image brightness, image contrast, image color, etc., which are not specifically limited in the embodiment of the present invention.
- the recognition area is determined; and the image in the recognition area is processed according to the first processing rule. It can be realized that in the image processing process, it is not limited to the global processing of the first target image.
- the first target image can be divided into partial images according to user editing operations, and the recognition area of the first target image can be locally processed, so that The processed image quality is better.
- FIG. 3 a structural block diagram of an embodiment of an electronic device provided by the present invention is shown.
- the electronic device includes: a first receiving module 301, configured to receive a user's editing operation on a first target image; a first determining module 302, configured to determine a recognition area according to the editing operation; a first processing module 303 , Used to process the image of the recognition area according to the first processing rule.
- the recognition area is determined; and the image in the recognition area is processed according to the first processing rule. It can be realized that in the image processing process, it is not limited to the global processing of the first target image.
- the first target image can be divided into partial images according to user editing operations, and the recognition area of the first target image can be locally processed, so that The processed image quality is better.
- FIG. 4 there is shown a structural block diagram of another embodiment of an electronic device provided by the present invention.
- the electronic device includes: a first receiving module 401, configured to receive a user's editing operation on a first target image; a first determining module 402, configured to determine a recognition area according to the editing operation; a first processing module 403 , Used to process the image of the recognition area according to the first processing rule.
- the first processing module 403 includes: a first acquiring sub-module 4031 for identifying parameter information of the recognition area; a first receiving sub-module 4032 for receiving a second target image selected by a user; The first replacement sub-module 4033 is configured to replace the image of the recognition area with the second target image according to the parameter information.
- the first processing module 403 includes: a second acquiring sub-module 4034, configured to acquire a first area image of the recognition area; and a determining sub-module 4035, configured to determine a second area image selected by the user;
- the adjustment sub-module 4036 is used to adjust the second area image according to the first area image to obtain the adjusted second area image;
- the second replacement sub-module 4037 is used to replace the first area image with the adjusted second area image Area image.
- the electronic device further includes: a second receiving module 404, configured to receive the user's segmentation operation on the first target image before the first receiving module 401 receives the user's editing operation on the first target image
- the segmentation module 405 is configured to divide the first target image into multiple sub-regions according to the segmentation operation; the first receiving module 401 is specifically configured to: receive the editing operations of the user on each sub-region; the first determining module 402 is specifically configured to include : For each sub-area, according to the editing operation, determine the recognition area of the sub-area.
- the electronic device further includes: a second determination module 406, configured to determine the non-recognition area according to the editing operation after the first determining module 402 determines the recognition area according to the editing operation; the second processing module 407: After the first processing module 403 processes the recognition area according to the first processing rule, perform enhancement processing on the image parameters in the non-recognition area, where the image parameters include any one of the following: image brightness, image contrast And the image color.
- the electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of FIG. 1 to FIG.
- the recognition area is determined; and the image in the recognition area is processed according to the first processing rule. It can be realized that in the image processing process, it is not limited to the global processing of the first target image.
- the first target image can be divided into partial images according to user editing operations, and the recognition area of the first target image can be locally processed, so that The processed image quality is better.
- An embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
- the computer program is executed by the processor to implement each process of the above-mentioned image processing method embodiment. , And can achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
- FIG. 5 is a schematic diagram of the hardware structure of an embodiment of an electronic device provided by the present invention.
- FIG. 5 a schematic diagram of the hardware structure of an embodiment of an electronic device provided for implementing the present invention.
- the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components.
- a radio frequency unit 501 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components.
- Those skilled in the art can understand that the structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device.
- the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
- electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers
- the processor 510 is configured to receive an editing operation of the user on the first target image; determine the recognition area according to the editing operation; and process the image in the recognition area according to the first processing rule.
- the recognition area is determined; and the image in the recognition area is processed according to the first processing rule. It can be realized that in the image processing process, it is not limited to the global processing of the first target image.
- the first target image can be divided into partial images according to user editing operations, and the recognition area of the first target image can be locally processed, so that The processed image quality is better.
- the radio frequency unit 501 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 510; Uplink data is sent to the base station.
- the radio frequency unit 501 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.
- the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
- the electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 503 can convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (e.g., call signal reception sound, message reception sound, etc.).
- the audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 504 is used to receive audio or video signals.
- the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
- the graphics processor 5041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
- the processed image frame may be displayed on the display unit 506.
- the image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502.
- the microphone 5042 can receive sound, and can process such sound into audio data.
- the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
- the electronic device 500 further includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light.
- the proximity sensor can close the display panel 5061 and the display panel 5061 when the electronic device 500 is moved to the ear. / Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
- the display unit 506 is used to display information input by the user or information provided to the user.
- the display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 507 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
- the user input unit 507 includes a touch panel 5071 and other input devices 5072.
- the touch panel 5071 also known as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 5071 or near the touch panel 5071. operate).
- the touch panel 5071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 510, the command sent by the processor 510 is received and executed.
- the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 507 may also include other input devices 5072.
- other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
- the touch panel 5071 can be overlaid on the display panel 5061.
- the touch panel 5071 detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of touch event, and then the processor 510 determines the type of the touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 5061.
- the touch panel 5071 and the display panel 5061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated
- the implementation of the input and output functions of the electronic device is not specifically limited here.
- the interface unit 508 is an interface for connecting an external device and the electronic device 500.
- the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 508 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 500 or can be used to connect the electronic device 500 to an external device. Transfer data between devices.
- the memory 509 can be used to store software programs and various data.
- the memory 509 may mainly include a storage program area and a storage data area.
- the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
- the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the processor 510 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 509, and calls data stored in the memory 509 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
- the processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
- the electronic device 500 may also include a power source 511 (such as a battery) for supplying power to various components.
- a power source 511 such as a battery
- the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
- the electronic device 500 includes some functional modules not shown, which will not be repeated here.
- the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium.
- the computer program is executed by a processor, each process of the above-mentioned image processing method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
- examples of computer-readable storage media include non-transitory computer-readable storage media, such as read-only memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), magnetic disks, or optical disks. Wait.
- the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods of the various embodiments of the present invention.
- Such a processor can be, but is not limited to, a general-purpose processor, a dedicated processor, a special application processor, or a field programmable logic circuit. It can also be understood that each block in the block diagram and/or flowchart and the combination of the blocks in the block diagram and/or flowchart can also be implemented by dedicated hardware that performs specified functions or actions, or can be implemented by dedicated hardware and A combination of computer instructions.
Abstract
Description
Claims (12)
- 一种图像处理方法,应用于电子设备,所述方法包括:接收用户对第一目标图像的编辑操作;根据所述编辑操作,确定识别区域;根据第一处理规则对所述识别区域的图像进行处理。
- 根据权利要求1所述的方法,其中,所述根据第一处理规则对所述识别区域进行处理的步骤,包括:获取所述识别区域的参数信息;接收用户选择的第二目标图像;根据所述参数信息,将所述识别区域的图像替换为第二目标图像。
- 根据权利要求1所述的方法,其中,所述根据第一处理规则对所述识别区域进行处理的步骤,包括:获取所述识别区域的第一区域图像;确定所述用户选择的第二区域图像;根据所述第一区域图像对所述第二区域图像进行调整,得到调整后的所述第二区域图像;将所述第一区域图像替换为所述调整后的所述第二区域图像。
- 根据权利要求1所述的方法,其中,在所述接收用户对第一目标图像的编辑操作的步骤之前,所述方法还包括:接收用户对第一目标图像的分割操作;根据所述分割操作,将所述第一目标图像分割为多个子区域;所述接收用户对第一目标图像的编辑操作的步骤,包括:接收用户对各所述子区域的编辑操作;所述根据所述编辑操作,确定识别区域的步骤,包括:针对每个所述子区域,根据所述编辑操作,确定所述子区域的识别区域。
- 根据权利要求1所述的方法,其中,在所述根据所述编辑操作,确定识别区域的步骤之后,所述方法还包括:根据所述编辑操作,确定非识别区域;在所述根据第一处理规则对所述识别区域进行处理的步骤之后,所述方法还包括:对所述非识别区域中的图像参数进行增强处理,其中,所述图像参数包括以下任一项:图像亮度、图像对比度以及图像颜色。
- 一种电子设备,包括:第一接收模块,用于接收用户对第一目标图像的编辑操作;第一确定模块,用于根据所述编辑操作,确定识别区域;第一处理模块,用于根据第一处理规则对所述识别区域的图像进行处理。
- 根据权利要求6所述的电子设备,其中,所述第一处理模块包括:第一获取子模块,用于获取所述识别区域的参数信息;第一接收子模块,用于接收用户选择的第二目标图像;第一替换子模块,用于根据所述参数信息,将所述识别区域的图像替换为第二目标图像。
- 根据权利要求6所述的电子设备,其中,所述第一处理模块包括:第二获取子模块,用于获取所述识别区域的第一区域图像;确定子模块,用于确定所述用户选择的第二区域图像;调整子模块,用于根据所述第一区域图像对所述第二区域图像进行调整,得到调整后的所述第二区域图像;第二替换子模块,用于将所述第一区域图像替换为所述调整后的所述第二区域图像。
- 根据权利要求6所述的电子设备,其中,所述电子设备还包括:第二接收模块,用于在所述第一接收模块接收用户对第一目标图像的编辑操作之前,接收用户对第一目标图像的分割操作;分割模块,用于根据所述分割操作,将所述第一目标图像分割为多个子区域;所述第一接收模块具体用于:接收用户对各所述子区域的编辑操作;所述第一确定模块具体用于包括:针对每个所述子区域,根据所述编 辑操作,确定所述子区域的识别区域。
- 根据权利要求6所述的电子设备,其中,所述电子设备还包括:第二确定模块,用于在所述第一确定模块根据所述编辑操作,确定识别区域之后,根据所述编辑操作,确定非识别区域;第二处理模块,用于在所述第一处理模块根据第一处理规则对所述识别区域进行处理之后,对所述非识别区域中的图像参数进行增强处理,其中,所述图像参数包括以下任一项:图像亮度、图像对比度以及图像颜色。
- 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任意一项所述的图像处理方法的步骤。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任意一项所述的图像处理方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010192688.3 | 2020-03-18 | ||
CN202010192688.3A CN111402271A (zh) | 2020-03-18 | 2020-03-18 | 一种图像处理方法及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021185142A1 true WO2021185142A1 (zh) | 2021-09-23 |
Family
ID=71432611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/080138 WO2021185142A1 (zh) | 2020-03-18 | 2021-03-11 | 图像处理方法、电子设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111402271A (zh) |
WO (1) | WO2021185142A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114429493A (zh) * | 2022-01-26 | 2022-05-03 | 数坤(北京)网络科技股份有限公司 | 影像序列处理方法、装置、电子设备及存储介质 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111402271A (zh) * | 2020-03-18 | 2020-07-10 | 维沃移动通信有限公司 | 一种图像处理方法及电子设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090096808A1 (en) * | 2006-02-28 | 2009-04-16 | Microsoft Corporation | Object-Level Image Editing |
US20140112534A1 (en) * | 2012-10-23 | 2014-04-24 | Sony Corporation | Information processing device and storage medium |
CN104282031A (zh) * | 2014-09-19 | 2015-01-14 | 广州三星通信技术研究有限公司 | 处理待输出图片的方法、装置和终端 |
CN111402271A (zh) * | 2020-03-18 | 2020-07-10 | 维沃移动通信有限公司 | 一种图像处理方法及电子设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144361A (zh) * | 2018-07-09 | 2019-01-04 | 维沃移动通信有限公司 | 一种图像处理方法及终端设备 |
CN110147805B (zh) * | 2018-07-23 | 2023-04-07 | 腾讯科技(深圳)有限公司 | 图像处理方法、装置、终端及存储介质 |
CN109859211A (zh) * | 2018-12-28 | 2019-06-07 | 努比亚技术有限公司 | 一种图像处理方法、移动终端及计算机可读存储介质 |
CN110335277A (zh) * | 2019-05-07 | 2019-10-15 | 腾讯科技(深圳)有限公司 | 图像处理方法、装置、计算机可读存储介质和计算机设备 |
CN110766606B (zh) * | 2019-10-29 | 2023-09-26 | 维沃移动通信有限公司 | 一种图像处理方法及电子设备 |
-
2020
- 2020-03-18 CN CN202010192688.3A patent/CN111402271A/zh active Pending
-
2021
- 2021-03-11 WO PCT/CN2021/080138 patent/WO2021185142A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090096808A1 (en) * | 2006-02-28 | 2009-04-16 | Microsoft Corporation | Object-Level Image Editing |
US20140112534A1 (en) * | 2012-10-23 | 2014-04-24 | Sony Corporation | Information processing device and storage medium |
CN104282031A (zh) * | 2014-09-19 | 2015-01-14 | 广州三星通信技术研究有限公司 | 处理待输出图片的方法、装置和终端 |
CN111402271A (zh) * | 2020-03-18 | 2020-07-10 | 维沃移动通信有限公司 | 一种图像处理方法及电子设备 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114429493A (zh) * | 2022-01-26 | 2022-05-03 | 数坤(北京)网络科技股份有限公司 | 影像序列处理方法、装置、电子设备及存储介质 |
CN114429493B (zh) * | 2022-01-26 | 2023-05-09 | 数坤(北京)网络科技股份有限公司 | 影像序列处理方法、装置、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN111402271A (zh) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11689649B2 (en) | Shooting method and terminal | |
CN107817939B (zh) | 一种图像处理方法及移动终端 | |
CN109461117B (zh) | 一种图像处理方法及移动终端 | |
CN108712603B (zh) | 一种图像处理方法及移动终端 | |
CN110365907B (zh) | 一种拍照方法、装置及电子设备 | |
WO2019174628A1 (zh) | 拍照方法及移动终端 | |
WO2021104321A1 (zh) | 图像显示方法及电子设备 | |
CN108628515B (zh) | 一种多媒体内容的操作方法和移动终端 | |
WO2020238497A1 (zh) | 图标移动方法及终端设备 | |
US11165950B2 (en) | Method and apparatus for shooting video, and storage medium | |
CN111031253B (zh) | 一种拍摄方法及电子设备 | |
US11842029B2 (en) | Image display method and mobile terminal | |
CN109448069B (zh) | 一种模板生成方法及移动终端 | |
WO2021185142A1 (zh) | 图像处理方法、电子设备及存储介质 | |
CN111461985A (zh) | 图片处理方法及电子设备 | |
WO2021017730A1 (zh) | 截图方法及终端设备 | |
CN109120800A (zh) | 一种应用程序图标调整方法及移动终端 | |
US20230014409A1 (en) | Detection result output method, electronic device and medium | |
CN110908517B (zh) | 图像编辑方法、装置、电子设备及介质 | |
WO2020156119A1 (zh) | 应用程序界面调整方法及移动终端 | |
WO2021190370A1 (zh) | 截图方法及电子设备 | |
WO2021083090A1 (zh) | 消息发送方法及移动终端 | |
CN111491124B (zh) | 视频处理方法、装置及电子设备 | |
CN109819331B (zh) | 一种视频通话方法、装置、移动终端 | |
CN111402157A (zh) | 一种图像处理方法及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21772348 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21772348 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.02.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21772348 Country of ref document: EP Kind code of ref document: A1 |