Bokeh photograph generation method and device, and mobile terminal

A blurring and photo technology, applied in the field of image processing, can solve problems such as low efficiency and cumbersome shooting process, and achieve the effect of improving shooting efficiency and enhancing the shooting experience.

Active Publication Date: 2016-10-26
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF4 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this requires the user to select the foreground area in the preview image and set the degree of blur in advance. The user needs a certain learning cost to shoot, and the shooting process is cumbersome and inefficient.

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
  • Bokeh photograph generation method and device, and mobile terminal
  • Bokeh photograph generation method and device, and mobile terminal
  • Bokeh photograph generation method and device, and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0051] A foreground area in the current preview image is determined, and first depth information of the foreground area is formed from depth information of pixels located in the foreground area.

[0052] Wherein, the first field depth information of the foreground area consists of field depth information of each pixel in the foreground area.

[0053] Wherein, the foreground area may be selected by the user, or determined according to the user's selection or a default focus area. For example, the focus area is extended outward to a preset range to obtain a foreground area.

example 2

[0055] The first depth of field information of the foreground area is determined according to the depth of field information of the focus area in the front preview image. Specifically, it may include figure 2 Steps S201-S202 are shown.

[0056] S201. Determine third depth-of-field information of a focus area in a current preview image according to preview image data respectively acquired by two rear cameras in a dual-camera device.

[0057] Wherein, the third depth-of-field information of the focus area is composed of depth-of-field information of each pixel in the focus area. Therefore, the depth of field information of each pixel can be queried according to the phase difference of each pixel in the preview image data respectively acquired by the two rear cameras in the dual camera device. Furthermore, the depth of field information of each pixel in the focus area in the current preview image may be determined to obtain third depth of field information of the focus area in...

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 present invention proposes a bokeh photograph generation method and device, and a mobile terminal. The bokeh photograph generation method comprises the following steps: determining first depth of field information about a foreground region and second depth of field information about a background region in a current preview image according to preview image data respectively acquired by two rear-facing cameras in a dual-camera device; acquiring a base value of bokeh degree according to the first depth of field information and the second depth of field information; and performing Gaussian blur processing on the background region according to the base value of bokeh degree to generate a bokeh photograph. The bokeh photograph generation method proposed by the present invention can simplify the process of generating a background bokeh photograph when photographing, thereby improving the shooting effiency.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a method, device and mobile terminal for generating blurred photos. Background technique [0002] With the continuous development of the mobile terminal technology, the shooting functions in the mobile terminal are becoming more and more abundant. Currently, users can choose to generate a photo with a blurred background during the photo taking process. However, this requires the user to select the foreground area in the preview image and pre-set the degree of blurring. The user needs a certain learning cost for shooting, and the shooting process is cumbersome and inefficient. Contents of the invention [0003] The present invention aims to solve the above-mentioned technical problems at least to a certain extent. [0004] Therefore, the first object of the present invention is to provide a method for generating a blurred photo, which can simplify the process ...

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 Applications(China)
IPC IPC(8): H04N5/262
CPCH04N5/2621H04N23/80H04N2013/0088H04N13/239H04N5/2226H04N23/45H04N23/67G06T1/20H04N5/272
Inventor 曾元清
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products