Method and system for automatically detecting a background type of a scanned document utilizing a leadedge histogram thereof
First Claim
1. A method for automatically determining proper background values for a document, comprising the steps of:
- (a) generating a histogram of the document;
(b) determining if a background characteristic of the document is uniform;
(c) setting a white background value equal to a first calculated white peak value when said step (b) determines that a background characteristic of the document is uniform;
(d) setting a white background value equal to a second calculated white peak value when said step (b) determines that a background characteristic of the document is non-uniform;
(e) determining if a foreground value of the document is valid when said step (b) determines that a background characteristic of the document is uniform; and
(f) setting a black background value equal to a black peak value calculated from the histogram when said step (e) determines that a foreground value of the document is valid.
4 Assignments
0 Petitions
Accused Products
Abstract
A method and system automatically determines proper background values for a document. A histogram of the document is generated and it is determined whether a background characteristic of the document is uniform. If the background is uniform, a white background value is set equal to a first calculated white peak value. If the background is non-uniform, the white background value is set equal to a second calculated white peak value. A foreground value of the document is analyzed for validity when it is determined that a background characteristic of the document is uniform. A black background value is set equal to a black peak value calculated from the histogram when it is determined that a foreground value of the document is valid.
-
Citations
18 Claims
-
1. A method for automatically determining proper background values for a document, comprising the steps of:
-
(a) generating a histogram of the document; (b) determining if a background characteristic of the document is uniform; (c) setting a white background value equal to a first calculated white peak value when said step (b) determines that a background characteristic of the document is uniform; (d) setting a white background value equal to a second calculated white peak value when said step (b) determines that a background characteristic of the document is non-uniform; (e) determining if a foreground value of the document is valid when said step (b) determines that a background characteristic of the document is uniform; and (f) setting a black background value equal to a black peak value calculated from the histogram when said step (e) determines that a foreground value of the document is valid. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for automatically determining proper background values for a document, comprising:
-
a histogram circuit to generate a histogram of the document; and a background value generation and detection circuit to determine if a background characteristic of the document is uniform; said background value generation and detection circuit setting a white background value equal to a first calculated white peak value when it is determined that a background characteristic of the document is uniform and setting a white background value equal to a second calculated white peak value when it is determined that a background characteristic of the document is non-uniform; said background value generation and detection circuit determining if a foreground value of the document is valid when it is determined that a background characteristic of the document is uniform; said background value generation and detection circuit setting a black background value equal to a black peak value calculated from the histogram when it is determined that a foreground value of the document is valid. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification