Black white image scaling for optical character recognition
First Claim
1. A method for scaling a bi-tonal image, comprising:
- responsive to receiving a scanned image, determining a first-scale factor;
processing each line of the image oriented parallel to a first axis by;
determining the pixel position of each pixel transition in the line;
dividing the pixel position by the first-scale factor to determine a corresponding scaled pixel transition; and
if the scaled pixel transition equals the scaled pixel transition of a previously processed pixel transition, adjusting the scaled pixel position of the current pixel transition to prevent the previous pixel transition from being overwritten in the scaled image.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for capturing and scaling images includes a scaling engine with the ability to employ a first scaling factor in a first direction and a second scaling factor in a second direction. In addition, the preferred scaling engine manipulates the scaling process so that the scaling calculations are performed using fixed point arithmetic. The preferred scaling engine preserves isolated features such as a single white pixel in a field of black pixels and vice versa. Improved readability is achieved in one embodiment by performing the scaling process multiple times using different degrees of “padding” where padding refers to the technique of surrounding an image with a perimeter of one or more blank (white) pixel elements.
-
Citations
22 Claims
-
1. A method for scaling a bi-tonal image, comprising:
-
responsive to receiving a scanned image, determining a first-scale factor;
processing each line of the image oriented parallel to a first axis by;
determining the pixel position of each pixel transition in the line;
dividing the pixel position by the first-scale factor to determine a corresponding scaled pixel transition; and
if the scaled pixel transition equals the scaled pixel transition of a previously processed pixel transition, adjusting the scaled pixel position of the current pixel transition to prevent the previous pixel transition from being overwritten in the scaled image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product comprising computer executable instructions, stored on a computer readable medium, for scaling an image, comprising:
-
computer code means for scaling an image in a first direction using a first scaling factor;
computer code means for scaling an image in a second direction according to a second scaling factor;
wherein at least one of a set of image lines in the image includes an isolated pixel and further wherein the code means for scaling the image includes code means for preserving the isolated pixel in the scaled image. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. An image scaling system, comprising:
-
a capture device to scan an original and to produce a bi-tonal image therefrom; and
a scaling engine to scale the bi-tonal image using independent x and y scale factors to produce a scaled image, wherein isolated pixels in the bi-tonal image are preserved in the scaled image. - View Dependent Claims (21, 22)
-
Specification