Selective document image data compression technique
First Claim
1. A method of storing documentary information, the documentary information comprising background information and user-recorded information in a digitized image array comprising a plurality of pixels each having a color value, comprising:
- extracting the user information from the background information;
converting the user information to a two-color format;
compressing the user information;
wherein the extracting includes enhancing the contrast of the pixels by performing a gamma correction on the array;
enhancing the color value of each of said pixels;
identifying pixels of said image array being edge pixels lying on edges of said image;
converting pixels at an edge to a black color value and an adjacent pixel to a white color value, respectively;
determining a distance between each black pixel in the array from other black pixels in the array, and converting each of two pixels that exceed a given separation distance between themselves to a white color value;
creating a filled edge array of pixels each corresponding to a respective pixel in said image array.
4 Assignments
0 Petitions
Accused Products
Abstract
A method of storing information from filled-in form-documents comprises extracting the unique user information in the foreground from the document form information in the background. The contrast of the pixels is enhanced by a gamma correction on an image array, and then the color value of each of pixel is enhanced. The color pixels lying on edges of an image are converted to black and an adjacent pixel is converted to white. The distance between black pixels and other pixels in the array is determined, and a filled-edge array of pixels is created. User information is then converted to a two-color format by creating a first two-color image of the scanned image by converting all pixels darker than a threshold color value to black. All the pixels that are lighter than the threshold color value to white. Then a second two-color image of the filled-edge file is generated by converting all pixels darker than a second threshold value to black and all pixels lighter than the second threshold color value to white. The first two-color image and the second two-color image are then combined and filtered to smooth the edges of the image. The image may be compressed with a unique Huffman coding table for that image. The image file is also decimated to create a decimated-image file which can later be interpolated back to produce a reconstructed image file using a bilinear interpolation kernel.--(235 words)
188 Citations
22 Claims
-
1. A method of storing documentary information, the documentary information comprising background information and user-recorded information in a digitized image array comprising a plurality of pixels each having a color value, comprising:
-
extracting the user information from the background information; converting the user information to a two-color format; compressing the user information; wherein the extracting includes enhancing the contrast of the pixels by performing a gamma correction on the array; enhancing the color value of each of said pixels; identifying pixels of said image array being edge pixels lying on edges of said image; converting pixels at an edge to a black color value and an adjacent pixel to a white color value, respectively; determining a distance between each black pixel in the array from other black pixels in the array, and converting each of two pixels that exceed a given separation distance between themselves to a white color value; creating a filled edge array of pixels each corresponding to a respective pixel in said image array. - View Dependent Claims (2, 3)
-
-
4. A method for processing an image represented by an image array of pixels, each pixel having a color value and a position, comprising the steps of:
-
enhancing contrast of the pixels by performing a gamma correction on each pixel in the array; enhancing the color value of each of said pixels by iteratively solving for a new color value based on the position of the pixel in the array; identifying pixels of said image array being edge pixels lying on edges of said image; converting sets of adjacent edge pixels to a black color value and a white color value, respectively; determining a distance between each black pixel in the array and neighboring pixels of any color in the array, and, if there are no nearby pixels within a window of directions, converting said black pixels to white ones; creating a filled edge array of pixels each corresponding to a respective pixel in said image array; creating a two-color image of the filled edge array by converting all pixels darker than a first threshold color value to black and all pixels lighter than the threshold color value to white; creating a two-color image of the scanned image array by converting all pixels darker than a second threshold color value to black and all pixels lighter than the second threshold color value to white; comparing the two-color image of the scanned image array with the two-color image of the filled edge array to create a combined image; filtering the combined image to smooth the edges of the image; and compressing the filtered, combined image.
-
-
5. A method, comprising the steps of:
-
providing an image array of pixels to be compressed; performing a gamma correction on the color value for each pixel in the array; enhancing a color value for each pixel in the array; identifying pixels of said image array being edge pixels lying on edges of said image; performing a two-color reduction on the edge pixels; performing a line length correction on all black pixels in the array; creating a filled edge array of pixels each corresponding to a respective pixel in the image array representing said subject image; creating a two-color image of the filled edge array by converting all pixels darker than a first threshold color value to black and all pixels lighter than the threshold color value to white; creating a two-color image of the scanned image array by converting all pixels darker than a second threshold color value to black and all pixels lighter than the threshold color value to white; comparing the two-color image of the scanned image array with the two-color image of the filled edge array to create a combined image; filtering the combined image to smooth the edges of the image; and compressing the filtered, combined image to form a compressed image file. - View Dependent Claims (6, 7, 8)
-
-
9. A method of storing documentary information, the documentary information comprising background information and user-recorded information in a digitized image array comprising a plurality of pixels each having a color value, comprising:
-
extracting the user information from the background information; converting the user information to a two-color format; compressing the user information; wherein the extracting includes enhancing contrast of the pixels by performing a gamma correction or some similar intensity remapping on each pixel in the array; enhancing the color value of each of said pixels by iteratively solving for a new color value based on the position of the pixel in the array; identifying pixels of said image array being edge pixels lying on edges of said image; converting each edge pixel to a black color value and an adjacent pixel to a white color value; determining a distance between each black pixel in the array and neighboring pixels of any color in a number of directions in the array, and, if there are no nearby pixels within a set of directions, converting said black pixels to white ones; and creating a filled edge array of pixels each corresponding to a respective pixel in said image array. - View Dependent Claims (10, 11, 12)
-
-
13. An apparatus for compressing an image file, comprising:
-
means for decimating the image file to create a decimated image file (I), the image file comprisig a plurality of image pixels having a dimension n1*n2, the means decimating the image file in each dimension by factors of p1 and p2, the decimated image file having dimensions m1*m2; and means for interpolating the decimated image file to produce a reconstructed image file (Ires), the means for interpolating using a bilinear interpolation kernel; wherein the bilinear interpolation kernel is defined as;
##EQU22## - View Dependent Claims (14, 15)
-
-
16. A method of storing documentary information, the documentary information comprising background information and user-recorded information in a digitized image array comprising a plurality of pixels each having a color value, comprising:
-
extracting the user information from the background information; converting the user information to a two-color format to create an image file; compressing the user information by decimating the image array to create a decimated image file, the image array having a dimension n1*n2 and being decimated in each dimension by factors of p1 and p2, the decimated image file having dimensions m1*m2; and interpolating the decimated image file to produce a reconstructed image file, the means for interpolating using a bilinear interpolation kernel. - View Dependent Claims (17)
-
-
18. An apparatus for storing documentary information contained in an image file, the image file comprising a digitized image array containing user information and background information, comprising:
compression means for compressing the image file, including means for extracting the user information from the background information by enhancing contrast of the pixels by performing a gamma correction on each pixel in the array, enhancing the color value of each of said pixels by iteratively solving for a new color value based on the position of the pixel in the array, identifying pixels of said image array being edge pixels lying on edges of said image; converting each edge pixels to a black color value and an adjacent pixel to a white color value; determining a distance between each black pixel in the array and neighboring pixels in the array; creating a filled edge array of pixels each corresponding to a respective pixel in said image array; creating a two-color image of the filled edge array by converting all pixels darker than a first threshold color value to black and all pixels lighter than the threshold color value to white; creating a two-color image of the scanned image array by converting all pixels darker than a second threshold color value to black and all pixels lighter than the second threshold color value to white; and comparing the two-color image of the scanned image array with the two-color image of the filled edge array to create a combined image; and means for compressing the user information and decompressing the user information, comprising means for decimating the image file to create a decimated image file (J), the image file comprising a plurality of image pixels having a dimension n1*n2, the means decimating the image file in each dimension by factors of p1 and p2, the decimated image file, the decimated image file having dimensions m1*m2; and means for interpolating the decimated image file to produce a reconstructed image file (Ires), the means for interpolating using a bilinear interpolation kernel.
-
19. An apparatus for processing an image-pixel array, comprising:
-
a first processor, the first processor enhancing contrast of the pixels by performing a gamma correction on each pixel in the array; and enhancing the color value of each of said pixels by iteratively solving for a new color value based on the position of the pixel in the array; a data bus coupled to the first processor; a second processor, coupled to the data bus and the first processor, the second processor identifying pixels of said image array being edge pixels lying on edges of said image; converting each edge pixels to a black color value and an adjacent pixel to a white color value; determining a distance between each black pixel in the array and neighboring pixels in the array; creating a filled-edge array of pixels each corresponding to a respective pixel in said image array; creating a two-color image of the filled-edge array by converting all pixels darker than a first threshold color value to black and all pixels lighter than the threshold color value to white; creating a two-color image of the scanned image array by converting all pixels darker than a second threshold color value to black and all pixels lighter than the second threshold color value to white; and comparing the two-color image of the scanned image array with the two-color image of the filled-edge array to create a combined image file.
-
-
20. An method for compressing an image file, comprising:
-
decimating the image file to create a decimated image file (J), the image file comprising a plurality of image pixels having a dimension n1*n2 such that the image file is decimated in each dimension by factors of p1 and p2, the decimated image file having dimensions m1*m2; and interpolating the decimated image file to produce a reconstructed image file (Ires) using a bilinear interpolation kernel defined as;
##EQU24## - View Dependent Claims (21, 22)
-
Specification