Patent US6774387B2 successfully refreshed from Google Patents.
Patent US6005683A successfully refreshed from Google Patents.
← Back to Patent Explorer
US6005683A Expired / Lapsed US ⏱️ 0.0 years remaining

Document edge detection by linear image sensor

Assignee: Hewlett Packard Development Co LP
•
Filing: 1997-12-05
•
Granted: 1999-12-21
•
Expires: 2017-12-05
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A technique for document edge detection in an optical scanning system. The document is placed against an over-sized neutral background. A linear optical sensor array is used to provide successive lines of pixel data representing the luminance of detected pixel areas. Commencing from one end of the line of pixel data, for successive current pixels being tested, a group of n adjacent pixel values is correlated with a successive group of n adjacent pixel values to provide a correlation value for the current pixel. One of the groups is assumed to contain only background pixels, and their luminance is approximated to be equal to the average luminance over the entire background. If the correlation value exceeds a threshold constant, the current pixel is chosen to be an edge in this line of pixels. Data from several lines is processed to find corresponding edges for each line, and the line edges are subjected to a least squares fit to calculate the location of the document edge. The left and right edge of the document can be found using this technique. A histogram of luminance values for each line of pixel data is analyzed to determine whether an edge value is valid.

Inventors

  • 👤 Myungsae Son
  • 👤 John M. Weldon

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-09 11:05
CPC Classifications
H; H04; H04N; H04N1/00; H04N1/00681; H04N1/00742; H04N1/0075; H04N1/00753; G; G06; G06T; G06T7/00; G06T7/10; G06T7/12; H04N1/00684; H04N1/00708; H04N1/0071; H04N1/00729; H04N1/00734; H04N1/00737; G06T2207/00; G06T2207/10; G06T2207/10004; G06T2207/10008; G06T2207/30; G06T2207/30176

Claims Analysis

Total Claims: 28
Claim 1
Independent Claim 206 words
A method for detecting edges of a document, comprising the steps of: positioning the document against a background having a background width dimension larger than a document width dimension, with a portion of the background exposed along opposed edges of the document whose positions are to be detected; illuminating the document with light from a light source; capturing successive lines of pixel data representing luminance of scanned pixels, wherein a first group of pixels represents luminance of an exposed portion of the background and a second group of pixels represents luminance of the document; processing a line of pixel data, by correlating, for successive current pixels, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting a current pixel as a line edge position if the correlation value exceeds the threshold value, and wherein said correlating step employs, for each pixel in a group, a pixel value of (L i -L B ) r , where L i represents a luminance value for the pixel, L B represents a background luminance value, and r is a parameter which affects a sensitivity of the detection.
Claim 2
Independent Claim 206 words
A method for detecting edges of a document, comprising the steps of: positioning the document against a background having a background width dimension larger than a document width dimension, with a portion of the background exposed along opposed edges of the document whose positions are to be detected; illuminating the document with light from a light source; capturing successive lines of pixel data representing luminance of scanned pixels, wherein a first group of pixels represents luminance of an exposed portion of the background and a second group of pixels represents luminance of the document; processing a line of pixel data, by correlating, for successive current pixels, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting a current pixel as a line edge position if the correlation value exceeds the threshold value, and wherein said correlating step employs, for each pixel in a group, a pixel value of (L i -L B ) r , where L i represents a luminance value for the pixel, L B represents a background luminance value, and r is a parameter which affects a sensitivity of the detection.
Claim 3
Dependent Claim 23 words
The method of claim 1 further comprising the step of performing a calibration scan of the background to determine said background luminance value.
Claim 4
Dependent Claim 42 words
The method of claim 2 wherein said step of processing said line of pixel data includes calculating the correlation value S R in accordance with the following formula to detect a left edge: ##EQU4## where p is the current pixel being tested.
Claim 5
Dependent Claim 44 words
The method of claim 2 wherein said step of processing said line of pixel data is to detect a right edge, and includes calculating the correlation value S R in accordance with the following formula: ##EQU5## where p is the current pixel being tested.
Claim 6
Dependent Claim 12 words
The method of claim 1 wherein said background has a neutral coloration.
Claim 7
Dependent Claim 12 words
The method of claim 5 wherein said coloration is a grayish color.
Claim 8
Dependent Claim 57 words
The method of claim 1 wherein the step of processing a line of pixel data is repeated for a successive number of pixel data lines to provide a plurality of line edge locations, and further comprising the step of processing the line edge values for the processing pixel lines to determine the position of the document edge.
Claim 9
Dependent Claim 29 words
The method of claim 7 wherein the step of processing the line edge values includes performing a least squares fitting process to calculate the position of the document edge.
Claim 10
Dependent Claim 43 words
The method of claim 7 further comprising the step of testing the contrast of the first group of pixels to the second group of pixels for each line of pixel data processed, and discarding the line edge value if the contrast is small.
Claim 11
Dependent Claim 18 words
The method of claim 1 further comprising the step of normalizing the pixel data to a reference background.
Claim 12
Independent Claim 342 words
A method for finding left and right edges of a document, comprising the following steps: placing the document against a background having a background width dimension larger than a document width dimension, with a portion of the background exposed along opposed left and right edges of the document whose positions are to be detected; illuminating the document with light from a light source; capturing successive lines of pixel data representing luminance of scanned pixels using a linear sensor array, wherein a first group of pixels represents luminance of a first exposed portion of the background adjacent the left edge of the document, a second group of pixels represents luminance of the document, and a third group of pixels represents a second exposed portion of the background adjacent the right edge of the document; processing a line of pixel data, by correlating, for successive current pixels commencing at a first end of the line corresponding to a left end of the sensor array, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting the current pixel as a line left edge position if the correlation value exceeds the threshold value; and processing said line of pixel data, by correlating, for successive current pixels commencing at a second end of the line corresponding to a right end of the sensor array, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with said predetermined threshold value, and selecting a current pixel as a line right edge position if the correlation value exceeds the threshold value; and wherein said correlating steps employ, for each pixel in a group, a pixel value of (L i -L B ) r , where L i represents a luminance value for the pixel, L B represents a background luminance value, and r is a parameter which affects a sensitivity of the detection.
Claim 13
Independent Claim 342 words
A method for finding left and right edges of a document, comprising the following steps: placing the document against a background having a background width dimension larger than a document width dimension, with a portion of the background exposed along opposed left and right edges of the document whose positions are to be detected; illuminating the document with light from a light source; capturing successive lines of pixel data representing luminance of scanned pixels using a linear sensor array, wherein a first group of pixels represents luminance of a first exposed portion of the background adjacent the left edge of the document, a second group of pixels represents luminance of the document, and a third group of pixels represents a second exposed portion of the background adjacent the right edge of the document; processing a line of pixel data, by correlating, for successive current pixels commencing at a first end of the line corresponding to a left end of the sensor array, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting the current pixel as a line left edge position if the correlation value exceeds the threshold value; and processing said line of pixel data, by correlating, for successive current pixels commencing at a second end of the line corresponding to a right end of the sensor array, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with said predetermined threshold value, and selecting a current pixel as a line right edge position if the correlation value exceeds the threshold value; and wherein said correlating steps employ, for each pixel in a group, a pixel value of (L i -L B ) r , where L i represents a luminance value for the pixel, L B represents a background luminance value, and r is a parameter which affects a sensitivity of the detection.
Claim 14
Dependent Claim 61 words
The method of claim 11 further comprising the steps of storing said line left edge position and said line right edge position, repeating said steps of processing said line of pixel data for successive lines of pixel data, and finding said left and right edges of said document by processing said line left edge values and the line right edge values.
Claim 15
Dependent Claim 32 words
The method of claim 12 wherein the step of processing the line edge values includes performing a least squares fitting process to calculate the position of the document left and right edges.
Claim 16
Independent Claim 240 words
A system for detecting an edge of a document, comprising: an optical sensor array of sensor pixel elements; a light source for generating illumination light; a background surface having a width dimension wider than a corresponding width dimension of the document such that, when the document is placed on the background surface, a portion of the background surface is exposed along the edge of the document whose position is to be detected; an optical apparatus for directing the illumination light onto the background surface and document and directing a light reflected from the background surface and document onto the sensor array; a controller/processor for controlling the light source and processing successive lines of sensor pixel data generated by the sensor array, the controller/processor including an algorithm function for processing a line of pixel data, by correlating, for successive current pixels, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting a current pixel as a line edge position if the correlation value exceeds the threshold value, and wherein said algorithm function employs, for each pixel in a group, a pixel value of (L i -L B ) r , where L i represents a luminance value for the pixel, L B represents a background luminance value, and r is a parameter which affects a sensitivity of the detection.
Claim 17
Independent Claim 240 words
A system for detecting an edge of a document, comprising: an optical sensor array of sensor pixel elements; a light source for generating illumination light; a background surface having a width dimension wider than a corresponding width dimension of the document such that, when the document is placed on the background surface, a portion of the background surface is exposed along the edge of the document whose position is to be detected; an optical apparatus for directing the illumination light onto the background surface and document and directing a light reflected from the background surface and document onto the sensor array; a controller/processor for controlling the light source and processing successive lines of sensor pixel data generated by the sensor array, the controller/processor including an algorithm function for processing a line of pixel data, by correlating, for successive current pixels, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting a current pixel as a line edge position if the correlation value exceeds the threshold value, and wherein said algorithm function employs, for each pixel in a group, a pixel value of (L i -L B ) r , where L i represents a luminance value for the pixel, L B represents a background luminance value, and r is a parameter which affects a sensitivity of the detection.
Claim 18
Dependent Claim 31 words
The system of claim 13 wherein the processor/controller is further adapted to perform a calibration scan of the background and to process resultant sensor signals to determine said background luminance value.
Claim 19
Dependent Claim 36 words
The system of claim 14 wherein said algorithm function includes calculating the correlation value S R in accordance with the following formula to detect a left edge: ##EQU6## where p is the current pixel being tested.
Claim 20
Dependent Claim 36 words
The system of claim 15 wherein said algorithm function includes calculating the correlation value S R in accordance with the following formula to detect a right edge: ##EQU7## where p is the current pixel being tested.
Claim 21
Dependent Claim 13 words
The system of claim 14 wherein said background surface has a neutral coloration.
Claim 22
Dependent Claim 12 words
The system of claim 18 wherein said coloration is a grayish color.
Claim 23
Dependent Claim 60 words
The system of claim 14 wherein the processor/control algorithm function is further adapted to repeat the processing a line of pixel data is repeated for a successive number of pixel data lines to provide a plurality of line edge locations, and to process the line edge values for the processing pixel lines to determine the position of the document edge.
Claim 24
Dependent Claim 31 words
The system of claim 20 wherein the processor/control function is further adapted to perform a least squares fitting process to the line edge values to calculate the position of the edge.
Claim 25
Independent Claim 232 words
A method for detecting edges of a document, comprising the steps of: performing a calibration scan of a background to determine a background luminance value; placing the document against a background having a background width dimension larger than a document width dimension, with a portion of the background exposed along opposed edges of the document whose positions are to be detected; illuminating the document with light from a light source; capturing successive lines of pixel data representing luminance of scanned pixels, wherein a first group of pixels represents luminance of an exposed portion of the background and a second group of pixels represents luminance of the document; processing a line of pixel data, by correlating, for successive current pixels, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting a current pixel as a line edge position if the correlation value exceeds the threshold value, wherein said step of processing said line of pixel data includes calculating, to determine a left edge, the correlation value S R in accordance with the following formula: ##EQU8## where p is the current pixel being tested, L B represents the background luminance value, L i represents the luminance of the ith pixel, and r is a parameter which affects a sensitivity of the detection.
Claim 26
Independent Claim 232 words
A method for detecting edges of a document, comprising the steps of: performing a calibration scan of a background to determine a background luminance value; placing the document against a background having a background width dimension larger than a document width dimension, with a portion of the background exposed along opposed edges of the document whose positions are to be detected; illuminating the document with light from a light source; capturing successive lines of pixel data representing luminance of scanned pixels, wherein a first group of pixels represents luminance of an exposed portion of the background and a second group of pixels represents luminance of the document; processing a line of pixel data, by correlating, for successive current pixels, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting a current pixel as a line edge position if the correlation value exceeds the threshold value, wherein said step of processing said line of pixel data includes calculating, to determine a left edge, the correlation value S R in accordance with the following formula: ##EQU8## where p is the current pixel being tested, L B represents the background luminance value, L i represents the luminance of the ith pixel, and r is a parameter which affects a sensitivity of the detection.
Claim 27
Independent Claim 271 words
A system for detecting an edge of a document, comprising: an optical sensor array of sensor pixel elements; a light source for generating illumination light; a background surface having a width dimension wider than a corresponding width dimension of the document such that, when the document is placed on the background surface, a portion of the background surface is exposed along an edge of the document whose position is to be detected; an optical apparatus for directing the illumination light onto the background surface and document and directing an light reflected from the background surface and document onto the sensor array; a controller/processor for controlling the light source and processing successive lines of sensor pixel data generated by the sensor array, wherein the processor/controller is adapted to perform a calibration scan of the background and to process resultant sensor signals to determine a background luminance value, the controller/processor including an algorithm function for processing a line of pixel data, by correlating, for successive current pixels, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting the current pixel as a line edge position if the correlation value exceeds the threshold value, said algorithm function including calculating the correlation value S R in accordance with the following formula to determine a left edge: ##EQU9## where p is the current pixel being tested, L B represents the background luminance value, L i represents the luminance of the ith pixel, and r is a parameter which affects the sensitivity of the detection.
Claim 28
Independent Claim 271 words
A system for detecting an edge of a document, comprising: an optical sensor array of sensor pixel elements; a light source for generating illumination light; a background surface having a width dimension wider than a corresponding width dimension of the document such that, when the document is placed on the background surface, a portion of the background surface is exposed along an edge of the document whose position is to be detected; an optical apparatus for directing the illumination light onto the background surface and document and directing an light reflected from the background surface and document onto the sensor array; a controller/processor for controlling the light source and processing successive lines of sensor pixel data generated by the sensor array, wherein the processor/controller is adapted to perform a calibration scan of the background and to process resultant sensor signals to determine a background luminance value, the controller/processor including an algorithm function for processing a line of pixel data, by correlating, for successive current pixels, a group of n adjacent pixels with a successive group of n pixels to provide a correlation value S R , comparing the correlation value with a predetermined threshold value, and selecting the current pixel as a line edge position if the correlation value exceeds the threshold value, said algorithm function including calculating the correlation value S R in accordance with the following formula to determine a left edge: ##EQU9## where p is the current pixel being tested, L B represents the background luminance value, L i represents the luminance of the ith pixel, and r is a parameter which affects the sensitivity of the detection.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2002-12-20 2003-06-21 2003-12-21 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2006-12-20 2007-06-21 2007-12-21 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2010-12-20 2011-06-21 2011-12-21 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag