Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for blurring the background of an image, a mobile terminal and a computer-readable storage medium

A technology of background blurring and mobile terminals, applied in the field of communication, can solve problems such as inconsistency in the background blurring effect of real-time preview images

Active Publication Date: 2018-11-30
维沃软件技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method for blurring an image background, a mobile terminal, and a computer-readable storage medium, so as to solve the problem that the background blurring effect of the real-time preview image and the finally generated photo are inconsistent in the prior art method for blurring the background of the image

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
  • A method for blurring the background of an image, a mobile terminal and a computer-readable storage medium
  • A method for blurring the background of an image, a mobile terminal and a computer-readable storage medium
  • A method for blurring the background of an image, a mobile terminal and a computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0039] The first embodiment of the present invention discloses a method for blurring the background of an image. The image background blurring method can be applied to a mobile terminal configured with a single camera. like figure 1 As shown, it is a flow chart of the image background blurring method according to the first embodiment of the present invention. The method specifically includes the following processes:

[0040] Step 101: Acquire a first preview image.

[0041] The preview image may be a preview image in camera mode, or a preview image in camera mode.

[0042] Step 102: If there is a human body area in the first preview image, sequentially perform first encoding and first decoding processing on the first preview image, and output a first foreground feature plane and a first background feature plane.

[0043] Specifically, extract the features of the first preview image through the first encoding (Encoder) network, and then perform upsampling and decoding proce...

no. 2 example

[0060] The second embodiment of the present invention discloses a method for blurring the background of an image. The image background blurring method can be applied to a mobile terminal configured with a single camera. like figure 2 As shown, it is a flow chart of the image background blurring method according to the second embodiment of the present invention. The method specifically includes the following processes:

[0061] Step 201: Acquire a first preview image.

[0062] The preview image may be a preview image in camera mode, or a preview image in camera mode.

[0063] Step 202: If there is a human body area in the first preview image, obtain a first bounding box of the face area in the first preview image.

[0064] The face area can be identified through the face recognition method, so as to obtain the first bounding box of the face area in the first preview image. General, such as image 3 As shown in (a), the first bounding box is a rectangular box.

[0065] S...

no. 3 example

[0152] The third embodiment of the present invention discloses a mobile terminal, which can realize the details of the methods in the above embodiments and achieve the same effect. The mobile terminal is a mobile terminal configured with a single camera. like Figure 9 As shown, the mobile terminal 900 specifically includes the following structure:

[0153] The first obtaining module 901 is configured to obtain a first preview image.

[0154] The first output module 902 is configured to sequentially perform first encoding and first decoding processing on the first preview image if there is a human body area in the first preview image, and output a first foreground feature plane and a first background feature plane.

[0155] The first generation module 903 is configured to perform background blurring processing on the first preview image according to the first foreground feature plane and the first background feature plane to generate a second preview image.

[0156] The sec...

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 background virtualization method, a mobile terminal and a computer readable storage medium. The method comprises: acquiring a first preview image; if the first preview image has a human area, sequentially performing first coding and first decoding on the first preview image to output a first foreground feature plane and a first background feature plane; performing background virtualization on the first preview image according to the first foreground feature plane and the first background feature plane to generate a second preview image; performing second coding on the first preview image to output at least one first feature plane; performing second coding on the first feature plane, the first foreground feature plane and the first background feature plane to output a second foreground feature plane and a second background feature plane; and performing background virtualization on the first preview image according to the second foreground feature plane and the second background feature plane to generate a photo. By adopting the method, the background virtualization effects of the photo and the real-time second preview image are consistent.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method for blurring an image background, a mobile terminal and a computer-readable storage medium. Background technique [0002] Background blurring in portrait scenes, especially background blurring in selfie applications, is one of the high-frequency applications in mobile terminals at present. Background blur is a technology that simulates the small depth-of-field of a SLR, which can highlight the center of gravity (such as a person) in a shot. Real-time background blur technology refers to the real-time preview effect of background blur in camera preview. And achieve the final large image result similar to the preview result while taking pictures. [0003] At present, mobile terminals based on monocular cameras use the method of portrait matting to realize portrait background blurring. Portrait matting includes two categories: image optimization and deep learning a...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T9/00G06T7/11G06T7/194G06T11/20G06T5/40
CPCG06T5/40G06T7/11G06T7/194G06T9/002G06T11/203G06T2207/30196G06T2207/30201
Inventor 顾弘张华琪王国刚
Owner 维沃软件技术有限公司