# US 2009/0257658 A1 · Image extracting apparatus, image extracting method and computer readable medium

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

- Number: US 2009/0257658 A1
- Document ID: US20090257658A1
- Status: Published application
- Kind: A1
- Application number: 12/265,214
- Filed: 2008-11-05
- Published: 2009-10-15
- Earliest claimed: 2008-04-09
- Assignees: Fuji Xerox Co., Ltd.
- Inventors: Masakazu FUKUNAGA
- Web page: https://patentgrep.com/patent/US20090257658A1

## CPC

- H04N 1/3873: {defined only by a limited number of coordinate points or parameters, e.g. corners, centre; for trimming}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image extracting method includes: acquiring a scan image; generating a binary image of the acquired scan image and detects connected pixels in the generated binary image; setting up a circumscribed rectangle for the detected connected pixels; performing, in each side of a circumscribed rectangle, scan in a direction perpendicular to the side so as to detect edge pixels, wherein the scan starts at a plurality of points on a line, and the line extends to one vertex of the side, from a contacting point at which the connected pixels and the side contact; determining whether the detected edge pixels are located in a contour part of the object reproduced in the scan image; setting up a rectangular region based on the edge pixels determined as being located in the contour part of the object; and extracting an image from the set-up rectangular region.

## Claims

### Claim 1

An image extracting apparatus comprising:
an image acquiring section that acquires a scan image obtained by scanning an object;
a detecting section that generates a binary image of the acquired scan image and detects connected pixels in the generated binary image;
a circumscribed rectangle setting section that sets up a circumscribed rectangle for the connected pixels detected by the detecting section;
an edge pixel detecting section that, in each side of a circumscribed rectangle, performs scan in a direction perpendicular to the side so as to detect edge pixels, wherein the scan starts at a plurality of points on a line, and the line extends to one vertex of the side, from a contacting point at which the connected pixels and the side contact;
a determining section that determines whether the edge pixels detected by the edge pixel detecting section are located in a contour part of the object reproduced in the scan image;
a rectangular region setting section that sets up a rectangular region based on the edge pixels determined as being located in the contour part of the object; and
an image extracting section that extracts an image from the rectangular region set up by the rectangular region setting section.

### Claim 2 (depends on 1)

The image extracting apparatus according to claim 1,
wherein the determining section determines that, among the detected edge pixels, an edge pixel at a position exceeding a diagonal line of the circumscribed rectangle are not located in the contour part of the object.

### Claim 3 (depends on 1)

The image extracting apparatus according to claim 1,
wherein the determining section determines that, among the detected edge pixels, an edge pixel whose distance to an adjacent edge pixel is greater than a threshold value is not located in the contour part of the object.

### Claim 4 (depends on 1)

The image extracting apparatus according to claim 1,
wherein the determining section determines that edge pixels in which distances of the detected edge pixels from the side decrease with approaching to the one vertex from the contacting point are not located in the contour part of the object.

### Claim 5 (depends on 1)

The image extracting apparatus according to claim 1,
wherein the one vertex is more distant from the contacting point among vertices of the side.

### Claim 6 (depends on 1)

The image extracting apparatus according to claim 1, further comprising:
a inclination calculating section that, based on position coordinates of the edge pixels as being the pixels located in the contour part of the object, calculates inclinations of at least three or more line segments constituted by the edge pixels as being the pixels located in the contour part of the object,
wherein the rectangular region setting section sets up the rectangular region based on conformity in the calculated inclinations of the line segments.

### Claim 7 (depends on 1)

The image extracting apparatus according to claim 1, further comprising:
another inclination calculating section that detects an inclination between the detected connected pixels and the circumscribed rectangle,
wherein, when the detected inclination is greater than a predetermined value, processing is executed by the edge pixel detecting section, the determining section, and rectangular region setting section.

### Claim 8 (depends on 1)

The image extracting apparatus according to claim 1,
wherein the object is a rectangular document image.

### Claim 9

An image extracting method comprising:
acquiring a scan image obtained by scanning an object;
generating a binary image of the acquired scan image and detects connected pixels in the generated binary image;
setting up a circumscribed rectangle for the detected connected pixels;
performing, in each side of a circumscribed rectangle, scan in a direction perpendicular to the side so as to detect edge pixels, wherein the scan starts at a plurality of points on a line, and the line extends to one vertex of the side, from a contacting point at which the connected pixels and the side contact;
determining whether the detected edge pixels are located in a contour part of the object reproduced in the scan image;
setting up a rectangular region based on the edge pixels determined as being located in the contour part of the object; and
extracting an image from the set-up rectangular region.

### Claim 10

A computer readable medium storing a program causing a computer to execute a process for extracting images, the process comprising:
acquiring a scan image obtained by scanning an object;
generating a binary image of the acquired scan image and detects connected pixels in the generated binary image;
setting up a circumscribed rectangle for the detected connected pixels;
performing, in each side of a circumscribed rectangle, scan in a direction perpendicular to the side so as to detect edge pixels, wherein the scan starts at a plurality of points on a line, and the line extends to one vertex of the side, from a contacting point at which the connected pixels and the side contact;
determining whether the detected edge pixels are located in a contour part of the object reproduced in the scan image;
setting up a rectangular region based on the edge pixels determined as being located in the contour part of the object; and
extracting an image from the rectangular region set up.
