# US 2016/0253571 A1 · Methods and Systems for Suppressing Non-Document-Boundary Contours in an Image

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

- Number: US 2016/0253571 A1
- Document ID: US20160253571A1
- Status: Published application
- Kind: A1
- Application number: 14/634,509
- Filed: 2015-02-27
- Published: 2016-09-01
- Earliest claimed: 2015-02-27
- Assignees: Sharp Laboratories of America, Inc.
- Applicants: Sharp Laboratories of America, Inc.
- Inventors: Richard John Campbell
- Web page: https://patentgrep.com/patent/US20160253571A1

## CPC

- G06V 30/414: Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
- G06T 5/40: using histogram techniques
- G06T 5/70: Denoising; Smoothing
- G06V 10/24: Aligning, centring, orientation detection or correction of the image
- G06T 2207/10004: Still image; Photographic image
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Aspects of the present invention are related to systems, methods and apparatus for boundary detection, in an image, by suppression of contours resulting from background textures and text in the image.

## Claims

### Claim 1

A method for generating a plurality of candidate boundary contours from a document image, said method comprising:
preprocessing a document image to form a medium-scale luminance image and a low-scale luminance image;
extracting a plurality of corner features from said medium-scale luminance image;
extracting a plurality of edge features from said low-scale luminance image;
determining a plurality of vanishing points;
detecting one or more text regions in a corner-feature image associated with said plurality of corner features;
generating an initial plurality of candidate boundary contours in an edge-map image associated with said plurality of edge features; and
filtering said initial plurality of candidate boundary contours using said one or more text regions.

### Claim 2 (depends on 1)

A method as described in claim 1, wherein said preprocessing said document image to form said medium-scale luminance image comprises:
applying a smoothing filter to an 8-bit grayscale image associated with said document image; and
re-sampling said smoothed 8-bit grayscale image to a medium resolution thereby producing a medium-scale luminance image of lower resolution than said 8-bit grayscale image.

### Claim 3 (depends on 1)

A method as described in claim 1, wherein said preprocessing said document image to form said low-scale luminance image comprises:
applying a smoothing filter to an 8-bit grayscale image associated with said document image;
re-sampling said smoothed 8-bit grayscale image to a medium resolution thereby producing a medium-scale luminance image of lower resolution than said 8-bit grayscale image;
applying a uniform-blur filter to said medium-scale luminance image; and
re-sampling said uniformly-blurred medium-scale image to a low resolution thereby producing a low-scale luminance image of lower resolution than said medium-scale luminance image.

### Claim 4 (depends on 1)

A method as described in claim 1, wherein said preprocessing said document image to form said medium-scale luminance image and said low-scale luminance image comprises converting said document image to an 8-bit grayscale image.

### Claim 5 (depends on 1)

A method as described in claim 1, wherein said determining a plurality of vanishing points comprises:
generating a binary edge mask by filtering said edge-map image to form text blocks; and
using said binary edge mask to determine said plurality of vanishing points.

### Claim 6 (depends on 1)

A method as described in claim 1, wherein said detecting one or more text regions in said corner-feature image comprises:
identifying a document spine in said edge-map image;
identifying a first vanishing point, wherein said first vanishing point is intersected by said document spine;
projecting said extracted corner features into a polar coordinate system;
forming a first one-dimensional projection histogram corresponding to a first direction in a projected corner-feature image generated from said extracted corner features projected into said polar coordinate system;
forming a second one-dimension projection histogram corresponding to a second direction in said projected corner-feature image generated from said extracted corner features projected into said polar coordinate system;
identifying a first plurality of continuous regions in said first one-dimensional projection histogram;
identifying a second plurality of continuous regions in said second one-dimensional projection histogram;
pruning said first plurality of continuous regions;
pruning said second plurality of continuous regions;
determining a vertical extent of text using said pruned first plurality of continuous regions;
identifying one or more likely text blocks using said vertical extent of text and said second plurality of continuous regions; and
performing an inverse projection from said polar coordinate system of said one or more likely text blocks.

### Claim 7 (depends on 1)

A method as described in claim 1, wherein said filtering said initial plurality of candidate boundary contours comprises generating a first plurality of candidate boundary contours by removing any candidate boundary contour in said initial plurality of candidate boundary contours with a length less than a length threshold.

### Claim 8 (depends on 1)

A method as described in claim 1, wherein said filtering said initial plurality of candidate boundary contours comprises generating a first plurality of candidate boundary contours by removing any candidate boundary contour in said initial plurality of candidate boundary contours that lies entirely within said one or more text blocks.

### Claim 9 (depends on 1)

A method as described in claim 1, wherein said filtering said initial plurality of candidate boundary contours comprises:
identifying a critical point in a first candidate boundary contour in said initial plurality of candidate boundary contours; and
splitting said first candidate boundary contour at said critical point into a second candidate boundary contour and a third candidate boundary contour.

### Claim 10 (depends on 9)

A method as described in claim 9, wherein said filtering said initial plurality of candidate boundary contours further comprises generating a first plurality of candidate boundary contours comprising said second candidate boundary contour when said second candidate boundary contour is greater in length than a length threshold and said third candidate boundary contour when said third candidate boundary contour is greater in length than said length threshold.

### Claim 11

A non-transitory computer-readable medium encoded with a computer program code for causing a processor to execute a method for generating a plurality of candidate boundary contours from a document image, said method comprising:
preprocessing a document image to form a medium-scale luminance image and a low-scale luminance image;
extracting a plurality of corner features from said medium-scale luminance image;
extracting a plurality of edge features from said low-scale luminance image;
determining a plurality of vanishing points;
detecting one or more text regions in a corner-feature image associated with said plurality of corner features;
generating an initial plurality of candidate boundary contours in an edge-map image associated with said plurality of edge features; and
filtering said initial plurality of candidate boundary contours using said one or more text regions.

### Claim 12 (depends on 11)

A non-transitory computer-readable medium as described in claim 11, wherein, in said method, said preprocessing said document image to form said medium-scale luminance image comprises:
applying a smoothing filter to an 8-bit grayscale image associated with said document image; and
re-sampling said smoothed 8-bit grayscale image to a medium resolution thereby producing a medium-scale luminance image of lower resolution than said 8-bit grayscale image.

### Claim 13 (depends on 11)

A non-transitory computer-readable medium as described in claim 11, wherein, in said method, said preprocessing said document image to form said low-scale luminance image comprises:
applying a smoothing filter to an 8-bit grayscale image associated with said document image;
re-sampling said smoothed 8-bit grayscale image to a medium resolution thereby producing a medium-scale luminance image of lower resolution than said 8-bit grayscale image;
applying a uniform-blur filter to said medium-scale luminance image; and
re-sampling said uniformly-blurred medium-scale image to a low resolution thereby producing a low-scale luminance image of lower resolution than said medium-scale luminance image.

### Claim 14 (depends on 11)

A non-transitory computer-readable medium as described in claim 11, wherein, in said method, said preprocessing said document image to form said medium-scale luminance image and said low-scale luminance image comprises converting said document image to an 8-bit grayscale image.

### Claim 15 (depends on 11)

A non-transitory computer-readable medium as described in claim 11, wherein, in said method, said determining a plurality of vanishing points comprises:
generating a binary edge mask by filtering said edge-map image to form text blocks; and
using said binary edge mask to determine said plurality of vanishing points.

### Claim 16 (depends on 11)

A non-transitory computer-readable medium as described in claim 11, wherein, in said method, said detecting one or more text regions in said corner-feature image comprises:
identifying a document spine in said edge-map image;
identifying a first vanishing point, wherein said first vanishing point is intersected by said document spine;
projecting said extracted corner features into a polar coordinate system;
forming a first one-dimensional projection histogram corresponding to a first direction in a projected corner-feature image generated from said extracted corner features projected into said polar coordinate system;
forming a second one-dimension projection histogram corresponding to a second direction in said projected corner-feature image generated from said extracted corner features projected into said polar coordinate system;
identifying a first plurality of continuous regions in said first one-dimensional projection histogram;
identifying a second plurality of continuous regions in said second one-dimensional projection histogram;
pruning said first plurality of continuous regions;
pruning said second plurality of continuous regions;
determining a vertical extent of text using said pruned first plurality of continuous regions;
identifying one or more likely text blocks using said vertical extent of text and said second plurality of continuous regions; and
performing an inverse projection from said polar coordinate system of said one or more likely text blocks.

### Claim 17 (depends on 11)

A non-transitory computer-readable medium as described in claim 11, wherein, in said method, said filtering said initial plurality of candidate boundary contours comprises generating a first plurality of candidate boundary contours by removing any candidate boundary contour in said initial plurality of candidate boundary contours with a length less than a length threshold.

### Claim 18 (depends on 11)

A non-transitory computer-readable medium as described in claim 11, wherein, in said method, said filtering said initial plurality of candidate boundary contours comprises generating a first plurality of candidate boundary contours by removing any candidate boundary contour in said initial plurality of candidate boundary contours that lies entirely within said one or more text blocks.

### Claim 19 (depends on 11)

A non-transitory computer-readable medium as described in claim 11, wherein, in said method, said filtering said initial plurality of candidate boundary contours comprises:
identifying a critical point in a first candidate boundary contour in said initial plurality of candidate boundary contours; and
splitting said first candidate boundary contour at said critical point into a second candidate boundary contour and a third candidate boundary contour.

### Claim 20 (depends on 19)

A non-transitory computer-readable medium as described in claim 19, wherein, in said method, said filtering said initial plurality of candidate boundary contours further comprises generating a first plurality of candidate boundary contours comprising said second candidate boundary contour when said second candidate boundary contour is greater in length than a length threshold and said third candidate boundary contour when said third candidate boundary contour is greater in length than said length threshold.
