None.
None.
None.
Embodiments of the invention relate to image scanning, and more particularly to color registration during image scanning.
To scan an image, a multi-pass scanner uses a scanner carriage motor to move a scanning device over an image such that different colors can be exposed at different passes. The movements of the scanning device using the scanner carriage motor can cause non-uniformity and inconsistency in the alignment of the colors in the scanned image. Misalignments in the red, green, and blue channels of the scanned image are referred to as color registration errors.
Some single-pass scanners, such as contact image sensor (“CIS”) scanners, use only one row of sensing elements to scan the image such that different colors are exposed consecutively. However, using one row of sensing elements with three separate light sources to scan images also causes color registration errors. For example, in capturing a scan line height of 1/600″ using a single-pass CIS scanner with image sensor height of 1/600″, a first light emitting diode (“LED”) light source of a first color (such as red) is turned on at time t0. The first color of the scan line is captured. At time t1, a second LED light source of a second color (such as green) is turned on, and the second color of the scan line is captured. However, the sensor elements have already moved from a first area of the scan line to a second area of the scan line between time t0 and time t1 at some velocity. That is, the first area of the scan line that was exposed using the first LED is slightly different than the second area of the scan line that was exposed using the second LED. In fact at time t1, only ⅔ of the first scan line and only ⅓ of a second scan line are captured by the second LED. At time t2, a third LED light source of a third color (such as blue) is turned on, and the third color for the first scan line is to be captured. However, only ⅓ of the first scan line and ⅔ of the second scan line are captured by the third LED, respectively. As a result, three different areas are scanned for each scan line. If the scan line is on the white side of a white to black edge transition, the captured red line can have no color, the green line can have ⅔ light and ⅓ dark, and the blue line can have ⅓ light and ⅔ dark. The captured image can then have a color fringe.
The single-pass scanners are prone to have y-direction color registration error. Common techniques for improving color registration include scanning the image at a higher resolution in the y-direction, and downscaling the scanned image. For example, if the user selects a 600 pixel per inch (“ppi”) scan mode, the image is subsequently scanned at 1200 ppi and downscaled to 600 ppi to improve the color registration by roughly a factor of two. One deficiency of the downscaling high resolution scanning technique is the amount of memory required to store a 1200 ppi image as well as the amount of memory bandwidth consumed by a 1200 ppi scan. For standalone devices such as printer-scanner-copiers, the amount of time to complete a copy operation is dictated by the amount of consumed memory bandwidth inside the controller or application-specific integrated circuit (“ASIC”). Another deficiency of the downscaling high resolution scanning technique is the increased time for capturing a scanned line in a higher resolution mode. Scanning at a higher resolution can also increase the amount of time needed to complete a standalone copy operation, which may be detrimental to the scanner specifications.
Effects of color registration error include an appearance of a color fringe around edges of text and sharp lines in a scanned image. Color registration error often appears as blurry text in a scanned image. Additionally, color registration error often results in a lower modulated transfer function (“MTF”) measurement for a scanner as edges are blurred by the misaligned colors. Color registration error also has a negative effect on image processing techniques that attempt to identify regions of the scanned image that are black text. These image-processing techniques take advantage of region identification to optimize the output of a device. For example, in multi-functional devices such as scanner-printer-copiers, a detection of black text in a scanned image can result in print optimizations such as speed and quality improvements for such regions during a copy operation. Color registration error can prohibit such image processing techniques from detecting and optimizing these regions.
The distance that the sensor elements have moved between time t0 and time t1 can be represented by Δ1. Similarly, the distance that the sensor elements have moved between time t1 and time t2 can be represented by Δ2, and the distance that the sensor elements moved between time t0 and time t2 can be represented by Δ3. The variables Δ1, Δ2, and Δ3 generally represent color registration errors. That is, minimizing these variables Δ1, Δ2, and Δ3 will reduce the color registration error.
Accordingly, there is a need for improved registration scanning, or minimizing color registration without affecting the overall scan time or available memory resources. There is also a need to provide consistent color registration results throughout the life of the scanner despite degradation of the intensity of the LED. In one form, the invention provides a method of scanning with a light source and a light sensor. The method includes the acts of determining a calibration time of the combination of the light source and light sensor, and adjusting an activation time for the light source based on the calibration time. The method also includes the acts of scaling a clock signal based on the activation time and the amount of scan data to be moved from the light sensor, and activating the light source based on the scaled clock signals.
In another form, the invention provides a method for scanning with a light source. The method includes the acts of calibrating a plurality of activation times of the light source, and determining a plurality of start pulses based on one of the activation times. The method also includes the act of reducing a time for activating the light source between the start of the activation of the last light source of the previous scan line and the start of activation of the first light source of the subsequent scan line in order to maintain the predetermined scanning resolution.
In yet another form, the invention provides a scanner. The scanner includes a scanner clock having a control frequency. The scanner also includes a movable scanning unit for scanning at a predefined scanning resolution comprised of plurality of light sources and a light sensor for collecting data. Each of the plurality of light sources has an activation time, and is activated by a start pulse for the activating time. A processor calibrates the activation times of the plurality of light sources in combination with the light sensor, selects one of the activation times based upon a predefined criteria, and sets the control frequency of the scanner clock based on the selected activation time and the amount of scan data to be moved from said light sensor for further processing by said processor. The light sources can include red, green and blue LEDs.
Other features and advantages of the invention will become apparent to those skilled in the art upon review of the following detailed description, claims, and drawings.
The patent or application file contains at least one drawing executed in color. Copies of the patent or patent application publication with color drawings(s) will be provided by the Office upon request and payment of the necessary fee.
In the drawings:
Before any embodiments of the invention are explained in detail, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of components set forth in the following description or illustrated in the following drawings. The invention is capable of other embodiments and of being practiced or of being carried out in various ways. Also, it is to be understood that the phraseology and terminology used herein is for the purpose of description and should not be regarded as limiting. The use of “including,” “comprising,” or “having” and variations thereof herein is meant to encompass the items listed thereafter and equivalents thereof as well as additional items. Unless limited otherwise, the terms “connected,” “coupled,” and “mounted” and variations thereof herein are used broadly and encompass direct and indirect connections, couplings, and mountings. In addition, the terms “connected” and “coupled” and variations thereof are not restricted to physical or mechanical connections or couplings.
The LED-calibrating module 116 initially determines a time that a plurality of LED's 132 are to be activated or turned on for the scanning system 100 in an LED-calibration process. In some embodiments, the plurality of LED's 132 include a red LED 132A, a green LED 132B, and a blue LED 132C. Furthermore, in some embodiments, it is common for one color LED to have different LED characteristics than another color LED in the scanner system 100. For example, the intensity level can vary from one color LED to another color LED due to manufacturing variations, and aging. For another example, different scan modes offered by the scanner system 100 can also have unique target voltages requiring the LED-calibration process to take place for each of the scan modes. Consequently, the LED-calibration process can be used to adjust the unique characteristics of each of the LED's 132. For example, the LED-calibrating module 116 can be configured to calibrate each of the LED's 132 every time the scanner system 100 is used to scan an image. Details of an exemplary calibration method are disclosed below. In this way, the LED-calibrating module 116 can set an activation time or an on-time for each of the LED's 132 such that a voltage swing of an associated sensor is at least comparable to or about identical between scanned colors. A maximum value of the voltage swing is generally used in some embodiments to maximize a signal-to-noise ratio of the scan line data. In some other embodiments, however, an increased value of the voltage swing can be used to increase a signal-to-noise ratio of the scan line data.
The scanner system 100 also includes a motor 124 that moves a scanning unit 128 along a scan window at a predetermined velocity. The scanning unit 128 further includes a sensor 136 that senses the scan line and generates data based on the scan line. The sensor 136 also includes an analog shift register 138 that shifts the scanned analog data serially out of the sensor 136 based on the master clock or the control signal generated by the master clock generator 120, detailed hereinafter. The scanner system 100 also includes an analog front end (“AFE”) device 140 that receives the scan line data in an analog format from the shift register 138. The AFE device 140 then converts the scan line data from the analog format to a digital format, and sends the converted scan line data out to the controller 104. Like the activation time, or the on-time of each of the LED's 132, the frequency of a master clock, which is based on frequency generated by a clock module 144, can also vary. Thus, the controller 104 can determine a starting time for each of the LED's 132 to expose each color line for a predetermined amount of activation time.
The times between the end of the first LED activation pulse and the second start pulse, between the end of second LED activation pulse and the third start pulse, and between the end of the first LED activation pulse and the third start pulse are referred to as τ1, τ2, and τ3, respectively. The values of τ1, τ2, and τ3 for a single scan line are minimized based on the LED calibration. In some embodiments, τ1, τ2, and τ3 are minimized or reduced by maximizing or increasing the frequency of the master clock 304 and all other scanner control signals without affecting the activation time of the LED's 132. By minimizing the values of τ1, τ2, and τ3, the values of Δ1, Δ2, and Δ3 are then also minimized. As a result, the corresponding color registration error can be minimized. The values of τ1 and τ2 can be equal to one another or be different from one another.
In some embodiments, TL is defined as a time between the beginning of the last start pulse for the last to be activated LED of the current scanner target line 204 and a first start pulse for the first LED to be activated for a next scanner target line 208. As shown in
Referring to both
At block 416, the system 100 determines and adjusts the master clock frequency generated by the master clock generator 120 (of
Depending on the clock frequency supplied to the controller 104 by the clock module 144, the optimal master clock frequency generated at block 416 may not match exactly with the frequencies that can be generated by the master clock generator 120 or the sequence table. In such cases, an increased master clock frequency is used in place of the optimal master clock frequency. For example, the master clock generator 120 may be configured to generate a master clock frequency between 1.0 MHz to 6.0 MHz with a frequency increment of 0.5 MHz. In such a case, an optimal master clock frequency of 2.7 MHz falls between 2.5 MHz and 3.0 MHz. To use one of these new master clock frequencies, the system 100 initially selects one of these frequencies also at block 416. Thereafter, the system 100 starts a validation process that checks to determine if the selected master clock frequency satisfies some predetermined conditions. For example, the system 100 checks to determine if the selected master clock frequency at block 416 can allow enough time for exposing the LED's 132 and for shifting out the scan line data at block 420. Furthermore, in some embodiments, the system 100 also checks at block 420 to determine if the activation time determined will result in saturation of the sensor 136. If the system 100 determines that the activation time of the LED's 132 has been violated, a second master clock frequency is selected at block 416. The system 100 then repeats the validation process. In some embodiments, however, the system 100 can use the validation process to check the selected master clock frequency as described, even when the master clock generator 120 can generate the determined maximum frequency.
If the selected master clock frequency at block 416 allows enough time for exposing the LED's 132, for shifting out the scan line data (block 420) without saturating the sensor 136 the validation process continues. Since the selected master clock frequency also changes the time between the end of an activation pulse the and next start pulse (τ1, τ2, and τ3), the system 100 also checks to determine if the new values of τ1, τ2, and τ3 can result in minimum or reduced values of Δ1, Δ2, and Δ3 at block 424. If the selected master clock frequency does not result in minimum or reduced values of Δ1, Δ2, and Δ3, the system 100 then selects a second master clock frequency at block 416, and repeats the validation process. However, if the selected master clock frequency can result in minimum or reduced values of Δ1, Δ2, and Δ3, the system 100 then sets the frequency of the scanner master clock 304 to the selected master clock frequency at block 428.
Various features and advantages of the invention are set forth in the following claims.