Sensor assembly providing gray scale and color for an optical image scanner

Abstract: A sensor assembly (104) and an optical image color scanner using the sensor assembly. The sensor assembly is of the type having three separate rows (112, 114, 116) of optical sensors (200, 202, 204). Two (112, 116) of the three sensor rows have color filters and one (114) is unfiltered (receptive to white light). For gray scale scanning, only the unfiltered (white) (114) sensor row is used, thereby maximizing the speed of gray scale scanning. For color scanning, three color values are computed as a linear transformation of values from the two filtered and one unfiltered values. The linear transformation may be as simple as subtracting signals from the two filtered sensor rows from the signal from the unfiltered (white) sensor row. For color scanning, memory buffers (302, 304, 306) are required for two of the three sensor output signals. For highest accuracy in color scanning, the exposure time for the white sensor row is reduced relative to the exposure time for the two filtered sensor rows. An optional white channel bandpass filter (passing all wavelengths within the human visual range and rejecting wavelengths outside the human visual range) provides improved accuracy if the light source has significant wavelengths outside the human visual range.

Description: This invention relates generally to optical image scanners and light sensor assemblies for optical image scanners and more specifically to scanning both gray scale and color images with a color scanner. Optical image scanners convert printed pages, photographs, transparent images and other images from paper or film into a digital form suitable for analysis and processing by a computer. Both color and gray scale optical image scanners are available. There is a need for improvement in scanning gray scale images with a color scanner, as described below. In an optical image scanner, a light source is reflected from a document or transmitted through a transparent image onto an array of optical sensors, each sensor measuring the intensity of light received by that sensor. Gray scale scanners measure reflected or transmitted light intensity but do not distinguish colors. In dedicated gray scale scanners, a single broad spectrum light source may be projected onto the sensors, but typically, gray scale scanners use a relatively narrow spectrum light source having a yellow-green spectrum. In color scanners, light is typically separated into at least three spectral bands, for example red, green and blue bands. In some color scanners, color separation is accomplished by the use of multiple light sources, each having a different narrow color spectrum. In some color scanners, a single white light source is used and color separation is accomplished by the use of multiple color filters, each limiting the spectrum received by the optical sensors. In this application, a combination of devices to sense a narrow portion of the visual spectral range is called a channel. For example, most color scanners have a red channel, a blue channel and a green channel, where a channel may be implemented as a narrow spectrum light source and sensor or a filter and sensor. In some color scanners, a single sensor array is used, and the detection of the various color bands is sequential. In sequential scanners having multiple narrow spectrum light sources, the light sources are sequentially turned on and then off. In sequential scanners having multiple color filters, the filters are sequentially placed between the light source and the sensors. In other color scanners, the detection of the various color bands is parallel, typically by employing multiple sensor arrays to simultaneously receive the various color bands. For example, beam splitting filters may be used to direct one color component to one sensor array while directing other color components to other sensor arrays. Alternatively, each sensor array may have an individual filter so that different color components may be obtained simultaneously, but typically from different parts of the scanned image. For general background and an example of a color image scanner having parallel detection of the various color bands, see K. Douglas Gennetten and Michael J. Steinle, "Designing a Scanner with Color Vision," Hewlett-Packard Journal , 44, No. 4 (August, 1993) pp 52-58. There are multiple reasons for generating gray scale digitized images using a color scanner. One primary use of gray scale images is for scanning pages of black and white text for optical character recognition. Even for images, the original image may be gray scale only, so that additional memory for color is not needed. Even if an original image is in color, it may be desirable to digitize the image as a gray scale image, for example to reduce the memory required to store the image, to print the image using a printer that only has black and white printing, or to perform image analysis that may not use color information. Typically, the amount of data stop for a digitized color image is three times the data required for a digitized gray scale image (assuming the light is separated into three bands). In addition to memory considerations, scanning a gray scale image as a color image in a color scanner generally requires more time than scanning the gray scale image using a dedicated gray scale scanner. Therefore, it is also desirable to scan directly in gray scale with a color scanner to improve scanning speed. However, in some color scanner designs, gray scale scanning in a color scanner is inherently slower than gray scale scanning using a dedicated gray scale scanner. There are a number of approaches to generating a gray scale digitized image using a color scanner. For example, for scanners using multiple narrow spectrum light sources, all the sources may be turned on simultaneously. For scanners using filters, the scanner may use only one color filter (for example, green). Alternatively, for scanners using filters and multiple sensors, signals from all the sensors may be electronically (or arithmetically) combined to obtain a representation of the total visible light impinging on the sensors. Filters, however, necessarily reduce the intensity of light that impinges upon the optical sensors. With filtered light, longer exposure times are required to achieve a signal to noise ratio equivalent to that obtained using unfiltered light. IBM Technical Disclosure Bulletin, Vol. 20, No. 1, June 1977, pages 436 to 437 relates to a silicon solid-state FET color scanner. This color scanner is fabricated on a single silicon chip with blue, green and red video separate outputs. The individual photocell unit of the device consists of three continuous photodetectors, each having its corresponding spectral response, such as blue, red and luminance or white. These photocell units are arranged in a line. JP-A-4 053 344 concerns a picture reader, using two frequency clock signals, a fast clock and a slower clock, for reading out the signal from the CCD. US-A-5,105,264 concerns a color image sensor having an optimum exposure time for each color, wherein the exposure starts at different times for the respective color sensors. Starting from this prior art, it is the object of the present application to provide a color image scanner and a method which has the ability to generate gray scale image signals with the speed of a dedicated gray scale scanner. This object is achieved by an optical image scanner according to claim 1 and by a method according to claim 5. A sensor assembly is provided having three channels. Two of the channels have color filters. The third channel is receptive to the entire visual color range (white light). For gray scale scanning, only the white channel is used. Using a white channel for gray scale scanning maximizes the intensity of light impinging on the optical sensors, thereby maximizing scanning speed at any particular signal to noise ratio. In the example embodiment, each color filter is a bandpass filter passing one of two narrow color bands. For color scanning, three numbers representing digitized intensities from each of the three channels are linearly transformed into three colors of interest. In the example embodiment, buffering is required for color scanning. For color scanning, the charge time per scan line for the white channel is reduced relative to the charge time for the color channels to maximize the signal to noise ratio without saturation of the white channel sensors. An optional bandpass filter passing the visual range of wavelengths to the white channel provides better accuracy when using a light source that has significant intensity outside the human visual range. Figure 1 is a simplified mechanical block diagram illustrating three lines of an image focussed onto three rows of a sensor assembly. Figure 2A is a simplified plane front view of a sensor assembly. Figure 2B is a simplified side view of the sensor assembly of figure 2A. Figure 3 is a block diagram schematic of the sensor assembly in conjunction with memory and arithmetic units. Figure 4 is a timing diagram illustrating variable charge starting times for the different sensor rows when scanning color images. Figure 5 is a flow chart illustrating the method of the invention. Figure 1 is a simplified mechanical block diagram illustrating a basic scanner configuration. In figure 1, an image 100 is focussed by a lens system 102 onto a sensor assembly 104. In particular, three separate image scan lines (106, 108 and 110) are focussed onto three sensor array rows (112, 114 and 116 respectively). In the example embodiment, the sensor assembly comprises three rows of charge coupled devices (CCD's) as the light detection devices. As an example of scale, for typical commercially available sensor arrays, the width of the sensor array rows 112, 114 and 116 is on the order of 10 micrometers with a spacing between rows of 100 micrometers and the width of the image scan lines 106, 108 and 110 are on the order of 40 micrometers with a spacing between lines of 400 micrometers. In typical scanners, the length of the optical path from the image 100 to the sensor assembly 104 is longer than the length of the scanner so the optical path is folded via multiple mirrors. The lens assembly 102 is typically a complex arrangement of multiple lenses. Figure 2A is a simplified front view of the sensor assembly 104 depicted in figure 1. As illustrated in figure 2A, the sensor assembly has three rows of individual sensor elements. Row 112 is comprised of individual sensor elements 200, row 114 is comprised of individual sensor elements 202 and row 116 is comprised of individual sensor elements 204. For simplicity of illustration, only 16 sensor elements per row are depicted. In commercially available CCD sensor assemblies, the number of sensor elements per row is typically in the range of 2,000 - 7,000. Figure 2A also depicts three pairs of signal leads, 210, 212 and 214. In the CCD assembly depicted in figure 2A, accumulated charge from each individual photosensitive element is transferred to a corresponding capacitor for serial output. Capacitor voltages are serially shifted out the signal leads so that for any one shift cycle, a voltage at a signal lead is a measurement of the light intensity received earlier by one photosensitive element. In a typical scanner utilizing three sensor rows as depicted in figure 2A, all three sensor rows have a filter, either on the surface of the sensors or via external beam splitting. Typically, one row is filtered to detect light in a red band of wavelengths, a second row is filtered to detect light in a green band of wavelengths, and the third row is filtered to detect light in a blue band of wavelengths. In the invention, two sensor rows are filtered and the third sensor row receives unfiltered (white) light (or perhaps filtered to exclude light outside the human visual range, as discussed further below). In the invention, for gray scale scanning, only the unfiltered (white) light signal is used. As will be discussed below, using the unfiltered light signal enables gray scale scanning to be faster than color scanning. For color scanning in the invention, three numbers representing white and two color bands are linearly transformed into three color intensities. Figure 2B is a simplified side view of the sensor assembly 104 as configured in the invention. In figure 2B, two sensor rows (112 and 116) are covered by color light filters (206 and 208, respectively). One row (114) remains uncovered. The choice of which one of three color bands is eliminated for sensor row 114 is arbitrary. Note also that the choice of which sensor row (112, 114, 116) is the unfiltered sensor row is arbitrary. Figure 2B illustrates the middle sensor row 114 as being the unfiltered row but any one of the three sensor rows (112, 114 and 116) can be the unfiltered row. Red, green and blue color bandpass filters are the most common filters used in color optical image scanners. Yellow, magenta and cyan bandstop filters may also be used. For purposes of example only, the sensor assembly 104 could provide approximate red, white, and blue intensity measurements. With ideal filters, green is white minus the sum of red and blue. In general, however, the filters are not ideal and a general linear transformation is required. In general, almost any three filters can be used as long as they pass or stop three non-identical bands of visible wavelengths, provided that these bands permit acceptable color reproduction using known principles of color science. Given three numbers representing the intensity of three bands, other colors can be obtained by multiplying the three measured values by a 3x3 transformation matrix. Using the example colors again, red, white, and blue may be linearly transformed into red, green and blue for display purposes. For printing purposes, red, white, and blue may be transformed into yellow, magenta, and cyan. One additional potential problem may require an additional refinement of the color filters illustrated in figure 2B. In the typical arrangement where all three sensor rows have filters and where the filters are bandpass filters, light wavelengths outside the human visual range (wavelengths in the range from 400 to 700 nanometers) are inherently excluded by the bandpass filters. If sensor row 114 has no filter, light outside the human visual range but within the range of photosensitivity of the sensors may distort the intensity measured by the sensors. If the light source used by the scanner has significant intensity outside the human visual range, then sensor row 114 may need a white bandpass filter passing the range from 400 to 700 nanometers. Finally, it may also be desirable that this white filter also suppress some visible wavelengths to improve color reproduction per known principles of color science. For example, rather than a strictly white filter, a broadband dominantly green filter that also passes substantial amounts of red and blue light might be employed. In general, the white filter must be significantly broader in bandwidth than a typical color filter in order to achieve faster gray scale scans. Referring back to figure 1, in order to scan the entire image 100, the image 100 must move relative to the sensor assembly 104. It does not matter whether the image 100 moves past a stationary sensor assembly 104 or whether the sensor assembly 104 moves past a stationary image 100. Note that for an optical arrangement as illustrated, three different scan lines (106, 108, and 110) on image 100 are being focussed on sensor assembly 104. Assume for discussion that the direction of relative movement is as illustrated by arrow 118 in figure 1. With relative movement as indicated by arrow 118, image scan line 106 depicted as currently focussed onto the sensor row 112 was earlier focussed onto the sensor row 114 and earlier still was focussed onto sensor row 116. The color of a particular picture element from image scan line 106 is obtained by linearly transforming the color measurement at sensor row 112 along with color measurements obtained earlier from sensor rows 116 and 114. Assuming that the voltage measurements from the CCD elements are converted into computer readable numbers, numerical memory buffers are needed for measurement numbers from sensor rows 114 and 116. Figure 3 illustrates the memory buffers and arithmetic elements required for color scanning. In figure 3, analog voltages from the CCD rows are converted into numerical values by analog to digital (A/D) converters 300. Numerical values from all the CCD's in sensor row 116 are sequentially stored into memory buffer 306. To facilitate discussion, memory buffer 306 is depicted as being configured into an array of rows and columns, but can be alternatively configured in a serpentine serial fashion, as a first-in-first-out (FIFO) stack buffer, or effectively configured into rows and columns using random access memory. When the image 100 (figure 1) moves relative to the sensor assembly 104 so that sensor row 116 is focussed onto a new scan line, the stored row of numbers in the memory buffer 306 is effectively shifted (upward in figure 3) from row i (320) to row i+1 (322). When the image 100 (figure 1) has moved a distance relative to the sensor assembly 104 corresponding to the distance between image scan lines 106 and 110 (figure 1), then the top row i+8 (324) of memory buffer 306 contains numerical values from an earlier scan of scan line 106, at the same time that sensor row 112 is receiving light from scan line 106. In figure 3, the memory buffer 306 is depicted as corresponding to a spacing of 8 image scan lines between image scan lines 106 and 110. The number of lines of buffering required depends on the optics and the spacing of the sensor rows. For the dimensions given in the first paragraph of the description, there are 20 image scan lines between image scan lines 106 and 110, thereby requiring a corresponding 20 rows of buffer memory in memory buffer 306. Likewise, numerical information from sensor row 114 must be buffered in a memory buffer 304. Finally, in figure 3, numerical information from sensor row 112 needs only a single row of memory 302, if any. Also illustrated in figure 3 are the arithmetic elements required to obtain three colors in a color scan. For one picture element at a time, a buffered number 312 from sensor row 116, a corresponding number 310 from sensor row 114, and a corresponding number 308 from sensor row 112 form a 3x1 matrix 314. Matrix 314 is multiplied by a predetermined 3x3 matrix 316 to generate a triplet of numerical values 318. Numerical values 318 may be used directly for display or printing as appropriate. Light impinging on the photosensitive portion of a CCD results in charge that accumulates on a capacitor, resulting in a voltage on the capacitor. Typically, the capacitor is initially discharged and then is allowed to charge as it is exposed to light. The longer the exposure, the better the signal to noise ratio. There is, however, a finite voltage limit (saturation). In the arrangement illustrated in figure 2B, the intensity of the unfiltered light impinging on sensor row 114 is generally greater than the intensity of light passing through the filters on rows 112 and 116. For example, in the case of white light and assuming ideal filters, the intensity of light impinging on sensor row 114 is three times the intensity of light passing through the filters on rows 112 and 116. Given a fixed exposure time that enables the filtered rows 112 and 116 to achieve maximum signal to noise ratios, the sensors in the unfiltered sensor row 114 might saturate. Therefore, to maximize the signal to noise ratio without saturating the unfiltered sensors, the unfiltered sensor row 114 needs to be exposed for a shorter amount of time than the two filtered sensor rows 112 and 116. If the filters 206 and 208 were ideal and if the charge rate of the sensors in rows 112, 114 and 116 were linear, then the unfiltered sensor row 114 charge time should be one third the charge time of the two filtered sensor rows 112 and 116. Typical commercially available dye based filters, however, are not ideal. For example, dye based filters passing blue wavelengths typically reduce the light intensity within the passband more than filters passing red or green wavelengths. Therefore, to maximize the signal to noise ratio, the charge time of two of the three sensor rows needs to be reduced relative to the charge time of the sensor row that most restricts light intensity. In typical commercially available CCD arrays, each sensor row can be independently discharged. A straightforward solution to adjustment of charging times is to adjust the discharge time of each row so that all rows are sampled simultaneously at the end of the charge time (effectively adjusting the charging start time of each row). Figure 4 illustrates the relative timing for discharge and reading of three sensor rows when scanning color images. Waveform 400 illustrates the voltage on a sensor element (capacitor) of a row receiving blue light. Waveform 402 illustrates the voltage on a sensor element of a row receiving red light. Waveform 404 illustrates the voltage on a sensor element of a row receiving white light. At time t 1 (406), the blue sensor is discharged. The blue sensor receives the least light intensity and therefore is discharged first. At time t 2 (408), the red sensor is discharged. The white sensor is discharged last at time t 3 (410). All three sensor voltages are then read simultaneously at time t 4 (412) for digitizing. When scanning a gray scale image, the above discussion of buffering and charge time adjustment between sensor rows is irrelevant. When scanning a gray scale image, only the unfiltered sensor row 114 is used and the charge times are reduced to the minimum required to maximize the signal to noise ratio for the unfiltered sensor row 114. For example, in figure 4, for gray scale scanning, the time from t 1 (406) to t 3 (410) can be eliminated. In addition, no buffering of numerical data is needed. Therefore, gray scale scanning can be made substantially faster than color scanning. Figure 5 illustrates the method of the invention. The sensor assembly receives light from the image (500). For one row, the filtering step (502) is depicted as a dashed box to illustrate that, preferably, no filter is required but a visual spectrum (white) bandpass filter may be needed if the light source has significant light outside the visual spectrum. The light for the unfiltered row is measured over a finite period of time (504), and digitized into a first numerical value (506). For gray scale scanning, the first numerical value is the sensor system output (510). For color scanning, for the two color filtered rows, light passes through color filters (512, 514), is measured over a period of time (516, 518) and is digitized into second and third digital values. Digitized values from at least two rows are buffered (524, 526 and 528) (recall that one buffer may not be necessary as depicted by box 528). Then, a linear transformation is computed (530) (as in figure 3, 314, 316 and 318), generating three transformed numbers (532). As illustrated in figure 5, fewer steps are needed for gray scale scanning.

Claims: An optical image scanner for generating gray scale or color image signals comprising: a sensor assembly (104) comprising a row (114) of first sensor elements (202), each first sensor element receiving light that is unfiltered and having an analog output signal proportional to the received light, the first row of first sensor elements having a first charge time; and a plurality of rows (112,116) of second sensor elements (200,204), each second sensor element receiving light that is filtered and having an analog output signal proportional to the received light, each row of second sensor elements having second charge times, said sensor assembly (104) being controllable to be run in a first mode of operation or in a second mode of operation, wherein in said first mode of operation said optical image scanner derives said gray scale image signals only from the output of said first sensor elements (202), said first mode of operation having one charge time for the rows of first and second sensor elements reduced to said first charge time; and wherein in said second mode of operation said optical image scanner derives said color image signals from the output of both said first and said second sensor elements (202,200,204), said second mode of operation having both of said first and second charge times, said first charge time being less than said second charge times. The optical image scanner of claim 1 wherein the row of first sensor elements (202) is modified in that each first sensor element receives light that is filtered by a bandpass light filter passing substantially all the human visible light spectrum, said human visible light spectrum ranging form 400 to 700 nanometers; in a first row of said plurality of second sensor elements, each second sensor element receives light that is filtered by a blue bandpass filter (206); and in a second row of said plurality of second sensor elements, each second sensor element receives light that is filtered by a red bandpass filter (206). The optical image scanner of claim 2 wherein each of the first sensor elements has an analog output signal; a first analog-to-digital converter is provided, receiving one of the analog output signals from the first sensor elements and outputting a first numerical value representing an amplitude of the received analog signal; each of the second sensor elements has an analog output signal; a plurality of second analog-to-digital converters are provided, each corresponding to one row of the plurality of rows of second sensor elements, each receiving one analog output signal from its corresponding row of second sensor elements and outputting a second numerical value representing an amplitude of the received analog signal; and an arithmetic unit is provided, receiving the first numerical value and the second numerical values and performing a linear transformation on the received values. The optical image scanner as in claim 3 comprising: a first memory buffer (302), receiving the first numerical value and outputting the received numerical value on a first-in first-out basis to the arithmetic unit; and a plurality of second memory buffers (304,306), one second memory buffer for each row of the plurality of rows of second sensor elements, each second memory buffer receiving the second numerical values from its corresponding row of second sensor elements and outputting the received second numerical values on a first-in first-out basis to the arithmetic unit. A method of measuring light intensity within a particular spectral band in a color optical image scanner, comprising the following steps: (a) exposing a first sensor element to unfiltered light, the first sensor element having a first charge time; (b) digitizing (506) an analog output from the first sensor element into a first numerical value; (c) filtering (512) the light through a first bandpass light filter for a second sensor element, the second sensor element having a second charge time, said first charge time being less than said second charge time; (d) filtering (514) the light through a second bandpass light filter for a third sensor element, the third sensor element having a third charge time, said first and second charge times being less than said third charge time; (e) digitizing (520,522) an analog output from the second and third sensor elements into second and third numerical values respectively; (f) computing (530) the light intensity within the particular spectral band as a linear transformation of the first, second and third numerical values; (g) scanning (510) a gray scale image by reducing the second and third charge times to the first charge time and by repeating steps (a) and (b); or (h) scanning (532) a color image by repeating steps (a) through (f). The method of claim 5, further comprising the following modifications: step (a) modified by filtering (502) the light through a white light filter, the white light filter passing substantially all the human visible light spectrum, said human visible light spectrum ranging form 400 to 700 nanometers; the first bandpass filter of step (b) is a blue bandpass filter; and the second bandpass filter of step (c) is a red band pass filter.

Inventors: GENNETTEN KENNETH D, HUBEL PAUL M, PHILLIPS WAYNE G, GENNETTEN, KENNETH D., HUBEL, PAUL M., PHILLIPS, WAYNE G.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1995
Main classification: H04N1
IPC codes: H04N1