The object of the present invention is to provide a kind of detection method that can detect the device of image scanning scanning boundary automatically.
The object of the present invention is achieved like this, and a kind of detection method of scanning boundary promptly is provided, and it is in order to detect the one scan border of a device of image scanning, and wherein, this detection method step comprises: an initial optical signal (a) is provided; (b) receive this initial optical signal, and, send a detection optical signal according to this initial optical signal; (c) receive this detection optical signal, and, obtain one and detect pixel according to this detection optical signal; (d) will detect pixel and a built-in reference image vegetarian refreshments and carry out the calculation process operation, and obtain a Pixel calcualting value; And, carry out one and adjust action, and detect this scanning boundary (e) according to this Pixel calcualting value.
According to above-mentioned conception, wherein in this step (a), but provide action mat one light source of initial optical signal to realize.
According to above-mentioned conception, wherein in this step (b), but action mat one detecting unit that receives this initial optical signal realizes that and this detecting unit can send a detection optical signal according to this initial optical signal.
According to above-mentioned conception, wherein this detecting unit can be a reflecting sign, and this reflecting sign can be arranged on the one scan form of this device of image scanning in the same plane.
According to above-mentioned conception, wherein afterwards, comprise that also step (f) receives this detection optical signal, and change the optical path of this detection optical signal in this step (b).
According to above-mentioned conception, wherein in this step (f), but the action mat one focus reflection unit that receives this detection optical signal realizes that and this focus reflection unit is in order to change the optical path of this detection optical signal.
According to above-mentioned conception, wherein in this step (c), but the action mat one image pickup unit that receives this detection optical signal realizes that and this image pickup unit obtains detecting pixel according to this detection optical signal.
According to above-mentioned conception, wherein this image pickup unit is according to the built-in reference image vegetarian refreshments of this detecting unit.
According to above-mentioned conception, wherein this image pickup unit can be a charge coupled cell.
According to above-mentioned conception, wherein in this step (d), but mat one operation processing unit is finished this calculation process action.
According to above-mentioned conception, wherein this operation processing unit can be a hardware circuit.
According to above-mentioned conception, wherein this operation processing unit can be a software program.
According to above-mentioned conception, wherein in step (d), this calculation process action can be an additive operation and handles action, and this Pixel calcualting value can be the difference of this detection pixel value and this reference pixel value.
According to above-mentioned conception, wherein in this step (e), but mat one image pickup unit is finished this adjustments according to this Pixel calcualting value and is moved.
According to above-mentioned conception, wherein action can be adjusted according to this in this image pickup unit, obtains and corresponding first pixel of this scanning boundary and one second pixel.
According to above-mentioned conception, wherein the one scan pixel between this first pixel and this second pixel is in order to receive a scanned scanned optical signalling that sends.
Another object of the present invention is to provide a kind of checkout gear that can detect the device of image scanning scanning boundary automatically.
The object of the present invention is achieved like this, and a kind of checkout gear of scanning boundary promptly is provided, and it is in order to detect the one scan border of a device of image scanning, and wherein this checkout gear comprises: a light source, and this light source is in order to provide an initial optical signal; One detecting unit is arranged on the optical path of this initial optical signal, in order to receiving this initial optical signal, and produces a detection optical signal according to this initial optical signal; One image pickup unit, be arranged on the optical path of this detection optical signal, this image pickup unit is according to the built-in reference image vegetarian refreshments of this detecting unit, and this image pickup unit is in order to receive this detection optical signal, and, obtain one and detect pixel according to this detection optical signal; An and operation processing unit, this operation processing unit is electrically connected on this image pickup unit, and in order to this reference image vegetarian refreshments and this detection pixel are carried out calculation process, and produce a Pixel calcualting value, adjust action so that this image pickup unit carries out one according to this Pixel calcualting value, and detect this scanning boundary.
According to above-mentioned conception, wherein this detecting unit can be a reflecting sign, and this reflecting sign can be provided with the scanning form of this device of image scanning in the same plane.
According to above-mentioned conception, wherein also comprise a focus reflection device, be arranged between this detecting unit and this image pickup unit, in order to change the optical path of this detection optical signal.
According to above-mentioned conception, wherein this image pickup unit can be a charge coupled cell.
According to above-mentioned conception, wherein this operation processing unit can be a hardware circuit.
According to above-mentioned conception, wherein this operation processing unit can be a software program.
According to above-mentioned conception, wherein this calculation process action can be an additive operation and handles action, and this Pixel calcualting value can be the difference of this detection pixel value and this reference pixel value.
According to above-mentioned conception, wherein this image pickup unit can be according to built-in one first original image vegetarian refreshments of this scanning boundary and one second original image vegetarian refreshments.
According to above-mentioned conception, wherein this image pickup unit can be according to this Pixel calcualting value, with this Pixel calcualting value and this first original image vegetarian refreshments addition, and, and obtain respectively and corresponding one first pixel of this scanning boundary and one second pixel this Pixel calcualting value and this second original image vegetarian refreshments addition.
According to above-mentioned conception, wherein the scanning element point between this first pixel and this second pixel is in order to receive a scanned scanned optical signalling that sends.
The advantage of the inventive method and device is that it can accurately measure scanning boundary, and assembling is raised the efficiency easily.
Below in conjunction with accompanying drawing, embodiments of the invention are described, wherein:
At first, see also Fig. 1, it is the structure assembling schematic diagram of preferred embodiment of the present invention, comprise among the figure: a reflection type image scanning means, it has one scan form 11, and this scanning form 11 has one scan border A, and a reflecting sign 2, wherein this reflecting sign 2 is provided with to such an extent that be positioned at same plane with this scanning form 11, and this reflecting sign 2 scans form 11 at a distance of a regular length B with this.
Wherein, the scanning form 11 of this reflection type image scanning means is scanned in order to place one, and this is scanned to be positioned in the scanning boundary A scope that this scanning form 11 constituted, the initial optical signal that this scanned reception one light source is provided, and reflection obtains a scanned optical signalling, seeing through a focus reflection unit by scanned optical signalling, deliver to a charge coupled cell; And wherein this reflecting sign 2 and obtains a detection optical signal according to this initial optical signal reflex in order to receiving the initial optical signal that a light source is provided.
The included charge coupled cell of this device of image scanning is according to the setting of this reflecting sign 2, a built-in reference image vegetarian refreshments, and before this device of image scanning carries out scan operation, this initial optical signal is projected to this reflecting sign 2 and sends this detection optical signal, and this charge coupled cell receives this detection optical signal, obtains one and detects pixel.
The present invention's mat operation processing unit of being electrically connected on this charge coupled cell again should detect pixel and this reference image vegetarian refreshments and carries out an additive operation and handle operation, can obtain a Pixel calcualting value.And wherein this charge coupled cell according to the setting of this scanning boundary A, with built-in one first original image vegetarian refreshments and one second original image vegetarian refreshments, this charge coupled cell can be according to this Pixel calcualting value like this, with this Pixel calcualting value and this first original image vegetarian refreshments addition, and with this Pixel calcualting value and this second original image vegetarian refreshments addition, and obtain respectively and corresponding one first pixel of this scanning boundary A and one second pixel, also the scanning element point between this first picture pixel of mat and this second pixel receives this scanned scanning thing optical signalling that sends.
See also operation principle schematic diagram shown in Figure 2, as can be seen from Figure 2: one scan form 11, one reflecting sign 2, the set of lenses 4 that one charge coupled cell 3 and a focus reflection unit are included, the scanning boundary A that wherein should scan form 11 is between border C, width between D, and the center line E of this reflecting sign 2 is a regular length B at a distance of this scanning boundary point C, have on this charge coupled cell 3 according to this reflecting sign 2 and a built-in reference image vegetarian refreshments R1, and this charge coupled cell 3 is according to the boundary point C of this scanning boundary A, D is built-in one first original image vegetarian refreshments R2 and one second original image vegetarian refreshments R3 respectively.
Provide this initial optical signal to go forward side by side before the line scanning action at the light source of device of image scanning, has this detection optical signal of producing according to this reflecting sign 2 on this charge coupled cell 3 and correspondence obtains one and detects pixel E ', and mat one operation processing unit should detect pixel E ' and this reference image vegetarian refreshments R1 carries out an additive operation, can obtain a Pixel calcualting value and be (E '-R1), again with this Pixel calcualting value (E '-R1) respectively with this first original image vegetarian refreshments R2 and this second original image vegetarian refreshments R3 addition, obtain respectively and this scanning boundary point C, corresponding one first pixel C ' of D and one second pixel D ', like this can mat this first pixel C ' and this second pixel D ' between the scanning element point, scannedly carry out scan operation to being positioned over one of this scanning boundary A inside.
Suppose to be scanned scanning of letter size (width needs 2550pixel) of 300dpi to a resolution, and 2650 pixel of 100 pixel to the of the pixel of built-in this charge coupled cell 3 (pixel) represent this first original image vegetarian refreshments R2 respectively, this second original image vegetarian refreshments R3, and according to placing the scanning boundary A that this scanned one scan form 11 is had, that is, if charge coupled cell 3 does not produce assembly error, the scanning boundary point C of this scanning boundary A then, D should fall within respectively on this first original image vegetarian refreshments R2 (the 100th pixel) and this second original image vegetarian refreshments R3 (the 2650th pixel) after scanning imagery.
Have again, the 50th pixel of built-in charge coupled cell 3 is this reference image vegetarian refreshments R1, that is, if charge coupled cell 3 does not produce assembly error, then this detection optical signal of being produced of this reflecting sign 2 is after imaging, should drop on this reference image vegetarian refreshments R1 (the 50th pixel), but because device of image scanning the parts assembly error can occur when assembling, therefore, reflecting sign 2 can't fall within on this reference image vegetarian refreshments R1 at resulting detection pixel E ' behind the scanning imagery, and deviation to some extent illustrates as follows now:
When carrying out the one scan action, it is the 40th pixel that this charge coupled cell 3 reads the detection pixel E ' that detection optical signal hypothesis that this reflecting sign 2 produced corresponds on this charge coupled cell 3, then mat is electrically connected on an operation processing unit 3 of this charge coupled cell, carry out an additive operation and handle operation: be i.e. 40-50=-10 (pixel), obtain a Pixel calcualting value (10), this value representation charge coupled cell 3 is because of assembly error, and cause scan-image to be offset 10 pixel, this moment, this charge coupled cell 3 of mat was according to this Pixel calcualting value (10), carry out one and adjust action, R2 is adjusted into-10+100=90 (pixel) with this first original image vegetarian refreshments, and obtain this first pixel C ' (the 90th pixel), and R3 is adjusted into 10+2650=2640 (pixel) with this second original image vegetarian refreshments, and obtain this second pixel D ' (the 2640th pixel), adjusted this first pixel C ' (the 90th pixel) can be positioned over the scanned scanned optical signalling that sends in this scanning form 11 in order to reception to the scanning element point that is comprised between this second pixel D ' (the 2640th pixel).
Certainly, but the present invention also mat answers the scanned required scanning boundary of different width dimensions, and the built-in different reference image vegetarian refreshments R1 and the first original image vegetarian refreshments R2, the second original image vegetarian refreshments R3, to scan the scanned of various sizes, and mat of the present invention is provided with this reflecting sign 2, the mode that obtains a detection optical signal also comprises other execution modes, that is, suppose that this device of image scanning is a transmission-type device of image scanning, then but mat is installed a transmission sign, make this initial optical signal see through this transmission sign, obtain a detection optical signal.
In addition, the present invention can be applicable in a hand held device of image scanning and the sheet-fed image scanning means, and this reflecting sign 2 not only can be provided with this scanning form 11 and is positioned at same plane, as long as under the situation that does not influence these electric charge male part 3 these scanned scanned optical signallings that produce of reception, this reflecting sign 2 also can be arranged on the arbitrary optical path of this initial optical signal that this light source provides, and can reach the purpose of detection equally.
Present technique field personage can carry out various modifications and change to the present invention, but they all should be included in the claims.