Method and apparatus for automatically fitting an input image to the size of the output document
First Claim
1. A method for automatically fitting an image of an input document onto an output document, comprising the steps of:
- (a) scanning a predetermined portion of the input document;
(b) generating pixels of image data from scanning the predetermined portion of the input document;
(c) generating a background value from the pixels of image data corresponding to the predetermined portion of the input document;
(d) scanning a remaining portion of the input document(e) generating pixels of image data from scanning the remaining portion of the input document;
(f) comparing a reflectance value of the pixels of image data corresponding to the remaining portion of the input document with a predetermined threshold value corresponding to the generated background value;
(g) identifying a pixel of image data as a pixel corresponding to an image when the reflectance value of the pixel of image data is less than the predetermined threshold;
(h) establishing a single image area based the pixels corresponding to the image so as to identify and isolate the image on the input document;
(i) determining a size of the single image area;
(j) determining a size of the output document;
(k) scaling only the single image area to correspond to the size of the output document; and
(l) rendering the scaled image area on the output document.
4 Assignments
0 Petitions
Accused Products
Abstract
In an auto-fitting mode, a scanner prescans an input document to determine the location and size of an image within the input document. The area of the image is defined in terms of a rectangular area encompassing all area of the input document where the reflectance of the image data is less than 20% of the reflectance value of the input documents background. Once the image area has been defined, a magnification factor is calculated. The input document is then rescanned applying the calculated magnification factor and properly registered so that the image area can be centered when it is rendered on to the desired output paper. If the image area detected is such that the longer side of the rectangular area does not have the same orientation as the desired output paper, the image is automatically rotated prior to the magnification and registering processes. The magnification factor can be calculated either anamorphically or isotropically.
-
Citations
6 Claims
-
1. A method for automatically fitting an image of an input document onto an output document, comprising the steps of:
-
(a) scanning a predetermined portion of the input document; (b) generating pixels of image data from scanning the predetermined portion of the input document; (c) generating a background value from the pixels of image data corresponding to the predetermined portion of the input document; (d) scanning a remaining portion of the input document (e) generating pixels of image data from scanning the remaining portion of the input document; (f) comparing a reflectance value of the pixels of image data corresponding to the remaining portion of the input document with a predetermined threshold value corresponding to the generated background value; (g) identifying a pixel of image data as a pixel corresponding to an image when the reflectance value of the pixel of image data is less than the predetermined threshold; (h) establishing a single image area based the pixels corresponding to the image so as to identify and isolate the image on the input document; (i) determining a size of the single image area; (j) determining a size of the output document; (k) scaling only the single image area to correspond to the size of the output document; and (l) rendering the scaled image area on the output document. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification