Image processing method and device

A technology of image processing and depth image, which is applied in the field of image processing, can solve the problems of blurred background images, different degrees of blur, and bilinear out-of-focus imaging, etc., to improve user experience, ensure shooting quality, and ensure background blur effects Effect

Active Publication Date: 2018-06-12
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The background blur effect has the following characteristics: 1) The image of the foreground portrait that is focused should be clear; 2) The image of the background scenery outside the portrait is blurred; 3) The farther the background scenery is from the portrait, the greater the degree of blur, and vice versa. That is, the degree of blur varies with the depth of field; 4) The bilinear problem of out-of-focus imaging

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 and device
  • Image processing method and device
  • Image processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0050] In related technologies, an RGB camera is configured in a mobile phone, and a portrait segmentation algorithm based on an RGB image is used to segment the portrait and the surrounding background in the RGB image. After the segmentation is completed, a background blur operation is performed to obtain a portrait background similar to that of a SLR camera. Blur effect. However, 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 invention relates to an image processing method and device. The method comprises the steps that the depth image of a shoot target and at least one pixel in a portrait area of the depth image are acquired; the average depth value of pixels in the portrait area is calculated according to the depth value of pixels in the portrait area; the difference between the depth value of pixels adjacent tothe portrait area in the depth image and the average depth value is calculated; pixels whose difference is less than a preset threshold are determined as pixels in the portrait area, and the step is repeated until pixels whose difference is less than the preset threshold are nonexistent; and an area other than the portrait area in the depth image is determined as the background area of the depth image. According to the invention, the portrait area and the background area in the depth image are accurately divided to ensure the background blur effect of an RGB image; the background blur effect of a single lens reflex is simulated to the greatest extent; and the user experience is improved.

Description

technical field [0001] The present disclosure relates to the technical field of image processing, and in particular, to an image processing method and device. Background technique [0002] SLR cameras can take portrait photos with background blur effects, which have a strong visual impact. The background blur effect has the following characteristics: 1) The image of the foreground portrait that is focused should be clear; 2) The image of the background scenery outside the portrait is blurred; 3) The farther the background scenery is from the portrait, the greater the degree of blur, and vice versa. That is, the degree of blur varies with the depth of field; 4) The bilinear problem of out-of-focus imaging. [0003] In related technologies, a red-green-blue (RGB) camera is configured in a mobile phone, and a portrait segmentation algorithm based on RGB images is used to segment the human body part and the surrounding background part in the RGB image. After the segmentation is...

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): G06T3/00G06T7/11
CPCG06T3/0012G06T2207/10028G06T7/11
Inventor 万韶华
Owner BEIJING XIAOMI MOBILE SOFTWARE CO 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