Method and apparatus for separating foreground image, and computer-readable recording medium

US9600898B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9600898-B2
Application numberUS-201514918680-A
CountryUS
Kind codeB2
Filing dateOct 21, 2015
Priority dateOct 23, 2014
Publication dateMar 21, 2017
Grant dateMar 21, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and an apparatus for separating a foreground image are disclosed. The method includes obtaining an input image and depth information of the input image; roughly dividing the input image to obtain a rough foreground region based on the depth information of the input image; obtaining motion information of the input image, and generating a three-color image from the rough foreground region based on the motion information; and separating the foreground image from the generated three-color image. According to the method, the three-color image is generated based on the depth information and the motion information, thus a foreground object can be accurately separated from the three-color image.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for separating a foreground image, the method comprising: obtaining an input image and depth information of the input image; roughly dividing, based on the depth information of the input image, the input image to obtain a rough foreground region; obtaining motion information of the input image, generating a three-color image from the input image based on the rough foreground region and the motion information; first determining a relationship between the motion information of a plurality of pixels in the three-color image and a first threshold value; second determining whether all pixels in an adjacent region of each of the plurality of pixels belong to the rough foreground region; and separating the foreground image from the generated three-color image by identifying at least one first pixel of the plurality of pixels as part of the foreground image if the first determining determines that the motion information of the at least one first pixel is greater than or equal to the threshold and the second determining determines that all pixels in the adjacent region of the at least one first pixel belong to the rough foreground region. 2. The method for separating a foreground image according to claim 1 , wherein the generating the three-color image from the rough foreground region based on the motion information includes: obtaining images of m continuous frames immediately before the input image and calculating the motion information of each pixel from the images of the m continuous frames; third determining that at least one second pixel of the plurality of pixels belongs to a background region if the first determining determines that the motion information of the at least one second pixel is less than the first threshold; and fourth determining that at least one third pixel of the plurality of pixels belongs to an unknown region, if the first determining determines that the motion information of the at least one third pixel is greater than or equal to the first threshold and the second determining determines that at least one in the adjacent region of the at least one third pixel does not belong to the rough foreground region. 3. The method for separating a foreground image according to claim 2 , wherein the separating the foreground image from the generated three-color image includes: calculating color information, depth gradient information and depth change information of each of the at least one third pixel in the unknown region; determining, based on the corresponding color information, the corresponding depth gradient information and the corresponding depth change information, whether each of the at least one third pixel belongs to the foreground region; and acquiring, based on a determination result, the foreground image. 4. The method for separating a foreground image according to claim 3 , wherein the separating the foreground region from the generated three-color image includes: constructing a cost function of an α value for separating the foreground image; for each of the at least one third pixel in the unknown region, minimizing the corresponding cost function, and calculating the α value of each of the at least one third pixel by using the corresponding color information, the corresponding depth gradient information and the corresponding depth change information; and determining that one or more of the at least one third pixel belongs to the foreground region when the α value the one or more of the at least one third pixel is greater than or equal to a second threshold, and determining that the one or more of the at least one third pixel does not belong to the foreground region when the α value the one or more of the at least one third pixel is less than the second threshold. 5. The method for separating a foreground image according to claim 4 , further comprising: for each of the at least one third pixel in the unknown region, calculating a normalized weight of the color information, the depth gradient information and the depth change information of at least one pixel in a region of n×n pixels adjacent to each of the at least one third pixel, wherein the calculating calculates the α value by using a weighted value of the corresponding color information, a weighted value of the corresponding depth gradient information and a weighted value of the corresponding depth change information. 6. The method for separating a foreground image according to claim 1 , wherein the roughly dividing the input image to obtain the rough foreground region based on the depth information of the input image includes: detecting, based on the depth information of the input image, a head-and-shoulders part of a person as the rough foreground region from the input image according to an Ω-shape feature; and for each pixel other than the head-and-shoulders part in the input image, determining whether the pixel belongs to the rough foreground region by comparing depth value of the pixel and depth value of the detected head-and-shoulders part, determining the pixel belongs to the rough foreground region when a difference between the depth value of the pixel and the depth value of the head-and-shoulders part is less than or equal to a third threshold, and determining that the pixel does not belong to the rough foreground region when the difference between the depth value of the pixel and the depth value of the head-and-shoulders part is greater than the third threshold. 7. The method for separating a foreground image according to claim 1 , wherein the motion information is optical flow information. 8. An apparatus for separating a foreground image, the apparatus comprising: a memory having computer-readable instructions stored therein; and a processor configured to execute the computer-readable instructions to obtain an input image and depth information of the input image, roughly divide, based on the depth information of the input image, the input image to obtain a rough foreground region, generate a three-color image from the input image based on the rough foreground region based and motion information of the input image, first determine a relationship between the motion information of a plurality of pixels in the three-color image and a first threshold value, second determine whether all pixels in an adjacent region of each of the plurality of pixels belong to the rough foreground region, and separate the foreground image from the generated three-color image by identifying at least one first pixel of the plurality of pixels as part of the foreground image if the first determining determines that the motion information of the at least one first pixel is greater than or equal to the threshold and the second determining determines that all pixels in the adjacent region of the at least one first pixel belong to the rough foreground region. 9. The apparatus for separating a foreground image according to claim 8 , wherein the processor is configured to execute the computer-readable instructions to, generate the three-color image by obtaining images of m continuous frames immediately before the input image and calculating the motion information of each pixel from the images of the m continuous frames, third determine that at least one second pixel of the plurality of pixels belongs to a background region if the first determining determines that the motion information of the at least one second pixel is less than the first threshold; and fourth determine that at least one third pixel of the plurality of pixels belongs to an unknown region, if the first determining determines that the motion information of the at least one third pixel is greater than or equal to the first threshold and the seco

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9600898B2 cover?
A method and an apparatus for separating a foreground image are disclosed. The method includes obtaining an input image and depth information of the input image; roughly dividing the input image to obtain a rough foreground region based on the depth information of the input image; obtaining motion information of the input image, and generating a three-color image from the rough foreground regio…
Who is the assignee on this patent?
Liu Liyan, Zhao Ying, Ricoh Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06T7/2006. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 21 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).