# US 2013/0259401 A1 · Image processing apparatus, method, and program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0259401 A1
- Document ID: US20130259401A1
- Status: Published application
- Kind: A1
- Application number: 13/783,995
- Filed: 2013-03-04
- Published: 2013-10-03
- Earliest claimed: 2012-03-28
- Assignees: Sony Corporation
- Applicants: Sony Corporation
- Inventors: Mitsuharu Ohki; Hideshi Yamada; Kenichi Sano
- Web page: https://patentgrep.com/patent/US20130259401A1

## CPC

- G06T 11/60: Creating or editing images; Combining images with text
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

There is provided an image processing apparatus that combines a first photographed image including a first foreground object and a background with a second photographed image including a second foreground object and the background, and generates an output image including the first foreground object, the second foreground object, and the background, the image processing apparatus including a seam candidate region determining unit that determines a seam candidate region obtained by removing regions of the first foreground object and the second foreground object from the first photographed image or the second photographed image, a seam determining unit that determines a seam which passes through a top edge and a bottom edge of the seam candidate region and divides the seam candidate region, and a combining unit that combines the first photographed image and the second photographed image at the seam to generate the output image.

## Claims

### Claim 1

An image processing apparatus that combines a first photographed image including a first foreground object and a background with a second photographed image including a second foreground object and the background, and generates an output image including the first foreground object, the second foreground object, and the background, the image processing apparatus comprising:
a seam candidate region determining unit that determines a seam candidate region obtained by removing regions of the first foreground object and the second foreground object from the first photographed image or the second photographed image;
a seam determining unit that determines a seam which passes through a top edge and a bottom edge of the seam candidate region and divides the seam candidate region; and
a combining unit that combines the first photographed image and the second photographed image at the seam to generate the output image.

### Claim 2 (depends on 1)

The image processing apparatus according to claim 1,
wherein the seam candidate region determining unit includes
a foreground region determining unit that detects, as a foreground region, the region of the first foreground object or the second foreground object in the first photographed image or the second photographed image,
a foreground difference calculator that calculates a difference between the foreground region in the image of one of either the first photographed image or the second photographed image, and the region in the other image corresponding to the foreground region,
a threshold value determining unit that determines a threshold value on the basis of the difference calculated by the foreground difference calculator,
a background difference calculator that calculates a difference between the first photographed image and the second photographed image in a region excluding the foreground region, and
a threshold value processor that determines the seam candidate region on the basis of the difference calculated by the background difference calculator and the threshold value.

### Claim 3 (depends on 2)

The image processing apparatus according to claim 2,
wherein the threshold value processor sets, as the seam candidate region, a region obtained by subtracting a region where the difference is equal to or greater than the threshold value from the region whose difference has been calculated by the background difference calculator.

### Claim 4 (depends on 1)

The image processing apparatus according to claim 1,
wherein the seam candidate region determining unit further includes a center-penetrating region determining unit that determines, as a center-penetrating region, a region in the first photographed image or the second photographed image which differs from the seam candidate region, and which is positioned between the first foreground object and the second foreground object;
wherein, in a case where the seam that passes through only the seam candidate region is not obtained, the seam determining unit determines the seam under condition that the seam is allowed to pass through the center-penetrating region.

### Claim 5 (depends on 4)

The image processing apparatus according to claim 4,
wherein the seam determining unit performs a region erosion process on a region in the first photographed image or the second photographed image that differ from the seam candidate region and the center-penetrating region, and in a case where a seam that passes through only the seam candidate region is not obtained, the seam determining unit determines the seam under condition that the seam is allowed to pass through the region eroded by the region erosion process.

### Claim 6

An image processing method that combines a first photographed image including a first foreground object and a background with a second photographed image including a second foreground object and the background, and generates an output image including the first foreground object, the second foreground object, and the background, the image processing method comprising:
determining a seam candidate region obtained by removing regions of the first foreground object and the second foreground object from the first photographed image or the second photographed image;
determining a seam which passes through a top edge and a bottom edge of the seam candidate region and divides the seam candidate region; and
combining the first photographed image and the second photographed image at the seam to generate the output image.

### Claim 7

An image processing program that combines a first photographed image including a first foreground object and a background with a second photographed image including a second foreground object and the background, and generates an output image including the first foreground object, the second foreground object, and the background, the image processing program causing a computer to execute the processes of:
determining a seam candidate region obtained by removing regions of the first foreground object and the second foreground object from the first photographed image or the second photographed image;
determining a seam which passes through a top edge and a bottom edge of the seam candidate region and divides the seam candidate region; and
combining the first photographed image and the second photographed image at the seam to generate the output image.
