← Back to Patent Explorer
US5276742A Expired / Lapsed US ⏱️ 0.0 years remaining

Rapid detection of page orientation

Assignee: Xerox Corp
•
Filing: 1991-11-19
•
Granted: 1994-01-04
•
Expires: 2011-11-19
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method of apparatus for automatic page orientation of a scanned image which compares the number of character ascending pixels to the number of character descending pixels in the image to determine if the image is properly aligned or is 90° or 180° out of orientation. The method and apparatus includes morphologically processing the bitmap of the scanned image using structuring elements for isolating the character ascenders and descenders. When page orientation is improper, the bitmap image of the scanned image is rotated to correct the misalignment.

Inventors

  • 👤 Lakshmi Dasari
  • 👤 Dan S. Bloomberg

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-09 20:37
CPC Classifications
G; G06; G06V; G06V30/00; G06V30/10; G06V30/14; G06V30/146; G06V30/1463

Claims Analysis

Total Claims: 22
Claim 1
Independent Claim 107 words
A method of orienting an image of a document of unknown orientation for processing, comprising: producing an electronic representation of the image of the document; operating on the electronic representation of the image to locate ascenders and descenders of characters in said image, wherein an ascender is a character portion extending upward from a character row and a descender is a character portion extending downward from the character row; determining the difference between the number of character ascenders and descenders; orienting the electronic representation of the image in a direction based upon the difference between the number of character ascenders and descenders located in said electronic representation.
Claim 2
Independent Claim 107 words
A method of orienting an image of a document of unknown orientation for processing, comprising: producing an electronic representation of the image of the document; operating on the electronic representation of the image to locate ascenders and descenders of characters in said image, wherein an ascender is a character portion extending upward from a character row and a descender is a character portion extending downward from the character row; determining the difference between the number of character ascenders and descenders; orienting the electronic representation of the image in a direction based upon the difference between the number of character ascenders and descenders located in said electronic representation.
Claim 3
Dependent Claim 33 words
The method of claim 1 wherein said step of orienting the image comprises rotating the electronic representation of the document if the number of ascenders is not larger than the number of descenders.
Claim 4
Dependent Claim 24 words
The method of claim 2 further comprising rotating the electronic representation 180° if the number of ascenders is less than the number of descenders.
Claim 5
Dependent Claim 38 words
The method of claim 3 wherein said step of rotating the electronic representation comprises rotating the electronic representation 90° if the number of ascenders is neither greater nor less than the number of descenders by a predetermined amount.
Claim 6
Dependent Claim 36 words
The method of claim 1 wherein said step of producing an electronic representation of the image of the document of unknown orientation comprises producing a bitmap representation of the image of the document of unknown orientation.
Claim 7
Dependent Claim 47 words
The method of claim 1, wherein the step of orienting includes the step of performing data driven processing with a data processing system, the data processing including the steps of: retrieving program instructions from memory; and performing functions by executing the program instructions in a predetermined sequence.
Claim 8
Dependent Claim 42 words
The method of claim 6 further comprising the step of identifying image units in accordance with morphological properties of said image units based on said electronic representation, wherein such image units are used to locate ascenders and descenders in said operating step.
Claim 9
Independent Claim 182 words
A method of orienting an image of a document for processing, comprising: feeding the document into a document scanner to produce an electronic representation of the image of the document; morphologically operating on the image to locate the number of character ascenders in the image of the document, wherein a character ascender is a character portion extending upward from a character row; morphologically operating on the image to locate the number of character descenders in the image of the document, wherein a character descender is a character portion extending downward from the character row; determining the difference between the number of character ascenders and descenders; accepting the image as correct if the difference between the number of character ascenders and the number of character descenders is larger than a predetermined amount, reorienting the image 180° if the difference between the number of character descenders and the number of character ascenders is larger than the predetermined amount, and reorienting the image 90° if the difference between the number of character ascenders and the number of character descenders is less than the predetermined amount.
Claim 10
Independent Claim 182 words
A method of orienting an image of a document for processing, comprising: feeding the document into a document scanner to produce an electronic representation of the image of the document; morphologically operating on the image to locate the number of character ascenders in the image of the document, wherein a character ascender is a character portion extending upward from a character row; morphologically operating on the image to locate the number of character descenders in the image of the document, wherein a character descender is a character portion extending downward from the character row; determining the difference between the number of character ascenders and descenders; accepting the image as correct if the difference between the number of character ascenders and the number of character descenders is larger than a predetermined amount, reorienting the image 180° if the difference between the number of character descenders and the number of character ascenders is larger than the predetermined amount, and reorienting the image 90° if the difference between the number of character ascenders and the number of character descenders is less than the predetermined amount.
Claim 11
Dependent Claim 32 words
The method of claim 8 further comprising reducing the document prior to said steps of morphologically operating on the image to locate character ascenders and descenders in the image of the document.
Claim 12
Dependent Claim 88 words
The method of claim 8 wherein said steps of morphologically operating on the image to locate character ascenders and descenders in the image of the document are performed by performing a morphological dilation operation on the image of the document with a horizontal structuring element, followed respectively by performing a morphological erosion with a structuring element having a set of patterns that provide a match to ascenders, and by performing a morphological erosion with a structuring element having a set of patterns that provide a match to descenders.
Claim 13
Dependent Claim 38 words
The method of claim 8 wherein said steps of morphologically operating on the image to locate character ascenders and descenders in the image of the document comprise performing a morphological closing operation on the image of the document.
Claim 14
Independent Claim 184 words
A method of orienting a scanned image of Roman text comprising the steps of: a. dilating the scanned image with a horizontal structuring element to form a dilated image bitmap; b. eroding the dilated image bitmap with a pattern ascender set of structuring elements, forming a first eroded image bitmap, said pattern ascender set providing ascender pixel integrity, wherein an ascender is a character portion extending upward from the character row; c. counting a number, N a , of "on" pixels in the first eroded image bitmap; d. eroding the dilated image with a pattern descending set of structuring elements, forming a second eroded image bitmap, said pattern descending set providing descender pixel integrity, wherein a descender is a character portion extending downward from the character row; e. counting a number, N d , of "on" pixels in the second eroded image bitmap; f. when ##EQU6## (1) rotating the bitmap 90°, (2) aligning a result bitmap, and (3) repeating step b. through e. on a result bitmap image; g. and when ##EQU7## (1) rotating the bitmap 180° degrees, (2) and aligning the result bitmap.
Claim 15
Independent Claim 184 words
A method of orienting a scanned image of Roman text comprising the steps of: a. dilating the scanned image with a horizontal structuring element to form a dilated image bitmap; b. eroding the dilated image bitmap with a pattern ascender set of structuring elements, forming a first eroded image bitmap, said pattern ascender set providing ascender pixel integrity, wherein an ascender is a character portion extending upward from the character row; c. counting a number, N a , of "on" pixels in the first eroded image bitmap; d. eroding the dilated image with a pattern descending set of structuring elements, forming a second eroded image bitmap, said pattern descending set providing descender pixel integrity, wherein a descender is a character portion extending downward from the character row; e. counting a number, N d , of "on" pixels in the second eroded image bitmap; f. when ##EQU6## (1) rotating the bitmap 90°, (2) aligning a result bitmap, and (3) repeating step b. through e. on a result bitmap image; g. and when ##EQU7## (1) rotating the bitmap 180° degrees, (2) and aligning the result bitmap.
Claim 16
Independent Claim 164 words
A method of orienting a scanned image of Roman text, comprising the steps of: a) morphologically operating on the scanned image to locate a number of ascenders, N a , in the scanned image, wherein an ascender is a character portion extending upward from a character row; b) morphologically operating on the scanned image to locate a number of descenders, N d , in the scanned image, wherein a descender is a character portion extending downward from the character row; c) when an absolute value of N a -N d is greater than an expected value, N e and When N a <N d : rotating a bitmap 180°, and placing the 180° rotated bitmap in memory; and d) when the absolute value of N a -N d is less than the expected value N e : rotating the bitmap 90°, placing the 90° rotated bitmap in memory, creating a new first image, and repeating steps a) through d), using the new first image.
Claim 17
Independent Claim 164 words
A method of orienting a scanned image of Roman text, comprising the steps of: a) morphologically operating on the scanned image to locate a number of ascenders, N a , in the scanned image, wherein an ascender is a character portion extending upward from a character row; b) morphologically operating on the scanned image to locate a number of descenders, N d , in the scanned image, wherein a descender is a character portion extending downward from the character row; c) when an absolute value of N a -N d is greater than an expected value, N e and When N a <N d : rotating a bitmap 180°, and placing the 180° rotated bitmap in memory; and d) when the absolute value of N a -N d is less than the expected value N e : rotating the bitmap 90°, placing the 90° rotated bitmap in memory, creating a new first image, and repeating steps a) through d), using the new first image.
Claim 18
Dependent Claim 133 words
Apparatus for orienting text on a document of unknown orientation, comprising: apparatus for scanning the document to produce an electronic representation of the text on the document; a data processing system for performing data driven processing and which comprises sequential execution processing means for performing functions by executing program instructions in a predetermined sequence contained in a memory means; said program instructions operating said sequential execution processing means to determine the difference between the number of character ascenders and descenders and to orient the electronic representation of the image based upon the difference between the number of character ascenders and descenders in said electronic representation, wherein a character ascender is a character portion extending upward from a character row, and a character descender is a character portion extending downward from the character row.
Claim 19
Dependent Claim 133 words
Apparatus for orienting text on a document of unknown orientation, comprising: apparatus for scanning the document to produce an electronic representation of the text on the document; a data processing system for performing data driven processing and which comprises sequential execution processing means for performing functions by executing program instructions in a predetermined sequence contained in a memory means; said program instructions operating said sequential execution processing means to determine the difference between the number of character ascenders and descenders and to orient the electronic representation of the image based upon the difference between the number of character ascenders and descenders in said electronic representation, wherein a character ascender is a character portion extending upward from a character row, and a character descender is a character portion extending downward from the character row.
Claim 20
Dependent Claim 34 words
The apparatus of claim 14 wherein said apparatus for scanning the document to produce an electronic representation of the text on the document comprises an electrostatographic reproduction machine having means for scanning the document.
Claim 21
Dependent Claim 37 words
The method of claim 14 wherein said program instructions operate said data processing system to rotate the electronic representation by 180° if the number of ascenders is less than the number of descenders by a predetermined amount.
Claim 22
Dependent Claim 42 words
The method of claim 14 wherein said program instructions operate said data processing system to rotate the electronic representation by 90° if difference between the number of ascenders is neither greater nor less than the number of descenders by a predetermined amount.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1997-01-03 1997-07-05 1998-01-04 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2001-01-03 2001-07-05 2002-01-04 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2005-01-03 2005-07-05 2006-01-04 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag