Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image processing method, image processing device and terminal equipment

A technology for image processing and terminal equipment, which is applied in the field of image processing and can solve problems such as unnatural images.

Pending Publication Date: 2020-03-10
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present application provides an image processing method, an image processing device, a terminal device, and a computer-readable storage medium, which can solve the technical problem that the traditional background blurring method makes the blurred image unnatural

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image processing method, image processing device and terminal equipment
  • Image processing method, image processing device and terminal equipment
  • Image processing method, image processing device and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] An image processing method provided in Embodiment 1 of the present application is described below, please refer to the attached figure 1 , the image processing method in Embodiment 1 of the present application includes:

[0040] In step S101, the image to be processed is acquired;

[0041] In the embodiment of the present application, the image to be processed is acquired first. Wherein, the image to be processed may be an image taken by the user through the terminal device, for example, the image taken after the user starts the camera application program in the mobile phone and clicks the shooting button; or, it may be the user starts the camera or video camera in the terminal device Finally, a preview image of a certain frame collected by the camera, for example, after the user starts the camera application in the mobile phone, a preview image of a certain frame collected by the camera; or, it can be an image received by the user through other applications, for examp...

Embodiment 2

[0071] Embodiment 2 of this application provides another image processing method, please refer to the attached Figure 7 ,include:

[0072] In step S701, the image to be processed is acquired;

[0073] In step S702, detect the foreground in the image to be processed, and obtain the position information of the foreground;

[0074] In the second embodiment of the present application, the steps S701-S702 are the same as the steps S101-S102 in the first embodiment. For details, please refer to the description of the first embodiment, which will not be repeated here.

[0075] In step S703, use the predefined second traversal frame to traverse all the pixels of the image to be processed, and judge whether the image area covered by the second traversal frame includes both foreground and area, also including the background area, the size of the second traversal frame is smaller than the image size of the image to be processed;

[0076] In step S704, if yes, all the image areas fram...

Embodiment 3

[0085] Embodiment 3 of the present application provides an image processing device. For the convenience of description, only the parts related to the present application are shown, such as Figure 9 As shown, the image processing device 900 includes:

[0086] An image acquisition module 901, configured to acquire an image to be processed;

[0087] A foreground detection module 902, configured to detect the foreground in the above-mentioned image to be processed, and obtain the position information of the above-mentioned foreground;

[0088] An expansion operation module 903, configured to perform an expansion operation on the image area indicated by the position information in the image to be processed to obtain corrected position information;

[0089] The blurring processing module 904 is configured to perform blurring processing on an area of ​​the image to be processed other than the image area indicated by the corrected position information to obtain a processed image.

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an image processing method, an image processing device and terminal equipment. The method comprises the steps of obtaining a to-be-processed image; detecting a foreground in theto-be-processed image to obtain position information of the foreground; carrying out expansion operation on an image area indicated by the position information in the to-be-processed image to obtaincorrected position information; and performing blurring processing on an area, except the image area indicated by the correction position information, in the to-be-processed image to obtain a processed image. According to the invention, the blurred image can be more natural.

Description

technical field [0001] The present application belongs to the technical field of image processing, and in particular relates to an image processing method, an image processing device, a terminal device, and a computer-readable storage medium. Background technique [0002] Most of the existing terminal devices (such as mobile phones, tablet computers, etc.) can take images with background blur effect. The traditional background blur method is to first detect the foreground area and background area in the image to be processed, and then The background area in the image is blurred to obtain a blurred image in which the foreground area is clear and the background area is blurred. [0003] However, in the blurred image obtained by using the traditional background blurring method, since the foreground area is relatively clear and the background area is relatively blurred, the comparison between the foreground area and the background area in the blurred image will be Obtrusive, wh...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T3/00G06T5/30
CPCG06T5/30G06T2207/20081G06T2207/20084G06T3/04
Inventor 张弓
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products