Automatic typing of raster images using density slicing
First Claim
1. A method for identifying a type of image contained within scanned image data, wherein said scanned image data has a tonal value for each pixel within said scanned image data, said method comprising the steps of:
- (a) density slicing each pixel of said scanned image data to produce binary image data having first and second values, comprising the steps of(a1) density slicing each pixel of said scanned image data using a first predetermined range of density slice values to produce a first set of corresponding binary image values,(a2) density slicing each pixel of said scanned image data using a second predetermined range of density slice values to produce a second set of corresponding binary image values, and(a3) combining said first set of corresponding binary image values with said second set of corresponding binary image values to produce binary image data having said first value or said second value for each pixel;
(b) eroding said binary image data without dilating said binary image data;
(c) counting a number of first values in said binary image data;
(d) when said number of first values counted in step (b) is greater than a predetermined number, identifying said image as a continuous tonal type of image; and
(e) when said number of first values counted in step (b) is less than or equal to said predetermined number, identifying said image as a bi-tonal type of image.
2 Assignments
0 Petitions
Accused Products
Abstract
A system for determining the type of graphical data within a scanned image. The system scans an image to obtain grayscale image data, and then performs a density slice operation on the grayscale image data, using a predetermined grayscale range, to produce binary image data. The system erodes the binary image data, and counts the number of black pixels remaining within the image data. If the count of the black pixels within the image exceeds a maximum acceptable pixel count, the area is considered to be continuous tone, such as a photograph, otherwise, the region is considered to be bi-tonal, such as line art or text. The system can also perform multiple density slices and erosions, using different grayscale ranges, OR the results, and then analyze the result of the OR operation to determine the type of image.
-
Citations
15 Claims
-
1. A method for identifying a type of image contained within scanned image data, wherein said scanned image data has a tonal value for each pixel within said scanned image data, said method comprising the steps of:
-
(a) density slicing each pixel of said scanned image data to produce binary image data having first and second values, comprising the steps of (a1) density slicing each pixel of said scanned image data using a first predetermined range of density slice values to produce a first set of corresponding binary image values, (a2) density slicing each pixel of said scanned image data using a second predetermined range of density slice values to produce a second set of corresponding binary image values, and (a3) combining said first set of corresponding binary image values with said second set of corresponding binary image values to produce binary image data having said first value or said second value for each pixel; (b) eroding said binary image data without dilating said binary image data; (c) counting a number of first values in said binary image data; (d) when said number of first values counted in step (b) is greater than a predetermined number, identifying said image as a continuous tonal type of image; and (e) when said number of first values counted in step (b) is less than or equal to said predetermined number, identifying said image as a bi-tonal type of image. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for determining a type of image contained on a document, said method comprising the steps of:
-
(a) sending a signal to a scanner device to scan said document to obtain scanned image data having a tonal value for each pixel scanned; (b) density slicing each pixel of said scanned image data to produce binary image data having first and second values, comprising the steps of (b1) density slicing each pixel of said scanned image data using a first predetermined range of density slice values to produce a first set of corresponding binary image values, (b2) density slicing each pixel of said scanned image data using a second predetermined range of density slice values to produce a second set of corresponding binary image values, and (b3) combining said first set of corresponding binary image values with said second set of corresponding binary image values to produce binary image data having said first value or said second value for each pixel; (c) eroding said binary image data without dilating said binary image data; (d) counting a number of first values in said binary image data; (e) when said number of first values counted in step (c) is greater than a predetermined number, retaining said scanned image data obtained in step (a), wherein said image contained on said document is a continuous tonal image; and (f) when said number of first values counted in step (c) is less than or equal to said predetermined number, sending a signal to said scanner device to re-scan said document to obtain image data having binary values, wherein said image contained on said document is a bi-tonal image. - View Dependent Claims (7, 8, 9, 10, 13)
-
-
11. A method for determining a type of image contained on a document, said method comprising the steps of:
-
(a) sending a signal to a scanner device to scan said document at a first predetermined resolution to obtain scanned image data having a tonal value for each pixel scanned; (b) density slicing each pixel of said scanned image data to produce binary image data having black and white values comprising the steps of (b1) density slicing each pixel of said scanned image data using a first predetermined range of density slice values to produce a first set of corresponding binary image values, (b2) density slicing each pixel of said scanned image data using a second predetermined range of density slice values to produce a second set of corresponding binary image values, and (b3) combining said first set of corresponding binary image values with said second set of corresponding binary image values to produce binary image data having said black value or said white value for each pixel; (c) eroding said binary image data without dilating said binary image data; (d) counting a number of black values in said binary image data; (e) when said number of black values counted in step (c) is greater than a predetermined number, sending a signal to said scanner device to re-scan said document at a second predetermined resolution to obtain image data having a tonal value for each pixel scanned, wherein said image contained on said document is a continuous tone image; and (f) when said number of black values counted in step (c) is less than or equal to said predetermined number, sending a signal to said scanner device to re-scan said document at a third predetermined resolution to obtain image data having binary values, wherein said image contained on said document is a bi-tonal image. - View Dependent Claims (12, 14, 15)
-
Specification