Background technology
Along with scientific-technical progress, the function of image fetch device promotes day by day.Generally speaking, as long as earlier lid on the reflection type image reading device is taken off, and the reflection type image reading device added to scan data after penetration (transparency) the light source module as semi-transparent character such as lantern slide positive, egative film negative films.Promptly utilize the scanned image of light source irradiation in the penetration light source module, and by image read element (CCD) the reception data in the image fetch device.
Carry out penetration when scanning, the light source (being positioned at the fluorescent tube of a scanned side) in this penetration light source module be with scanning module (being positioned at scanned opposite side) along scanned same moved further (keeping a fixing relative position relation), to finish scanning.The technology of relevant penetration image fetch device can be referring to U.S. Patent number 4,879,604.
Generally speaking, the reflection type image reading device is when each start and during each been scanned backhaul, and scanning module all can be positioned to correct reference position, can determine that so the data that scanning module reads is correct image data.But when desiring to carry out penetration scanning, except scanning module need be located, also must the light source (fluorescent tube) of penetration light source module be positioned simultaneously; If this penetration light source location is incorrect, will influence the quality of scanning, for example image light and shade, saturation degree, colour balance or the like.
So known image fetch device will carry out penetration scanning, when then starting shooting, scanning module at first is positioned to correct reference position; Then, the fluorescent tube for penetration scanning carries out initial alignment.Has a position sensor within the known general penetration light source module, as the usefulness of the fluorescent tube initial alignment of penetration scanning.In detail, when fluorescent tube moved to the position of position sensor detection, position sensor just produced a signal and gives processor, for the accurate location of processor control fluorescent tube.
This mode of utilizing position sensor to do the fluorescent tube location needs extra element and circuit in the design, cause the waste in space, the increase of cost, the difficulty of assembling, also increases the chance of maintenance.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of method, utilize existing scanner component to do the judgement of fluorescent tube location, use reach reduce cost, the purpose of simplified design, assembling.
The method of location one penetration scanning light source in a kind of image fetch device provided by the invention, this reading device has a scanned bearing area, be provided with a reference area in abutting connection with this bearing area so that the image of a predetermined pattern to be provided, this reference area predetermined pattern is positioned at x place, a position, and this scanning light source can cooperate mobile with the one scan module, the light that this scanning light source is throwed can penetrate this bearing area or this reference area and be incident to this scanning module, this method is positioned at this scanning light source and one preset distance Δ P place, this position x interval, and the localization method of this penetration scanning light source comprises the following step:
(1) this scanning module is located corresponding to x place, this position, so that read this reference area predetermined pattern;
(2) this scanning light source is moved from this supporting region direction in this reference area, start this scanning module simultaneously to read image;
(3) repeated execution of steps (2), execution in step (4) when the judgement image that this scanning module read satisfied is scheduled to rule, wherein the distance that this scanning light source moved in this decision process is Δ d;
(4) make this scanning light source direction of (2) set by step, continue the distance of mobile Δ P-Δ d;
Wherein, should predetermined rule be one of following situation in the step (3): (a) brightness value of image that reads of this scanning module be greater than a predetermined value, (b) when successively decreasing and (c) image that reads of this scanning module is basic identical with black that should be default by incremental variations for the brightness value of image that reads of this scanning module.
Usefulness of the present invention is as follows:
1, reduces cost: save position sensor in the penetration light source module, make the production cost descend naturally.
2, save the space: reducing an element and line related thereof can be so that the space utilization be more saved, and volume is more light and handy.
3, lower the workover rig meeting: save detector and circuit, the fault probability is descended, also make breakdown maintenance more simple.
4, improve the production qualification rate; Save the assembling and the adjustment of position sensor and line related thereof, can be so that the qualification rate of producing improves more.
Detailed description of the preferred embodiment
Below the explanation light path is to the influence of brightness.With reference to figure 1, according to optical principle, because OA distance>OB distance>OC distance, so if use same light source irradiation A, B, during the C each point, A point brightness<B point brightness<C point brightness.OE distance>OD distance>OC distance in like manner.So: E point brightness<D point brightness<C point brightness.Comprehensive: as to record C point brightness maximum.
Below the explanation incident angle is to the influence of brightness.With reference to figure 2, because incident angle ∠ AOC>∠ BOC>∠ COC, thus if use same light source in A, B, when C shone each position, brightness<O point that the O point is experienced A was experienced brightness<O point of B and is experienced the brightness of C.Incident angle ∠ EOC>∠ DOC>∠ COC in like manner experiences brightness<O point of D and experiences the brightness of C so the O point is experienced brightness<O point of E, so the O point is experienced the light-source brightness maximum of C position.
Therefore, between image fetch device fuselage and penetration light source module, do not have under the situation of scanned obstruct, light path in the penetration light source module between lamp strip position and scanning module image read element position is nearer, incident angle more hour, then the brightness of image image that read element detects is more greatly.
In sum, the image fetch device of penetration light source module is to send light source by the fluorescent tube in the penetration light source module, and receive light by the image read element in the scanning module is data, therefore our the known function that can utilize this just to have originally, add aforementioned lights brightness with light path distance and incident angle different and principle that change to some extent, be used as the foundation of fluorescent tube location in the penetration light source module, to replace the position sensor of this scanning light source of location.
Method of the present invention is to select a precalculated position to penetrate for the light that fluorescent tube in the penetration light source module is sent, and scans for the scanning module photo-sensitive cell, with the position of decision fluorescent tube location.Any object that stops that light source passes through can not be put in this precalculated position.Embodiment describes in detail:
As shown in Figure 2, image fetch device 21 must be placed a scanned locating device 25 in its edge, clear glass 23 upper edges before scanning.This scanned locating device 25 has edge 251,252,253,254, scanned must placing in the defined scanned bearing area, this four edge.255,256,257,258 defined spaces, edge are known reference white area (reference whitearea) in addition, because this zone is to be used for obtaining the reference value of reference white for the image read element, so can not place any object that stops that light source passes through.The present invention utilizes this known existing zone, uses following flow process, reaches the purpose of penetration light source location.
As known image fetch device, scanning beginning moment scanning module CD-ROM drive motor be to be in acceleration mode, in this section in the accelerating period, CCD373 is (otherwise the image data that rapid change is read down will be out of shape) of wave-off normally, therefore the initial alignment of CCD373 must be defined in respect to periphery 254-preset distance Δ D place, scanned bearing area, wherein to be scanning module by rest position move to Δ D begins to read the image required separation distance and (comprise above-mentioned this scanning module by static acceleration, and other mechanism design, required separation distances such as module locking); And scanning light source 391 is because necessary and the same moved further of scanning module, therefore as shown in Figure 3, localization method of the present invention i.e. desire is positioned this scan source 391 for position with respect to scanned locating area periphery 254 distance, delta D, and with the initial alignment line 38 of this place as this scanning light source 391.
As shown in Figure 3, a corresponding position that when x is start this scanning module is positioned to read this reference area predetermined pattern, and this correspondence position x is Δ x with respect to the distance of this bearing area periphery 254: wherein the position line 36 is after the hypothesis processor confirms that image has accorded with a preset judgment rule, the position line of this light source; Because employed predetermined rule is all relevant with the brightness peak in the inventive method, so this position line 36 should be exactly the correspondence position x of this scanning module in theory.(because in this position x, this scanning module and scanning light source light path are the shortest, the incident angle minimum, so the brightness that scanning module is experienced is the highest).
But in fact, because after scanning module is experienced this x position high-high brightness, the microprocessor that must wait for image fetch device expends a known time Δ t and analyzes judgement: in this period Δ t, and this light source 391 Δ d that can move on.Therefore can there be a known interval delta d distance in this x position and this position line 36.
Therefore as shown in Figure 3, when the image that is read when the processor judgement has accorded with a preset judgment rule, need only the readvance distance of Δ D-Δ d-Δ x of light source can be learnt, so just light source 391 initial alignment line 38 can be positioned.In Fig. 3, disclose in addition and penetrate light source module 39, scanning module 37, lens 371, scanned bearing glass 31, scanned 33, the glass sheet 35 that penetrates the light source module.
With reference to figure 4 is process flow diagram of the present invention.Step 40 begins for penetrating light source 391 finders, and step 42 starts CCD and scans, and step 44 item is whether the brightness value of image that microprocessor judges reads accords with this predetermined rule.
Can't satisfy when being scheduled to rule execution in step 46 if judge the image that this scanning module reads; Step 46 moves a preset distance (the normally displacement of a sweep trace, as: hardware scanning resolution be 300dpi, then move 1/300 inch) from this supporting region to this reference area direction with light source.
As step 48, satisfy when being scheduled to rule if judge the image that this scanning module read, and the distance that this scanning light source moved in the known decision process is Δ d; Therefore step 48 is done the complementary range of light source location with this Δ D-Δ d-Δ x value, makes this scanning light source former direction of motion of 46 set by step, continues the distance of mobile Δ D-Δ d-Δ x.
Step 50 is the end of light source finder.
The reference area that is utilized in the inventive method step 48 be the printing opacity used of a known adjustment color with reference to the white area, judge that therefore whether the simple rule that whether conforms with a predetermined pattern for calculating the brightness value of image that reads greater than a predetermined value; Another rule of judging is, when image read element 373 detect brightness value by incremental variations when successively decreasing.Via above-mentioned arbitrary rule, microprocessor just in the decidable penetration light source module image read element 373 of fluorescent tube 391 and scanning module both be in nearest distance approximately, that is both have reached the relation of brightness the best.
In like manner, we can also design this reference area be a plurality of staggered black (only this district so possibly can't shared known printing opacity with reference to the white area), and use another predetermined rule instead; Whether essence is identical as judgment basis to judge this scanning module image that reads and the black that should preset.By this, we can control the location of fluorescent tube in the penetration light source module equally.
The present invention utilizes fluorescent tube in the penetration light source module, and the script image fetch device functions such as image read element of scanning module judge, can reach the location of the interior fluorescent tube of penetration light source module, to replace the function of known position sensor.