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

A method, device and mobile terminal for distinguishing foreground and background areas of images

A technology of foreground area and area, which is applied in the direction of image communication, color TV parts, TV system parts, etc., can solve the problem of being unable to distinguish front and back foreground areas, and achieve the effect of fast response and small amount of calculation

Active Publication Date: 2019-04-16
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a method, device, and mobile terminal for distinguishing the front and rear areas of an image, so as to solve the problem that the camera of the mobile terminal cannot distinguish the front and back areas when taking photos

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, device and mobile terminal for distinguishing foreground and background areas of images
  • A method, device and mobile terminal for distinguishing foreground and background areas of images
  • A method, device and mobile terminal for distinguishing foreground and background areas of images

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a schematic flowchart of a method for distinguishing the foreground and foreground areas of an image provided in Embodiment 1 of the present invention. The method can be executed by a device for distinguishing the foreground and foreground areas of an image, wherein the device can be implemented by software and / or hardware, and can generally be integrated in a mobile in the terminal. Such as figure 1 As shown, the method includes:

[0026] Step 101, when it is detected that the event of distinguishing the foreground and foreground areas of the image is triggered, control the screen to perform supplementary light.

[0027] Exemplarily, the mobile terminal in this embodiment may specifically be a terminal device configured with a display screen, such as a mobile phone, a tablet computer, and a digital camera.

[0028] Exemplarily, detecting that the event of distinguishing the foreground and foreground areas of the image is triggered specifically refers ...

Embodiment 2

[0040] figure 2 It is a schematic flow chart of a method for distinguishing the foreground and foreground areas of an image provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments. In this embodiment, the step "according to the brightness of each region The high-low relationship to determine the foreground area and the background area" is optimized as follows: determine the brightness value of each area; sort the areas according to the high-low relationship of the brightness values ​​of each area; determine the area with the highest brightness value as the foreground area, and determine the remaining areas for the background area.

[0041] Correspondingly, the method of this embodiment includes the following steps:

[0042] Step 201, when it is detected that the event of distinguishing the foreground and foreground areas of the image is triggered, control the screen to perform supplementary light.

[0043] Step 2...

Embodiment 3

[0055] image 3 It is a schematic flowchart of a method for distinguishing the foreground and foreground areas of an image provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, a step is added at the end: making the background area Blur and generate a photo from the processed image.

[0056] Correspondingly, the method of this embodiment includes the following steps:

[0057] Step 301 , when it is detected that the event of distinguishing the foreground and foreground areas of the image is triggered, control the screen to perform supplementary light.

[0058] Step 302, controlling the camera to capture images during the process of screen fill light.

[0059] Step 303, acquire brightness data of the image, and divide the image into regions according to the brightness data.

[0060] Step 304, determine the brightness value of each region, and sort the regions according to the relati...

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

Examples of the present invention disclose a method, device and mobile terminal that distinguishes the front and rear scenic areas of images.This method includes: when the distinguished image of the distinguished image is triggered, the screen is controlled when the event is triggered;And determine the prospects and background areas based on the high and low relationship between the brightness of each area.The embodiments of the present invention can use the above technical solution to use the different distances of the photographed by different distances to distinguish the prospects and background without changing the original hardware configuration of the mobile terminal.And the calculation amount is small, the response speed is fast, which is convenient for users to take selfie photos with depth of field effects. This solution is especially suitable for the distinction between front and rear scenes in low -light selfie scenes.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of photographing, and in particular, to a method, device and mobile terminal for distinguishing front and rear background areas of an image. Background technique [0002] At present, the camera has become the standard configuration of most mobile terminals. With the continuous improvement of the performance of the camera, the camera function in the mobile terminal is also becoming more and more powerful, which brings convenience to users who like to take pictures. [0003] During the shooting process, in order to highlight the subject, you can use shooting techniques to take photos with a clear foreground (subject) and blurred background (background) with depth-of-field effects. This shooting technique is especially suitable for portrait shooting. Now, many mobile terminal users like to use the front camera on the mobile terminal to take selfies, and hope to obtain the above-mentioned s...

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/235H04N5/232
CPCH04N23/80H04N23/74
Inventor 吴磊
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD