Image processing method and electronic device

An image processing and electronic device technology, applied in the field of image processing, can solve the problem of inability to replace background images, and achieve the effect of accurate extraction

Inactive Publication Date: 2020-11-10
YULONG COMPUTER TELECOMM SCI (SHENZHEN) CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiment of the present invention provides an image processing method and an electronic device to solve the problem that the electronic device cannot replace the background image in the process of taking pictures in the prior art, and needs to use other software to realize the post-processing of the image. question

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0049] figure 1 It is a schematic diagram of the hardware structure of the electronic device of the image processing method provided by the embodiment of the present invention, such as figure 1 As shown, the electronic device includes one or more processors 101 and memory 102, and also includes a first camera 103, a second camera 104, a display 105, and an i...

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 discloses an image processing method and electronic equipment. The image processing method is used for electronic equipment provided with a first camera and a second camera. The first camera and the second camera are used to shoot the same scene. The image processing method includes: controlling The first camera captures the first image, and controls the second camera to capture the second image; synthesizes the first image and the second image into a third image; calculates the depth information of the pixels on the third image; determines the The foreground image and the background image on the third image; the background image of the third image is replaced by the preset background image to obtain the third image after the background is replaced. In the present invention, the extraction of the foreground image and the background image is more accurate, and after the image is captured, the background image is directly replaced by the preset background image without post-processing, and the replacement of the background image is quickly realized.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to an image processing method and electronic equipment. Background technique [0002] Taking pictures has become a habit of people's life, and various electronic devices with the function of taking pictures are gradually becoming more and more popular, such as mobile phones, cameras, digital cameras, video cameras and so on. In order to meet people's different needs for photographing effects, many electronic devices with dual cameras have been released on the market, such as mobile phones with front dual cameras or rear dual cameras. [0003] When a user uses this type of electronic device to take a photo, he usually wishes to highlight key content in the image, for example, to highlight a portrait while taking a selfie, while weakening the background image, or even replacing the background image. However, in the process of image processing of existing electronic devices w...

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): H04N5/222H04N5/232H04N5/272
CPCH04N5/2226H04N5/272H04N23/80
Inventor 闫明
Owner YULONG COMPUTER TELECOMM SCI (SHENZHEN) 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