Method of parameterizing a threshold curve for a binarization program and an apparatus therefor
AssigneeNCR Corporation
InventorsSlawomir B. Wesolkowski, Cameron W. Woloshyn, Khaled S. Hassanein
Life of this patent
Estimating the term…
Loading patent…
AssigneeNCR Corporation
InventorsSlawomir B. Wesolkowski, Cameron W. Woloshyn, Khaled S. Hassanein
Estimating the term…
A method of processing a document comprises the steps of (a) scanning a document to obtain gray scale image data associated with the document, (b) generating a two-dimensional histogram based upon the gray scale image data obtained in step (a), (c) applying a clustering algorithm to the two-dimensional histogram to determine a set of cluster center parameters associated with a first cluster of pixels and a set of cluster center parameters associated with a second cluster of pixels, (d) parameterizing a threshold curve associated with a binarization program based upon the set of cluster center parameters associated with the first cluster of pixels and the set of cluster center parameters associated with cluster of pixels, and (e) applying the binarization program to the gray scale image data associated with the document using the parameterized threshold curve obtained in step (d) to provide a binarized image data representative of a binary image of the document. Preferably, step (d) includes the steps of (d-1) calculating an average value associated with the first and second clusters of pixels, and (d-2) parameterizing at least a portion of the threshold curve based upon the average value calculated in step (d-1). The clustering algorithm includes a k-means clustering algorithm. The one cluster of pixels is representative of background of the document and the other cluster of pixels is representative of foreground of the document. One cluster of pixels is located above the other cluster of pixels. The above cluster of pixels is representative of background of the document and the other cluster of pixels is representative of foreground of the document.
A method of processing a document, the method comprising the steps of:
An apparatus for processing document, the apparatus comprising:
Dependencies are inferred from the claim text.