Image scanner light source control method and device
Technical field
The present invention relates to a kind of image scanner light source control method and device, particularly a kind of can automatically performing partly or blanket exposure and adjust the image scanner light source control method and the device of brightness according to scanning area and scan pattern.
Background technology
Optical scanner is used for pick-up image and digitized image.For instance, optical scanner is the most normal is used to capture literal or other image of printing or being printed on the paper of plane.Then picked image be digitized and be stored or further by the character recognition software processes to produce the literal of ASCII ASCII.Typical optical scanner comprises a light source, be linearly aligned photoelectricity sensing component (being generally charge coupled cell CCD, CMOS transistor CMOS and CIS), an analogue amplifier (Analog Amplifier), an analog-digital converter, a control unit (Controller) and memory element.
The photoelectricity sensing component comprises and is linearly aligned charge coupled cell CCD in a large number.The light signal of the single pixel of each charge coupled cell CCD fechtable image.The charge coupled cell CCD of one permutation is the light signal of a column of pixels of fechtable image then.By sweeping away whole part of file, charge coupled cell CCD can receive the image light signal of whole part of file.
The process that reflection self-scanning file or the light signal that penetrates the self-scanning file convert digital signal to comprises three steps.At first, each photoelectricity sensing component can convert received light signal to electric charge, and the quantity of electric charge depends on the time of light intensity and exposure.The electric charge that next photoelectricity sensing component is produced can convert aanalogvoltage to by analogue amplifier.Last aanalogvoltage can simulated the digital quantizer digitlization, handles and is stored in the memory element so that carry out digitized video.
In traditional image scanner, the scanner light source continues to keep unchangeably exposure status in the process of scanning.Not excessive have only when partly scanning area need be scanned, the inefficiency that continues to expose unchangeably not only but also waste electric power.In addition, continue exposure mode unchangeably for the multiple scan pattern of image scanner (colored, GTG and two color ranges), also very uneconomical.Therefore be necessary very much to propose a kind of image scanner light source control method of novelty and the shortcoming that device overcomes traditional image scanner, and the present invention just can satisfy this demand.
Summary of the invention
A purpose of the present invention is for providing a kind of image scanner light source control method and device of carrying out part or blanket exposure and adjusting brightness.
Another object of the present invention is for providing a kind of image scanner light source control method and device that can utilize light source efficient and economically.
In order to reach above-mentioned purpose, the present invention proposes the image scanner light source control method.In a preferred embodiment of the present invention, the method includes the steps of.One light source with a plurality of sections at first is provided, and the supply power of each this section light source can be controlled respectively.Then preview (preview) scans a file, to produce and to show that a preview image is in user's interface.According to this preview image, set this light source that one scan border and supply power give the part section then, make this part section light source be enough to contain the scanning width of this scanning boundary.
In second preferred embodiment of the present invention, image scanner light source control method of the present invention comprises following steps.One light source with at least two sections at first is provided, and the supply power of each this section light source can be controlled respectively.Then only supply power gives the first section light source of this light source, and moves this light source and one scan sensing apparatus, according to the scanning direction one file is scanned.Only supply power gives the second section light source of this light source and moves this light source and this scanning sensing apparatus then, and the rightabout of complying with this scanning direction scans this document.
In the 3rd preferred embodiment of the present invention, image scanner light source control method of the present invention comprises following steps.One light source with a plurality of sections at first is provided, and the supply power of each this section light source can be controlled respectively.Then preview (preview) scans a file, to produce a preview image.According to the signal of this preview image, determine the one scan border then.Last supply power gives this light source of part section, makes this part section light source be enough to contain the scanning width of this scanning boundary.
In the 4th preferred embodiment of the present invention, image scanner light source control method of the present invention comprises following steps.One light source with at least two sections at first is provided, and the supply power of each this section light source can be controlled respectively.Then move this light source and one scan sensing apparatus position to the one scan line.Only supply power gives the first section light source of this light source, and exposure is to obtain one first section scan line image.Then only supply power gives the second section light source of this light source, and exposes to obtain one second section scan line image.Synthetic this first section scan line image and this second section scan line image.Move this light source and this scanning sensing apparatus position to next bar scan line, the last as above-mentioned power supply that provides respectively gives first section light source of this light source and the second section light source of this light source, and exposure respectively.
In the 5th preferred embodiment of the present invention, image scanner light source control method of the present invention comprises following steps.One light source with at least two sections at first is provided, and the supply power of each this section light source can be controlled respectively.Only supply power gives the first section light source of this light source.Then move this light source and one scan sensing apparatus, one file is scanned according to the scanning direction.After this first section been scanned, this light source and this scanning sensing apparatus are retracted the starting position.Only supply power gives the second section light source of this light source.And move this light source and this scanning sensing apparatus, according to this document being scanned this scanning direction.
In the 6th preferred embodiment of the present invention, image scanner light source control method of the present invention comprises following steps.The light source of one controllable power power at first is provided.Then read the scan pattern set point of this image scanner and, control the power size of supplying with this light source, make the briliancy that this light source produced to cooperate this scan pattern according to this scan pattern set point.
In the 7th embodiment of the present invention, the present invention utilizes a posting (Holder) to select the zone of desire scanning.Posting has the two sides, is seated in during use on the scanning window (Scan window) of scanner.Posting is confined the maximum scan zone in advance.Have symbol or pattern (Pattern) on the one side of posting corresponding to scanning area.A plurality of symbols or pattern are represented the different scanning regional extent respectively.During scanning, judge the size of scanning area by probe (Scan head) a plurality of symbols of scanning or pattern.Scanned symbol or pattern can utilize the original correction program of scanner, and correction program is extended backward, follow scanned symbol or area of the pattern to learn scanning boundary except scanning checking list (Calibration Target) again.
In the 8th embodiment of the present invention, the present invention utilizes the built-in inductor of a posting and scanner housing to select the zone of desire scanning.Scanner housing has scanning window and inductor alignment area.Posting has raised zones.The raised zones of posting is corresponding to the inductor alignment area of scanner housing, and the inductor alignment area has the corresponding scanning area of a plurality of inductors.When posting places scanner housing, the raised zones of posting will cover in the inductor alignment area inductor corresponding to scanning area, so that scanner is learnt the size of scanning area.
Foregoing invention content and following detailed description only are example and unrestricted.Other equivalence that does not break away from spirit of the present invention changes or modifies within the scope of the claims of the present invention that all should be included in.
Description of drawings
Fig. 1 shows image scanner light source control device of the present invention;
Fig. 2 shows that a multistage light source of the present invention and a file place whole scanning areas of scanner;
Fig. 3 shows an embodiment of power supply apparatus for controlling of supply of the present invention;
Fig. 4 shows that two section light sources in one embodiment of the invention come the schematic diagram of the whole scanning areas of flyback retrace with segmentation;
Fig. 5 shows that two section light sources in one embodiment of the invention are with the schematic diagram of fractional scanning one image line and whole scanning areas;
Fig. 6 shows that two section light sources in one embodiment of the invention are with the schematic diagram of the whole scanning areas of the equidirectional fractional scanning of Different Light section;
Figure 7 shows that the flow chart of the 6th preferred embodiment of the present invention;
Fig. 8 A shows the one side of a posting;
Fig. 8 B shows the another side of a posting;
Fig. 9 A shows one scan instrument housing;
Fig. 9 B shows a posting;
Fig. 9 C shows a posting;
Fig. 9 D shows a posting.
Symbol description among the figure
102 scanning boundaries are judged part
104 power supply apparatus for controlling of supply
106 light sources
202 whole scanning areas
204 files
206 LED source
302 offset buffers
304 transistors
306 light-emitting diodes
402 whole scanning areas
404 LED source
406 light-emitting diode section light sources
408 light-emitting diode section light sources
502 light-emitting diode section light sources
504 light-emitting diode section light sources
506 scan lines
508 scan lines
602 whole scanning areas
604 LED source
606 light-emitting diode section light sources
608 light-emitting diode section light sources
702 read the scan pattern set point
704 results that read according to the scan pattern set point supply with light source power power
706 supply with the required light source power power of color mode
708 supply with the required light source power power of GTG scan pattern
710 supply with the required light source power power of two color range scan patterns
712 scan with the required light source power power of color mode
714 scan with the required light source power power of GTG scan pattern
716 scan with the required light source power power of two color range scan patterns
800 postings
802 scanning areas
The one side of 804 postings
The one side of 806 postings
808 symbols or pattern
900 scanner housing
902 scanning windows
904 inductor alignment areas
906 postings
908 raised zones
910 scanning areas
912 postings
914 scanning areas
916 raised zones
918 postings
920 scanning areas
922 raised zones
Embodiment
In this mandatory declaration is that image scanner light source control method described below only comprises necessary element and step with device.The present invention simultaneously can implement with various existing softwares and hardware, only mentions at this and understands System Operation mode required for the present invention.Below accompanying drawing according to the present invention is described in detail eight preferred embodiments, please notes that icon is simple form.
In first preferred embodiment of the present invention, the present invention proposes a kind of light source control device and method of image scanner, and as shown in Figure 1, this light source control device comprises a light source 106, one scan edge determination part 102 and a power supply apparatus for controlling of supply 104.Light source 106 comprises and has a plurality of light-emitting components that are arranged in a linear, and wherein this light source 106 is distinguished into a plurality of sections, and the supply power of each this section light source can be controlled by power supply apparatus for controlling of supply 104 respectively.The light-emitting component of light source 106 comprises LED source, and a plurality of light-emitting diode is distinguished into a plurality of sections, and the supply power of each this section light-emitting diode is respectively by 104 controls of power supply apparatus for controlling of supply.Each light-emitting diode also can have a section of one's own and be controlled by power supply apparatus for controlling of supply 104 respectively.One embodiment of Fig. 3 display power supply apparatus for controlling of supply 104, the power supply supply of light-emitting diode 306 is by transistor 304 controls, 304 in transistor is controlled by the digital signal (0 or 1) from offset buffer 302, and for example the voltage of Dai Biao digital signal 1 grid that puts on transistor 304 can make light-emitting diode 306 have electric current to pass through because of supply voltage (5Volts) and be luminous.The all corresponding transistor 304 of each light-emitting diode 306, each transistor 304 is by offset buffer 302 controls.Therefore by the software or the mode of firmware, all light-emitting diodes 306 can be divided into several sections or each light-emitting diode divided into a section.As shown in Figure 2, for instance, LED source 206 is divided into three sections, and a file 204 then places whole scanning areas 202 of scanner.The light source control method of image scanner of the present invention at first utilizes above-mentioned method that LED source 206 is divided into a plurality of sections, and the supply power of each this section light source can be controlled respectively.Then file 204 is carried out preview (preview) scanning to produce the preview image of file 204, and scanning boundary judges that part 102 comprises user's interface, scanning boundary is judged the preview image of part 102 according to file that previewing scan produces 204, by the scanning boundary of user's frame selection spare 204.104 scanning boundary supply powers according to the file 204 of user's frame choosing of power supply apparatus for controlling of supply give the LED source 206 part sections corresponding to the scanning boundary of file 204, make this part section light source be enough to contain the scanning width of this scanning boundary.But for example when scanning width be 216mm, and 50 light-emitting diodes are arranged, the position of first light-emitting diode is 216/50, the position that the rest may be inferred can get other light-emitting diode.Need be lighted owing to only have during formal scanning corresponding to the LED source 206 part sections of the scanning boundary of file 204, therefore can save electric power, and owing to there being signal of video signal to produce in the scanning boundary scope that file 204 is only arranged, therefore the extraneous signal of video signal of scanning boundary that can reject file 204 is handled and because LED source 206 has been divided into three sections and segmentation lights, can provide than more power of general scanning or centrally connected power source power when therefore scanning and give this section light source, with accelerated scan, and do not contain the section light source of the scanning boundary of file 204, then do not provide and give power supply.Above-mentioned first embodiment has effective especially in limited time in the scanner supply of electric power.
In second preferred embodiment of the present invention, the present invention proposes the light source control method of second kind of image scanner.The light source control device of image scanner as shown in Figure 1, the LED source of light source 106 is distinguished into two sections, and the supply power of each this section light-emitting diode is respectively by 104 controls of power supply apparatus for controlling of supply.When power supply apparatus for controlling of supply 104 control light sources scan file according to the scanning direction, only supply power gives the first section light source of this light source, when this light source scanned this document according to the scanning rightabout, only supply power gave the second section light source of this light source.As shown in Figure 3, all corresponding transistor 304 of each light-emitting diode 306, each transistor 304 is by offset buffer 302 controls.Therefore by the software or the mode of firmware, all light-emitting diodes can be divided into two sections, move LED source and one scan sensing apparatus (for example charge coupled cell) when formally scanning, file be scanned according to the scanning direction.As shown in Figure 4, LED source 404 is divided into two sections light-emitting diode section light sources 406 and 408, in order to scan whole scanning areas 402.When formally scanning, the light-emitting diode of only lighting light-emitting diode section light source 406 when journey is gone in scanning earlier to be scanning, and the light-emitting diode of closing the light-emitting diode of light-emitting diode section light source 406 and lighting light-emitting diode section light source 408 when sweep retrace is to finish scanning.When scanning, because having divided into two sections and segmentation, LED source 404 lights, can provide than the more power of general scanning when therefore carrying out each section scanning and give this section light source, to add fast scan speed.The foregoing description has particularly useful in limited time in the scanner supply of electric power.
In the 3rd preferred embodiment of the present invention, the present invention proposes the light source control method of the third image scanner.With that shown in Figure 2 is example, and LED source 206 is divided into three sections, and file 204 then places whole scanning areas 202 of scanner.The light source control method of image scanner of the present invention at first utilizes above-mentioned method that LED source 206 is divided into a plurality of sections, and the mode of distinguishing and controlling as shown in Figure 3.The supply power of each section light source can be controlled respectively, all corresponding transistor 304 of each light-emitting diode 306, and each transistor 304 is by offset buffer 302 controls.Therefore by the software or the mode of firmware, all light-emitting diodes can be divided into a plurality of sections, a section is a light-emitting diode or comprises a plurality of light-emitting diodes.Then file 204 is carried out preview (preview) scanning to produce the preview image of file 204, the preview signal of video signal of reflection from file or image surface is sent to the image sensor of image scanner.Through being digitized into digital signal again behind convert light signal of video signal generation analog voltage signal, the adjustment analog voltage signal.File 204 is with the signal of exterior domain in the signal of digital signal include file 204 and the whole scanning areas 202.File 204 can determine the border of required scanning in the signal that utilizes include file 204 and the whole scanning areas 202 with the signal of exterior domain.For example utilize the pixel intensity on the border of crossing scanning to change the border that to judge and to determine required scanning.Light source control device shown in Figure 1 then is according to the border of the required scanning after determining, determine the light-emitting diode section of required supply power, scanning, the width of the light-emitting diode section of required supply power is then greater than the scanning width on the border of required scanning.When scanning, owing to need not light corresponding to the light-emitting diode section outside the border of scanning, the light-emitting diode section that obtains the power supply supply can obtain more powers, to add fast scan speed in addition.The foregoing description has very useful in limited time in the scanner supply of electric power.
In the 4th preferred embodiment of the present invention, the present invention proposes the light source control method of the 4th kind of image scanner.LED source is divided at least two sections, and the mode of distinguishing and controlling as shown in Figure 3.The supply power of each section light source can be controlled respectively, all corresponding transistor 304 of each light-emitting diode 306, and each transistor 304 is by offset buffer 302 controls.Therefore by the software or the mode of firmware, all light-emitting diodes can be divided into two sections 502 and 504 as shown in Figure 5, each section comprises a plurality of light-emitting diodes.Move LED source and one scan sensing apparatus (for example charge coupled cell) position to one scan line 506 when formally scanning, then only supply power gives the first section light source 502, and exposure is to obtain one first section scan line image.Only supply power gives the second section light source 504 then, and exposure is to obtain one second section scan line image.When LED source and scanning sensing apparatus being moved to the position of following bar one scan line 508, that this first section scan line image and this second section scan line image is synthetic to finish the image of scan line 506.Follow mobile light source and scanning sensing apparatus position, and repeat above-mentioned action to next bar scan line 508.
In the 5th preferred embodiment of the present invention, the present invention proposes the light source control method of the 5th kind of image scanner.LED source is divided at least two sections, and the mode of distinguishing and controlling as shown in Figure 3.The supply power of each section light source can be controlled respectively, all corresponding transistor 304 of each light-emitting diode 306, and each transistor 304 is by offset buffer 302 controls.Therefore by the software or the mode of firmware, all light-emitting diodes can be divided at least two sections, each section comprises a plurality of light-emitting diodes.As shown in Figure 6, LED source 604 is divided into two sections light-emitting diode section light sources 606 and 608, in order to scan whole scanning areas 602.When scanning only supply power give the first section light source 606 of light source 604, and mobile LED source 604 and one scan sensing apparatus (for example charge coupled cell), the file that is opposite on the scanning area 602 according to scanning direction (as shown in Figure 6) scans, and after these first section light source, 606 been scanned, light source 604 and scanning sensing apparatus are retracted the starting position.Supply power gives the second section light source 608 of light source 604 then, and mobile LED source 604 and scanning sensing apparatus, the file that is opposite on the scanning area 602 according to the scanning direction scans, and after the second section light source, 608 been scanned, light source 604 and scanning sensing apparatus are retracted the starting position.When scanning, supply with light-emitting diode section light source power because a segmentation is lighted in addition, the light-emitting diode section that obtains the power supply supply can obtain more powers, to add fast scan speed.The foregoing description has very useful in limited time in the scanner supply of electric power.The arrangement of light source also can be staggered two-dimensional matrix of linear two rows or two dimension and is staggered except arranging with linear mode in the various embodiments described above.
In the 6th preferred embodiment of the present invention, the present invention proposes the light source control method of the 6th kind of image scanner.In the present embodiment, the light source of use as shown in Figure 3.The supply power of light source can be controlled respectively, all corresponding transistor 304 of each light-emitting diode 306, and each transistor 304 is by offset buffer 302 controls.So by the software or the mode of firmware, the power of each light-emitting diode 306 of may command.And the light source control device of control light source as shown in Figure 1.The supply power of light source can be controlled by power supply apparatus for controlling of supply 104 respectively.Power supply apparatus for controlling of supply 104 supplies to give light source power power according to the result of the scan pattern set point that reads image scanner.And image scanner the scan pattern that should use comprise color mode, GTG scan pattern or two color ranges (black and white) (Line Art) scan pattern.Figure 7 shows that the flow chart of the 6th preferred embodiment of the present invention.At first in step 702, read the scan pattern set point of image scanner.Then in step 704, the result that reads according to the scan pattern set point of image scanner comes for giving the brightness that light source power power is promptly adjusted LED source, and wherein the brightness of the brightest and light source that the scanning of two color ranges is required of the brightness of the required light source of chromoscan is for the darkest.Then in step 706,708 and 710, then supply with color mode, GTG scan pattern and the required light source power power of two color range scan patterns respectively.In step 712,714 and 716, then scan with the required light source power power of color mode, GTG scan pattern and two color range scan patterns respectively then.
In the 7th embodiment of the present invention, utilize a posting (Holder) to select the zone of desire scanning.Fig. 8 A and Fig. 8 B show the two sides 804 and 806 of a posting 800.Posting 800 is used to be seated in scanning window (Scan window).Posting 800 is confined maximum scan zone 802 in advance, and the file that the one side 804 of posting 800 scans in order to the storing desire, the another side 806 of posting 800 then is used for the contact scanning window.Have symbol or pattern 808 (Pattern) on the another side 806 of posting 800 corresponding to scanning area 802.808 in a plurality of symbols or pattern are represented the different scanning regional extent respectively.During scanning, judge the size of scanning area 802 by probe (Scanhead) a plurality of symbols of scanning or pattern 808.This embodiment can be applicable in the previous embodiment, with the decision scanning boundary.Scanned symbol or pattern 808 can utilize the original correction program of scanner, and correction program is extended backward, follow scanned symbol or pattern 808 zones to learn scanning boundary except scanning checking list (Calibration Target) again.
In the 8th embodiment of the present invention, then utilize the built-in inductor of a posting and scanner housing to select the zone of desire scanning.Fig. 9 A shows one scan instrument housing 900.Scanner housing 900 has scanning window 902 and inductor alignment area 904.Fig. 9 B to Fig. 9 D shows the posting 906,912 and 918 with different scanning zone 910,914 and 920 respectively.Posting 906,912 and 918 has the different raised zones in position 908,916 and 922 simultaneously.Posting 906,912 and 918 raised zones 908,916 and 922 inductor alignment areas 904 corresponding to scanner housing 900, and inductor alignment area 904 has a plurality of inductors corresponding scanning area 910,914 and 920 respectively.When posting 906,912 and 918 places scanner housing 900, posting 906,912 and 918 raised zones 908,916 and 922 will cover in the inductor alignment area 904 inductor corresponding to scanning area 910,914 and 920, so that scanner is learnt the size of scanning area 910,914 and 920.
Above-mentioned relevant detailed description of the invention only is an example and unrestricted.Other equivalence that does not break away from spirit of the present invention changes or modifies within the scope of the claims of the present invention that all should be included in.